Created
September 8, 2011 04:46
-
-
Save 23inhouse/1202649 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment