Skip to main content

5 posts tagged with "Rails"

Ruby on Rails is a server-side web application framework written in Ruby under the MIT License. Rails is a model–view–controller framework, providing default structures for a database, a web service, and web pages

View All Tags

Scope in rails.

· 2 min read
Shekhar Patil
Full stack developer.

Rails follow the DRY principle of software development and that is 'Don't Repeat Yourself'. Scopes is are great to keep our code DRY and well organized. It's just a set of pre-defined SQL queries that we can use to write complex queries.

Eager loading and N+1 query in rails.

· 4 min read
Shekhar Patil
Full stack developer.

Sometimes, the implementation of an algorithm can make performance worst. Then it does not matter whether it has used the faster programming language like C or slower like Ruby. So we should implement the algorithms properly. Same while dealing with the database we should use proper queries so that the performance should not affect.