It may be the case that an intermediary result is failing and causing a
future where query to result in the 0=0 behavior. Ruby should have very
little to do with concurrency issues, if anything that would be in
passenger's wheelhouse. Did your configuration change at all with the
upgrade?


On Thu, Apr 9, 2015 at 10:33 AM, Sivakumar G <[email protected]>
wrote:

> This seems to be happening only sometimes not always. Can this be related
> to Passenger upgrade? Anything related to concurrency?
>
> On Thursday, April 9, 2015 at 8:00:36 PM UTC+5:30, Stewart Mckinney wrote:
>>
>> 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 <[email protected]>
>> 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 <[email protected]>
>>>> 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 [email protected].
>>>>> To post to this group, send email to [email protected].
>>>>> 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 [email protected].
>>> To post to this group, send email to [email protected].
>>> 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 [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/8a930ca0-0167-458c-911f-fb95c07d17f0%40googlegroups.com
> <https://groups.google.com/d/msgid/rubyonrails-talk/8a930ca0-0167-458c-911f-fb95c07d17f0%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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CA%2BCQ9361aA4Dpsh5Va1YS0kEFpPphhqUsx1BEiVNbww-ysqW_g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to