search for: createwaits

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

2010 Mar 08
2
calling save changes a date field in my model instance to 2000
...laugh if you must :). $ rails --version Rails 2.3.5 $ ruby --version ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux] I have a bunch of data in a text file that I''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...