Category: Rails

Rails 7 adds accepts_nested_attributes_for support for delegated_type

Ashik SalmanBy Ashik Salman in Rails, Rails 7 on November 23, 2021

Rails 7 Adds from option to ActiveSupport::TestCase#assert_no_changes

Gaurav VarmaBy Gaurav Varma in Rails, Rails 7 on November 19, 2021

Rails 7 replaced byebug with ruby/debug

Gaurav VarmaBy Gaurav Varma in Rails, Rails 7 on November 9, 2021

Rails 7 adds weekday_options_for_select and weekday_select

Gaurav VarmaBy Gaurav Varma in Rails, Rails 7 on November 9, 2021

Rails 7 adds ActiveRecord::Base#previously_persisted?

Gaurav VarmaBy Gaurav Varma in Rails, Rails 7 on November 9, 2021

Rails 7 adds ActiveRecord::QueryMethods#in_order_of

Ashik SalmanBy Ashik Salman in Rails, Rails 7 on November 2, 2021

Rails 7 adds disable_joins for associations

Ashik SalmanBy Ashik Salman in Rails, Rails 7 on October 26, 2021

Rails 7 adds the ability to use pre-defined variants

Gaurav VarmaBy Gaurav Varma in Rails, Rails 7 on October 19, 2021

Rails 7 adds setting for enumerating columns in select statements

Ashik SalmanBy Ashik Salman in Rails, Rails 7 on October 13, 2021

Reducing memory bloat of a Ruby on Rails application

Unnikrishnan KPBy Unnikrishnan KP in Rails on October 12, 2021

Rails 7 adds ComparisonValidator to ActiveRecord

Gaurav VarmaBy Gaurav Varma in Rails, Rails 7 on October 5, 2021

Rails 7 adds ActiveRecord::Relation#structurally_compatible?

Gaurav VarmaBy Gaurav Varma in Rails, Rails 7 on September 15, 2021

Rails 7 deprecates Enumerable#sum and Array#sum

Aashish SainiBy Aashish Saini in Rails, Rails 7 on June 22, 2021

Rails 7 adds method calls for nested secrets

Ashik SalmanBy Ashik Salman in Rails, Rails 7 on June 9, 2021

Rails 7.0 adds encryption to Active Record models

Akhil GautamBy Akhil Gautam in Rails, Rails 7 on May 4, 2021

Rails 6.1 adds invert_where method

Chimed PaldenBy Chimed Palden in Rails, Rails 6.1 on May 4, 2021

Rails 7 adds Enumerable#sole

Ashik SalmanBy Ashik Salman in Rails, Rails 7 on April 27, 2021

Rails 6.1 adds support for validating numeric values that fall within a specific range using the `in:` option

Akanksha JainBy Akanksha Jain in Rails, Rails 6.1 on April 14, 2021

Rails 7 allows constructors (build_association and create_association) on has_one :through associations

Akanksha JainBy Akanksha Jain in Rails, Rails 7 on April 6, 2021

Rails 6.1 adds delegated_type to ActiveRecord

Akhil GautamBy Akhil Gautam in Rails, Rails 6.1 on April 6, 2021

Rails 7 adds Enumerable#in_order_of

Ashik SalmanBy Ashik Salman in Rails, Rails 7 on March 23, 2021

Rails 7 adds ActiveRecord::Relation#excluding

Ashik SalmanBy Ashik Salman in Rails, Rails 7 on March 16, 2021

Rails 6.1 adds nulls_first and nulls_last methods to Arel for PostgreSQL

Berin LarsonBy Berin Larson in Rails, Rails 6.1 on March 9, 2021

Rails 7.0 adds ActiveRecord::FinderMethods 'sole' and 'find_sole_by'

Akanksha JainBy Akanksha Jain in Rails, Rails 7 on March 2, 2021

Rails 7 adds Enumerable#maximum

Ashik SalmanBy Ashik Salman in Rails, Rails 7 on February 23, 2021

Rails 6.1 adds support for PostgreSQL interval data type

Akhil GautamBy Akhil Gautam in Rails, Rails 6.1 on January 26, 2021

