- 09 5月, 2011 10 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 Jon Leighton 提交于
-
由 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.
-
由 Jon Leighton 提交于
Ensure that ORDER BY clauses from default scopes are not included in calculation queries. Fixes #406.
-
由 José Valim 提交于
Adds examples in code for ordinalizing negative numbers
-
由 Vijay Dev 提交于
-
由 Jon Leighton 提交于
-
由 Christopher Meiklejohn 提交于
-
由 Aaron Patterson 提交于
Fix for Lighthouse ticket # 6334 : to_xml should render valid xml or raise an error all the time
-
- 08 5月, 2011 29 次提交
-
-
由 José Valim 提交于
Renamed mass-assignment scopes to roles
-
由 Josh Kalderimis 提交于
-
由 José Valim 提交于
Better use #remove_possible_method here
-
由 Sebastian Martinez 提交于
-
由 prakashmurthy 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
indifferent access should recurse Hash subclasses
-
由 David Lee 提交于
This commit makes Hash subclasses convert to HWIA by default for nested objects of subclasses of Hash, but allows certain subclasses to prevent nested conversion by introducing Hash#nested_under_indifferent_access that subclasses can overwrite. ActiveSupport::OrderedHash is one such subclass that overwrites +nested_under_indifferent_access+, since implicitly converting it to HWIA would remove the ordering of keys and values in Ruby 1.8. This change is necessary because commit ce9456ec broke nested indifferent access conversion for all subclasses of Hash.
-
由 José Valim 提交于
-
由 José Valim 提交于
Accept single prefix in ActionView::MissingTemplate#initialize
-
由 José Valim 提交于
Logs should show overridden method; Issue 426
-
由 José Valim 提交于
-
由 José Valim 提交于
Add alias `r` for rails runner
-
由 Jordi Romero 提交于
-
由 Burke Libbey 提交于
-
由 Santiago Pastorino 提交于
Rename duplicate tests
-
由 Mike Gehard 提交于
Rename duplicate tests. There is now one failing test that was failing before the rename but was never getting run.
-
由 Aaron Patterson 提交于
Namespace Fixtures in ActiveRecord
-
由 Jason Noble 提交于
-
由 José Valim 提交于
Several AP tests fail after this change. This reverts commit aaf01cd5, reversing changes made to 9cc18c52.
-
由 José Valim 提交于
-
由 mathieuravaux 提交于
`lookup_context#formats=` being too restrictive, "Accept: text/javascript, */*" resulted in [:js, "*/*"] formats instead of [:js, :html]. Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 José Valim 提交于
-
由 Jason Noble 提交于
[Fixes #439]
-
由 Aaron Patterson 提交于
ordinalize negative numbers patch
-
由 Jason 提交于
Applied patch by Amir Manji https://github.com/rails/rails/issues/437#issuecomment-1116045Signed-off-by: NJason <jasonmichaelroth@gmail.com>
-
由 Xavier Noria 提交于
Update README template to include info about app/assets
-
由 Vijay Dev 提交于
-
由 José Valim 提交于
Updated changelog for jdbc* adapters template.
-
- 07 5月, 2011 1 次提交
-
-
由 Arun Agrawal 提交于
-