Hi,
Just a really stupid point, that bugged me for hours last night.
I have a form which has 2 date_select's in, and one normal select.
The select looks something like this:
in my controller at property search (where the form goes) i can get people out:Code:<%=date_select(:propertySearch, :start_date, :order=>[:day,:month,:year])%> <%=select(:propertySearch, :people, %w{ 1 2 3 4 5 6 7 8 9 10 })%>
HoweverCode:propertyResults=params[:propertySearch] people = propertyResults[:people]
startDate= propertyResults[:start_date] doesnt return me anything.
Havent quite grasped the whole form posting thing yet.. GIMME MY VARIABLES BACK!
Anyone know how i can do this?
Thanks





Bookmarks