Rails 6.1 allows per environment configuration support for Active Storage

ShashankBy Shashank in Rails, Rails 6.1 on January 20, 2021

Rails 6.1 adds support for belongs_to to has_many inversing

Siddharth ShringiBy Siddharth Shringi in Rails, Rails 6.1 on January 19, 2021

Rails 6.1 adds strict_loading to warn lazy loading associations

Dinesh PandaBy Dinesh Panda in Rails, Rails 6.1 on January 6, 2021

Rails 6.1 adds where.associated to check association presence

Nithin KrishnaBy Nithin Krishna in Rails, Rails 6.1 on December 18, 2020

Rails 6.1 raises an error for impossible camelcase inflections

Yedhin KizhakketharaBy Yedhin Kizhakkethara in Rails, Rails 6.1 on December 15, 2020

Reduce asset delivery time from 30 to 3 seconds with CDN

Vinay ChandranBy Vinay Chandran in Rails on November 24, 2020

Render a liquid template when the template is a liquid template

Sandip ManeBy Sandip Mane in Rails on August 4, 2020

Rails Multiple Polymorphic Joins

Priyank GuptaBy Priyank Gupta in Rails on January 7, 2020

Replacing PhantomJS with headless Chrome

Navaneeth PKBy Navaneeth PK in Rails on January 22, 2019

Passing current_user by default in Sidekiq

Ashish GaurBy Ashish Gaur in Rails on December 5, 2018

Skipping devise trackable module for API calls

Prathamesh SonpatkiBy Prathamesh Sonpatki in Rails on October 30, 2018

Upload direct to S3 with Pre-signed POST request

Chirag ShahBy Chirag Shah in Rails on September 4, 2018

Setting up a high performance Geocoder

Midhun KrishnaBy Midhun Krishna in Ruby, Rails, Geocoding on August 21, 2018

Speed up Docker image build process of a Rails app

Vishal TelangreBy Vishal Telangre in Rails, Kubernetes, Docker on July 25, 2018

Using Concurrent Ruby in a Ruby on Rails Application

Midhun KrishnaBy Midhun Krishna in Ruby, Rails on June 5, 2018

Faster JSON generation using PostgreSQL JSON function

Chirag ShahBy Chirag Shah in Rails, PostgreSQL, Misc on May 29, 2018

How to mitigate DDoS using Rack::Attack

Ershad KunnakkadanBy Ershad Kunnakkadan in Rails on May 15, 2018

Increase reliability using super_fetch of Sidekiq Pro

Vishal TelangreBy Vishal Telangre in Ruby, Rails, Kubernetes on May 8, 2018

Gpg decryption without pin entry pop up using GPGME

Sushant MittalBy Sushant Mittal in Rails on March 27, 2018

Rails adds accurate numerical validation

Sushant MittalBy Sushant Mittal in Rails on October 23, 2017

Integrate SAML with many IDPs with Devise & OmniAuth

Vijay Kumar AgrawalBy Vijay Kumar Agrawal in Rails on October 11, 2017

Configuring bundler using bundle config

Prajakta TambeBy Prajakta Tambe in Rails on February 9, 2016

Not using https might be breaking file uploads

Chirag ShahBy Chirag Shah in Rails on January 7, 2016

How constant lookup and resolution works in Ruby on Rails

Mohit NatooBy Mohit Natoo in Rails on November 5, 2015

Migrating Rails app from postgresql to sql server

Rohit KumarBy Rohit Kumar in Rails on October 13, 2015

Using ReactJS with Rails Action Cable

VipulBy Vipul in Rails on July 19, 2015

Verifying PubSub Services from Rails using Redis

VipulBy Vipul in Rails on May 9, 2015

Voice based phone verification using twilio

Santosh WadghuleBy Santosh Wadghule in Rails on March 18, 2015

Gotcha with after_commit callback in Rails

Prathamesh SonpatkiBy Prathamesh Sonpatki in Rails on March 1, 2015

Phone verification using SMS via Twilio

Santosh WadghuleBy Santosh Wadghule in Rails on January 12, 2015

