Class: Spree::Base

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Preferences::Preferable
Defined in:
app/models/spree/base.rb

Class Method Summary collapse

Methods included from Preferences::Preferable

#clear_preferences, #default_preferences, #defined_preferences, #get_preference, #has_preference!, #has_preference?, #preference_default, #preference_type, #set_preference

Class Method Details

.page(num) ⇒ Object


9
10
11
# File 'app/models/spree/base.rb', line 9

def self.page num
  send Kaminari.config.page_method_name, num
end