- 06 9月, 2012 1 次提交
-
-
由 Ian Lesperance 提交于
-
- 03 8月, 2012 1 次提交
-
-
由 Xavier Noria 提交于
-
- 26 6月, 2012 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
Fix build issue with postgresql.
-
- 24 6月, 2012 1 次提交
-
-
由 Ernie Miller 提交于
Execute_grouped_calculation is one of those places where ActiveRecord forgets that it has ARel underpinnings, and assumes that the values provided to group_values are strings. This artificially hobbles otherwise functional code. This patch stops assuming that incoming values respond to to_sym, stops using string interpolation for table aliases on objects that support aliasing, and stops unnecessarily joining group_values on the relation. Additionally, it calls to_sql, if available, on objects sent to column_alias_for, in order to get a more reasonable alias string than a non-string's default to_str method.
-
- 22 6月, 2012 3 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
Ensure it works with mix of symbols and strings, and with a select clause possibly containing more than one column. Also remove support for pluck with an array of columns, in favor of passing the list of attributes: Model.pluck(:a, :b) See comments: https://github.com/rails/rails/pull/6500#issuecomment-6030292
-
由 jeroeningen 提交于
-
- 20 6月, 2012 2 次提交
-
-
由 Rafael Mendonça França 提交于
Also use if/else block to not use short circuit return
-
由 Andrey Deryabin 提交于
Fix #5990
-
- 31 5月, 2012 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
Thanks @splattael.
-
- 29 5月, 2012 2 次提交
-
-
由 Carlos Antonio da Silva 提交于
Add Changelog entry. Closes #4003
-
由 chrisfinne 提交于
-
- 27 5月, 2012 1 次提交
-
-
由 Mark Rushakoff 提交于
-
- 24 5月, 2012 1 次提交
-
- 20 5月, 2012 1 次提交
-
-
由 Henrik Hodne 提交于
For future reference, this is the regex I used: ^\s*#\s*\n(?!\s*#). Replace with the first match, and voilà! Note that the regex matches a little bit too much, so you probably want to `git add -i .` and go through every single diff to check if it actually should be changed.
-
- 17 5月, 2012 3 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
an alias is provided. Without the alias, the column cannot be found and properly typecast.
-
由 Erich Menge 提交于
-
- 16 5月, 2012 2 次提交
-
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
- 01 5月, 2012 2 次提交
-
-
由 Ben Pickles 提交于
-
由 twinturbo 提交于
-
- 14 4月, 2012 1 次提交
-
-
由 Jon Leighton 提交于
-
- 13 4月, 2012 1 次提交
-
-
由 Jon Leighton 提交于
-
- 27 3月, 2012 1 次提交
-
-
由 Juanjo Bazán 提交于
(and changed the use of true for a more database agnostic example).
-
- 28 2月, 2012 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 10 2月, 2012 2 次提交
-
-
由 Raghunadh 提交于
-
由 Aaron Patterson 提交于
-
- 08 2月, 2012 1 次提交
-
-
由 Bogdan Gusiev 提交于
-
- 31 1月, 2012 1 次提交
-
-
由 Xavier Noria 提交于
Character classes are the specific regexp construct to express alternation of individual characters.
-
- 23 12月, 2011 2 次提交
-
-
由 Jon Leighton 提交于
Delete unnecessary line that was necessary before I changed the code and it became no longer necessary.
-
由 Jon Leighton 提交于
-
- 30 11月, 2011 1 次提交
-
-
由 Bogdan Gusiev 提交于
-
- 14 8月, 2011 1 次提交
-
-
由 Dmitriy Kiriyenko 提交于
-
- 09 8月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Make it the responsibility of the connection to hold onto an ARel visitor for generating SQL. This improves the code architecture generally, and solves some problems with marshalling. Adapter authors please take note: you now need to define an Adapter.visitor_for method, but it degrades gracefully with a deprecation warning for now.
-
- 27 7月, 2011 1 次提交
-
-
由 Dmitriy Kiriyenko 提交于
-
- 05 7月, 2011 1 次提交
-
-
由 Bogdan Gusiev 提交于
In order make Relation behavior closer to Array Made Relation#sum to accept block and delegate it to Array#sum
-
- 24 6月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 01 6月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Ensure that calculations properly override the select value even if it's set in the default scope. Fixes #1395.
-
- 24 5月, 2011 1 次提交
-
-
由 Sebastian Martinez 提交于
-