SHOW:
|
|
- or go back to the newest paste.
| 1 | Tonys-MacBook-Air:eatbook Casualtony$ rails console | |
| 2 | /Library/Ruby/Gems/2.0.0/gems/activemodel-4.0.2/lib/active_model/deprecated_mass_assignment_security.rb:14:in `attr_accessible': `attr_accessible` is extracted out of Rails into a gem. Please use new recommended protection model for params(strong_parameters) or add `protected_attributes` to your Gemfile to use old one. (RuntimeError) | |
| 3 | from /Users/Casualtony/Desktop/eatbook/app/models/user.rb:8:in `<class:User>' | |
| 4 | from /Users/Casualtony/Desktop/eatbook/app/models/user.rb:1:in `<top (required)>' | |
| 5 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:424:in `load' | |
| 6 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:424:in `block in load_file' | |
| 7 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:616:in `new_constants_in' | |
| 8 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:423:in `load_file' | |
| 9 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:324:in `require_or_load' | |
| 10 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:463:in `load_missing_constant' | |
| 11 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:184:in `const_missing' | |
| 12 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/inflector/methods.rb:226:in `const_get' | |
| 13 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/inflector/methods.rb:226:in `block in constantize' | |
| 14 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/inflector/methods.rb:224:in `each' | |
| 15 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/inflector/methods.rb:224:in `inject' | |
| 16 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/inflector/methods.rb:224:in `constantize' | |
| 17 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:535:in `get' | |
| 18 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:566:in `constantize' | |
| 19 | from /Library/Ruby/Gems/2.0.0/gems/devise-3.2.2/lib/devise.rb:297:in `get' | |
| 20 | from /Library/Ruby/Gems/2.0.0/gems/devise-3.2.2/lib/devise/mapping.rb:77:in `to' | |
| 21 | from /Library/Ruby/Gems/2.0.0/gems/devise-3.2.2/lib/devise/mapping.rb:72:in `modules' | |
| 22 | from /Library/Ruby/Gems/2.0.0/gems/devise-3.2.2/lib/devise/mapping.rb:89:in `routes' | |
| 23 | from /Library/Ruby/Gems/2.0.0/gems/devise-3.2.2/lib/devise/mapping.rb:156:in `default_used_route' | |
| 24 | from /Library/Ruby/Gems/2.0.0/gems/devise-3.2.2/lib/devise/mapping.rb:66:in `initialize' | |
| 25 | from /Library/Ruby/Gems/2.0.0/gems/devise-3.2.2/lib/devise.rb:331:in `new' | |
| 26 | from /Library/Ruby/Gems/2.0.0/gems/devise-3.2.2/lib/devise.rb:331:in `add_mapping' | |
| 27 | from /Library/Ruby/Gems/2.0.0/gems/devise-3.2.2/lib/devise/rails/routes.rb:218:in `block in devise_for' | |
| 28 | from /Library/Ruby/Gems/2.0.0/gems/devise-3.2.2/lib/devise/rails/routes.rb:217:in `each' | |
| 29 | from /Library/Ruby/Gems/2.0.0/gems/devise-3.2.2/lib/devise/rails/routes.rb:217:in `devise_for' | |
| 30 | from /Users/Casualtony/Desktop/eatbook/config/routes.rb:2:in `block in <top (required)>' | |
| 31 | from /Library/Ruby/Gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/routing/route_set.rb:341:in `instance_exec' | |
| 32 | from /Library/Ruby/Gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/routing/route_set.rb:341:in `eval_block' | |
| 33 | from /Library/Ruby/Gems/2.0.0/gems/actionpack-4.0.2/lib/action_dispatch/routing/route_set.rb:319:in `draw' | |
| 34 | from /Users/Casualtony/Desktop/eatbook/config/routes.rb:1:in `<top (required)>' | |
| 35 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:223:in `load' | |
| 36 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:223:in `block in load' | |
| 37 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:214:in `load_dependency' | |
| 38 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:223:in `load' | |
| 39 | from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.2/lib/rails/application/routes_reloader.rb:40:in `block in load_paths' | |
| 40 | from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.2/lib/rails/application/routes_reloader.rb:40:in `each' | |
| 41 | from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.2/lib/rails/application/routes_reloader.rb:40:in `load_paths' | |
| 42 | from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.2/lib/rails/application/routes_reloader.rb:16:in `reload!' | |
| 43 | from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.2/lib/rails/application/routes_reloader.rb:26:in `block in updater' | |
| 44 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/file_update_checker.rb:75:in `call' | |
| 45 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/file_update_checker.rb:75:in `execute' | |
| 46 | from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.2/lib/rails/application/routes_reloader.rb:27:in `updater' | |
| 47 | from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.2/lib/rails/application/routes_reloader.rb:6:in `execute_if_updated' | |
| 48 | from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.2/lib/rails/application/finisher.rb:69:in `block in <module:Finisher>' | |
| 49 | from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.2/lib/rails/initializable.rb:30:in `instance_exec' | |
| 50 | from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.2/lib/rails/initializable.rb:30:in `run' | |
| 51 | from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.2/lib/rails/initializable.rb:55:in `block in run_initializers' | |
| 52 | from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each' | |
| 53 | from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component' | |
| 54 | from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from' | |
| 55 | from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component' | |
| 56 | from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tsort.rb:180:in `each' | |
| 57 | from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component' | |
| 58 | from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each' | |
| 59 | from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.2/lib/rails/initializable.rb:54:in `run_initializers' | |
| 60 | from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.2/lib/rails/application.rb:215:in `initialize!' | |
| 61 | from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.2/lib/rails/railtie/configurable.rb:30:in `method_missing' | |
| 62 | from /Users/Casualtony/Desktop/eatbook/config/environment.rb:5:in `<top (required)>' | |
| 63 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in `require' | |
| 64 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in `block in require' | |
| 65 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:214:in `load_dependency' | |
| 66 | from /Library/Ruby/Gems/2.0.0/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in `require' | |
| 67 | from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.2/lib/rails/application.rb:189:in `require_environment!' | |
| 68 | from /Library/Ruby/Gems/2.0.0/gems/railties-4.0.2/lib/rails/commands.rb:61:in `<top (required)>' | |
| 69 | from bin/rails:4:in `require' | |
| 70 | from bin/rails:4:in `<main>' |