- Specify type of singular association during serialization Steve Klabnik
-
Fix issue with
attr_protected
where malformed input could circumvent protection. CVE-2013-0276joerncheen
- No changes.
- No changes.
-
Due to a change in builder, nil values and empty strings now generates closed tags, so instead of this:
<pseudonyms nil=\"true\"></pseudonyms>
It generates this:
<pseudonyms nil=\"true\"/>
Carlos Antonio da Silva
- No changes.
-
validates_inclusion_of
andvalidates_exclusion_of
now accept:within
option as alias of:in
as documented. -
Fix the the backport of the object dup with the ruby 1.9.3p194.
- No changes.
- No changes.
- No changes.
- No changes.
- No changes.
-
Deprecated
define_attr_method
inActiveModel::AttributeMethods
, because this only existed to support methods likeset_table_name
in Active Record, which are themselves being deprecated. Jon Leighton -
Add ActiveModel::Errors#added? to check if a specific error has been added Martin Svalin
-
Add ability to define strict validation(with :strict => true option) that always raises exception when fails Bogdan Gusiev
-
Deprecate "Model.model_name.partial_path" in favor of "model.to_partial_path" Grant Hutchins, Peter Jaros
-
Provide mass_assignment_sanitizer as an easy API to replace the sanitizer behavior. Also support both :logger (default) and :strict sanitizer behavior Bogdan Gusiev
Please check 3-1-stable for previous changes.