Solved the problem. I was using attr_accessible and forgot to include 
the date_select field in it. Stupid of me.

thanks

Frederick Cheung wrote:
> On Apr 26, 8:20�pm, Sam Ginko <[email protected]>
> wrote:
>> I'm trying to insert the selected values of the date_select object in
>> the database but I'm getting nothing
>>
> [snip]
>>
>> Am i doing something wrong?
> 
> Not at first glance. Define nothing (date parameter is not in the
> request parameters at all, object does not save at all, object does
> save but the birthdate attribute is not set ...). If the browser is
> not submitting the date parameters at all, a common cause is invalid
> html.
> 
> 
> Fred

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