Displaying 3 results from an estimated 3 matches for "281i".
Did you mean:
281
2006 Feb 16
1
Help with validation
...e params
go into a hash called holiday in the params hash, but when they get
passed back to my form, they don''t live in the holiday hash anymore and
are just normal parameters, e.g
[code]http://localhost:3000/user/request_holiday?date_start%283i%29=15&holiday_type_id=1&date_end%281i%29=2006&date_end%282i%29=2&user_id=&date_end%283i%29=15&date_start%281i%29=2006&approval_id=1&comment=&date_start%282i%29=5[/code]
My form uses tags such as
[CODE]<%= date_select("holiday", "date_end", :order => [:day, :month,
:year]) %>[/...
2010 Jun 24
0
searchlogic+date_select+ordering
...ate_like"=>"2010-06-24 00:00:00 UTC", "zipcode_like"=>""}}
if i manually set the params its working as well.
http://localhost:3000/dinners?search[order]=descend_by_zipcode&search[date_like%283i%29]=24&search[date_like%282i%29]=6&search[date_like%281i%29]=2010&search[zipcode_like]=&commit=Finden
so, just the helper does something wrong with the date params. i have
absolutely now clue, iam also very new to ruby/rails.
does anybody know how to get this working?
thanks for any help
chris
--
Posted via http://www.ruby-forum.com/.
--
Yo...
2006 Jul 06
1
How did I turn off params ?
...t;controller"=>"test"}
I have created a sham table compound_events, but that has not helped.
I have tried using text_field_tag, but that has not helped.
Sniffing the HTTP traffic, I see all the input values as they appear on
the page
(e.g.POSTDATA=compound_event%5Bhappened_at%281i%29%5D=2006&compound_event%5Bhappened_at%282i%29%5D=7&compound_event%5Bhappened_at%283i%29%5D=6&compound_event%5Bhappened_at%284i%29%5D=08&compound_event%5Bhappened_at%285i%29%5D=03&compound_event%5Bblood_amount%5D=
...)
What did I do to stop params[] from getting the POSTDATA...