Migrating existing session cookies while upgrading

Prathamesh SonpatkiBy Prathamesh Sonpatki in Rails on December 23, 2014

Rails Girls Pune 2014

VipulBy Vipul in Rails on December 14, 2014

DRYing up Rails Views with View Carriers and Services

VipulBy Vipul in Rails on December 2, 2014

Make Outbound calls to a phone using Twilio and Rails

VipulBy Vipul in Rails on September 29, 2014

Tricks and Tips for using Fixtures effectively in Rails

Prathamesh SonpatkiBy Prathamesh Sonpatki in Rails on September 21, 2014

DeccanRubyConf 2014. Hou De!

Santosh WadghuleBy Santosh Wadghule in Rails on August 3, 2014

Flash access changes in Rails 4.1

VipulBy Vipul in Rails on July 24, 2014

Issue with Delayed Job lifecycle and Postgres Errors

VipulBy Vipul in Rails on July 23, 2014

RedDotRubyConf 2014

Prathamesh SonpatkiBy Prathamesh Sonpatki in Rails on July 1, 2014

Six Year Old Optional / Keyword Arguments bug

VipulBy Vipul in Rails, Ruby on April 28, 2014

How to add additional directories to test

Neeraj SinghBy Neeraj Singh in Rails on April 26, 2014

Configuring Log Formatting in Rails

VipulBy Vipul in Rails on March 3, 2014

Displaying non repeating random records

Neeraj SinghBy Neeraj Singh in Rails on November 13, 2013

Active Record is still magical

Neeraj SinghBy Neeraj Singh in Rails on October 30, 2013

Visitor pattern and double dispatch in ruby

Neeraj SinghBy Neeraj Singh in Rails on July 7, 2013

Preload, Eagerload, Includes and Joins

Neeraj SinghBy Neeraj Singh in Rails on July 1, 2013

Cookies on Rails

Neeraj SinghBy Neeraj Singh in Rails on March 19, 2013

Understanding instance exec in ruby

Neeraj SinghBy Neeraj Singh in Rails on March 12, 2013

Rex, Rexical and Rails routing

Neeraj SinghBy Neeraj Singh in Rails on February 1, 2013

Rails Routing -- a comprehensive look at routing

Neeraj SinghBy Neeraj Singh in Rails on January 29, 2013

Life of save in ActiveRecord

Neeraj SinghBy Neeraj Singh in Rails on January 15, 2013

Redirect to www for heroku with SSL

Neeraj SinghBy Neeraj Singh in Rails on October 12, 2012

Solr, Sunspot, Websolr and Delayed job

Neeraj SinghBy Neeraj Singh in Rails on October 11, 2012

Test factories first

Neeraj SinghBy Neeraj Singh in Rails on October 10, 2012

Data-behavior is for JavaScript developers

Neeraj SinghBy Neeraj Singh in Rails on October 10, 2012

XSS and Rails

Neeraj SinghBy Neeraj Singh in Rails on May 10, 2012

CSRF and Rails

Neeraj SinghBy Neeraj Singh in Rails on May 10, 2012

tsort in ruby and rails initializers

Neeraj SinghBy Neeraj Singh in Rails on March 16, 2012

Mime type resolution in Rails

Neeraj SinghBy Neeraj Singh in Rails on November 23, 2010

I am not seeing hoptoad messages. Now I know why.

Neeraj SinghBy Neeraj Singh in Rails on April 23, 2010

Order of format matters in respond_to block

Neeraj SinghBy Neeraj Singh in Rails on January 25, 2010

Determining if commits are executed in a transaction

Neeraj SinghBy Neeraj Singh in Rails on March 13, 2009

Restful architecture does not mean one to one mapping

Neeraj SinghBy Neeraj Singh in Rails on February 17, 2009

Configure local_request

Neeraj SinghBy Neeraj Singh in Rails on February 5, 2009

Override automatic updated_at in ActiveRecord/Rails

Neeraj SinghBy Neeraj Singh in Rails on January 21, 2009

Under the hood how named_scope works

Neeraj SinghBy Neeraj Singh in Rails on October 17, 2008