Too Long; Didn't Read
Ruby on Rails has many in built methods, but several of those can help you to write a clean and faster code. The so called Query Interface is the result of a mixture between several finder methods provided by Active Record. The methods that make up the Query Interface will return an instance of ActiveRecord::Relation declared on the ActiveRecord module, (the core of the query syntax in Ruby) and will let you to manipulate the amount, the specificity and the way the data is shown. To see the full list of methods you can click here.
Share Your Thoughts