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
Jon Leighton 3ab49f87e4 Unfluff the CI.
With transactional fixtures enabled, the session records would end up in
@_current_transaction_records, and at the end of the transaction,
methods would be called on them that would trigger method_missing and
trigger attribute methods to be generated.

However, at this point the sessions table would not exist, and the
columns were not cached, so an exception would be raised because we
can't find the columns to generate attribute methods for.

Not sure exactly why this didn't crop up before but there have been
changes to the schema cache code and perhaps that means that column data
that was cached previously at that point is now uncached.
2011-12-14 11:05:00 +00:00
..
adapters Add missing require 2011-12-03 20:39:49 +00:00
associations Use table_exists? from the schema cache. 2011-12-09 11:23:19 -08:00
attribute_methods Revert "Raise error on unknown primary key." 2011-10-05 20:21:21 +01:00
coders
connection_adapters AbstractAdapter#close can be called to add the connection back to the 2011-11-29 14:40:37 -08:00
connection_specification respond_to? information of AR is not the responsibility of the spec 2011-11-29 11:48:55 -08:00
fixtures
identity_map
migration
session_store Unfluff the CI. 2011-12-14 11:05:00 +00:00
validations Do not validate associated records marked for destruction 2011-12-05 00:19:21 +01:00
adapter_test.rb Revert naive O(1) table_exists? implementation. 2011-12-13 23:46:26 +00:00
aggregations_test.rb
ar_schema_test.rb
associations_test.rb don't change class definition in test case 2011-11-29 09:14:21 -08:00
attribute_methods_test.rb Fix #3837. 2011-12-03 16:46:46 +00:00
autosave_association_test.rb Test case and fix for rails/rails#3450 2011-11-27 22:29:56 +01:00
base_test.rb Fix sequence name with abstract classes. 2011-12-04 20:10:14 +02:00
batches_test.rb
binary_test.rb
bind_parameter_test.rb
calculations_test.rb ActiveRecord::Relation#pluck method 2011-11-30 11:03:00 +02:00
callbacks_test.rb Deprecate set_table_name in favour of self.table_name= or defining your own method. 2011-11-29 20:13:36 +00:00
clone_test.rb
column_alias_test.rb
column_definition_test.rb
connection_management_test.rb Move connection resoluion logic to it's own testable class. 2011-11-28 15:23:25 -08:00
connection_pool_test.rb Automatic closure of connections in threads is deprecated. For example 2011-11-29 15:04:41 -08:00
counter_cache_test.rb
custom_locking_test.rb
database_statements_test.rb
date_time_test.rb
defaults_test.rb
deprecated_finder_test.rb
dirty_test.rb
dup_test.rb
dynamic_finder_match_test.rb
explain_test.rb implements a much faster auto EXPLAIN, closes #3843 [José Valim & Xavier Noria] 2011-12-04 11:52:12 -08:00
finder_respond_to_test.rb
finder_test.rb Deprecate set_primary_key in favour of self.primary_key= 2011-11-29 20:13:37 +00:00
fixtures_test.rb Errno::ENOENT error makes more sense when a file cannot be found 2011-12-10 16:32:07 -08:00
habtm_destroy_order_test.rb
helper.rb Regexp.union seems to have different results in 1.8 2011-12-08 10:20:14 -08:00
i18n_test.rb
identity_map_test.rb
inheritance_test.rb Deprecate set_inheritance_column in favour of self.inheritance_column= 2011-11-29 20:13:36 +00:00
invalid_date_test.rb
invertible_migration_test.rb
json_serialization_test.rb
lifecycle_test.rb
locking_test.rb Fix up test altering global state that was causing me grief 2011-12-01 23:41:51 +00:00
log_subscriber_test.rb Fix broken test_exists_query_logging from the table_exists? change 2011-12-08 09:06:15 +00:00
mass_assignment_security_test.rb More checks for instance writers. 2011-10-27 16:25:50 +05:30
method_scoping_test.rb
migration_test.rb Allow to filter migrations by passing a block 2011-12-09 21:43:36 +01:00
mixin_test.rb
modules_test.rb
multiple_db_test.rb pools are 1:1 with spec now rather than 1:1 with class 2011-11-28 15:23:25 -08:00
named_scope_test.rb #first doesn't take an order in this test 2011-09-06 10:01:33 +02:00
nested_attributes_test.rb Exclude _destroy parameter in :all_blank check (issue #2937) 2011-10-17 13:29:11 -04:00
persistence_test.rb Raise error when using write_attribute with a non-existent attribute. 2011-09-13 00:01:58 +01:00
pooled_connections_test.rb pushing caching and visitors down to the connection 2011-11-19 20:19:53 -08:00
primary_keys_test.rb Add test for read_attribute(:id) with non-standard PK. 2011-12-01 23:41:51 +00:00
query_cache_test.rb Added failing test case for changing schema in migration not clearing the prepared statement cache 2011-10-27 10:50:38 -07:00
quoting_test.rb
readonly_test.rb
reflection_test.rb Fix test as one more has_many added 2011-11-04 19:30:59 +05:30
relation_scoping_test.rb
relation_test.rb Add ActiveRecord::Relation#uniq for toggling DISTINCT in the SQL query 2011-11-05 16:22:18 +00:00
relations_test.rb Add ActiveRecord::Relation#uniq for toggling DISTINCT in the SQL query 2011-11-05 16:22:18 +00:00
reload_models_test.rb
sanitize_test.rb
schema_dumper_test.rb Fixed an issue id false option is ignored on mysql/mysql2 (fix #3440) 2011-11-06 02:15:47 +09:00
serialization_test.rb Raise error when using write_attribute with a non-existent attribute. 2011-09-13 00:01:58 +01:00
store_test.rb Fix typo 2011-11-30 23:18:40 +00:00
timestamp_test.rb Allow instances to disable record_timestamps 2011-10-26 18:20:12 +01:00
transaction_callbacks_test.rb Deprecate set_table_name in favour of self.table_name= or defining your own method. 2011-11-29 20:13:36 +00:00
transactions_test.rb Automatic closure of connections in threads is deprecated. For example 2011-11-29 15:04:41 -08:00
unconnected_test.rb Transactional fixtures enlist all active database connections. 2011-10-05 19:10:18 -07:00
validations_repair_helper.rb
validations_test.rb Deprecate set_table_name in favour of self.table_name= or defining your own method. 2011-11-29 20:13:36 +00:00
xml_serialization_test.rb
yaml_serialization_test.rb Add hackery to make Syck use encode_with/init_with. Fixes 1.8 after recent changes to attribute serialization. 2011-12-01 01:15:16 +00:00