Class: Spree::Base
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Spree::Base
- Includes:
- Preferences::Preferable, RansackableAttributes
- Defined in:
- app/models/spree/base.rb
Direct Known Subclasses
Address, Adjustment, Asset, Calculator, Classification, Configuration, Country, CreditCard, CustomerReturn, InventoryUnit, LegacyUser, LineItem, LogEntry, OptionType, OptionValue, Order, Payment, PaymentCaptureEvent, PaymentMethod, Preference, Price, Product, ProductOptionType, ProductProperty, ProductScope, Promotion, PromotionAction, PromotionActionLineItem, PromotionCategory, PromotionRule, Property, Prototype, Refund, RefundReason, Reimbursement, Reimbursement::Credit, ReimbursementType, ReturnAuthorization, ReturnAuthorizationReason, ReturnItem, 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
12 13 14 |
# File 'app/models/spree/base.rb', line 12 def self.page num send Kaminari.config.page_method_name, num end |