Displaying 4 results from an estimated 4 matches for "use_month_numbers".
2008 Feb 24
3
1 error(s) on assignment of multiparameter attributes
...as?
Thanks!
<p><label for="email">Expiration</label><br/>
<input type="hidden" id="user_card_expiration_3i"
name="user[card_expiration(3i)]" value="1" />
<%= f.date_select(:card_expiration, :start_year =>
2008, :use_month_numbers => false,
:discard_day =>
true, :include_blank => false) %></p>
ActiveRecord::MultiparameterAssignmentErrors in
AccountController#signup_unlimited
Parameters:
{"user"=>{"company_name"=>"",
"card_type&...
2005 Feb 15
5
date_select where to add "class"=>"something"
...ss option to set the
class of all the select tags.
I''ve tried using "class" => "myclass" in thoose ways:
<%= date_select("costo", "data", "class" => "testo" ) %>
<%= date_select("costo", "data", :use_month_numbers => true, :order =>
[:day, :month, :year], "class" => "testo" ) %>
but nothing is added to the html code...
This way usually works with:
<%= text_area("costo","descrizione","class" => "testo") %>
Thanks for the suggest...
2006 Jun 16
3
finding out about options
I''ve been to the RoR api docs trying to find out
about options for various methods (mostly for
select helper methods), yet I find no listing of
options even when the method described says
that it takes options. How
can I find out what are valid
options say for a date_select tag?
Thanks,
Dave
2007 Apr 12
3
Radrails and date in mysql problem
Hi,
Im using radrails and mysql database, im using DATE in mysql for a date
of birth column,
When i use this in Radrails the date shows as dropdown lists, the days
and month are fine but the year list only shows 2002-2012.
Is there any way of extending the years? as its not suitable for date of
birth.
Any help appreciated
--
Posted via http://www.ruby-forum.com/.