Hi,

I'm always confused by the existence of uniq and unique. Arrays and
ActiveRecord::Relation objects respond to uniq while
AR::ConnectionAdapters::SchemaStatements#add_index takes :unique option. I
would like to get notified when :uniq option is actually wrong. If we
change #add_index to take kwargs, it'll raise an error when :uniq option is
given.

Does this make sense? Thanks for your time again!

Thanks,
Yuki

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to