On Jan 12, 2:39 pm, tom
<tomabr...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> hi
>
> is there a plugin or something else which could assist in finding
> duplicates in a model / table?
>
> even with validations, users tend to enter data twice / wrong (for
> whatever reasons...)..so i was wondering if there is something out
> there to find these entries, preferably across multiple columns
Never heard of a plugin to do this, but one thing that can help is
adding :disable_with to submit buttons - you''d be amazed how many
users double-click (or more) buttons. You''ll notice this if
you''re
using timestamps and you see a stack of identical records created <1s
apart.
--Matt Jones
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.