Module | ActiveRecord::Hates::IN
In: | lib/hates_in.rb

ActiveRecord による SQL から IN 句を排除するためのモジュール。

### Methods

included

### Classes and Modules

Module ActiveRecord::Hates::IN::ClassMethods

### Public Class methods

included(base)

[Source]

        # File lib/hates_in.rb, line 5
     5:       def self.included(base)
     6:         base.extend(ClassMethods)
     7:
     8:         base.class_eval do
     9:           class << self
    10:             alias_method_chain :delete,            :hates_of_in
    11:             alias_method_chain :find_some,         :hates_of_in
    12:             alias_method_chain :sanitize_sql_hash, :hates_of_in
    13:           end
    14:         end
    15:       end

[Validate]