diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-30 14:35:36 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-30 14:37:09 -0700 |
commit | 15419a5dc692be997d7637e40435a3d0d0fa4c1c (patch) | |
tree | 5d22e6a17aff2be8394d49efba98cd977ab257bf /activerecord/lib/active_record/relation | |
parent | fb4ee9c7e5da783d84d3a633297830ceac58ee48 (diff) | |
download | rails-15419a5dc692be997d7637e40435a3d0d0fa4c1c.tar.gz rails-15419a5dc692be997d7637e40435a3d0d0fa4c1c.tar.bz2 rails-15419a5dc692be997d7637e40435a3d0d0fa4c1c.zip |
build_where should be private
Diffstat (limited to 'activerecord/lib/active_record/relation')
-rw-r--r-- | activerecord/lib/active_record/relation/query_methods.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb index 2e0a2effc2..c8174b5f45 100644 --- a/activerecord/lib/active_record/relation/query_methods.rb +++ b/activerecord/lib/active_record/relation/query_methods.rb @@ -196,6 +196,8 @@ module ActiveRecord arel end + private + def build_where(opts, other = []) case opts when String, Array @@ -208,8 +210,6 @@ module ActiveRecord end end - private - def build_joins(relation, joins) association_joins = [] |