On Sat, Jan 3, 2009 at 12:01 PM, elioncho <[email protected]> wrote:

>
> Hello,
>
> I have a date_select inside a form_for which was working in Rails 2.1
> but once I migrated to 2.2.2 I get the following error:
>
> undefined method `each' for false:FalseClass
>
> <%= f.date_select(:birthday, :order =>
> [:month, :day, :year], :start_year => 1900, :use_month_numbers =>
> false)
>
> Anyone knows where the root of this problem?
>

Hi, are you creating/updating a model with this form?  If the answer is no,
then you should be using select_date.  Where are you using the each method?

-Conrad

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