Tutorials



Rails plugin that logs/displays a backtrace of all SQL queries executed by Active Record
Rails plugin that logs/displays a backtrace of all SQL queries executed by Active Record - brunofacca/active-record-query-trace.Displays a backtrace for each query in Rails' development console and log. Allows you to track down where queries are e...


Install Ruby On Rails on Ubuntu 18.04 Bionic Beaver | GoRails
A guide to setting up a Ruby on Rails development environment on Ubuntu 18.04 Bionic Beaver with Git, MySQL, and PostgreSQL. This will take about 30 minutes.We will be setting up a Ruby on Rails development environment on Ubuntu 18.04 Bionic Beave...



RuboCop your Ruby: enable, disable and configure your linter checks
RuboCop can be a convenient static code analysis tool to apply the Ruby style guide to your apps. Sometimes the rules it enforces are not suitable for some of your files and you need to disable or customise the checks RuboCop uses.In this quick tu...

Mastering data structures in Ruby — Singly linked lists
A singly linked list is a data structure that allows us to manage variable-sized collections of elements.Unlike C style arrays, singly linked lists can grow or shrink dynamically based on the number of objects they have to store. This property mak...

Gem for handling JSON-backed attributes as ActiveRecord models
This approach works fine when you don't have a lot of keys with logic around them and just read the data. However, when you start working with that data more intensively (for instance, adding some validations around it) - you may find the code a b...