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 8384683825 Get rid of the ActiveRecord::Model::DeprecationProxy thing.
I think it's going to be too much pain to try to transition the
:active_record load hook from executing against Base to executing
against Model.

For example, after Model is included in Base, and modules included in
Model will no longer get added to the ancestors of Base.

So plugins which wish to be compatible with both Model and Base should
use the :active_record_model load hook which executes *before* Base gets
loaded.

In general, ActiveRecord::Model is an advanced feature at the moment and
probably most people will continue to inherit from ActiveRecord::Base
for the time being.
2012-10-19 18:12:54 +01:00
..
adapters Fix typo in inet and cidr saving 2012-10-14 19:40:38 +02:00
associations Merge pull request #7887 from senny/remove_unused_requires_in_ar_tests 2012-10-10 13:42:33 -07:00
attribute_methods removes usage of Object#in? from the code base (the method remains defined by Active Support) 2012-08-06 00:30:02 +02:00
coders
connection_adapters rename AR::Model::Tag to AR::Tag - fixes #7714 2012-09-20 12:43:12 -05:00
connection_specification fixed support for DATABASE_URL for rake db tasks 2012-09-11 20:40:13 -07:00
fixture_set Move/rename files to follow naming conventions 2012-10-07 20:43:18 +02:00
migration Cleanup trailing whitespaces 2012-10-12 09:56:39 +02:00
relation fix querying with an empty hash 2012-09-19 15:57:22 +02:00
tasks Style: remove hash noise 2012-09-21 12:08:02 -07:00
validations Fix bug with presence validation of associations. 2012-10-16 19:04:40 -07:00
adapter_test.rb Ensure disconnecting or reconnecting resets the transaction state 2012-09-15 00:03:04 +01:00
aggregations_test.rb fix order dependent test in AggregationsTest 2012-08-26 16:32:08 -05:00
ar_schema_test.rb
associations_test.rb Add CollectionProxy#scope 2012-08-01 23:19:52 +01:00
attribute_methods_test.rb Revert "Key the attributes hash with symbols" 2012-10-12 11:49:13 +01:00
autosave_association_test.rb Rename the partial_updates config to partial_writes 2012-10-19 16:45:41 +01:00
base_test.rb Move multiparameter attributes related tests to its own file 2012-10-06 19:29:17 -03:00
batches_test.rb Fix test_find_in_batches_should_use_any_column_as_primary_key 2012-09-22 10:57:54 -03:00
binary_test.rb
bind_parameter_test.rb
calculations_test.rb remove unused variables. Oops! 2012-10-17 15:55:30 -07:00
callbacks_test.rb Fix collisions with before and after validation callbacks. 2012-09-23 12:53:50 -06:00
clone_test.rb
column_alias_test.rb
column_definition_test.rb Add uuid type support to PostgreSQL adapter 2012-06-14 17:44:51 +04:00
column_test.rb fix quoting for ActiveSupport::Duration instances 2012-07-04 22:39:16 -05:00
connection_management_test.rb
connection_pool_test.rb ConnectionPool, unify exceptions, ConnectionTimeoutError 2012-09-11 10:38:27 -04:00
counter_cache_test.rb Fix reset_counters() crashing on has_many :through associations. 2012-10-02 23:49:32 +08:00
custom_locking_test.rb Deprecate ActiveRecord::Base.scoped. 2012-07-27 17:27:47 +01:00
database_statements_test.rb
date_time_test.rb
defaults_test.rb The default value of a text/blob in mysql strict mode should be nil 2012-10-19 15:08:58 +01:00
deprecated_dynamic_methods_test.rb Remove mass assignment security from ActiveRecord 2012-09-16 23:58:19 -05:00
dirty_test.rb Rename the partial_updates config to partial_writes 2012-10-19 16:45:41 +01:00
dup_test.rb Call super to nullify the reference to the original errors object in the dup'ed object (call ActiveModel::Validations#initialize_dup). Closes #7291 2012-10-16 15:09:23 +02:00
explain_subscriber_test.rb Don't explain except normal CRUD sql. 2012-09-17 00:22:34 +09:00
explain_test.rb Remove ActiveRecord::Base.to_a 2012-08-03 11:51:52 +01:00
finder_respond_to_test.rb made dynamic finders alias_attribute aware 2012-06-22 16:44:01 +02:00
finder_test.rb Raise MissingAttributeError on query methods 2012-09-08 17:40:01 -04:00
fixtures_test.rb Rename "Fixtures" class to "FixtureSet" 2012-10-07 19:15:58 +02:00
forbidden_attributes_protection_test.rb Remove mass_assignment_options from ActiveRecord 2012-09-16 23:59:05 -05:00
habtm_destroy_order_test.rb
helper.rb Rename "Fixtures" class to "FixtureSet" 2012-10-07 19:15:58 +02:00
hot_compatibility_test.rb Add an explicit test for hot compatibility 2012-09-28 18:08:14 +01:00
i18n_test.rb
inclusion_test.rb Get rid of the ActiveRecord::Model::DeprecationProxy thing. 2012-10-19 18:12:54 +01:00
inheritance_test.rb test cleanup, remove ruby_type because it's no longer needed 2012-09-03 20:38:14 +02:00
invalid_date_test.rb
invertible_migration_test.rb
json_serialization_test.rb Fix serializable_hash with xml generation and default :except option 2012-06-22 08:28:26 -03:00
lifecycle_test.rb
locking_test.rb Use a model without counter cache to test read-only attributes 2012-08-21 15:47:02 -03:00
log_subscriber_test.rb Remove ActiveRecord::Base.to_a 2012-08-03 11:51:52 +01:00
migration_test.rb fix test :/ 2012-10-19 15:17:06 +01:00
migrator_test.rb
mixin_test.rb
modules_test.rb Deprecate ActiveRecord::Base.scoped. 2012-07-27 17:27:47 +01:00
multiparameter_attributes_test.rb Remove unneeded require 2012-10-06 19:31:57 -03:00
multiple_db_test.rb Use method compilation for association methods 2012-08-10 23:28:08 +01:00
named_scope_test.rb Remove ActiveRecord::Base.to_a 2012-08-03 11:51:52 +01:00
nested_attributes_test.rb gradually moving documentation to new hash syntax 2012-10-10 10:54:31 +02:00
persistence_test.rb Remove mass_assignment_options from ActiveRecord 2012-09-16 23:59:05 -05:00
pooled_connections_test.rb
primary_keys_test.rb
query_cache_test.rb Cleanup trailing whitespaces 2012-10-12 09:56:39 +02:00
quoting_test.rb fix quoting for ActiveSupport::Duration instances 2012-07-04 22:39:16 -05:00
readonly_test.rb Remove ActiveRecord::Base.to_a 2012-08-03 11:51:52 +01:00
reaper_test.rb
reflection_test.rb remove duplicated require statements in AR test cases 2012-10-09 21:33:54 +02:00
relation_scoping_test.rb Remove ActiveRecord::Base.to_a 2012-08-03 11:51:52 +01:00
relation_test.rb Merge pull request #6606 from amatsuda/ar_relation_model_method 2012-08-21 14:43:19 -07:00
relations_test.rb nodoc the first_or_create methods and document alternatives 2012-10-19 15:56:18 +01:00
reload_models_test.rb
sanitize_test.rb
schema_dumper_test.rb use setup for setting up the test 2012-10-15 14:22:15 -07:00
serialization_test.rb Move test to the correct file 2012-08-26 02:40:38 -03:00
serialized_attribute_test.rb Add test to ensure that save will raise SerializationTypeMismatch if the 2012-08-26 03:56:19 -03:00
store_test.rb fix warning: method redefined 2012-10-02 13:32:54 -03:00
test_case.rb load active_support/deprecation in active_support/rails 2012-08-02 21:59:23 +02:00
timestamp_test.rb Use method compilation for association methods 2012-08-10 23:28:08 +01:00
transaction_callbacks_test.rb Fix test 2012-09-15 00:41:56 +01:00
transaction_isolation_test.rb Skip tests for non-supported isolation levels 2012-09-26 04:29:25 +09:00
transactions_test.rb Get rid of global variable in AR transactions test 2012-09-20 23:14:35 -03:00
unconnected_test.rb
validations_repair_helper.rb
validations_test.rb Remove mass assignment security from ActiveRecord 2012-09-16 23:58:19 -05:00
xml_serialization_test.rb Fix AR tests due to builder change with nil values / empty strings 2012-09-07 13:31:28 -03:00
yaml_serialization_test.rb