module Sequel::Plugins::ActiveModel::ClassMethods
Public Instance Methods
_to_partial_path()
click to toggle source
Class level cache for to_partial_path.
# File lib/sequel/plugins/active_model.rb, line 44 def _to_partial_path @_to_partial_path ||= "#{underscore(pluralize(to_s))}/#{underscore(demodulize(to_s))}".freeze end
freeze()
click to toggle source
Cache model_name and to_partial path value before freezing.
Calls superclass method
# File lib/sequel/plugins/active_model.rb, line 36 def freeze model_name _to_partial_path super end