- 05 9月, 2011 1 次提交
-
-
由 Damien Mathieu 提交于
-
- 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.
-
- 20 7月, 2011 1 次提交
-
-
由 Vijay Dev 提交于
-
- 19 7月, 2011 1 次提交
-
-
由 Elliot Winkler 提交于
-
- 23 6月, 2011 1 次提交
-
-
由 Jon Guymon 提交于
-
- 25 5月, 2011 1 次提交
-
-
由 Jeremy Friesen 提交于
Addresses an inconsistency in the ActiveRecord::Base.method_missing handling of dynamic finder methods and the passing of the &block parameter for :find_by_attributes.
-
- 24 5月, 2011 1 次提交
-
-
由 Sebastian Martinez 提交于
-
- 21 5月, 2011 1 次提交
-
-
由 Andrew White 提交于
-
- 20 5月, 2011 1 次提交
-
-
由 Guillermo Iguaran 提交于
-
- 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.
-
- 26 4月, 2011 1 次提交
-
-
由 Josh Kalderimis 提交于
deprecated the use of the guard_protected_attributes argument with attributes= in AR in favor of assign_attributes(attrs, :without_protection => true)
-
- 22 4月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 14 4月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 12 4月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 04 4月, 2011 1 次提交
-
-
由 Emilio Tagua 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 29 3月, 2011 1 次提交
-
-
由 Andrew White 提交于
-
- 26 3月, 2011 3 次提交
-
-
由 Xavier Noria 提交于
-
由 Pratik Naik 提交于
-
由 Josh Susser 提交于
-
- 25 3月, 2011 1 次提交
-
-
由 Josh Susser 提交于
-
- 01 3月, 2011 1 次提交
-
-
由 Jon Leighton 提交于
Move JoinDependency and friends from ActiveRecord::Associations::ClassMethods to just ActiveRecord::Associations
-
- 04 2月, 2011 1 次提交
-
-
由 Gabriel Horner 提交于
-
- 09 1月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 08 1月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 04 1月, 2011 2 次提交
-
-
由 Raimonds Simanovskis 提交于
Previous version (after commit 3103296a) was generating wrong SQL for Oracle when calling exists? method on HABTM association.
-
由 Jon Leighton 提交于
ActiveRecord::Relation#primary_key should return a string, just like ActiveRecord::Base.primary_key does.
-
- 16 12月, 2010 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 15 12月, 2010 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 08 12月, 2010 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 04 12月, 2010 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 01 12月, 2010 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 25 11月, 2010 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 13 11月, 2010 1 次提交
-
-
由 Franck Verrot 提交于
-
- 06 11月, 2010 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 Santiago Pastorino 提交于
Fixes queries using limits and punctuation in order, removes order("col1, col2") usage in favor of order(["col1", "col2"}) [#4597 state:committed]
-
- 27 10月, 2010 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 13 10月, 2010 2 次提交
-
-
由 Jon Leighton 提交于
-
由 Aaron Patterson 提交于
-
- 06 10月, 2010 1 次提交
-
-
由 Jon Leighton 提交于
Refactoring JoinDependency and friends. This improves the code (IMO) including adding some explanatory comments, but more importantly structures it in such a way as to allow a JoinAssociation to produce an arbitrary number of actual joins, which will be necessary for nested has many through support. Also added 3 tests covering functionality which existed but was not previously covered.
-