Sha256: 563a358ec571a54c6b1fe01953323c3f9ee5a985617d31261ccb68cfcc573191

Contents?: true

Size: 529 Bytes

Versions: 2

Compression:

Stored size: 529 Bytes

Contents

class User < 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

  attr_accessible :email, :lastname, :name

  #===========================building methods dinamically===========================#
  #y esto tambien tiene que ser dinamico en los generators
  build_methods_images
  #==================================================================================#
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
crimagify-0.0.2.1 test/dummy/app/models/user.rb
crimagify-0.0.2 test/dummy/app/models/user.rb