Created
December 30, 2011 12:02
-
-
Save dbose/1539522 to your computer and use it in GitHub Desktop.
hobo_field exception
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Debasish-Boses-MacBook-Pro:blog quantum19812001$ rails g hobo:migration | |
/Users/quantum19812001/Projects/ror-test/blog/vendor/plugins/hobo_fields/lib/hobo_fields/model.rb:95:in `belongs_to': undefined method `foreign_key' for #<ActiveRecord::Reflection::AssociationReflection:0x1023ea488> (NoMethodError) | |
from /Users/quantum19812001/Projects/ror-test/blog/app/models/order.rb:6 | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:454:in `load' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:454:in `load_file' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:596:in `new_constants_in' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:453:in `load_file' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:340:in `require_or_load' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:491:in `load_missing_constant' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:183:in `const_missing' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:181:in `each' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:181:in `const_missing' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/activesupport-3.0.3/lib/active_support/inflector/methods.rb:113:in `constantize' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/activesupport-3.0.3/lib/active_support/inflector/methods.rb:112:in `each' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/activesupport-3.0.3/lib/active_support/inflector/methods.rb:112:in `constantize' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/activesupport-3.0.3/lib/active_support/core_ext/string/inflections.rb:43:in `constantize' | |
from /Users/quantum19812001/Projects/ror-test/blog/vendor/plugins/hobo_fields/lib/generators/hobo/migration/migrator.rb:82:in `load_rails_models' | |
from /Users/quantum19812001/Projects/ror-test/blog/vendor/plugins/hobo_fields/lib/generators/hobo/migration/migrator.rb:80:in `each' | |
from /Users/quantum19812001/Projects/ror-test/blog/vendor/plugins/hobo_fields/lib/generators/hobo/migration/migrator.rb:80:in `load_rails_models' | |
from /Users/quantum19812001/Projects/ror-test/blog/vendor/plugins/hobo_fields/lib/generators/hobo/migration/migrator.rb:91:in `table_model_classes' | |
from /Users/quantum19812001/Projects/ror-test/blog/vendor/plugins/hobo_fields/lib/generators/hobo/migration/migrator.rb:130:in `models_and_tables' | |
from /Users/quantum19812001/Projects/ror-test/blog/vendor/plugins/hobo_fields/lib/generators/hobo/migration/migrator.rb:203:in `generate' | |
from /Users/quantum19812001/Projects/ror-test/blog/vendor/plugins/hobo_fields/lib/generators/hobo/migration/migration_generator.rb:50:in `migrate' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/thor-0.14.6/lib/thor/task.rb:22:in `send' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/thor-0.14.6/lib/thor/task.rb:22:in `run' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `invoke_all' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/thor-0.14.6/lib/thor/shell.rb:14:in `map' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/thor-0.14.6/lib/thor/core_ext/ordered_hash.rb:73:in `each' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `map' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/thor-0.14.6/lib/thor/invocation.rb:124:in `invoke_all' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/thor-0.14.6/lib/thor/group.rb:226:in `dispatch' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/thor-0.14.6/lib/thor/base.rb:389:in `start' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/railties-3.0.3/lib/rails/generators.rb:163:in `invoke' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/railties-3.0.3/lib/rails/commands/generate.rb:10 | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in `load_dependency' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:596:in `new_constants_in' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in `load_dependency' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require' | |
from /Users/quantum19812001/.rvm/gems/ruby-1.8.7-p352@ror-test/gems/railties-3.0.3/lib/rails/commands.rb:17 | |
from script/rails:6:in `require' | |
from script/rails:6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment