Module: Sequel::Plugins::ActiveModel::ClassMethods

Includes:
ActiveModel::Naming
Defined in:
lib/sequel/plugins/active_model.rb

Instance Method Summary collapse

Instance Method Details

#_to_partial_pathObject

Class level cache for to_partial_path.



31
32
33
# File 'lib/sequel/plugins/active_model.rb', line 31

def _to_partial_path
  @_to_partial_path ||= "#{underscore(pluralize(to_s))}/#{underscore(demodulize(to_s))}".freeze
end