Sha256: 7b10d9de384ac58a657ce0c9b3ef1c40f00516f16c09c63fce8e308ce32f3f27

Contents?: true

Size: 525 Bytes

Versions: 16

Compression:

Stored size: 525 Bytes

Contents

class Grouping < ActiveRecord::Base
	self.abstract_class = true
	
	@@dimensions = []
	
	def dimensions
    	@@dimensions
  	end
	
	def initializeadsf
		super()
		puts "content of the dimension: \n"
		puts @dimensions.inspect
		@dimensions.each do |dimension|
			reference = dimension + able
			hasone dimension.to_sym as: reference.to_sym
		end
	end
	
	def setup value
		self.create({value: value})
	end
	
	def revise(params)
		title.update_attributes({title: params[:post][:title_attributes][:value]})
		title.save
	end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
iatelier-0.5.2 lib/iatelier/models/grouping.rb
iatelier-0.5.1 lib/iatelier/models/grouping.rb
iatelier-0.5.0 lib/iatelier/models/grouping.rb
iatelier-0.4.4 lib/iatelier/models/grouping.rb
iatelier-0.4.3 lib/iatelier/models/grouping.rb
iatelier-0.4.2 lib/iatelier/models/grouping.rb
iatelier-0.4.1 lib/iatelier/models/grouping.rb
iatelier-0.4.0 lib/iatelier/models/grouping.rb
iatelier-0.3.2 lib/iatelier/models/grouping.rb
iatelier-0.3.1 lib/iatelier/models/grouping.rb
iatelier-0.3.0 lib/iatelier/models/grouping.rb
iatelier-0.1.8 lib/iatelier/models/grouping.rb
iatelier-0.1.7 lib/iatelier/models/grouping.rb
iatelier-0.1.5 lib/iatelier/models/grouping.rb
iatelier-0.1.4 lib/iatelier/models/grouping.rb
iatelier-0.1.3 lib/iatelier/models/grouping.rb