Advertisement
Guest User

Untitled

a guest
Mar 5th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.98 KB | None | 0 0
  1. ? What would you like the user model to be called? Press <enter> for [user] > - Now setting up devise with user model name 'user':
  2. generate devise
  3. invoke active_record
  4. create db/migrate/20120825075751_add_devise_to_users.rb
  5. insert app/models/user.rb
  6. route devise_for :users
  7. - Now you'll need an initializer...
  8. create config/initializers/rails_admin.rb
  9. /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/activerecord-3.2.8/lib/active_record/reflection.rb:385:in `block in source_reflection': undefined method `klass' for nil:NilClass (NoMethodError)
  10. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/activerecord-3.2.8/lib/active_record/reflection.rb:385:in `collect'
  11. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/activerecord-3.2.8/lib/active_record/reflection.rb:385:in `source_reflection'
  12. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/activerecord-3.2.8/lib/active_record/reflection.rb:375:in `rescue in foreign_key'
  13. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/activerecord-3.2.8/lib/active_record/reflection.rb:373:in `foreign_key'
  14. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/rails_admin-0.0.5/lib/rails_admin/adapters/active_record.rb:259:in `association_foreign_key_lookup'
  15. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/rails_admin-0.0.5/lib/rails_admin/adapters/active_record.rb:71:in `block in associations'
  16. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/rails_admin-0.0.5/lib/rails_admin/adapters/active_record.rb:64:in `map'
  17. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/rails_admin-0.0.5/lib/rails_admin/adapters/active_record.rb:64:in `associations'
  18. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/rails_admin-0.0.5/lib/rails_admin/abstract_model.rb:29:in `block (2 levels) in polymorphic_parents'
  19. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/rails_admin-0.0.5/lib/rails_admin/abstract_model.rb:28:in `each'
  20. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/rails_admin-0.0.5/lib/rails_admin/abstract_model.rb:28:in `block in polymorphic_parents'
  21. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/rails_admin-0.0.5/lib/rails_admin/abstract_model.rb:27:in `tap'
  22. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/rails_admin-0.0.5/lib/rails_admin/abstract_model.rb:27:in `polymorphic_parents'
  23. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/rails_admin-0.0.5/lib/rails_admin/adapters/active_record.rb:222:in `association_model_lookup'
  24. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/rails_admin-0.0.5/lib/rails_admin/adapters/active_record.rb:69:in `block (2 levels) in associations'
  25. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/rails_admin-0.0.5/lib/rails_admin/config/fields/types/polymorphic_association.rb:49:in `call'
  26. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/rails_admin-0.0.5/lib/rails_admin/config/fields/types/polymorphic_association.rb:49:in `associated_model_config'
  27. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/rails_admin-0.0.5/lib/rails_admin/config/fields/types/polymorphic_association.rb:19:in `block in <class:PolymorphicAssociation>'
  28. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/rails_admin-0.0.5/lib/rails_admin/config/configurable.rb:68:in `instance_eval'
  29. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/rails_admin-0.0.5/lib/rails_admin/config/configurable.rb:68:in `block in register_instance_option'
  30. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/rails_admin-0.0.5/lib/rails_admin/config/configurable.rb:42:in `block in register_instance_option'
  31. from (erb):86:in `block (2 levels) in template'
  32. from (erb):85:in `map'
  33. from (erb):85:in `block in template'
  34. from (erb):82:in `map'
  35. from (erb):82:in `template'
  36. from /home/funkdified/.rvm/rubies/ruby-1.9.3-p125-HEAD/lib/ruby/1.9.1/erb.rb:838:in `eval'
  37. from /home/funkdified/.rvm/rubies/ruby-1.9.3-p125-HEAD/lib/ruby/1.9.1/erb.rb:838:in `result'
  38. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/thor-0.16.0/lib/thor/actions/file_manipulation.rb:111:in `block in template'
  39. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/thor-0.16.0/lib/thor/actions/create_file.rb:54:in `call'
  40. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/thor-0.16.0/lib/thor/actions/create_file.rb:54:in `render'
  41. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/thor-0.16.0/lib/thor/actions/create_file.rb:63:in `block (2 levels) in invoke!'
  42. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/thor-0.16.0/lib/thor/actions/create_file.rb:63:in `open'
  43. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/thor-0.16.0/lib/thor/actions/create_file.rb:63:in `block in invoke!'
  44. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/thor-0.16.0/lib/thor/actions/empty_directory.rb:133:in `call'
  45. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/thor-0.16.0/lib/thor/actions/empty_directory.rb:133:in `invoke_with_conflict_check'
  46. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/thor-0.16.0/lib/thor/actions/create_file.rb:61:in `invoke!'
  47. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/thor-0.16.0/lib/thor/actions.rb:95:in `action'
  48. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/thor-0.16.0/lib/thor/actions/create_file.rb:26:in `create_file'
  49. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/thor-0.16.0/lib/thor/actions/file_manipulation.rb:110:in `template'
  50. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/rails_admin-0.0.5/lib/generators/rails_admin/install_generator.rb:59:in `install'
  51. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/thor-0.16.0/lib/thor/task.rb:27:in `run'
  52. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/thor-0.16.0/lib/thor/invocation.rb:120:in `invoke_task'
  53. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/thor-0.16.0/lib/thor/invocation.rb:126:in `block in invoke_all'
  54. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/thor-0.16.0/lib/thor/invocation.rb:126:in `each'
  55. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/thor-0.16.0/lib/thor/invocation.rb:126:in `map'
  56. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/thor-0.16.0/lib/thor/invocation.rb:126:in `invoke_all'
  57. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/thor-0.16.0/lib/thor/group.rb:238:in `dispatch'
  58. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/thor-0.16.0/lib/thor/base.rb:425:in `start'
  59. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/railties-3.2.8/lib/rails/generators.rb:171:in `invoke'
  60. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/railties-3.2.8/lib/rails/commands/generate.rb:12:in `<top (required)>'
  61. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
  62. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `block in require'
  63. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:236:in `load_dependency'
  64. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'
  65. from /home/funkdified/.rvm/gems/ruby-1.9.3-p125-HEAD@rails323/gems/railties-3.2.8/lib/rails/commands.rb:29:in `<top (required)>'
  66. from script/rails:6:in `require'
  67. from script/rails:6:in `<main>'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement