CHANGELOG.md 863 字节
Newer Older
1 2
## Rails 5.1.0.beta1 (February 23, 2017) ##

3 4 5 6
*   Remove deprecated behavior that halts callbacks when the return is false.

    *Rafael Mendonça França*

7 8 9 10
*   Remove unused `ActiveModel::TestCase` class.

    *Yuji Yaginuma*

11 12 13 14
*   Moved DecimalWithoutScale, Text, and UnsignedInteger from Active Model to Active Record

    *Iain Beeston*

15 16 17 18 19 20
*   Allow indifferent access in `ActiveModel::Errors`.

    `#include?`, `#has_key?`, `#key?`, `#delete` and `#full_messages_for`.

    *Kenichi Kamiya*

21 22 23 24
*   Removed deprecated `:tokenizer` in the length validator.

    *Rafael Mendonça França*

25 26 27 28 29 30
*   Removed deprecated methods in `ActiveModel::Errors`.

    `#get`, `#set`, `[]=`, `add_on_empty` and `add_on_blank`.

    *Rafael Mendonça França*

31

32
Please check [5-0-stable](https://github.com/rails/rails/blob/5-0-stable/activemodel/CHANGELOG.md) for previous changes.