Ruby on Rails Wednesday, September 17, 2014

Hi! Colin! Yes, should be a space after header2:
Record.index({ header1: 1, header2: 1 }, { unique: true, drop_dups:
true })
But even with the space it does not do anything I still getting
duplicated records

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/5419f09aed8a84206972ec615f65a0cf%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment