search for: options_include_default

Displaying 2 results from an estimated 2 matches for "options_include_default".

2008 Jun 24
9
ActiveRecord 2.1 Migration support
...v. I have tracked down the problem down to "add_column_options!" in "lib/active_record/connection_adapters/abstract/schema_statements.rb". Specifically the following line never gets executed: sql << " DEFAULT #{quote(options[:default], options[:column])}" if options_include_default?(options) As a result the code keeps looping . Comparing the contents of "options" for MySQL and Ingres I don''t see anything of any significance that would cause the call not to work. Below is a dump of "options" using ruby-debug: MySQL {:default=>nil, :column=&...
2008 Jun 24
9
ActiveRecord 2.1 Migration support
...v. I have tracked down the problem down to "add_column_options!" in "lib/active_record/connection_adapters/abstract/schema_statements.rb". Specifically the following line never gets executed: sql << " DEFAULT #{quote(options[:default], options[:column])}" if options_include_default?(options) As a result the code keeps looping . Comparing the contents of "options" for MySQL and Ingres I don''t see anything of any significance that would cause the call not to work. Below is a dump of "options" using ruby-debug: MySQL {:default=>nil, :column=&...