Hi I am trying to show a datetime through the datetime_select method. I want to show a datetime input from the current year and month onward, but I need to know the options available for this method to do this. datetime_select(object_name, method, options = {}, html_options = {}) Where can I see this options hash? I don''t know where to look for it in the API. Thanks for the help. -- 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 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 -~----------~----~----~----~------~----~------~--~---
Bill Walton
2008-Jul-12 18:48 UTC
Re: datetime_select options! Where can I see them listed?
Hi Elias, Elias Orozco wrote:> datetime_select(object_name, method, options = {}, html_options = {}) > > Where can I see this options hash? I don''t know where to look for it in > the API. Thanks for the help.The explanation''s in the date_select method. In general, when the documentation for a specific method in a module doesn''t tell you what you need, it''s often spread among one or more of the other methods in the same module. When that doesn''t get it, there''s Google ;-) HTH, Bill --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---