Displaying 1 result from an estimated 1 matches for "security_us".
Did you mean:
security's
2007 Sep 13
7
Namespacing Models
...sort of closure on the issue. As it stands, the easy solution which
many people has been using is to just prefix the class name with the
"namespace". For example,
class SecurityUser < ActiveRecord::Base
end
This also means that associations will also reference the naming
convention :security_users. The name used to prefix the class is used
throughout the application... redundant! However, what happens if the
User class is moved to another "package" or if there is a spelling
mistake? The entire application will require refactoring when it
should only be changed in a few places pe...