Method: ActiveRecord::QueryMethods#distinct!
- Defined in:
- lib/active_record/relation/query_methods.rb
#distinct!(value = true) ⇒ Object Also known as: uniq!
Like #distinct, but modifies relation in place.
782 783 784 785 |
# File 'lib/active_record/relation/query_methods.rb', line 782 def distinct!(value = true) # :nodoc: self.distinct_value = value self end |