Category: Rails 7

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

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 7 adds Enumerable#sole

Ashik SalmanBy Ashik Salman in Rails, Rails 7 on April 27, 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 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 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