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
Frederick Cheung 5cebe69e74 Preload uses exclusive scope [#643 state:resolved]
With self referential associations, the scope for the the top level should not affect fetching of associations, for example
when doing

Person.male.find :all, :include => :friends

we should load all of the friends for each male, not just the male friends.
2008-12-26 18:25:55 +00:00
..
associations Preload uses exclusive scope [#643 state:resolved] 2008-12-26 18:25:55 +00:00
aaa_create_tables_test.rb Use schema.rb for all databases 2008-04-22 13:55:13 +12:00
active_schema_test_mysql.rb Make sure recreate MySQL test database with the proper encoding and collation [#1165 state:resolved] 2008-10-03 22:08:55 +02:00
active_schema_test_postgresql.rb PostgreSQL: update create_database_with_encoding test also 2008-06-07 13:43:52 -07:00
adapter_test.rb Added db:charset support to PostgreSQL. [#556 state:resolved] 2008-07-14 04:11:52 +01:00
aggregations_test.rb Add missing assert_deprecated calls to prevent spam during test runs 2008-09-11 11:21:22 +02:00
ar_schema_test.rb Autoload ActiveRecord files 2008-11-24 11:14:24 -06:00
associations_test.rb Remove the functionality introduce in 28d3390 2008-10-10 17:04:46 +02:00
attribute_methods_test.rb "raise NoMethodError" raises NoMethodError. Raise it with NoMethodError.new instead. 2008-10-25 14:52:44 +05:30
base_test.rb Ensure of Model#create support custom updated_at and updated_on attributes [#1612 state:resolved] 2008-12-22 15:19:33 +00:00
binary_test.rb Remove SQL Server cases from tests for latest adapter work to pass rails expected behavior. 2008-11-19 18:00:56 +01:00
calculations_test.rb Rework ActiveSupport::OrderedHash to make lookups faster 2008-12-10 09:07:47 -08:00
callbacks_observers_test.rb Callbacks fire before notifying observers [#230 state:resolved] 2008-06-03 13:38:00 -05:00
callbacks_test.rb
class_inheritable_attributes_test.rb
column_alias_test.rb
column_definition_test.rb Don't set "NULL" as a constraint on nullable columns [#398 state:resolved] 2008-08-23 19:51:09 +03:00
connection_test_firebird.rb
connection_test_mysql.rb Deprecate verification_timeout and verify before reset 2008-09-04 14:36:09 +02:00
copy_table_test_sqlite.rb
database_statements_test.rb PostgreSQL: insert looks up pk and sequence name if not given. [#384 state:resolved] 2008-06-10 15:50:01 -07:00
datatype_test_postgresql.rb Fix tests for postgres 8.3.x 2008-05-26 00:45:42 +01:00
date_time_test.rb
default_test_firebird.rb
defaults_test.rb Remove SQL Server cases from tests for latest adapter work to pass rails expected behavior. 2008-11-19 18:00:56 +01:00
deprecated_finder_test.rb Fix file permissions 2008-07-31 16:36:23 -05:00
dirty_test.rb Change field_changed? method to handle the case where a nullable integer column is changed from 0 to '0' 2008-12-08 15:42:13 -08:00
finder_respond_to_test.rb Ensure that respond_to? considers dynamic finder methods. Closes #11538. [floehopper] 2008-04-06 22:26:15 +00:00
finder_test.rb Add :having option to find, to use in combination with grouped finds. Also added to has_many and has_and_belongs_to_many associations. 2008-12-01 20:22:31 +01:00
fixtures_test.rb Update AR tests 2008-11-07 16:22:56 -05:00
helper.rb Add a repair_helper to repair changes to the validations inside validations_test.rb [#674 state:resolved] 2008-12-19 13:37:50 +00:00
i18n_test.rb use :en as a default locale (in favor of :en-US) 2008-11-18 14:23:53 +01:00
inheritance_test.rb Remove SQL Server cases from tests for latest adapter work to pass rails expected behavior. 2008-11-19 18:00:56 +01:00
invalid_date_test.rb Fix calculations on associations with custom :foreign_key. Closes #8117 [kamal, jack] 2008-02-02 04:28:42 +00:00
json_serialization_test.rb Tweak ActiveRecord::Base#to_json to include a root value in the returned hash: {post: {title: ...}} [rick] 2008-04-01 20:09:45 +00:00
lifecycle_test.rb Added missing fixtures for tests which fail to run independently if run after schema reset 2008-08-04 11:50:15 +02:00
locking_test.rb Remove SQL Server cases from tests for latest adapter work to pass rails expected behavior. 2008-11-19 18:00:56 +01:00
method_scoping_test.rb Ensure Model#last doesn't affects order for another finders inside the same scope [#1499 state:resolved] 2008-12-21 23:24:06 +00:00
migration_test.rb Remove SQL Server cases from tests for latest adapter work to pass rails expected behavior. 2008-11-19 18:00:56 +01:00
migration_test_firebird.rb
mixin_test.rb Force timestamp update 2008-03-31 03:57:25 +00:00
modules_test.rb Improve ActiveRecord::Base#table_name unit tests for nested classes. Closes #10289. [scott_willson] 2008-04-07 19:44:37 +00:00
multiple_db_test.rb Move the transaction counter to the connection object rather than maintaining it on the current Thread. 2008-07-15 21:25:12 +02:00
named_scope_test.rb Allowed passing arrays-of-strings to :join everywhere. Merge duplicate join strings to avoid table aliasing problems. 2008-09-24 13:26:06 +02:00
pk_test.rb
pooled_connections_test.rb Fix typo in pool_conections_test [#1350 state:committed] 2008-11-14 11:54:05 +01:00
query_cache_test.rb fix tests relying on implicit ordering 2008-08-26 02:17:36 -07:00
readonly_test.rb Fix file permissions 2008-07-31 16:36:23 -05:00
reflection_test.rb Introduce ActiveRecord::Reflection::ThroughReflection to simplify hm:t reflection logic 2008-10-04 17:49:39 +01:00
reload_models_test.rb Add missing fixture to allow reload models test to run isolated [#1609 state:resolved] 2008-12-20 20:39:25 +00:00
repair_helper.rb Add repair_helper.rb file I forgot in previous commit 8a92cd 2008-12-19 13:52:21 +00:00
reserved_word_test_mysql.rb
sanitize_test.rb Change all calls to String#chars to String#mb_chars. 2008-09-21 18:01:15 +02:00
schema_authorization_test_postgresql.rb Rescue spurious failures in case dummy postgresql user or schema already exists 2008-09-04 17:20:07 +02:00
schema_dumper_test.rb Autoload ActiveRecord files 2008-11-24 11:14:24 -06:00
schema_test_postgresql.rb Make the schema dumper respect the schema settings in database.yml. References #8659 [sveiss] 2008-03-03 06:56:31 +00:00
serialization_test.rb
synonym_test_oracle.rb
transactions_test.rb Default connection allow_concurrency to false (for PostgreSQL) 2008-09-04 15:44:05 +02:00
unconnected_test.rb Fix file permissions 2008-07-31 16:36:23 -05:00
validations_i18n_test.rb Fix test names collision. 2008-12-10 11:10:22 -08:00
validations_test.rb Add a repair_helper to repair changes to the validations inside validations_test.rb [#674 state:resolved] 2008-12-19 13:37:50 +00:00
xml_serialization_test.rb Added a :camelize option to ActiveRecord and Hash to_xml serialization and from_xml deserialization 2008-12-10 20:28:05 +01:00