Rails 7.2.2.2 (August 13, 2025)¶ ↑
-
No changes.
Rails 7.2.2.1 (December 10, 2024)¶ ↑
-
No changes.
Rails 7.2.2 (October 30, 2024)¶ ↑
-
Fix regression in
alias_attributeto work with user defined methods.alias_attributewould wrongly assume the attribute accessor was generated by Active Model.class Person include ActiveModel::AttributeMethods define_attribute_methods :name attr_accessor :name alias_attribute :full_name, :name end person.full_name # => NoMethodError: undefined method `attribute' for an instance of Person
Jean Boussier
Rails 7.2.1.2 (October 23, 2024)¶ ↑
-
No changes.
Rails 7.2.1.1 (October 15, 2024)¶ ↑
-
No changes.
Rails 7.2.1 (August 22, 2024)¶ ↑
-
No changes.
Rails 7.2.0 (August 09, 2024)¶ ↑
-
Fix a bug where type casting of string to
TimeandDateTimedoesn't calculate minus minute value in TZ offset correctly.Akira Matsuda
-
Port the
type_for_attributemethod to Active Model. Classes that includeActiveModel::Attributeswill now provide this method. This method behaves the same for Active Model as it does for Active Record."'ruby class MyModel include
ActiveModel::Attributesattribute :my_attribute, :integer
end
MyModel.type_for_attribute(:my_attribute) # =>
Jonathan Hefner
Please check 7-1-stable for previous changes.