Category: Rails

Active Record Callback Surprises

Active Record is one of, if not the most, awesome tools in Rails. Its super intuitive and super powerful at the same time. Its callbacks and validations read naturally and provide immense functional

Rails Starter Template

Rails has support for powerful application templates that allow you to get up and running with new projects quickly and reliably. One common requirement we face is to setup a project with both API a

Mocking Enumerables in Rspec

Rails puts some really powerful mocking libraries at our disposal. As long as your models are backed by ActiveRecord, ActiveRecord Fixtures and Factory Bot are two very good libraries for mocking. M

Getting Started with Ruby on Rails

We recently inducted a couple of engineers into our Rails team. Both of them had a web frontend experience, but zero experience with Ruby or backend development. Thanks to the simplicity and convent

© 2019 NAYAN All Rights Reserved