Already initialized constant in Rails 2.3.4

In Rails 2.3.4 I have the following error on my production machine, ruby
1.8.7
(2008-08-11 patchlevel 72) [i486-linux], but not on my development
machine,
ruby 1.8.6 (2009-06-08 patchlevel 369) [i586-linux]. There are other
differences (Debian 5.0 vs. OpenSuSE 10.3). Any suggestions on whether
to
ignore the warning or how to fix the problem?

script/console

Loading development environment (Rails 2.3.4)
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/associations.rb:42:
warning: already initialized constant
HasManyThroughCantAssociateThroughHasManyReflection

TIA,
Jeffrey

I’m having the same problem…

I worked around the problem by applying the patches to 2.3.3.

Jeffrey

Quoting chris.drappier [email protected]:

Links to patches here:

Quoting Jeffrey L. Taylor [email protected]:

wasn’t the patches to 2.3.3 applied via 2.3.4 ??

On Sep 10, 10:20 am, “Jeffrey L. Taylor” [email protected]

Yes, and apparently other changes. Applying the patches to 2.3.3 works
for
me. 2.3.4 throws the warning in the original post. All my automated
tests
pass, but I am still nervous about running w/ a warning I don’t
understand.
Hence the test of a patched 2.3.3. Works for me.

Jeffreyt

Quoting st23am [email protected]:

Did anyone solve this problem? If so, how?

Thanks,
Rob

I’m seeing the same warning, also with Ruby 1.8.7 .

On Sep 15, 11:34 pm, “Jeffrey L. Taylor” [email protected]

By applying the security patches to 2.3.3. URLs below.

Jeffrey

Quoting rhbarrett [email protected]:

Did anyone solve this problem? If so, how?

Thanks,
Rob

On Sep 24, 6:01 am, Andy O. [email protected] wrote:
[snip]