Method: ROM::Relation::ClassInterface#default_name
- Defined in:
- lib/rom/relation/class_interface.rb
#default_name ⇒ Name
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return default relation name used in schemas
294 295 296 |
# File 'lib/rom/relation/class_interface.rb', line 294 def default_name Name[Inflector.underscore(name).tr('/', '_').to_sym] end |