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