# File app/roles/static_model.rb, line 7 def primary_key 'id' end
Used by ActiveRecord’s polymorphic association to set object_type
# File app/roles/static_model.rb, line 12 def base_class self end
Used by ActiveRecord’s polymorphic association to set object_id
# File app/roles/static_model.rb, line 7 def primary_key 'id' end