I am experiencing inconsistencies within ActiveRecord when retrieving
from a SQL Server table using the FreeTDS driver.
The following dump from an interactive console session shows the
issue.
$ script/console
Loading development environment (Rails 2.0.2)>> n = Network.find(3)
=> #<Network id: 3, country_id: 1, short_description: "Orange",
description: "Orange", carefone_code: "OR
">>> n = Network.find(3)
=> #<Network id: 3, country_id: 1, short_description: "Orange",
description: "Orange", carefone_code: "OR
">>> n = Network.find(3)
=> #<Network id: 72340172821233667, country_id: 72340172821233665,
short_description: "Orange", description: "Orange",
carefone_code:
"OR ">>> n = Network.find(3)
=> #<Network id: 3, country_id: 1, short_description: "Orange",
description: "Orange", carefone_code: "OR
">>> quit
What happened to my network ID the third time the find was run?
This happens across a lot of models and at inconsistent times. The
only consistent thing is that the affected fields are all ints.
Has anyone experiences anything like this before?
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---