Class: Spree::Base
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Spree::Base
- Includes:
- Preferences::Preferable
- Defined in:
- app/models/spree/base.rb
Direct Known Subclasses
Address, Adjustment, Asset, Calculator, Classification, Configuration, Country, CreditCard, InventoryUnit, LegacyUser, LineItem, LogEntry, OptionType, OptionValue, Order, Payment, PaymentCaptureEvent, PaymentMethod, Preference, Price, Product, ProductOptionType, ProductProperty, ProductScope, Promotion, PromotionAction, PromotionActionLineItem, PromotionRule, Property, Prototype, ReturnAuthorization, Role, Shipment, ShippingCategory, ShippingMethod, ShippingMethodCategory, ShippingRate, State, StateChange, StockItem, StockLocation, StockMovement, StockTransfer, Store, TaxCategory, TaxRate, Taxon, Taxonomy, Tracker, Variant, Zone, ZoneMember
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 |