module ActiveModelBehavior::InstanceMethods
Public Instance Methods
model_name()
click to toggle source
# File lib/redis_orm/active_model_behavior.rb 9 def model_name 10 @_model_name ||= ActiveModel::Name.new(self.class).to_s.tableize.singularize 11 end