When I try to create the tables for user engine I get the following error:
rake db:migrate:engines ENIGINE=user -t (in /home/jtarquino/workspace/TarpriSchoolEvaluator) ** Invoke db:migrate:engines (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate:engines Migrating engine 'user_engine' rake aborted! You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occured while evaluating nil.[] /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:258:in `type_to_sql' /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/abstract/schema_statements.rb:238:in `old_initialize_schema_information' /home/jtarquino/workspace/TarpriSchoolEvaluator/config/../vendor/plugins/engines/lib/engines/migration_extensions.rb:7:in `initialize_schema_information' /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/migration.rb:281:in `migrate' ./vendor/plugins/engines/tasks/engines.rake:80 ./vendor/plugins/engines/tasks/engines.rake:75 /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `execute' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in `invoke' /usr/lib/ruby/1.8/thread.rb:135:in `synchronize' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in `invoke' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run' /usr/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7 /usr/bin/rake:18 I already tried the command in the Readme but it did not work. Also, I had the same problem when creating the tables for login engine, so I decided to create the tables manually in Firebird. I have Rails 1.1.6. Any ideas on how can I solve this problem? Best regards, Juan Pablo -- Posted via http://www.ruby-forum.com/. _______________________________________________ engine-users mailing list [email protected] http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
