Displaying 1 result from an estimated 1 matches for "little_d".
Did you mean:
little_
2006 Aug 09
0
ActiveRecord provides unnecessary default value (SQL Server)
All,
ActiveRecord 1.14.3, sqlserver adapter, odbc mode
I have a table in SQL Server with a smalldatetime column - let''s call it
little_date. little_date is not allowed to have NULLs per the database
schema.
I am creating a new ActiveRecord object using obj.new (no database save)
and calling obj.little_date. So I''m doing:
obj.new
obj.little_date
What I observe is that if there is no constraint on the little_date
colu...