search for: test_default_values_on_empty_str

Displaying 1 result from an estimated 1 matches for "test_default_values_on_empty_str".

2006 Jan 06
0
New Database Adapter: OpenBase
...se adapter for OpenBase. It''s nearly complete, but I''ve run into a small issue: In OpenBase, you cannot override a default value with a NULL during an INSERT. OpenBase detects the null value and chooses the default instead. This means that my adapter is not passing the test_default_values_on_empty_strings(BasicTest). I need to first execute the INSERT, then send an UPDATE to nullify the necessary attributes. Is this something I should do at the adapter level, or should it perhaps go into the ActiveRecord? Since it seems that the other 8 database servers do not have this behavior, I...