search for: migration_class

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

Did you mean: migration_classes
2008 Nov 11
4
Very weird rake message...
.../activesupport-2.0.2/lib/active_support/ inflector.rb:257:in `constantize'' /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/ core_ext/string/inflections.rb:148:in `constantize'' /Library/Ruby/Gems/1.8/gems/activerecord-2.0.2/lib/active_record/ migration.rb:386:in `migration_class'' /Library/Ruby/Gems/1.8/gems/activerecord-2.0.2/lib/active_record/ migration.rb:363:in `migration_classes'' /Library/Ruby/Gems/1.8/gems/activerecord-2.0.2/lib/active_record/ connection_adapters/sqlite_adapter.rb:351:in `inject'' /Library/Ruby/Gems/1.8/gems/activerecord-2.0....
2007 Nov 02
0
uninitialized constant CreateDatabase
...ivesupport-1.4.2/lib/active_support/inflector.rb:250:in `constantize'' c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/core_ext/string/inflections.rb:148:in `constantize'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:366:in `migration_class'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/migration.rb:346:in `migration_classes'' c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection_adapters/abstract_adapter.rb:128:in `inject'' c:/ruby/lib/ruby/gems/1.8/gems/active...
2008 Mar 17
3
Don't know how to build task 'migrate'
.../gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/migration.rb:360:in `migration_classes'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/connection_adapters/mysql_adapter.rb:286:in `inject'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/migration.rb:359:in `each'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-...
2006 Aug 05
5
rake migrate error: nil.first
My migrations were working fine until today. I dropped and re-created the database.But, when I go to apply my migrations, rake migrate aborts with this error. 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.first Any idea what might be wrong? The migrations look right. It''s talking to the
2006 Apr 20
4
Newbee rake migrate question
...by/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:140:in `load'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:140:in `load'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/migration.rb:340:in `migration_classes'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/mysql_adapter.rb:190:in `inject'' /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/migration.rb:339:in `migration_classes'' /usr/local/lib/ruby/gems/1.8/gem...