MySQL Forums
Forum List  »  Ruby

Using rails comparison operator in dev/production
Posted by: Simon Boyd
Date: May 06, 2013 06:22AM

We had a production error using MySQL with latest rails 3.2 ruby 1.9.3 and MySQL fork.
In some cases we used in ActiveRecord (by mistake) statements the "==" comparison operator.

The problem is that it did work in development.
Using it in production would not be translated by rails active record to the correct SQL statement. (Occured in

Options: ReplyQuote

Written By
Using rails comparison operator in dev/production
May 06, 2013 06:22AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.