1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases
Sean Griffin 6c235dd958 Use an Attribute object to represent a bind value
The column is primarily used for type casting, which we're trying to
separate from the idea of a column. Since what we really need is the
combination of a name, type, and value, let's use the object that we
already have to represent that concept, rather than this tuple. No
consumers of the bind values have been changed, only the producers
(outside of tests which care too much about internals). This is
*finally* possible since the bind values are now produced from a
reasonable number of lcoations.
2015-01-27 12:07:06 -07:00
..
adapters Fix test failure on PG caused by 7c6f3938de 2015-01-23 16:16:16 -07:00
associations Use an Attribute object to represent a bind value 2015-01-27 12:07:06 -07:00
attribute_methods
coders
connection_adapters
connection_specification
fixture_set
migration Replace if exists with table_exists? and drop table statement with drop_table 2015-01-21 16:17:34 +00:00
relation Use an Attribute object to represent a bind value 2015-01-27 12:07:06 -07:00
scoping WhereClause#predicates does not need to be public 2015-01-27 10:30:38 -07:00
tasks
type Move integer range validation to never raise on assignment 2015-01-23 14:30:23 -07:00
validations
adapter_test.rb
aggregations_test.rb
ar_schema_test.rb
associations_test.rb WhereClause#predicates does not need to be public 2015-01-27 10:30:38 -07:00
attribute_decorators_test.rb tests, use drop_table if_exists: true in our test suite. 2015-01-20 13:30:12 +01:00
attribute_methods_test.rb Extracted ActiveRecord::AttributeAssignment to ActiveModel::AttributesAssignment 2015-01-23 23:43:22 +02:00
attribute_set_test.rb Introduce ActiveRecord::Base#accessed_fields 2015-01-20 14:42:15 -07:00
attribute_test.rb Introduce ActiveRecord::Base#accessed_fields 2015-01-20 14:42:15 -07:00
attributes_test.rb Extracted ActiveRecord::AttributeAssignment to ActiveModel::AttributesAssignment 2015-01-23 23:43:22 +02:00
autosave_association_test.rb
base_test.rb
batches_test.rb
binary_test.rb
bind_parameter_test.rb Use an Attribute object to represent a bind value 2015-01-27 12:07:06 -07:00
calculations_test.rb
callbacks_test.rb after_commit runs after transactions with non-joinable parents 2015-01-16 03:50:29 +03:00
clone_test.rb
column_alias_test.rb
column_definition_test.rb
connection_management_test.rb
connection_pool_test.rb
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 Don't calculate in-place changes on attribute assignment 2015-01-18 13:43:31 -07:00
disconnected_test.rb
dup_test.rb
enum_test.rb
explain_subscriber_test.rb
explain_test.rb
finder_respond_to_test.rb
finder_test.rb
fixtures_test.rb
forbidden_attributes_protection_test.rb
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
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
invalid_connection_test.rb
invalid_date_test.rb
invertible_migration_test.rb
json_serialization_test.rb
locking_test.rb
log_subscriber_test.rb Stop special casing null binary data in logging 2015-01-10 12:26:51 -07:00
migration_test.rb tests, use drop_table if_exists: true in our test suite. 2015-01-20 13:30:12 +01:00
migrator_test.rb
mixin_test.rb
modules_test.rb
multiparameter_attributes_test.rb Time columns should support time zone aware attributes 2015-01-15 08:04:43 -07:00
multiple_db_test.rb
nested_attributes_test.rb Extracted ActiveRecord::AttributeAssignment to ActiveModel::AttributesAssignment 2015-01-23 23:43:22 +02:00
nested_attributes_with_callbacks_test.rb
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
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
quoting_test.rb Don't default to YAML dumping when quoting values 2015-01-14 13:58:09 -07:00
readonly_test.rb
reaper_test.rb
reflection_test.rb
relation_test.rb WhereClause#predicates does not need to be public 2015-01-27 10:30:38 -07:00
relations_test.rb Use an Attribute object to represent a bind value 2015-01-27 12:07:06 -07:00
reload_models_test.rb
result_test.rb
sanitize_test.rb
schema_dumper_test.rb Should escape regexp wildcard character . 2015-01-19 06:11:29 +09:00
secure_token_test.rb
serialization_test.rb
serialized_attribute_test.rb
statement_cache_test.rb
store_test.rb
test_case.rb
timestamp_test.rb
transaction_callbacks_test.rb TransactionManager should call rollback records 2015-01-20 12:37:57 -05:00
transaction_isolation_test.rb
transactions_test.rb
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
validations_repair_helper.rb
validations_test.rb
view_test.rb
xml_serialization_test.rb Should escape regexp wildcard character . 2015-01-19 06:11:29 +09:00
yaml_serialization_test.rb