Ruby on Rails

Friday, July 31, 2015

[Rails] Re: How to Convert mysql query into Rails ORM?

›
The table structure of the message table had these fileds m_id as primary key and user_one and user_two and created at and updated at these ...

Re: [Rails] Re: How to Convert mysql query into Rails ORM?

›
There is something wrong with your query, your case statement is changing values in a select? AFAIK it should not be working in mysql either...

[Rails] Re: How to Convert mysql query into Rails ORM?

›
Message fields user_one and user_two concern me.  Before I respond to your question, would you mind sharing the structure of your message an...
‹
›
Home
View web version
Powered by Blogger.