search for: lic_wait_min

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

2010 Mar 08
2
calling save changes a date field in my model instance to 2000
...39;d like to place in my DB but am ending up with odd results when I save the data. Here''s my model: class CreateWaits < ActiveRecord::Migration def self.up create_table :waits do |t| t.string :location t.integer :reg_wait_min t.integer :lic_wait_min t.time :collection_time #This is the troublesome one t.timestamps end end Here''s an interaction from the console. I make a new Wait and give it a collection_time of Time.now. The resulting objects has a collection_time that looks right, March, 2010...