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.. On Sep 7, 5:39 pm, "Jeffrey L. Taylor" <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org> wrote:> 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 thewarningor 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:alreadyinitializedconstantHasManyThroughCantAssociateThroughHasManyReflection > > TIA, > Jeffrey
I worked around the problem by applying the patches to 2.3.3. Jeffrey Quoting chris.drappier <chris.drappier-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> > I''m having the same problem.. > > On Sep 7, 5:39 pm, "Jeffrey L. Taylor" <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org> wrote: > > 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 thewarningor 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:alreadyinitializedconstantHasManyThroughCantAssociateThroughHasManyReflection
Links to patches here: http://www.rorsecurity.info/journal/2009/9/4/two-vulnerabilities-fixed-in-rails-234.html Quoting Jeffrey L. Taylor <ror-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org>:> > I worked around the problem by applying the patches to 2.3.3. > > Jeffrey > > Quoting chris.drappier <chris.drappier-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > > > > I''m having the same problem.. > > > > On Sep 7, 5:39 pm, "Jeffrey L. Taylor" <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org> wrote: > > > 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 thewarningor 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:alreadyinitializedconstantHasManyThroughCantAssociateThroughHasManyReflection > > >
wasn''t the patches to 2.3.3 applied via 2.3.4 ?? On Sep 10, 10:20 am, "Jeffrey L. Taylor" <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org> wrote:> Links to patches here:http://www.rorsecurity.info/journal/2009/9/4/two-vulnerabilities-fixe... > > Quoting Jeffrey L. Taylor <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org>: > > > > > I worked around the problem by applying the patches to 2.3.3. > > > Jeffrey > > > Quoting chris.drappier <chris.drapp...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > > > > I''m having the same problem.. > > > > On Sep 7, 5:39 pm, "Jeffrey L. Taylor" <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org> wrote: > > > > 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 thewarningor 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:alreadyinitializedconstantHasManyThroughCantAssociateThroughHasManyReflection
wasn''t the patches to 2.3.3 applied via 2.3.4 ?? On Sep 10, 10:20 am, "Jeffrey L. Taylor" <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org> wrote:> Links to patches here:http://www.rorsecurity.info/journal/2009/9/4/two-vulnerabilities-fixe... > > Quoting Jeffrey L. Taylor <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org>: > > > > > I worked around the problem by applying the patches to 2.3.3. > > > Jeffrey > > > Quoting chris.drappier <chris.drapp...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > > > > I''m having the same problem.. > > > > On Sep 7, 5:39 pm, "Jeffrey L. Taylor" <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org> wrote: > > > > 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 thewarningor 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:alreadyinitializedconstantHasManyThroughCantAssociateThroughHasManyReflection
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 <st23am-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> > wasn''t the patches to 2.3.3 applied via 2.3.4 ?? > > On Sep 10, 10:20 am, "Jeffrey L. Taylor" <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org> > wrote: > > Links to patches here:http://www.rorsecurity.info/journal/2009/9/4/two-vulnerabilities-fixe... > > > > Quoting Jeffrey L. Taylor <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org>: > > > > > > > > > I worked around the problem by applying the patches to 2.3.3. > > > > > Jeffrey > > > > > Quoting chris.drappier <chris.drapp...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > > > > > > I''m having the same problem.. > > > > > > On Sep 7, 5:39 pm, "Jeffrey L. Taylor" <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org> wrote: > > > > > 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 thewarningor 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:alreadyinitializedconstantHasManyThroughCantAssociateThroughHasManyReflection
I''m seeing the same warning, also with Ruby 1.8.7 . On Sep 15, 11:34 pm, "Jeffrey L. Taylor" <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org> wrote:> 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 <st2...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > > > wasn''t the patches to 2.3.3 applied via 2.3.4 ?? > > > On Sep 10, 10:20 am, "Jeffrey L. Taylor" <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org> > > wrote: > > > Links to patches here:http://www.rorsecurity.info/journal/2009/9/4/two-vulnerabilities-fixe... > > > > Quoting Jeffrey L. Taylor <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org>: > > > > > I worked around the problem by applying the patches to 2.3.3. > > > > > Jeffrey > > > > > Quoting chris.drappier <chris.drapp...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > > > > > > I''m having the same problem.. > > > > > > On Sep 7, 5:39 pm, "Jeffrey L. Taylor" <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org> wrote: > > > > > > 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 thewarningor 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:alreadyinitializedconstantHasManyThroughCantAssociateThroughHasManyReflection > >
Did anyone solve this problem? If so, how? Thanks, Rob On Sep 24, 6:01 am, Andy Orahood <andyorah...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''m seeing the same warning, also with Ruby 1.8.7 . > > On Sep 15, 11:34 pm, "Jeffrey L. Taylor" <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org> > wrote: > > > 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 <st2...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > > > > wasn''t the patches to 2.3.3 applied via 2.3.4 ?? > > > > On Sep 10, 10:20 am, "Jeffrey L. Taylor" <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org> > > > wrote: > > > > Links to patches here:http://www.rorsecurity.info/journal/2009/9/4/two-vulnerabilities-fixe... > > > > > Quoting Jeffrey L. Taylor <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org>: > > > > > > I worked around the problem by applying the patches to 2.3.3. > > > > > > Jeffrey > > > > > > Quoting chris.drappier <chris.drapp...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: > > > > > > > I''m having the same problem.. > > > > > > > On Sep 7, 5:39 pm, "Jeffrey L. Taylor" <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org> wrote: > > > > > > > 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 thewarningor 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:alreadyinitializedconstantHasManyThroughCantAssociateThroughHasManyReflection
By applying the security patches to 2.3.3. URLs below. Jeffrey Quoting rhbarrett <rbarrett-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>:> > Did anyone solve this problem? If so, how? > > Thanks, > Rob > > > On Sep 24, 6:01 am, Andy Orahood <andyorah...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:[snip]>>>> On Sep 10, 10:20 am, "Jeffrey L. Taylor" <r...-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org> >>>> wrote: >>>>> Links to patches here:http://www.rorsecurity.info/journal/2009/9/4/two-vulnerabilities-fixe...