Some months ago I did a talk in a meetup for RubyFloripa about advanced queries in RubyOnRails. The objective of the talk was to explain that it does not need to be extermely hard and stressfull to write complex queries in rails projects. And it does not need to have a lot of strict sql written directly in your code, in your classes either. You can write complex queries in a way that is easy to read and understand using a combination of activerecord and arel and following some good practices.
https://medium.com/media/003bfed9727e9502b434435313867fee/href
Top comments (0)