I am attempting to use ActiveRecord within a script I am writing to
process some data within a MySQL database.
In my development environment everything works perfectly, however, when
I deploy the script in the production environment, it fails with the
following error:
activerecord-3.0.0/lib/active_record/connection_adapters/mysql_adapter.rb:623:in
`select': undefined method `more_results' for #<Mysql:0x915c150>
(NoMethodError)
I have noted this error while using the "find," "where," and
"find_by_sql" methods.
I am using the following gems in both environments.
activerecord (3.0.0)
mysql (2.8.1)
The MySQL version, however, is different. In my development environment,
I am running 5.0.67 while the production environment is running the
5.0.32-Debian_7etch6-log Debian etch distribution.
I am at a loss as to how to diagnose this issue. Thanks in advance for
any suggestions!
···
--
Posted via http://www.ruby-forum.com/.