rails/activerecord/test/cases
Takehiro Adachi ec0566cc91 Add test for AR::Base#to_param
According to the doc of `AR::Base#to_param`(
https://github.com/rails/rails/blob/04cda1848cb847c2bdad0bfc12160dc8d554
7775/activerecord/lib/active_record/integration.rb#L18 ), it returns
`nil` if the record is not persisted.
2013-05-02 22:16:51 +09:00
..
adapters Improve docs for postgresql with uuid primary keys [ci skip] 2013-05-01 21:24:56 -03:00
associations Fix #8856 Ensure has_one association=(associate) triggers save. 2013-04-30 16:14:16 -07:00
attribute_methods Remove ActiveRecord::Model 2012-10-26 15:51:02 +01:00
coders Remove all error masking when decoding serialized data fails? 2013-04-02 11:45:14 -04:00
connection_adapters Move method used only in the test to the test code itself 2013-04-25 01:43:28 +04:00
connection_specification Do not type cast all the database url values. 2013-02-24 14:36:18 -03:00
fixture_set Move/rename files to follow naming conventions 2012-10-07 20:43:18 +02:00
migration anual_salary => annual_salary 2013-03-28 21:45:08 +05:30
relation Handle aliased attributes in ActiveRecord::Relation. 2013-05-01 16:36:01 -07:00
scoping Delegate #unscope query method 2013-04-28 23:00:35 -03:00
tasks Mute psql output when running rake db:schema:load 2013-04-30 17:24:29 -07:00
validations Fixed typos in activerecord 2013-03-27 21:14:58 +05:30
adapter_test.rb Fixed typos in ActiveRecord 2013-03-28 20:25:43 +05:30
aggregations_test.rb Removed unnecessary class 2013-04-06 02:17:38 +05:30
ar_schema_test.rb Reset SchemaMigration after updating 2013-01-22 10:26:51 +09:00
associations_test.rb Removed space and unused class 2013-04-06 02:35:15 +05:30
attribute_methods_test.rb fixes a test, and explains why AR::AttributeMethods checks defined?(@attributes) in some places 2013-04-28 12:03:59 +02:00
autosave_association_test.rb Revert "Merge pull request #10183 from jholton/fix_association_auto_save" 2013-04-19 16:57:06 +01:00
base_test.rb Extract tests code out from AR's base_test.rb to integration_test.rb 2013-05-02 11:01:12 +09:00
batches_test.rb Fixed typos in ActiveRecord 2013-03-28 20:25:43 +05:30
binary_test.rb Use Encoding::UTF_8 constant 🚯 2013-01-28 17:06:02 +09:00
bind_parameter_test.rb
calculations_test.rb Handle aliased attributes in ActiveRecord::Relation. 2013-05-01 16:36:01 -07:00
callbacks_test.rb Fix some typos in AR- CHANGELOG, tests, method doc. fixed 2013-03-20 11:17:01 +05:30
clone_test.rb Fix freeze applying to cloned objects 2013-04-15 19:57:28 -04:00
column_alias_test.rb
column_definition_test.rb decouple column definition from the database connection 2013-03-22 16:21:59 -07:00
column_test.rb Per #9999 revert the revert changing so columns are only tested for empty? as opposed to blank? 2013-04-03 12:14:48 +11:00
connection_management_test.rb
connection_pool_test.rb MOAR cleanups. 2013-03-14 10:47:13 +05:30
counter_cache_test.rb squelch an unused variable warning 2013-03-22 19:41:13 -07: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 Deprecate obsolete Time to DateTime fallback methods 2012-12-11 13:57:05 +00:00
defaults_test.rb Standardize the use of current_adapter? 2013-01-01 19:18:34 -03:00
deprecated_dynamic_methods_test.rb Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by" 2013-01-18 09:15:19 -05:00
dirty_test.rb also assign nil in dirty nullable_datetime test. #10237 2013-04-22 09:46:57 +02:00
dup_test.rb Fix typo: overriden => overriDDen 2013-03-28 18:52:14 +04:00
explain_subscriber_test.rb let EXPLAIN use a thread locals registry [John J. Wang & Xavier Noria] 2013-04-16 22:46:55 +02:00
explain_test.rb Remove unused return value, because collecting_queries_for_explain isn't public API. 2013-03-06 00:35:55 +09:00
finder_respond_to_test.rb made dynamic finders alias_attribute aware 2012-06-22 16:44:01 +02:00
finder_test.rb Handle aliased attributes in ActiveRecord::Relation. 2013-05-01 16:36:01 -07:00
fixtures_test.rb Allows setting fixture_path to a Pathname 2013-03-21 14:10:44 -07:00
forbidden_attributes_protection_test.rb Added STI support to init and building associations 2012-11-29 05:50:34 +00:00
habtm_destroy_order_test.rb
helper.rb Set Thread.abort_on_exception for the whole AS, AP, and AR tests 2013-01-24 20:00:45 +09:00
hot_compatibility_test.rb Add an explicit test for hot compatibility 2012-09-28 18:08:14 +01:00
i18n_test.rb
inheritance_test.rb Fix #new with an STI object with complex inheritance 2013-04-02 09:50:06 -04:00
integration_test.rb Add test for AR::Base#to_param 2013-05-02 22:16:51 +09:00
invalid_date_test.rb
invertible_migration_test.rb Fixes for PR [#8267] 2012-12-22 20:40:42 -05:00
json_serialization_test.rb rewrite tests to have no side-effects on include_root_in_json. 2013-03-04 21:18:40 +01:00
locking_test.rb Fix ActiveRecord locking column defaults not getting persisted 2013-03-18 22:09:01 -04:00
log_subscriber_test.rb Ignore binds payload with nil column in AR log subscriber 2013-01-08 08:59:41 -02:00
migration_test.rb Improve the error message 2013-04-19 11:23:59 -03:00
migrator_test.rb Reset AR::Migration.verbose change to avoid depending on test run order 2013-01-08 09:12:51 +09:00
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 Remove ActiveRecord::Model 2012-10-26 15:51:02 +01:00
nested_attributes_test.rb Add Error#full_message test; Fix typos 2013-03-22 14:53:32 +05:30
persistence_test.rb Add missing require to inheritance test 2013-04-03 14:48:57 -03:00
pooled_connections_test.rb Remove ActiveRecord::Model 2012-10-26 15:51:02 +01:00
primary_keys_test.rb Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by" 2013-01-18 09:15:19 -05:00
query_cache_test.rb Standardize the use of current_adapter? 2013-01-01 19:18:34 -03:00
quoting_test.rb Revert "Merge pull request #9207 from dylanahsmith/mysql-quote-numeric" 2013-02-27 08:46:40 -08: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_test.rb if singletons belong to the contract, test them 2013-04-20 09:26:11 +02:00
relations_test.rb When empty options passed to having clause having_values was [nil] but should be empty. 2013-04-23 17:07:49 +04:00
reload_models_test.rb Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by" 2013-01-18 09:15:19 -05:00
sanitize_test.rb
schema_dumper_test.rb Correctly parse bigint defaults in PostgreSQL 2013-04-05 09:37:08 -04:00
serialization_test.rb ActiveRecord::Base.include_root_in_json is false by default. 2013-03-04 21:18:40 +01:00
serialized_attribute_test.rb Fix typo in serialized_attribute_test. [ci skip] 2013-04-28 08:47:55 -07:00
statement_cache_test.rb cleanup statement cache test 2013-04-11 18:08:46 +05:30
store_test.rb define Active Record Store accessors in a module 2013-02-11 17:00:55 +03:00
test_case.rb load active_support/deprecation in active_support/rails 2012-08-02 21:59:23 +02:00
timestamp_test.rb Removed unused associations 2013-04-24 15:07:39 +01:00
transaction_callbacks_test.rb Revert "Merge pull request #6226 from gnufied/master" 2013-04-10 15:21:07 -03:00
transaction_isolation_test.rb Rename update_attributes method to update, keep update_attributes as an alias 2013-01-03 11:51:21 -05:00
transactions_test.rb Reduced memory leak problem in transactions by lazily updating AR objects with new transaction state. If AR object has a callback, the callback will be performed immediately (non-lazily) so the transaction still has to keep records with callbacks. 2013-02-20 10:51:28 -05:00
unconnected_test.rb Remove ActiveRecord::Model 2012-10-26 15:51:02 +01:00
validations_repair_helper.rb The repair_validations helper was not working correctly before because 2013-03-19 12:23:20 -04:00
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