Module: Models::LiquidMethods
- Extended by:
- ActiveSupport::Concern
- Included in:
- Address, AgreementParticipant, Article, Campaign, CampaignEmail, Certification, Coupon, Course, CourseEnrollment, CreditApplication, CreditMemo, Invoice, Item, LiabilityInsurance, LineItem, LocatorRecord, Opportunity, Order, Party, Post, PurchaseOrder, Rma, RmaItem, RoomConfiguration, Shipment, Source, Spiff, SpiffEnrollment, Supplier, SupportCase, SupportCaseParticipant
- Defined in:
- app/concerns/models/liquid_methods.rb
Overview
DSL for exposing model methods to Liquid templates: liquid_methods :foo
generates a Liquid::Drop subclass (stored as LiquidDropClass) whose
members delegate to the model, and defines to_liquid to wrap the record.
Defined Under Namespace
Modules: ClassMethods