Sha256: c42ad2ad7eb3c2c50fcab9451f7726857cfa39d17095ca35c8e1c1fe1862c1ed
Contents?: true
Size: 554 Bytes
Versions: 12
Compression:
Stored size: 554 Bytes
Contents
class Product < ActiveRecord::Base extend Crimagify::DinamicImageMethods #proximo paso que esto sea dinamico en un generate has_many :crimagify_images, :as => :parent, :dependent => :destroy, :class_name => Crimagify::Image belongs_to :user attr_accessible :description, :name, :user_id #===========================building methods dinamically===========================# #y esto tambien tiene que ser dinamico en los generators build_methods_images #==================================================================================# end
Version data entries
12 entries across 12 versions & 1 rubygems