Meeting the Query Interface in Ruby on Railsby@guadalupe-rangel
438 reads

Meeting the Query Interface in Ruby on Rails

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

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.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - Meeting the Query Interface in Ruby on Rails
Guadalupe Rangel  HackerNoon profile picture

@guadalupe-rangel

Guadalupe Rangel

Physicist and geek trying to write. Currently going into the world of code with passion.


Receive Stories from @guadalupe-rangel

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!