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
Sean Griffin d26dd00854 WhereClause#predicates does not need to be public
The only place it was accessed was in tests. Many of them have another
way that they can test their behavior, that doesn't involve reaching
into internals as far as they did. `AssociationScopeTest` is testing a
situation where the where clause would have one bind param per
predicate, so it can just ignore the predicates entirely. The where
chain test was primarly duplicating the logic tested on `WhereClause`
directly, so I instead just make sure it calls the appropriate method
which is fully tested in isolation.
2015-01-27 10:30:38 -07:00
..
associations Go through normal where logic in AssociationScope 2015-01-26 15:49:29 -07:00
attribute_methods Errors raised in type_cast_for_database no longer raise on assignment 2015-01-23 12:50:01 -07:00
attribute_set
coders
connection_adapters Errors raised in type_cast_for_database no longer raise on assignment 2015-01-23 12:50:01 -07:00
fixture_set
locale
locking Go through normal where logic in destroy with locking 2015-01-14 15:25:15 -07:00
migration
railties
relation WhereClause#predicates does not need to be public 2015-01-27 10:30:38 -07:00
scoping
serializers
tasks
type Move integer range validation to never raise on assignment 2015-01-23 14:30:23 -07:00
type_caster Ensure the type caster object given to Arel is always marshallable 2015-01-26 15:47:43 -07:00
validations
aggregations.rb
association_relation.rb
associations.rb
attribute.rb Introduce ActiveRecord::Base#accessed_fields 2015-01-20 14:42:15 -07:00
attribute_assignment.rb Move method to private section 2015-01-26 08:17:53 -02:00
attribute_decorators.rb
attribute_methods.rb Fix a typo "devleopment" => "development" 2015-01-25 16:07:54 +01:00
attribute_set.rb Introduce ActiveRecord::Base#accessed_fields 2015-01-20 14:42:15 -07:00
attributes.rb Change 'a' to 'an' for 'attribute' word [ci skip] 2015-01-21 13:46:52 +05:30
autosave_association.rb
base.rb
callbacks.rb
connection_handling.rb
core.rb Merge pull request #18474 from notEthan/pretty_print_inspect 2015-01-23 16:25:15 -07:00
counter_cache.rb Improve consistency of counter caches updating in memory 2015-01-26 12:37:29 -07:00
dynamic_matchers.rb
enum.rb
errors.rb Extracted ActiveRecord::AttributeAssignment to ActiveModel::AttributesAssignment 2015-01-23 23:43:22 +02:00
explain.rb
explain_registry.rb
explain_subscriber.rb
fixtures.rb
gem_version.rb
inheritance.rb
integration.rb
log_subscriber.rb Stop special casing null binary data in logging 2015-01-10 12:26:51 -07:00
migration.rb
model_schema.rb Restore useful documentation removed at 2015-01-27 11:21:42 -02:00
nested_attributes.rb
no_touching.rb
null_relation.rb
persistence.rb Use 'public_send' over the 'send' method for object's properties. 2015-01-23 11:08:50 +05:30
query_cache.rb
querying.rb
railtie.rb
readonly_attributes.rb
reflection.rb
relation.rb Unify access to bind values on Relation 2015-01-27 09:18:30 -07:00
result.rb
runtime_registry.rb
sanitization.rb Stop passing a column to quote when finding by AR models 2015-01-10 15:45:46 -07:00
schema.rb
schema_dumper.rb
schema_migration.rb
scoping.rb
secure_token.rb Fix Typo SecureToken for schema sample [ci skip] 2015-01-15 16:06:01 +01:00
serialization.rb
statement_cache.rb Stop passing a column to quote when executing from a statement cache 2015-01-10 15:45:46 -07:00
store.rb
table_metadata.rb Go through normal where logic in AssociationScope 2015-01-26 15:49:29 -07:00
timestamp.rb
transactions.rb Use keyword args on committed! and rolledback! 2015-01-09 15:35:51 -05:00
translation.rb
type.rb
type_caster.rb
validations.rb
version.rb