module Sequel::Plugins::ActiveModel::ClassMethods

  1. lib/sequel/plugins/active_model.rb
Parent: ActiveModel

Methods

Public Instance

  1. _to_partial_path

Included modules

  1. ::ActiveModel::Naming

Public Instance methods

_to_partial_path ()

Class level cache for to_partial_path.

[show source]
# 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