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:
parent
a614b28558
commit
8f988b2cf1
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user