1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/active_record
Samuel Williams c431f1754b #where fails if opts.responds_to?(:==) unexpectedly
Sometimes opts passed in might respond to ==, e.g. `Arel::Nodes::Grouping`. In this case, `opts == :chain` returns `Arel::Nodes::Equality` which causes odd behaviour. Prefer `if :chain == opts` which guarantees that `Symbol#==` would be invoked. Alternatively consider `eql?`.
2015-09-05 11:33:21 +12:00
..
associations Only nullify persisted has_one target associations 2015-08-24 11:49:43 +03:00
attribute Persist user provided default values, even if unchanged 2015-05-28 16:40:26 -06:00
attribute_methods Inline uneccessary frozen string constant 2015-08-31 11:56:17 -06:00
attribute_set
coders
connection_adapters No need to get the exception variable 2015-09-01 00:44:07 -03:00
fixture_set
locale Deprecate and rename the keys for association restrict_dependent_destroy 2015-07-20 23:19:43 -04:00
locking
migration Merge pull request #21412 from yui-knk/feature/irreversible_migration_error_msg 2015-09-04 12:04:21 +02:00
railties follow-up to 2183caa, always reenable the task. #20743 2015-06-30 16:44:34 +02:00
relation #where fails if opts.responds_to?(:==) unexpectedly 2015-09-05 11:33:21 +12:00
scoping
tasks Merge pull request #17885 from starbelly/patch-1 2015-08-11 15:57:40 +02:00
type Respect scale of the column in the Decimal type 2015-09-01 16:02:04 -03:00
type_caster
validations uniqueness validation raises error for persisted record without pk. 2015-08-20 12:07:02 +02:00
aggregations.rb Fix NetAddr link [ci skip] 2015-05-20 14:01:00 +05:30
association_relation.rb
associations.rb RDoc: fix wrong model name :inverse_of with :belongs_to [ci skip] 2015-07-30 22:04:28 +07:00
attribute.rb
attribute_assignment.rb Add more detailed comment about _assign_attribute method [ci skip] 2015-05-13 02:22:31 +03:00
attribute_decorators.rb
attribute_methods.rb [ci skip] Fix the indentation 2015-08-12 11:54:14 +09:00
attribute_set.rb
attributes.rb Add docs and changelog entry for 73aab03 [ci skip] 2015-05-30 11:13:28 -06:00
autosave_association.rb Fix Punctuation in AutosaveAssociation RDoc 2015-08-20 15:57:05 -04:00
base.rb remove unused require ‘set’ 2015-08-25 18:54:53 +05:30
callbacks.rb docs, tiny rdoc markup fix. [ci skip] 2015-08-12 16:17:04 +02:00
collection_cache_key.rb Fix test failures caused by #20884 2015-08-01 18:15:46 -06:00
connection_handling.rb AR::ConPool - remove synchronization around connection cache. 2015-05-14 03:14:53 +02:00
core.rb Extra caller details added to ActiveRecord::RecordNotFound 2015-07-21 19:19:14 +04:30
counter_cache.rb
dynamic_matchers.rb
enum.rb [ci skip] Fix #21364 error in documentation about ActiveRecord::Enum 2015-08-25 18:39:33 +10:00
errors.rb uniqueness validation raises error for persisted record without pk. 2015-08-20 12:07:02 +02:00
explain.rb
explain_registry.rb
explain_subscriber.rb Let WITH (CTE) queries be explainable 2015-05-28 14:10:09 +03:00
fixtures.rb Add :nodoc: for internal testing methods [ci skip] 2015-07-28 12:22:37 +02:00
gem_version.rb
inheritance.rb invalid sti error message contains the full class name. 2015-05-13 11:35:34 +02:00
integration.rb
legacy_yaml_adapter.rb
log_subscriber.rb More granular console SQL coloration 2015-06-23 14:01:28 -04:00
migration.rb Merge pull request #21412 from yui-knk/feature/irreversible_migration_error_msg 2015-09-04 12:04:21 +02:00
model_schema.rb Return a Point object from the PG Point type 2015-06-05 09:06:45 -06:00
nested_attributes.rb Extra caller details added to ActiveRecord::RecordNotFound 2015-07-21 19:19:14 +04:30
no_touching.rb
null_relation.rb
persistence.rb destroy shouldn't raise when child associations fail to save 2015-07-24 09:13:20 -06:00
query_cache.rb
querying.rb Add ActiveRecord::Relation#in_batches 2015-08-07 10:26:38 +04:30
railtie.rb Fix middleware deprecation message. Related to #21172. 2015-08-14 14:58:56 +02:00
readonly_attributes.rb
reflection.rb parent_reflection should store only a reflection object 2015-05-19 16:11:53 -04:00
relation.rb Add ActiveRecord::Relation#in_batches 2015-08-07 10:26:38 +04:30
result.rb
runtime_registry.rb
sanitization.rb Use block variable instead of global 2015-06-09 22:26:42 -04:00
schema.rb
schema_dumper.rb Remove unused already require 2015-05-19 12:53:09 -07:00
schema_migration.rb Fix circular import warning on build 2015-05-31 13:15:08 +10:00
scoping.rb
secure_token.rb
serialization.rb Remove XML Serialization from core. 2015-08-07 11:01:48 -04:00
statement_cache.rb
store.rb
suppressor.rb Apply Active Record suppression to all saves 2015-06-04 00:11:38 -04:00
table_metadata.rb Revert the behavior of association names and where to be closer to 4.2 2015-06-27 18:14:38 -06:00
timestamp.rb
touch_later.rb
transactions.rb Fix state being carried over from previous transaction 2015-07-20 09:12:01 -06:00
translation.rb
type.rb JSON is still an adapter specific type. 2015-08-21 17:45:46 -06:00
type_caster.rb
validations.rb AR absence validator respects marked_for_destruction?. Closes #20449. 2015-06-22 15:45:08 +02:00
version.rb