search for: columndefinition

Displaying 5 results from an estimated 5 matches for "columndefinition".

2006 Jan 09
3
rails ignoring the migration file
...wanted because it removes the size restrictions it also blows up when you try to do rake db_import_schema with this error: site_path>rake db_schema_import (in D:/sites/itsthes/itsthes-ruby/itsthes) rake aborted! undefined method `string_to_binary'' for ActiveRecord::ConnectionAdapters::ColumnDefinition:Class Is anyone else know why this is happening? Does anyone else have a problem with rails converting values in the schema.rb to something other than what is in the migration file? Thanks, Mark -- -------------------------------------------------------------------- I am Mark Daggett and I appr...
2006 Mar 04
1
active migration gives undefined_method ''string_to_binary''
has anyone ever seen that: c:\rails\test>rake migrate --trace (in c:/rails/test) ** Invoke migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute migrate rake aborted! undefined method `string_to_binary'' for ActiveRecord::ConnectionAdapters::ColumnDefinition:Class c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/mysql_adapt er.rb:119:in `quote'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/connection_adapters/abstract/sc hema_statements.rb:245:in `add_column_options!'' c:/r...
2006 Jan 01
11
Migration db_schema_import always fails.
...upport Enum column types, and doesn''t really support Foreign key relationships (the constraints at least). After changing my DB schema to jive more with the migrations engine, I now get the following error. undefined method `string_to_binary'' for ActiveRecord::ConnectionAdapters::ColumnDefinition:Class This happens for me on Windows, Linux, MacOX, ruby 1.8.2/1.8.4, rails 1.0, mySQL 4.1.14. looking at the error, it looks like there might be some sort of bug with a backtick/single-quote mismatch. Migration db_schema_import always fails. Anybody else experiencing this? -- Sean Wolfe master...
2008 Jun 24
9
ActiveRecord 2.1 Migration support
...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=>#<struct ActiveRecord::ConnectionAdapters::ColumnDefinition base=#<ActiveRecord::ConnectionAdapters::MysqlAdapter:0xb6fc6f50 @logger=#<ActiveSupport::BufferedLogger:0xb70935f0 @log=#<File:/home/grant/stuff/ruby/rails/auction-demo-mysql/log/development.log>, @no_block=false, @auto_flushing=1, @buffer=[], @level=0>, @runtime=0.134179830...
2008 Jun 24
9
ActiveRecord 2.1 Migration support
...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=>#<struct ActiveRecord::ConnectionAdapters::ColumnDefinition base=#<ActiveRecord::ConnectionAdapters::MysqlAdapter:0xb6fc6f50 @logger=#<ActiveSupport::BufferedLogger:0xb70935f0 @log=#<File:/home/grant/stuff/ruby/rails/auction-demo-mysql/log/development.log>, @no_block=false, @auto_flushing=1, @buffer=[], @level=0>, @runtime=0.134179830...