ActiveRecord > MySQL > undefined method `more_results'

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 methodmore_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!

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 methodmore_results’ for #Mysql:0x915c150
(NoMethodError)

I would step through where this call is working in development, see
where it should have been defined (but apparently isn’t in production).

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs