Methods
B
P
Instance Public methods
base_class()

Used by ActiveRecord’s polymorphic association to set object_type

# File app/roles/static_model.rb, line 12
def base_class
  self
end
primary_key()

Used by ActiveRecord’s polymorphic association to set object_id

# File app/roles/static_model.rb, line 7
def primary_key
  'id'
end