diff options
| author | blackst0ne <blackst0ne.ru@gmail.com> | 2018-04-08 09:48:38 +1100 |
|---|---|---|
| committer | blackst0ne <blackst0ne.ru@gmail.com> | 2018-04-08 09:48:38 +1100 |
| commit | 432e57fccfcc854f8aedc578111c1d4a6b0f4a2d (patch) | |
| tree | a1df66d1ad075edb687a74b90269758a176fbe8e /lib/api/notes.rb | |
| parent | aade8b3652573db40e7b777c72caa922b0bc12ef (diff) | |
| download | gitlab-ce-432e57fccfcc854f8aedc578111c1d4a6b0f4a2d.tar.gz | |
[Rails5] Add FALSE_VALUES constant to Service#boolean_accessorblackst0ne-rails5-replace-true-values-with-false-values
In Rails 5.0 the `ActiveRecord::ConnectionAdapters::Column::TRUE_VALUES`
constant has been removed [1] and the remaining `FALSE_VALUES` constant
has been moved to `ActiveModel::Type::Boolean` [2]
[1]: https://github.com/rails/rails/commit/a502703c3d2151d4d3b421b29fefdac5ad05df61
[2]: https://github.com/rails/rails/commit/9cc8c6f3730df3d94c81a55be9ee1b7b4ffd29f6
Diffstat (limited to 'lib/api/notes.rb')
0 files changed, 0 insertions, 0 deletions
