On Aug 15, 8:14 pm, doug <[email protected]> wrote:
> FWIW, I'm using the SQLite3 DB.
>
> I have a table column declared to be of type integer.  When I update a
> record (using ActiveRecord, of course) any changes to any other
> columns are made perfectly.  Changes to this particular column are
> also made perfectly as long as the new value is not zero.  However,
> if  the new value for this column is zero, it is not updated and the
> old value is retained.

What version of rails ? I do recall some bugs with change tracking and
setting integer columns to zero.

Fred
>
> I'm sorry.  I seem to be encountering more than my share of bizarre
> situations lately.  Does anyone have any thoughts?  Thanks.
>
>          ... doug
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to