Re: [Rails] ActiveRecord Integer Saving Problem

2011-10-16 Thread Peter Vandenabeele
On Wed, Oct 12, 2011 at 10:18 PM, Chris N wrote: > Using: Ruby 1.9.2, Rails 3.0.9, SQLite3 > > I am seeing some odd behavior when saving an integer field in > activerecord. I have setup a test scenario in the Rails console using > the following migration and corresponding model: > > class Creat

Re: [Rails] ActiveRecord Integer Saving Problem

2011-10-12 Thread Philip Hallstrom
> Using: Ruby 1.9.2, Rails 3.0.9, SQLite3 > > I am seeing some odd behavior when saving an integer field in > activerecord. I have setup a test scenario in the Rails console using > the following migration and corresponding model: > > class CreateMyobjs < ActiveRecord::Migration > def self.up

[Rails] ActiveRecord Integer Saving Problem

2011-10-12 Thread Chris N
Using: Ruby 1.9.2, Rails 3.0.9, SQLite3 I am seeing some odd behavior when saving an integer field in activerecord. I have setup a test scenario in the Rails console using the following migration and corresponding model: class CreateMyobjs < ActiveRecord::Migration def self.up create_tabl