Guest User

Untitled

a guest
Jun 17th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. ## app/controllers/operations/acount_creation.rb
  2. class Operations::AccountCreation < ApplicationController
  3. def create
  4. puts "Foo"
  5. end
  6. end
  7. ## script/console
  8. ernest@ernest-desktop:~/Dokumenty/Projekty/directadmin$ script/console
  9. Loading development environment (Rails 2.3.2)
  10. >> Operations::AccountCreation
  11. NameError: uninitialized constant Operations::AccountCreation
  12. from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:440:in `load_missing_constant'
  13. from /opt/ruby-enterprise-1.8.6-20090201/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:80:in `const_missing'
  14. from (irb):1
Add Comment
Please, Sign In to add comment