hello gentlemen
I want to set my (default)own date in date_select, how to do this, plz
explain with example
advance thx
have a nice day
regards
narayana
hello gentlemen
I want to set my (default)own date in date_select, how to do this, plz
explain with example
advance thx
have a nice day
regards
narayana
On 2006-07-26 00:34:55 -0400, Narayana Karthik
[email protected] said:
hello gentlemen
I want to set my (default)own date in date_select, how to do this, plz
explain with exampleadvance thx
have a nice dayregards
narayana
If your date select is tied to a database field, then it will use the
contents of that database field as the starting point.
If not, you can supply it a date time instead. It seems you can look
here:
http://api.rubyonrails.com/classes/ActionView/Helpers/DateHelper.html#M000470
Notice
in the examples the :start_year that is applied.
I also think you could set the object and method to something
beforehand, but I have never tried it.
Hope this helps some.
–
://
Nathan H.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs