search for: createcustomers

Displaying 2 results from an estimated 2 matches for "createcustomers".

2006 Jun 30
2
Help with translating an object model to a relational mode
...ss PurchaseHistory{ #blah blah blah } The object model is non-negotiable. I am not allowed to change it, I have to create equivalent soap objects for his types. The problem comes with the arrays. How do I store those in the database? Here is the migration I''ve wrote so far: class CreateCustomers < ActiveRecord::Migration def self.up create_table :customers do |t| t.column :firstName, :string #blah t.column : email_addresses, [:string] # This does not work. Migrate freaks out! help! # purchase history array???? help! end end def self.down d...
2006 Mar 31
7
problem with habtm conditions in pagination
...3''} It''s generating the exception below. Any help would be INCREDIBLY appreciated. Please b/cc me in on any replies. Kind Regards, Julian. #The problem is in the customer-list action. #... it yields the error below the source code that follows: # source code follows: class CreateCustomers < ActiveRecord::Migration def self.up create_table :customers do |t| # t.column :name, :string end end def self.down drop_table :customers end end class CreateTags < ActiveRecord::Migration def self.up create_table :tags do |t| # t.column :na...