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
Yves Senn fa5f037551 allow the :converter Proc form composed_of to return nil
This makes it possible to filter invalid input values before they are passed
into the value-object (like empty strings). This behaviour is only relevant
if the :allow_nil options is set to true. Otherwise you will get
the resulting NoMethodError.
2012-05-03 17:11:42 +02:00
..
adapters use a null byte as a bind parameter substitute as it is not allowed in normal SQL. fixes #411, #417 2011-05-09 13:53:57 -07:00
associations Add block setting of attributes to singular associations 2011-05-17 22:16:24 +01:00
attribute_methods Using Object#in? and Object#either? in various places 2011-04-11 03:17:09 +08:00
coders Make serialized columns with explicit object_type return a new instance of the object instead of nil 2011-02-03 09:08:45 -08:00
connection_adapters adding active_connections? to the connection pool for finding open connections 2011-03-28 17:29:37 -07:00
identity_map make sure IM repository is cleared after body is closed 2011-05-03 09:59:22 -07:00
migration Add :bulk => true option to change_table 2011-01-31 13:21:25 +00:00
session_store Puts ActiveRecord::SessionStore attributes in white list, fixes #483 2011-05-10 16:11:28 +02:00
validations Do not use SQL LIKE operator for case insensitive uniqueness validation 2011-04-25 22:17:18 +03:00
adapter_test.rb
aggregations_test.rb allow the :converter Proc form composed_of to return nil 2012-05-03 17:11:42 +02:00
ar_schema_test.rb
associations_test.rb Implement proxy_owner, proxy_target and proxy_reflection methods on CollectionProxy with deprecations. Fixes #1148. 2011-05-19 23:28:44 +01:00
attribute_methods_test.rb Undo performances regressions I introduced in bbe0a507f2 and add test for an edge case. Add comments to explain the intent of the code. 2011-04-15 13:09:12 +01:00
autosave_association_test.rb expectations change when using IM. Change oracle tests to reflect that 2011-02-22 11:27:12 -08:00
base_test.rb Add ActiveRecord::attribute_names to retrieve a list of attribute names. This method will also return an empty array on an abstract class or a model that the table doesn't exists. 2011-05-15 19:07:40 -04:00
batches_test.rb Quote find_in_batches ORDER BY clause [#6620 state:resolved] 2011-03-29 17:24:55 +01:00
binary_test.rb using the database adapter to typecast before executing prepared statement 2011-04-14 13:37:39 -07:00
bind_parameter_test.rb use index based substitution for bind parameters 2011-04-13 09:42:51 -07:00
calculations_test.rb Bug fixes: 2011-05-12 04:05:24 +08:00
callbacks_test.rb
clone_test.rb
column_alias_test.rb
column_definition_test.rb column will use coder to typecase value when it is available 2011-02-01 14:25:46 -08:00
connection_management_test.rb make sure that active connections are not cleared during test when an exception happens 2011-03-29 15:47:16 -07:00
connection_pool_test.rb adding active_connection? to the connection pool 2011-03-28 16:43:34 -07:00
counter_cache_test.rb
custom_locking_test.rb adding a test case for custom locking 2011-02-21 16:12:02 -08:00
database_statements_test.rb
date_time_test.rb
defaults_test.rb Remove #among? from Active Support 2011-04-13 20:25:28 +08:00
deprecated_finder_test.rb
dirty_test.rb Added new #update_column method. 2011-03-27 21:47:38 -03:00
dup_test.rb
dynamic_finder_match_test.rb
finder_respond_to_test.rb
finder_test.rb Fix for #371 2011-05-08 23:42:53 +01:00
fixtures_test.rb deprecating CSV fixture support 2011-05-10 11:08:18 -07:00
habtm_destroy_order_test.rb Failing test case to show that habtm join table contents are removed when a model is destroyed but the destruction is blocked by a before_destroy. 2011-03-23 14:45:21 -07:00
helper.rb Namespace Fixtures in ActiveRecord 2011-05-07 14:20:51 -06:00
i18n_test.rb
identity_map_test.rb Revert "Revert the merge because tests did not pass." 2011-05-07 17:33:40 +02:00
inheritance_test.rb Rewrote AssociationPreload. 2011-02-28 22:12:34 +00:00
invalid_date_test.rb
invertible_migration_test.rb
json_serialization_test.rb
lifecycle_test.rb fix yield not working from around filter of observers, fixes Github#329 2011-05-07 03:03:41 +05:30
locking_test.rb Don't quote ID's as Arel will quote them -- follow same conventions as the delete method. 2011-05-08 18:37:28 +01:00
log_subscriber_test.rb Fix failing AR test. 2011-05-02 10:16:13 +02:00
mass_assignment_security_test.rb updated AR#create! to accept an options hash so the mass-assignment security role can be passed in, also updated the Changelog to mention the change to some of the AR method signatures. 2011-05-12 09:24:42 +02:00
method_scoping_test.rb minor cleaning with new api method 2011-05-11 00:15:16 +05:30
migration_test.rb Active Record typos. 2011-03-05 11:56:34 +01:00
mixin_test.rb
modules_test.rb just use a hash for doing association caching 2011-01-07 11:28:11 -08:00
multiple_db_test.rb Revert "ARel only requires the connection from the AR class. Simply return the AR class rather than jump through hoops and store ivars" 2011-02-03 14:04:21 -08:00
named_scope_test.rb Modified NamedScopeTest to use CollectionAssociation. 2011-05-11 03:37:35 -07:00
nested_attributes_test.rb Destroying records via nested attributes works independent of reject_if: 2011-04-05 10:38:54 -03:00
persistence_test.rb Ensure assign_attributes and update_attributes do not fail on nil, closes #478. 2011-05-10 10:30:27 +02:00
pooled_connections_test.rb implements ActiveRecord::Base.connection_config to be able to check the configuration of the current connection at runtime 2011-03-05 01:35:02 +01:00
primary_keys_test.rb Quote find_in_batches ORDER BY clause [#6620 state:resolved] 2011-03-29 17:24:55 +01:00
query_cache_test.rb ensure query cache is cleared when Rack body is closed, fixes bug reported on 951e18abea 2011-05-04 15:24:26 -07:00
quoting_test.rb do not depend on to_yaml being called, but rather depend on YAML being dumped 2011-04-13 11:41:42 -07:00
readonly_test.rb Removed support for accessing attributes on a has_and_belongs_to_many join table. This has been documented as deprecated behaviour since April 2006. Please use has_many :through instead. A deprecation warning will be added to the 3-0-stable branch for the 3.0.4 release. 2011-01-16 13:43:54 -08:00
reflection_test.rb oracle, y u defy me 2011-03-16 18:54:34 +00:00
relation_scoping_test.rb Ensure that ORDER BY clauses from default scopes are not included in calculation queries. Fixes #406. 2011-05-08 23:31:16 +01:00
relation_test.rb Evaluate default scopes at the last possible moment in order to avoid problems with default scopes getting included into other scopes and then being unable to remove the default part via unscoped. 2011-04-12 19:46:04 -07:00
relations_test.rb Merge branch 'master' into zomg 2011-03-29 17:38:43 -07:00
reload_models_test.rb
sanitize_test.rb
schema_dumper_test.rb Added tsvector Datatype Support 2011-04-26 09:47:40 +02:00
serialization_test.rb make sure de-serialization happens on object instantiation 2011-02-01 15:23:55 -08:00
timestamp_test.rb supporting infinity and -infinity for timestamps in PG. fixes #544 2011-05-13 13:04:44 -07:00
transaction_callbacks_test.rb
transactions_test.rb
unconnected_test.rb In a number of places in the tests, we only need to turn off transactional fixtures when the DB does not support savepoints. This speeds the test run up by about 8-9% on my computer, when running rake test_sqlite3_mem :) 2011-01-11 13:45:07 -08:00
validations_repair_helper.rb
validations_test.rb
xml_serialization_test.rb Methods that return nil should not be considered YAML 2011-05-10 12:06:09 -04:00
yaml_serialization_test.rb adding an encode_with method for Psych dump/load methods 2011-01-05 14:59:19 -08:00