search for: activeusermetr

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

Did you mean: activeusermetric
2006 Nov 07
4
Unknown column 'id' in 'field list
Hello, I''m trying to write a unit test for model that doesn''t have an ''id'' field. I created the model''s table with the following migration, making sure the primary key was set. class CreateActiveUserMetrics < ActiveRecord::Migration def self.up create_table :active_user_metrics, {:id => false, :primary_key => :sample_date} do |t| t.column :sample_date, :date t.column :less_than_thirty_days, :integer t.column :less_than_ninety_days,...