Sha256: 79c2c3f2f899d7b46a2cd2b36ea5641980511d0dc201eb1997e2712888193863
Contents?: true
Size: 333 Bytes
Versions: 1
Compression:
Stored size: 333 Bytes
Contents
module Alchemy class EssenceSpreeTaxon < ActiveRecord::Base belongs_to :taxon, class_name: "Spree::Taxon", foreign_key: 'taxon_id', readonly: true acts_as_essence( ingredient_column: 'taxon_id', preview_text_method: 'name' ) attr_accessible :taxon_id def ingredient taxon end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alchemy_spree-0.2.0 | app/models/alchemy/essence_spree_taxon.rb |