Jordan Van Schyndel
User · Not a member
Jordan Van Schyndel's latest activity
Saturday, April 04 2009
2417
Non-namespaced Model in subfolder with same name gets named "Not a Class"
was updated
in Ruby on Rails
-
- 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"
-
Jordan Van Schyndel commented at 7:50 PMI should also mention that moving team.rb into the /models/ folder (away from the subfolder /team/) eliminates this error message.
-
Jordan Van Schyndel created the ticket at 7:48 PMI have a non-namespaced model named "Team". It is located at
/app/models/team/team.rb
And it is loaded up into the application through a require in the Applicat...