Sha256: 494dd79dc8b92b66d3e780afde24fb6143be73c9589484ae58d56096a306484b
Contents?: true
Size: 400 Bytes
Versions: 33
Compression:
Stored size: 400 Bytes
Contents
class Spree::Base < ActiveRecord::Base include Spree::Preferences::Preferable serialize :preferences, Hash after_initialize do self.preferences = default_preferences.merge(preferences) if has_attribute?(:preferences) end if Kaminari.config.page_method_name != :page def self.page num send Kaminari.config.page_method_name, num end end self.abstract_class = true end
Version data entries
33 entries across 33 versions & 2 rubygems