- 17 2月, 2011 6 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Steven Fenigstein 提交于
removed an unnecessary second query when passing an ActiveRecord::Relation to a where clause. And added ability to use subselects in where clauses.
-
由 Timothy N. Tsvetkov 提交于
Fixed issue #6363, avoid to pluralized already pluralized names and singularize a single in generators, for example stadia is a valid plural for stadium. But calling pluralize for stadia will return stadias which sematically is not corrent in this case [#6363 state:committed] Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
由 Dan Pickett 提交于
[#6363] Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
- 16 2月, 2011 8 次提交
-
-
由 Ben Orenstein 提交于
[#6437 state:committed] Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Joel Nimety 提交于
GcTime incorrectly checks GC.respond_to?(:total_time), it should check GC::Profiler.respond_to?(:total_time) [#6435 state:committed] Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
由 Timothy N. Tsvetkov 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
- 15 2月, 2011 12 次提交
-
-
由 Ken Mazaika 提交于
ActiveResource validation tests did not test ActiveModel validations. Adjust the test to be done the Rails3 way. Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
由 Sergii Boiko 提交于
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
* fixtures: remove unused methods extract database activity out of Fixtures instances extract rows that should be inserted to a method fixtures will return a list of tables that may be effected, delete existing fixtures will delete those tables
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
* jonleighton/association_fixes: Add a transaction wrapper in add_to_target. This means that #build will now also use a transaction. IMO this is reasonable given that the before_add and after_add callbacks might do anything, and this great consistency allows us to abstract out the duplicate code from #build and #create. Inline ensure_owner_is_persisted! as it is only called from one place @target should always be an array Rename add_record_to_target_with_callbacks to add_to_target Don't pass the block through build_record Move create and create! next to build Get rid of create_record as it is not only used in one place Get rid of AssociationCollection#save_record Fix test/cases/connection_pool_test.rb for sqlite3 in-memory db Add interpolation of association conditions back in, in the form of proc { ... } rather than instance_eval-ing strings
-
由 Aaron Patterson 提交于
fixtures will return a list of tables that may be effected, delete existing fixtures will delete those tables
-
由 Aaron Patterson 提交于
-
- 14 2月, 2011 14 次提交
-
-
由 Andrew White 提交于
[#6389 state:resolved]
-
由 Andrew White 提交于
[#6416 state:resolved]
-
由 Jon Leighton 提交于
Add a transaction wrapper in add_to_target. This means that #build will now also use a transaction. IMO this is reasonable given that the before_add and after_add callbacks might do anything, and this great consistency allows us to abstract out the duplicate code from #build and #create.
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
Add interpolation of association conditions back in, in the form of proc { ... } rather than instance_eval-ing strings
-
由 Andrew White 提交于
-
由 Andrew White 提交于
-