Alias for rails model

ruby-on-rails, ruby-on-rails-3

Solution

If kishie's answer does not suit you you could create another model that inherits from OrganizationUser:

class OU < OrganizationUser
end

or

class OrgUser < OrganizationUser
end

Problem

My model name in one of rails app is `OrganizationUser` and is there any way to create alias name for this model as OU or OrgUser so that I can use in rails console..

Original source

Related problems