1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/active_record
Tristan Harward 807e176aba Fix error when assigning NaN to an integer column
Also covers any non-castable case by returning nil, which
is in-line with the intention of the former implementation,
but covers the odd cases which respond to to_i but raise
an error when it's called, such as NaN, Infinity and -Infinity.

Fixes #8757
2013-01-06 16:09:40 -05:00
..
associations Rename update_attributes method to update, keep update_attributes as an alias 2013-01-03 11:51:21 -05:00
attribute_methods These are already required through AS/rails 2013-01-07 05:11:50 +09:00
coders fix AR::Coders::YAMLColumn nodoc [ci skip] 2012-09-21 22:48:33 -05:00
connection_adapters Fix error when assigning NaN to an integer column 2013-01-06 16:09:40 -05:00
fixture_set Move/rename files to follow naming conventions 2012-10-07 20:43:18 +02:00
locale Changed scope for "taken" error message translation to decrease precedence 2012-10-19 17:36:34 -07:00
locking Rename update_attributes method to update, keep update_attributes as an alias 2013-01-03 11:51:21 -05:00
migration Fixes for PR [#8267] 2012-12-22 20:40:42 -05:00
railties Fix missing ending newline in db structure dump: 2012-12-30 15:21:04 +00:00
relation These are already required through AS/rails 2013-01-07 05:11:50 +09:00
scoping Replace comments' non-breaking spaces with spaces 2012-12-04 22:11:54 -08:00
serializers 1.9 Syntax related changes 2012-11-10 17:16:21 +02:00
tasks Correct default charset/collation for mysql dbs 2012-09-21 12:03:16 -07:00
validations Extract some methods 2012-12-18 09:04:23 -02:00
aggregations.rb remove meaningless AS::FrozenObjectError 2013-01-02 10:04:58 +09:00
associations.rb These are already required through AS/rails 2013-01-07 05:11:50 +09:00
attribute_assignment.rb Deprecate obsolete Time to DateTime fallback methods 2012-12-11 13:57:05 +00:00
attribute_methods.rb Keep the code related to serialization in Serialization module. 2012-11-10 01:45:43 +04:00
autosave_association.rb Cleans and removes 'Examples' tag [ci skip] 2012-12-01 15:35:04 -05:00
base.rb Added STI support to init and building associations 2012-11-29 05:50:34 +00:00
callbacks.rb Rename update_attributes method to update, keep update_attributes as an alias 2013-01-03 11:51:21 -05:00
connection_handling.rb 1.9 hash syntax changes 2012-11-08 23:16:54 +02:00
core.rb Don't allocate new strings in compiled attribute methods 2012-11-21 21:59:09 +00:00
counter_cache.rb grammar improvements for increment_counter and decrement_counter docs 2012-12-02 19:40:31 -08:00
dynamic_matchers.rb
errors.rb Revert "Add documentation to TransactionIsolationError [ci skip]" 2012-12-04 21:56:21 +05:30
explain.rb Don't run explain on slow queries for database adapters that don't support it 2012-11-26 09:36:04 -06:00
explain_subscriber.rb Don't explain except normal CRUD sql. 2012-09-17 00:22:34 +09:00
fixtures.rb These are already required through AS/rails 2013-01-07 05:11:50 +09:00
inheritance.rb Missing require 2013-01-07 05:17:25 +09:00
integration.rb Allow users to choose the timestamp format in the cache key 2012-12-10 17:48:26 -03:00
log_subscriber.rb Skip binary data with binds test for mysql2, fix build 2012-12-14 21:21:37 -02:00
migration.rb Fixes for PR [#8267] 2012-12-22 20:40:42 -05:00
model_schema.rb Fix decorating columns for serialized attributes 2012-12-10 14:44:24 +09:00
nested_attributes.rb Change docs to use update instead of update_attributes 2013-01-03 12:03:34 -05:00
null_relation.rb Delegate all calculations to the scope. 2012-11-09 12:09:37 +00:00
persistence.rb Change docs to use update instead of update_attributes 2013-01-03 12:03:34 -05:00
query_cache.rb Fix typo. 2012-12-03 12:37:45 +08:00
querying.rb Cleans and removes 'Examples' tag [ci skip] 2012-12-01 15:35:04 -05:00
railtie.rb Point to guides.rubyonrails.org instead of edgeguides.rubyonrails.org 2012-12-30 15:59:47 -02:00
readonly_attributes.rb Make caller attribute in deprecation methods optional 2012-10-30 10:23:41 +08:00
reflection.rb Added STI support to init and building associations 2012-11-29 05:50:34 +00:00
relation.rb Rename update_attributes method to update, keep update_attributes as an alias 2013-01-03 11:51:21 -05:00
result.rb Remove ActiveRecord::Model 2012-10-26 15:51:02 +01:00
sanitization.rb 1.9 Syntax related changes 2012-11-10 17:16:21 +02:00
schema.rb Move to the schema-migrations-metadata branch. 2012-12-09 15:57:34 -07:00
schema_dumper.rb Move to the schema-migrations-metadata branch. 2012-12-09 15:57:34 -07:00
schema_migration.rb Move to the schema-migrations-metadata branch. 2012-12-09 15:57:34 -07:00
scoping.rb
serialization.rb include_root_in_json allows inheritance. 2012-10-31 00:08:36 +09:00
store.rb refactor store_accessor 2012-09-13 10:12:11 -04:00
test_case.rb
timestamp.rb Rename update_attributes method to update, keep update_attributes as an alias 2013-01-03 11:51:21 -05:00
transactions.rb validate :on option on after_commit and after_rollback callbacks 2012-12-26 11:37:37 +01:00
translation.rb
validations.rb Fix syntax error with no US-ASCII char 2012-09-28 15:26:33 -03:00
version.rb