instance method merge_relation_method

Ruby on Rails 3.2.22.5

Since v3.2.22.5 Last seen in v3.2.22.5 Private

Signature

merge_relation_method(relation, method, value)

No documentation comment.

Parameters

relation req
method req
value req
Source
# File activerecord/lib/active_record/relation/spawn_methods.rb, line 176
      def merge_relation_method(relation, method, value)
        relation.send(:"#{method}_values=", relation.send(:"#{method}_values") + value)
      end

Defined in activerecord/lib/active_record/relation/spawn_methods.rb line 176 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::SpawnMethods

Type at least 2 characters to search.

↑↓ navigate · open · esc close