Method: Sequel::Plugins::ClassTableInheritance::ClassMethods#sti_class_from_key
- Defined in:
- lib/sequel/plugins/class_table_inheritance.rb
#sti_class_from_key(key) ⇒ Object
The model class for the given key value.
296 297 298 |
# File 'lib/sequel/plugins/class_table_inheritance.rb', line 296 def sti_class_from_key(key) sti_class(sti_model_map[key]) end |