Guest User

Untitled

a guest
Jan 22nd, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. - app
  2. - controllers
  3. - seller # namespaced like an admin but for sellers
  4. whatevere.rb # must have a file in here
  5. - models
  6. seller.rb
  7.  
  8.  
  9. $ rspec spec
  10. Exception encountered: #<RuntimeError: Already memoized foobar> # foobar is inside models/seller.rb
  11.  
  12. If i change the controller/seller to controller/sellers (plural) there is no double loading of the seller.rb model file.
Add Comment
Please, Sign In to add comment