On Sat, Jan 3, 2009 at 12:01 PM, elioncho
<elioncho-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---