My only guess is that something inside a where() is getting garbled somehow. Are you using anything like Squeel or MetaWhere?
You might want to check the diff on your Gemfile.lock to see what gems have changed with the ruby change ( because some could have upgraded to work with 2.1 vs 1.9 ). My guess is the culprit is there. On Thu, Apr 9, 2015 at 10:23 AM, Sivakumar G <sivakumar.gane...@gmail.com> wrote: > Any idea what might be the causing those weird activerecord errors? > > On Thursday, April 9, 2015 at 7:47:56 PM UTC+5:30, Stewart Mckinney wrote: >> >> Short answer: yes. I've been running that pair for a while now on one of >> my apps. >> >> On Thu, Apr 9, 2015 at 9:44 AM, Sivakumar G <sivakuma...@gmail.com> >> wrote: >> >>> We have a rail 3.2.19 application running on ruby 1.9.3 and passenger >>> 3.0.19. We upgraded ruby to 2.1.5 and passenger to 4.0.57 and ran into the >>> following issues post deployment. >>> >>> 1) Some of the update queires generated had 0=0 instead of actual >>> query's where clause >>> 2) Some of the select queries the realtion name in the where clause was >>> missing. >>> >>> Is rails 3.2 compatible with Ruby 2.1.5? >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Ruby on Rails: Talk" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to rubyonrails-ta...@googlegroups.com. >>> To post to this group, send email to rubyonra...@googlegroups.com. >>> To view this discussion on the web visit https://groups.google.com/d/ >>> msgid/rubyonrails-talk/26e077c2-3b1f-48cf-81d0- >>> 4af7d4369b13%40googlegroups.com >>> <https://groups.google.com/d/msgid/rubyonrails-talk/26e077c2-3b1f-48cf-81d0-4af7d4369b13%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/2d47bb00-bf66-4ef3-950a-8c320400ef3c%40googlegroups.com > <https://groups.google.com/d/msgid/rubyonrails-talk/2d47bb00-bf66-4ef3-950a-8c320400ef3c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CA%2BCQ936W3a4Di54kGoa1doq0%3D_hos3zNLDiJ_hwgy151iCuqYg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.