This project is archived and is in readonly mode.
Non-namespaced Model in subfolder with same name gets named "Not a Class"
-
Jordan Van Schyndel
I should also mention that moving team.rb into the /models/ folder (away from the subfolder /team/) eliminates this error message.
-
Jordan Van Schyndel
- Title changed from Model in subfolder with same name gets named "Not a Class" to Non-namespaced Model in subfolder with same name gets named "Not a Class"
-
Ryan Bigg
- State changed from new to wontfix
Rails conventions are to place the file in app/models/team.rb due to autoloading of classes. If you cannot do this, I recommend placing this inside lib.