Philip Hallstrom wrote:

> Why do you need to put it into the form?  Seems like this would be a
> good spot for a before_save handler in your user model.  Check to see
> if the :username field is blank and if so, set it to the first bit of
> the email address...
> 
> -philip

Thanks!  before_save worked great!
-- 
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 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/rubyonrails-talk?hl=en.

Reply via email to