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

Version Path
crimagify-0.0.4.3 test/dummy/app/models/product.rb
crimagify-0.0.4.2 test/dummy/app/models/product.rb
crimagify-0.0.4.1 test/dummy/app/models/product.rb
crimagify-0.0.4.0 test/dummy/app/models/product.rb
crimagify-0.0.3.9 test/dummy/app/models/product.rb
crimagify-0.0.3.8 test/dummy/app/models/product.rb
crimagify-0.0.3.6 test/dummy/app/models/product.rb
crimagify-0.0.3.5 test/dummy/app/models/product.rb
crimagify-0.0.3.4 test/dummy/app/models/product.rb
crimagify-0.0.3.3 test/dummy/app/models/product.rb
crimagify-0.0.3.2 test/dummy/app/models/product.rb
crimagify-0.0.3.1 test/dummy/app/models/product.rb