Class: Detour::Group
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Detour::Group
- Defined in:
- app/models/detour/group.rb
Instance Method Summary collapse
Instance Method Details
#flaggable_class ⇒ Object
15 16 17 |
# File 'app/models/detour/group.rb', line 15 def flaggable_class flaggable_type.constantize end |
#to_s ⇒ Object
11 12 13 |
# File 'app/models/detour/group.rb', line 11 def to_s name end |