1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/lib/active_model
Ryuta Kamizono cfbde022ee PostgreSQL: Allow BC dates like datetime consistently
BC dates are supported by both date and datetime types.

https://www.postgresql.org/docs/current/static/datatype-datetime.html

Since #1097, new datetime allows year zero as 1 BC, but new date does
not. It should be allowed even in new date consistently.
2018-02-23 11:15:00 +09:00
..
attribute Allow attributes with a proc default to be marshalled 2018-01-23 14:12:13 -07:00
attribute_set PERF: Recover marshaling dump/load performance (#31827) 2018-02-02 07:52:33 +09:00
locale Move the validate! method to ActiveModel::Validations. 2015-02-20 16:05:26 -02:00
serializers Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
type PostgreSQL: Allow BC dates like datetime consistently 2018-02-23 11:15:00 +09:00
validations Rails 6 requires Ruby 2.3+ 2018-02-17 10:03:37 -08:00
attribute.rb Merge pull request #29018 from willbryant/missing_attributes_after_save 2018-01-03 05:14:18 +09:00
attribute_assignment.rb add frozen string literal comment 2017-06-15 11:45:15 +09:00
attribute_methods.rb Merge pull request #29788 from kamipo/remove_unused_mutex_m 2017-07-17 13:54:37 -04:00
attribute_mutation_tracker.rb Rails 6 requires Ruby 2.3+ 2018-02-17 10:03:37 -08:00
attribute_set.rb deep_dup is used in AttributeSet#deep_dup 2018-01-13 13:09:31 +09:00
attributes.rb Use singular define_attribute_method 2018-01-21 22:06:59 -05:00
callbacks.rb Use tt in doc for ActiveRecord [ci skip] 2017-08-27 14:01:29 +09:00
conversion.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
dirty.rb PERF: Recover changes_applied performance (#31698) 2018-01-22 10:46:36 +09:00
errors.rb fix bug on added? method 2017-11-13 17:27:47 +01:00
forbidden_attributes_protection.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
gem_version.rb Start Rails 6.0 development!!! 2018-01-30 18:51:17 -05:00
lint.rb Use respond_to test helpers 2018-01-25 23:32:58 -05:00
model.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
naming.rb Clarify intentions around method redefinitions 2017-09-01 14:27:13 +09:30
railtie.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
secure_password.rb Talk about bytes not characters 2017-07-31 17:42:43 -04:00
serialization.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
translation.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
type.rb Fix doc typo [ci skip] 2017-12-12 16:34:19 -05:00
validations.rb Refactor to Array(options[:on]) only once in defining validations 2018-01-01 06:18:39 +09:00
validator.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00
version.rb Use frozen string literal in activemodel/ 2017-07-16 20:11:16 +03:00