Replace attr_accessible with strong parameters
This commit is contained in:
parent
3875882172
commit
f0feca800d
28 changed files with 73 additions and 75 deletions
|
@ -1,8 +1,6 @@
|
|||
class UserToken < ActiveRecord::Base
|
||||
belongs_to :user
|
||||
|
||||
attr_accessible :referer
|
||||
|
||||
after_initialize :set_defaults
|
||||
|
||||
def expired?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue