instance method
&
Ruby on Rails 3.0.20
Since v3.0.20 Last seen in v3.0.20Signature
&(r)
No documentation comment.
Parameters
-
rreq
Source
# File activerecord/lib/active_record/relation/spawn_methods.rb, line 70
def &(r)
ActiveSupport::Deprecation.warn "Using & to merge relations has been deprecated and will be removed in Rails 3.1. Please use the relation's merge method, instead"
merge(r)
end
Defined in activerecord/lib/active_record/relation/spawn_methods.rb line 70
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::SpawnMethods