search for: createtestobjects

Displaying 1 result from an estimated 1 matches for "createtestobjects".

2006 May 06
0
Cant read an Array as an attribute of a record
...9;m not saving the object to the database, I''ve got a requirement to create and manipulate it in memory before persisting it. Thanks in advance to anyone who may help! Test/app/db/migrate/001_create_test_objects.rb ------------------------------------------------------------------ class CreateTestObjects < ActiveRecord::Migration def self.up create_table :test_objects do |t| t.column :name, :string t.column :test_array, :string end end def self.down drop_table :test_objects end end Test/app/models/test_object.rb --------------------------------------------------...