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:21:13 -04:00
committed by darmock
parent a614b28558
commit 8f988b2cf1
+1 -1
View File
@@ -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