Browse Source

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

eperez-timeinput
John N. Milner 12 years ago
committed by darmock
parent
commit
8f988b2cf1
  1. 2
      app/models/user_role_join.rb

2
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

Loading…
Cancel
Save