Displaying 1 result from an estimated 1 matches for "securityuser".
2007 Sep 13
7
Namespacing Models
...need to solidify a convention for namespaces with
models. It seems the functionality is halfway there and we need some
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...