Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - app
- - controllers
- - seller # namespaced like an admin but for sellers
- whatevere.rb # must have a file in here
- - models
- seller.rb
- $ rspec spec
- Exception encountered: #<RuntimeError: Already memoized foobar> # foobar is inside models/seller.rb
- 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