Worked perfectly...thanks so much!

Hey, you don't happen to know of a simple way of implementing a date
picker for a field in a form do you? I was hoping to accomplish this
without needing to track down a plugin for the task.

On a related note: how can I set the default value of a field to be
today's date (just the date, no time value)

Thanks for all the help!

On Mar 5, 11:25 am, Michael Pavling <[email protected]> wrote:
> On 5 March 2010 16:24, xxdesmus <[email protected]> wrote:
>
> > I'd be putting this:
>
> > def username=(value)
> >  write_attribute(:username, value.upcase)
> > end
>
> > in my controller right?  Sorry for the beginning questions...
>
> nope - in the User model.

-- 
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