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

Akshay Mohite

Hi there! I am a Ruby on Rails & ReactJS Enthusiast, building some cool products at DTree Labs.

133 posts •
Rails

Rails 6 ActiveSupport::HashWithIndifferentAccess fix

Rails 6 fixes without (alias of slice) method on ActiveSupport::HashWithIndifferent for sybmol arguments.

Akshay Mohite Akshay Mohite 1 min read
Rails

Rails 6 ActiveRecord negative enum scopes

Rails 6 ActiveRecord added negative scopes for enums on models. This generates negative scopes for enum types defined for a field on a model.

Akshay Mohite Akshay Mohite 2 min read
Rails

Docker + Rails 6 Application setup

This tutorial will help Dockerify Rails 6 application using Postgres as database. We will see how to write Dockerfile and docker-compose file in order to create a docker image of Rails application and

Akshay Mohite Akshay Mohite 5 min read
Rails

Rails 6 introduces ActiveRecord::Relation#pick method

Rails 6 adds ActiveRecord::Relation pick method to select values of columns from the first record matching where conditions. This is a shorthand for plucking column names, limiting records and then finding first value

Akshay Mohite Akshay Mohite 1 min read
Rails

Rails 6 Parallel Tests

Rails 6 applications will run tests in parallel by default. The number of parallel workers to run tests can be customised. Moreover, all the parallel worker processes will have their own temporary database

Akshay Mohite Akshay Mohite 2 min read
Rails

Rails 6 ActiveRecord disable enum scopes

Rails 6 ActiveRecord added an option to be able to disable scopes generated by Rails enums by default. These scopes can cause conflict with method names on model or in general Rails application.

Akshay Mohite Akshay Mohite 2 min read
« Newer Posts Page 7 of 23 Older Posts »
Ruby in Rails © 2023
Latest Posts Github Twitter LinkedIn

Subscribe to Ruby in Rails

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