Ruby in Rails

Ruby, Rails, Ruby on Rails Tutorials

  • Home
  • Rails
  • Ruby
  • About
GitHub icon LinkedIn icon
Subscribe

How to fix user controlled method execution - Brakeman

Brakeman is a free static vulnerability scanner tool that helps you find security issues in your Rails application. In this tutorial, we will learn how to fix user controlled method execution security warning.

Akshay Mohite Akshay Mohite 3 min read

Define keyword arguments when defining methods with boolean arguments

When calling methods with boolean arguments does not explain what exactly is the argument about. Rubocop has a cop that suggests to define keyword arguments when defining methods with boolean arguments.

Akshay Mohite Akshay Mohite 1 min read

Fetch records in a custom order with ActiveRecord in Rails

Sometimes, you may want to fetch records in some arbitrary order of values of a column. This tutorial illustrates how to do fetch records based on some arbitrary order of values in a

Akshay Mohite Akshay Mohite 4 min read

How does rails decide if migrations are pending?

Ever wondered how rails decides if any migration is pending? If not, this tutorial will explain how it is done using a table named schema_migrations.

Akshay Mohite Akshay Mohite 2 min read

Setup Rspec parallel tests with Circle CI

While working on Rspec tests on a Ruby on Rails project, I realised the test suite is taking a lot of time. This was causing the pipelines run slow and resulting in slower

Akshay Mohite Akshay Mohite 3 min read

How to test a Ruby module?

Ruby module can be used to group methods and constants together. This tutorial illustrates testing of ruby module either in isolation or based on the class where it is included or extended.

Akshay Mohite Akshay Mohite 1 min read
Page 1 of 22 Older Posts »
Ruby in Rails © 2022
Latest Posts Github Twitter LinkedIn

Subscribe to Ruby in Rails

Stay up to date! Get all the latest posts delivered straight to your inbox