gems rails 7.2.0.rc1

latest releases: 7.1.4, 7.2.1, 7.2.0...
one month ago

Active Support

  • Fix delegate_missing_to allow_nil: true when called with implict self

    class Person
      delegate_missing_to :address, allow_nil: true
    
      def address
        nil
      end
    
      def berliner?
        city == "Berlin"
      end
    end
    
    Person.new.city # => nil
    Person.new.berliner? # undefined local variable or method `city' for an instance of Person (NameError)

    Jean Boussier

Active Model

  • No changes.

Active Record

  • Handle commas in Sqlite3 default function definitions.

    Stephen Margheim

  • Fixes validates_associated raising an exception when configured with a
    singular association and having index_nested_attribute_errors enabled.

    Martin Spickermann

  • The constant ActiveRecord::ImmutableRelation has been deprecated because
    we want to reserve that name for a stronger sense of "immutable relation".
    Please use ActiveRecord::UnmodifiableRelation instead.

    Xavier Noria

Action View

  • No changes.

Action Pack

  • No changes.

Active Job

  • No changes.

Action Mailer

  • No changes.

Action Cable

  • No changes.

Active Storage

  • No changes.

Action Mailbox

  • No changes.

Action Text

  • No changes.

Railties

  • The new bin/rails boot command boots the application and exits. Supports the
    standard -e/--environment options.

    Xavier Noria

Don't miss a new rails release

NewReleases is sending notifications on new releases.