search for: less_than_ninety_days

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

2006 Nov 07
4
Unknown column 'id' in 'field list
...s 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, :integer t.column :all_days, :integer end end def self.down drop_table :active_user_metrics end end The test I wrote is as follows. class ActiveUserMetricTest < Test::Unit::TestCase fixtures :active_user_metrics def test_invalid_with_empty_attributes metric = Act...