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
John Foley d66d6076b2 Fix collisions with before and after validation callbacks.
This commit allows a user to do something like:
    before_validation :do_stuff, :on => [ :create, :update ]
    after_validation :do_more, :on => [ :create, :update ]
2012-09-23 12:53:50 -06:00
..
adapters Moves column dump specific code to a module included in AbstractAdapter 2012-09-14 08:43:47 -04:00
associations Merge pull request #7251 from rails/integrate-strong_parameters 2012-09-18 12:33:13 -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
fixtures
migration column default extraction should handle newlines. 2012-08-17 10:21:35 -07: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
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 test cleanup, remove ruby_type because it's no longer needed 2012-09-03 20:38:14 +02:00
autosave_association_test.rb
base_test.rb Remove mass assignment security from ActiveRecord 2012-09-16 23:58:19 -05: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 Fix pluck when columns/tables are reserved words. 2012-09-05 18:00:07 -04: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
column_test.rb
connection_management_test.rb
connection_pool_test.rb ConnectionPool, unify exceptions, ConnectionTimeoutError 2012-09-11 10:38:27 -04:00
counter_cache_test.rb reset_counters() was crashing when there were multiple belongs_to associations with the same foreign key. 2012-08-21 14:10:11 -03:00
custom_locking_test.rb
database_statements_test.rb
date_time_test.rb
defaults_test.rb removes usage of Object#in? from the code base (the method remains defined by Active Support) 2012-08-06 00:30:02 +02:00
deprecated_dynamic_methods_test.rb Remove mass assignment security from ActiveRecord 2012-09-16 23:58:19 -05:00
dirty_test.rb Revert "Remove update_attribute." 2012-08-25 23:02:30 -03:00
dup_test.rb Remove mass_assignment_options from ActiveRecord 2012-09-16 23:59:05 -05: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
finder_test.rb Raise MissingAttributeError on query methods 2012-09-08 17:40:01 -04:00
fixtures_test.rb
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 Fix annoy warning, when executing testcase. 2012-09-11 00:17:08 +09:00
i18n_test.rb
inclusion_test.rb Make ActiveRecord::Model::DeprecationProxy work better 2012-08-03 19:36:37 +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
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
migrator_test.rb
mixin_test.rb
modules_test.rb
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 Merge pull request #5248 from jcoleman/should-unset-association-when-an-existing-record-is-destroyed 2012-09-21 02:40:26 -07: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
quoting_test.rb
readonly_test.rb Remove ActiveRecord::Base.to_a 2012-08-03 11:51:52 +01:00
reaper_test.rb
reflection_test.rb
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 Model.select takes a variable list of arguments. 2012-08-23 13:51:10 -05:00
reload_models_test.rb
sanitize_test.rb
schema_dumper_test.rb Moves column dump specific code to a module included in AbstractAdapter 2012-09-14 08:43:47 -04: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 refactor store_accessor 2012-09-13 10:12:11 -04: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 Make the serializable test much looser 2012-09-21 17:56:04 +01: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