Skip to content
Navigation menu
Search
Powered by Algolia
Search
Log in
Create account
DEV Community
Close
Ruby on Rails Interview Questions Series' Articles
Back to Hassan Farooq's Series
The N+1 Query Problem
Hassan Farooq
Hassan Farooq
Hassan Farooq
Follow
Jun 21
The N+1 Query Problem
#
rails
#
database
#
performance
#
interview
Comments
4
comments
2 min read
How do you know you need a database index?
Hassan Farooq
Hassan Farooq
Hassan Farooq
Follow
Jun 22
How do you know you need a database index?
#
rails
#
performance
#
interview
#
database
Comments
2
comments
3 min read
What is a database transaction, and when do you reach for one in Rails?
Hassan Farooq
Hassan Farooq
Hassan Farooq
Follow
Jun 22
What is a database transaction, and when do you reach for one in Rails?
#
rails
#
database
#
postgres
#
activerecord
Comments
Add Comment
2 min read
includes vs joins vs preload vs eager_load in Rails
Hassan Farooq
Hassan Farooq
Hassan Farooq
Follow
Jun 22
includes vs joins vs preload vs eager_load in Rails
#
rails
#
activerecord
#
performance
#
database
Comments
Add Comment
2 min read
HABTM, has_many through, STI, and polymorphic associations in Rails
Hassan Farooq
Hassan Farooq
Hassan Farooq
Follow
Jun 25
HABTM, has_many through, STI, and polymorphic associations in Rails
#
rails
#
activerecord
#
associations
#
database
Comments
Add Comment
4 min read
Fat controllers, fat models, and the layer MVC forgot
Hassan Farooq
Hassan Farooq
Hassan Farooq
Follow
Jun 27
Fat controllers, fat models, and the layer MVC forgot
#
rails
#
ruby
#
mvc
#
architecture
Comments
Add Comment
4 min read
Stop putting side effects in Rails callbacks
Hassan Farooq
Hassan Farooq
Hassan Farooq
Follow
Jun 27
Stop putting side effects in Rails callbacks
#
rails
#
activerecord
#
ruby
#
architecture
Comments
Add Comment
3 min read
How to add a NOT NULL column to a large table safely in Rails
Hassan Farooq
Hassan Farooq
Hassan Farooq
Follow
Jun 27
How to add a NOT NULL column to a large table safely in Rails
#
rails
#
postgressql
#
migrations
#
database
Comments
Add Comment
4 min read
Scopes vs class methods in Rails
Hassan Farooq
Hassan Farooq
Hassan Farooq
Follow
Jun 27
Scopes vs class methods in Rails
#
rails
#
activerecord
#
ruby
#
database
Comments
Add Comment
3 min read
validates vs validate in Rails
Hassan Farooq
Hassan Farooq
Hassan Farooq
Follow
Jun 27
validates vs validate in Rails
#
rails
#
ruby
#
validations
#
activerecord
Comments
Add Comment
3 min read
Building a production-ready create endpoint in Rails
Hassan Farooq
Hassan Farooq
Hassan Farooq
Follow
Jun 27
Building a production-ready create endpoint in Rails
#
rails
#
api
#
restapi
#
backend
Comments
Add Comment
3 min read
Pagination, filtering, and sorting in a Rails JSON API
Hassan Farooq
Hassan Farooq
Hassan Farooq
Follow
Jun 27
Pagination, filtering, and sorting in a Rails JSON API
#
rails
#
api
#
rest
#
backend
Comments
Add Comment
4 min read
We're a place where coders share, stay up-to-date and grow their careers.
Log in
Create account