Displaying 2 results from an estimated 2 matches for "ends_at_time".
2008 Mar 05
1
Using form fields that arent in database
...he attribute name
for it
doesn''t match a field in my database. I have a form like this.
<td><%= date_select ''assessment'', ''ends_at_date'', :value => "Click
here..." %>
<%= time_select ''assessment'', ''ends_at_time''%></td>
My database has a field called ends_at which is a datetime field that
should have the combination of these 2 forms fields. However, I dont
know how to interact with the values of form fields with ruby in order
to do that. This gives me an error right now because there are...
2008 Mar 05
1
How to use values through forms
...lds when the name for it
doesn''t match a field in my database. I have a form like this.
<td><%= date_select ''assessment'', ''ends_at_date'', :value => "Click
here..." %>
<%= time_select ''assessment'', ''ends_at_time''%></td>
My database has a field called ends_at which is a datetime field that
should have the combination of these 2 forms fields. However, I dont
know how to interact with the values of form fields with ruby in order
to do that. This gives me an error right now because there are...