Sha256: e814f8c02fc7f67079d448ed1db133f1e9fbdfab20b90c00b6120ba599849e56
Contents?: true
Size: 526 Bytes
Versions: 16
Compression:
Stored size: 526 Bytes
Contents
class Dimension < 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