search for: invoice_on

Displaying 1 result from an estimated 1 matches for "invoice_on".

Did you mean: invoice_no
2005 Aug 25
0
Manually passing date for date_select
...se... redirect to :action => :add, "inventory[tracking_number]" => 5 This works (although, is there a better, more rails-like way to do this?). It doesn''t work however when I have a date_select. I would expect this to work redirect to :action => :add, "inventory[invoice_on]" => Date.parse("8/4/1954") But the date selects do not change. Do I really need to manually break up the date into month/day/year and pass each one as a parameter? I''m new to all this and feel like I''m missing a rails-like solution.