1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-02-28 16:53:23 -05:00

Use self.table_name = instead of set_table_name to avoid deprecation warning

This commit is contained in:
John N. Milner 2013-05-10 03:18:36 -04:00 committed by darmock
parent a614b28558
commit 8f988b2cf1

View File

@ -1,5 +1,5 @@
class UserRoleJoin < ActiveRecord::Base class UserRoleJoin < ActiveRecord::Base
set_table_name :user_role_joins self.table_name = :user_role_joins
attr_accessible :role_id, :user_id, :ends attr_accessible :role_id, :user_id, :ends
belongs_to :user belongs_to :user