rails/activerecord/test/cases
Sean Griffin f1a0fa9e19 Refactor microsecond precision to be database agnostic
The various databases don't actually need significantly different
handling for this behavior, and they can achieve it without knowing
about the type of the object.

The old implementation was returning a string, which will cause problems
such as breaking TZ aware attributes, and making it impossible for the
adapters to supply their logic for time objects.
2015-02-10 11:55:59 -07:00
..
adapters Refactor microsecond precision to be database agnostic 2015-02-10 11:55:59 -07:00
associations Merge branch 'master' into pr/18316 2015-01-31 19:23:48 -08:00
attribute_methods Attribute assignment and type casting has nothing to do with columns 2015-01-31 19:42:38 -07:00
coders Remove all error masking when decoding serialized data fails? 2013-04-02 11:45:14 -04:00
connection_adapters Properly lookup the limit for bigint 2015-02-02 15:20:11 -07:00
connection_specification Complete change of sqlite3:/// path handling 2014-04-03 01:41:34 +10:30
fixture_set Introduce a context for rendering fixtures ERB. 2013-12-03 02:52:26 -05:00
migration Add auto_increment? instead of extra == 'auto_increment' 2015-02-08 18:27:35 +09:00
relation Respect custom primary keys for associations in Relation#where 2015-02-04 08:56:46 -07:00
scoping WhereClause#predicates does not need to be public 2015-01-27 10:30:38 -07:00
tasks schema loading rake tasks maintain database connection for current env. 2014-09-03 18:02:44 +02:00
type Allow a symbol to be passed to attribute, in place of a type object 2015-02-06 11:51:13 -07:00
validations Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 onwards. 2015-02-03 20:51:40 +05:30
adapter_test.rb Remove Relation#bind_params 2015-01-27 16:10:03 -07:00
aggregations_test.rb Removed unnecessary class 2013-04-06 02:17:38 +05:30
ar_schema_test.rb Change the default null value for timestamps to false 2015-01-04 11:58:43 -03:00
associations_test.rb WhereClause#predicates does not need to be public 2015-01-27 10:30:38 -07:00
attribute_decorators_test.rb Allow a symbol to be passed to attribute, in place of a type object 2015-02-06 11:51:13 -07:00
attribute_methods_test.rb Extracted ActiveRecord::AttributeAssignment to ActiveModel::AttributesAssignment 2015-01-23 23:43:22 +02:00
attribute_set_test.rb Maintain a consistent order in ActiveRecord::Base#attributes 2015-02-10 08:21:46 -07:00
attribute_test.rb Introduce ActiveRecord::Base#accessed_fields 2015-01-20 14:42:15 -07:00
attributes_test.rb Allow a symbol to be passed to attribute, in place of a type object 2015-02-06 11:51:13 -07:00
autosave_association_test.rb Fix a state leak in autosave_association_test 2015-01-30 09:34:40 -07:00
base_test.rb Allow a symbol to be passed to attribute, in place of a type object 2015-02-06 11:51:13 -07:00
batches_test.rb Return sized enumerator from Batches#find_each 2014-02-05 16:53:02 -05:00
binary_test.rb Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 onwards. 2015-02-03 20:51:40 +05:30
bind_parameter_test.rb rm Column#cast_type 2015-02-03 15:02:18 -07:00
calculations_test.rb Allow a symbol to be passed to attribute, in place of a type object 2015-02-06 11:51:13 -07:00
callbacks_test.rb after_commit runs after transactions with non-joinable parents 2015-01-16 03:50:29 +03:00
clone_test.rb Fix freeze applying to cloned objects 2013-04-15 19:57:28 -04:00
column_alias_test.rb
column_definition_test.rb rm Column#cast_type 2015-02-03 15:02:18 -07:00
connection_management_test.rb ar/connection_pool: honor overriden rack.test in middleware 2014-09-23 02:33:18 +00:00
connection_pool_test.rb test should only pass if the pool.size+1 checkout fails 2014-03-17 17:37:05 -07:00
core_test.rb pretty_print will use #inspect if a subclass redefines it 2015-01-12 15:17:32 -08:00
counter_cache_test.rb Improve consistency of counter caches updating in memory 2015-01-26 12:37:29 -07:00
custom_locking_test.rb
database_statements_test.rb
date_time_test.rb Fix a false assertion 2015-01-17 08:09:41 -08:00
defaults_test.rb tests, use drop_table if_exists: true in our test suite. 2015-01-20 13:30:12 +01:00
dirty_test.rb Allow a symbol to be passed to attribute, in place of a type object 2015-02-06 11:51:13 -07:00
disconnected_test.rb Use teardown helper method. 2014-03-14 20:48:59 -07:00
dup_test.rb Don't error when duping a record with no PK 2014-07-02 07:00:26 -06:00
enum_test.rb Enums shouldn't ruin people's anniversaries 2014-09-04 00:34:21 -07:00
explain_subscriber_test.rb Use teardown helper method. 2014-03-14 20:48:59 -07:00
explain_test.rb Remove Relation#bind_params 2015-01-27 16:10:03 -07:00
finder_respond_to_test.rb Fixed a bug in AR::Base#respond_to? 2014-01-29 10:53:48 -08:00
finder_test.rb Remove version conditional for calling GC.disable 2015-01-04 15:54:21 -03:00
fixtures_test.rb Fixes #18492 2015-01-14 21:36:58 +05:30
forbidden_attributes_protection_test.rb Check attributes passed to create_with and where 2014-08-18 14:07:37 -03:00
habtm_destroy_order_test.rb
helper.rb Time columns should support time zone aware attributes 2015-01-15 08:04:43 -07:00
hot_compatibility_test.rb fix tests for explain plan + binds 2014-01-13 16:42:12 -08:00
i18n_test.rb
inheritance_test.rb Test association was eager loaded, rather than reaching into internals 2015-01-26 11:36:13 -07:00
integration_test.rb Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 onwards. 2015-02-03 20:51:40 +05:30
invalid_connection_test.rb Use teardown helper method. 2014-03-14 20:48:59 -07:00
invalid_date_test.rb
invertible_migration_test.rb Silence another test that runs migrations 2014-08-29 10:34:26 +09:00
json_serialization_test.rb rewrite tests to have no side-effects on include_root_in_json. 2013-03-04 21:18:40 +01:00
locking_test.rb Properly persist lock_version as 0 if the DB has no default 2015-01-09 09:56:15 -07:00
log_subscriber_test.rb Remove Relation#bind_params 2015-01-27 16:10:03 -07:00
migration_test.rb Allow a symbol to be passed to attribute, in place of a type object 2015-02-06 11:51:13 -07:00
migrator_test.rb Pass symbol as an argument instead of a block 2014-11-29 11:53:24 +01:00
mixin_test.rb Remove automatic removal of Date/Time stubs after each test case 2014-01-30 10:17:48 -02:00
modules_test.rb Build fix when running in isolation 2014-11-14 10:24:11 +01:00
multiparameter_attributes_test.rb Push multi-parameter assignement into the types 2015-02-07 13:52:23 -07:00
multiple_db_test.rb Do not run remove_connection in memory db test 2015-02-05 17:31:00 -02:00
nested_attributes_test.rb Always perform validations on nested attribute associations 2015-01-30 07:27:20 -07:00
nested_attributes_with_callbacks_test.rb Use assert_not rather than refute 2013-08-12 15:21:21 +02:00
persistence_test.rb Run SQL only if attribute changed for update_attribute method 2015-01-18 20:00:57 +05:30
pooled_connections_test.rb Fix connection leak when a thread checks in additional connections. 2014-12-23 09:54:52 -05:00
primary_keys_test.rb Replace if exists with table_exists? and drop table statement with drop_table 2015-01-21 16:17:34 +00:00
query_cache_test.rb Restore query cache on rollback 2014-12-01 15:45:50 +00:00
quoting_test.rb Refactor microsecond precision to be database agnostic 2015-02-10 11:55:59 -07:00
readonly_test.rb Build fix when running in isolation 2014-11-14 10:24:11 +01:00
reaper_test.rb fix issue with reaping_frequency type 2014-12-17 19:45:31 -07:00
reflection_test.rb Remove most type related predicates from Column 2015-01-30 11:42:54 -07:00
relation_test.rb Raise ArgumentError when passing nil to Relation#merge 2015-02-06 17:53:06 -02:00
relations_test.rb Fixed AR::Relation#group method when argument is a SQL reserved keyword 2015-01-29 17:27:02 +02:00
reload_models_test.rb Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by" 2013-01-18 09:15:19 -05:00
result_test.rb add length to ActiveRecord::Result 2014-10-13 12:01:41 -07:00
sanitize_test.rb Remove deprecated sanitize_sql_hash_for_conditions 2015-01-04 11:58:44 -03:00
schema_dumper_test.rb Remove debug code 2015-02-08 11:51:22 -02:00
secure_token_test.rb Switch Secure Token generation to Base58 2015-01-09 18:47:44 -05:00
serialization_test.rb Use bind values for joined tables in where statements 2014-11-01 15:39:51 -06:00
serialized_attribute_test.rb Remove deprecated serialized_attributes 2015-01-04 11:58:43 -03:00
statement_cache_test.rb use an array for bind params to simplify substitution 2014-04-12 18:40:29 -07:00
store_test.rb Introduce an Attribute object to handle the type casting dance 2014-06-13 10:20:54 -06:00
test_case.rb - Extracted silence_stream method to new module in activesupport/testing. 2015-01-20 22:28:48 +05:30
timestamp_test.rb Build fix when running in isolation 2014-11-14 10:24:11 +01:00
transaction_callbacks_test.rb TransactionManager should call rollback records 2015-01-20 12:37:57 -05:00
transaction_isolation_test.rb Deprecate use of string in establish_connection as connection lookup 2013-12-24 10:18:54 +01:00
transactions_test.rb Whitespace fixes from #18349 2015-01-05 14:20:23 -07:00
types_test.rb Errors raised in type_cast_for_database no longer raise on assignment 2015-01-23 12:50:01 -07:00
unconnected_test.rb Use teardown helper method. 2014-03-14 20:48:59 -07:00
validations_repair_helper.rb Pass symbol as an argument instead of a block 2014-11-29 11:53:24 +01:00
validations_test.rb Allow a symbol to be passed to attribute, in place of a type object 2015-02-06 11:51:13 -07:00
view_test.rb reuse view test-cases for pg materialized view tests. 2014-09-11 16:47:52 +02:00
xml_serialization_test.rb Should escape regexp wildcard character . 2015-01-19 06:11:29 +09:00
yaml_serialization_test.rb Implement required #encode_with 2014-07-15 15:50:29 -05:00