On Apr 14, 5:58 pm, Scott LaBounty <[email protected]> wrote:
> Jeremy,
>
> Here's the code as I originally had it (and have returned to). Is this what
> you were suggesting?

Scott,

That seems like a fine way to handle it.  The uniqueness validation
does something fairly similar at the model level instead of the
controller level.  If this is the only form where you can create
users, you should be covered.  Whatever you do, make sure you have a
unique index on the login column, as any ORM or web app uniqueness
checking code is going to have race conditions.

Jeremy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to