- 18 5月, 2012 2 次提交
-
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
- 11 5月, 2012 1 次提交
-
-
由 Andrew White 提交于
-
- 05 5月, 2012 1 次提交
-
-
由 Marcelo Silveira 提交于
-
- 03 5月, 2012 2 次提交
-
-
由 Marcelo Silveira 提交于
-
由 Marcelo Silveira 提交于
default order clause (fixes #5103)
-
- 27 4月, 2012 7 次提交
-
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
- 26 4月, 2012 2 次提交
-
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
- 14 4月, 2012 1 次提交
-
-
由 Jon Leighton 提交于
-
- 12 3月, 2012 2 次提交
-
-
由 Andrew White 提交于
-
由 Denis Jean 提交于
add test to show offset query_methods on mysql & mysql2 change test to cover public API
-
- 27 1月, 2012 1 次提交
-
-
由 Paul McMahon 提交于
Under Rails 3.1, you were allowed to pass a hash to a find_or_create method with multiple attribute names, but this was broken as the arguments were being improperly validated.
-
- 17 1月, 2012 2 次提交
-
-
由 Jon Leighton 提交于
See the CHANGELOG for details. Fixes #950.
-
由 Jon Leighton 提交于
This reverts commit c99d507f.
-
- 29 12月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 30 11月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
-
- 15 11月, 2011 2 次提交
-
-
由 Ryan Naughton 提交于
Fixes issue #3483, regarding using a mixture of ranges and discrete values in find conditions. Paired with Joey Schoblaska.
-
由 Gabriel Sobrinho 提交于
-
- 09 11月, 2011 1 次提交
-
-
由 Akira Matsuda 提交于
-
- 07 9月, 2011 1 次提交
-
-
由 Yasuo Honda 提交于
-
- 05 9月, 2011 2 次提交
-
-
由 Damien Mathieu 提交于
-
由 Damien Mathieu 提交于
-
- 11 8月, 2011 1 次提交
-
-
由 Andrew Kaspick 提交于
-
- 18 7月, 2011 1 次提交
-
-
由 Prem Sichanugrist 提交于
The previous behavior was unintentional, and some people was relying on it. Now the dynamic finder will always expecting the number of arguments to be equal or greater (so you can still pass the options to it.) So if you were doing this and expecting the second argument to be nil: User.find_by_username_and_group("sikachu") You'll now get `ArgumentError: wrong number of arguments (1 for 2).` You'll then have to do this: User.find_by_username_and_group("sikachu", nil)
-
- 09 7月, 2011 2 次提交
-
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
having raises NoMethodError: undefined method `empty?' when a Fixnum or Date/Time were passed via varargs
-
- 07 6月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 05 6月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases.
-
- 09 5月, 2011 1 次提交
-
-
由 Nick Howard 提交于
if a query contains a limit or an offset, ActiveRecord::FinderMethods#find_last had inconsistent behavior. If the records were loaded, it returned the last record in the cached list. If they were not, it reversed the order of the query and changed the limit to one. If the earlier limit was less than the total matching the query in the db, it would return a different record than if the records had been cached. This commit changes find_last so that it loads the records when getting the last record on a query containing a limit or an offset, which makes the behavior consistent.
-
- 30 4月, 2011 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 gmile 提交于
value on a selected field.
-
- 15 4月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Return nil from read_attribute(:foo) if 'foo' is not present in the @attributes hash, but the _foo method has been defined. This brings the behaviour into line with the 3-0-stable branch and the master branch before 93641ed6 (there were previously no assertions about this which is why the change slipped through). Note that actually calling the 'foo' method will still raise an error if the attribute is not present.
-
- 30 3月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-