Hi, in a Rails application using Rails 2.2.2 and Globalize2, I have a form with a datetime attribute. For some reason I am not able to use datetime_select, it throws a "can't convert Array into String" error. The field is not translated, and the this is the new method straight from the scaffold.
Extracted source (around line #16): 14: <p> 15: <%= f.label :end %><br /> 16: <%= f.datetime_select :end %> 17: </p> I have searched around without finding any solutions to the problem, but I see others mentioning the same or similar problems, e.g. this mail: http://railsforum.com/viewtopic.php?id=25791 and the comment by Dmitri Zhuchkov to Sven's Globalize2 preview post: http://www.artweb-design.de/2008/9/19/rails-i18n-revs-up-globalize2-preview-released If I substitute line 16 for <%= f.text_field :end %> it works, but I'd like to be able to set dates in a more suer-friendly way. Thanks, Trond BTW: I see tyat there's been some recent development of Globalize2 plugin. How do I update my local copy of the plugin? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rails-i18n" 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/rails-i18n?hl=en -~----------~----~----~----~------~----~------~--~---
