Displaying 3 results from an estimated 3 matches for "ends_at".
Did you mean:
end_at
2008 Mar 05
1
Using form fields that arent in database
Basically I need to know how to use forms fields when the 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 do...
2008 Mar 05
1
How to use values through forms
Basically I need to know how to use forms fields 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 do...
2006 Jan 20
47
SQL Server datetime error
...et:
DBI::DatabaseError: Execute
OLE error code:80040E07 in Microsoft OLE DB Provider for SQL Server
Couldn''t convert a char-Datatype to datetime
HRESULT error code:0x80020009
Exception occured.: INSERT INTO projects ([updated_at], [title],
[starts_at], [description], [ends_at], [created_at]) VALUES(''2006-01-20
15:23:40'', ''title'', ''2006-01-20 15:23:00'', ''description'', ''2006-01-20
15:23:00'', ''2006-01-20 15:23:00'')
--
Posted via http://www.ruby-forum.com/.