diff --git a/app/models/user_role_join.rb b/app/models/user_role_join.rb index f55b93c..b1d285d 100644 --- a/app/models/user_role_join.rb +++ b/app/models/user_role_join.rb @@ -1,5 +1,5 @@ class UserRoleJoin < ActiveRecord::Base - set_table_name :user_role_joins + self.table_name = :user_role_joins attr_accessible :role_id, :user_id, :ends belongs_to :user