aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/relation
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #27122 from kamipo/fix_unscope_with_subqueryRafael França2017-02-131-14/+26
|\
| * Refactor `except_predicates_and_binds` to avoid `tap`Ryuta Kamizono2017-02-131-12/+15
| * Fix unscope with subqueryRyuta Kamizono2016-12-051-10/+19
* | Merge pull request #27904 from kenta-s/add-methods-back-to-array-delegation-f...Eileen M. Uchitelle2017-02-101-0/+1
|\ \
| * | Delegate `to_sentence` and `to_fomatted_s` to `records`kenta-s2017-02-041-0/+1
* | | Revert "Remove useless `column_alias` in `subquery_for_count`"Ryuta Kamizono2017-02-071-2/+3
* | | Merge pull request #26378 from kamipo/decouple_building_arel_ast_for_uniquene...Jeremy Daer2017-02-061-3/+43
|\ \ \
| * | | Decouple the building Arel ASTs for uniqueness validatorRyuta Kamizono2016-12-251-3/+43
* | | | Remove useless `column_alias` in `subquery_for_count`Ryuta Kamizono2017-02-061-3/+2
| |/ / |/| |
* | | Fix grammar typo about sort in finder_methods.rbKevin Huang2017-01-301-2/+2
* | | Privatize unneededly protected methods in Active RecordAkira Matsuda2017-01-051-1/+1
* | | `self.` is not needed when calling its own instance methodAkira Matsuda2017-01-053-3/+3
* | | Remove unneeded requires at active recordRafael Mendonça França2017-01-031-1/+0
* | | Raise ArgumentError when a instance of ActiveRecord::Base is passed toRafael Mendonça França2017-01-031-7/+5
* | | Mark internal cache constants as privateMatthew Draper2016-12-311-1/+4
* | | Remove deprecated `#uniq`, `#uniq!`, and `#uniq_value`Ryuta Kamizono2016-12-301-4/+0
* | | Remove deprecated support to passing arguments to `#select` when a block is p...Rafael Mendonça França2016-12-291-3/+1
* | | Remove deprecated support to query using commas on LIMITRafael Mendonça França2016-12-291-19/+2
* | | Remove deprecated support to passing a class as a value in a queryRafael Mendonça França2016-12-292-31/+0
* | | Raises IrreversibleOrderError when using last with an irreversible orderRafael Mendonça França2016-12-291-8/+0
* | | Merge pull request #26376 from kamipo/remove_polymorphic_base_class_for_arrayRafael França2016-12-291-3/+0
|\ \ \
| * | | Remove extracting `polymorphic_base_class` for `Array` in `AssociationQueryVa...Ryuta Kamizono2016-09-211-3/+0
* | | | Fix Rubocop violations and fix documentation visibilityRafael Mendonça França2016-12-281-98/+98
| |/ / |/| |
* | | Privatize unneededly protected methods in Active RecordAkira Matsuda2016-12-242-13/+11
* | | No need to nodoc private methodsAkira Matsuda2016-12-241-1/+1
* | | Describe what we are protectingAkira Matsuda2016-12-238-0/+16
* | | Translate numeric value out of range to the specific exceptionRyuta Kamizono2016-12-061-4/+4
| |/ |/|
* | Restore RecordNotFound when *_ids= can't find records by IDDominic Cleal2016-11-241-4/+4
* | Merge pull request #26981 from kamipo/should_not_except_order_for_existsRafael França2016-11-171-1/+1
|\ \
| * | Should except `:distinct` rather than `:order` for `exists?`Ryuta Kamizono2016-11-091-1/+1
* | | Call `spawn` and bang method for `none`Ryuta Kamizono2016-11-141-1/+1
|/ /
* | Avoid `unscope(:order)` when `limit_value` is presented for `count`Ryuta Kamizono2016-11-061-6/+6
* | Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
* | removes requires already present in active_support/railsXavier Noria2016-10-271-2/+0
* | let Regexp#match? be globally availableXavier Noria2016-10-272-2/+0
* | Fix regression caused due to removal of select method from CollectionAssociationPrathamesh Sonpatki2016-10-221-1/+10
* | Merge pull request #26598 from rutaka-n/raise_record_not_found_with_correct_p...Eileen M. Uchitelle2016-10-151-2/+2
|\ \
| * | initialize errors with name of class and other paramsv.promzelev2016-09-231-2/+2
| |/
* | Use attribute_names over column_namesKeenan Brock2016-10-041-6/+2
* | Fix doc format for `RecordFetchWarning` [ci skip]Ryuta Kamizono2016-09-271-3/+3
|/
* Merge pull request #26447 from kamipo/reduce_array_allocationSantiago Pastorino2016-09-191-3/+1
|\
| * Reduce array allocation when `where` with passed hashRyuta Kamizono2016-09-101-3/+1
* | Merge pull request #26446 from kamipo/rename_type_var_name_to_typeEileen M. Uchitelle2016-09-171-10/+8
|\ \
| * | Rename variable name that returning `type_for` to `type` from `column`Ryuta Kamizono2016-09-111-10/+8
| |/
* / Fix broken comments indentation caused by rubocop auto-correct [ci skip]Ryuta Kamizono2016-09-142-23/+23
|/
* Fix Remaining Case-In-Assignment Statement FormattingAlex Kitchens2016-09-061-5/+6
* Remove not used alias methodyui-knk2016-09-061-1/+0
* Fix broken heredoc indentation caused by rubocop auto-correctRyuta Kamizono2016-09-032-6/+6
* Revert "Extract `PredicateBuilder::CaseSensitiveHandler`"Sean Griffin2016-08-313-41/+10
* Override `respond_to_missing?` instead of `respond_to?` when possibleSean Griffin2016-08-311-1/+1