- 20 6月, 2012 22 次提交
-
-
由 Andrey Deryabin 提交于
Fix #5990
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
* remote: move fanout back to a global variable, add a mutex for safety
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
Refactor db:structure:dump task.
-
由 Carlos Antonio da Silva 提交于
Remove extra test case.
-
由 Mike Gehard 提交于
Make the test description better reflect what is happening
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Carlos Antonio da Silva 提交于
Rename testcase name. It's wrong in the context.
-
由 kennyj 提交于
-
由 Rafael Mendonça França 提交于
Rename MySQLTestPurge to MySQLPurgeTest for consistency.
-
由 kennyj 提交于
-
由 kennyj 提交于
-
- 19 6月, 2012 18 次提交
-
-
由 Carlos Antonio da Silva 提交于
Refactor db:charset task
-
由 Simon Jefford 提交于
In a similar vein to Pat's work on create, drop etc, the db:charset task is now a one liner in databases.rake
-
由 Carlos Antonio da Silva 提交于
Added test for case when view doesn't have logger method when using ActionController::Metal controller.
-
由 José Valim 提交于
Ensure that cache-control headers are merged
-
由 Dmitry Vorotilin 提交于
Added test for case when view doesn't have logger method when using ActionController::Metal controller.
-
由 Rafael Mendonça França 提交于
Closes #6675
-
由 Rafael Mendonça França 提交于
-
由 Angelo capilleri 提交于
This happens when A has_many many B and A accepts_nested_attributes B that has a numeric colum with initial 0 value. So a.update_attributes({:b_attributes => { :id => b.id, :numeric => 'foo' }}) passes the validation test but, the value of :numeric doesn't change. his commit forces that the update fails with the above conditions. Fixes #6393 Fixes #2331
-
由 Carlos Antonio da Silva 提交于
Added `stored_attributes` hash which contains the attributes stored using ActiveRecord::Store. This allows you to retrieve the list of attributes you've defined. class User < ActiveRecord::Base store :settings, accessors: [:color, :homepage] end User.stored_attributes[:settings] # [:color, :homepage]
-
由 Carlos Antonio da Silva 提交于
-
由 Joost Baaij 提交于
This allows you to retrieve the list of attributes you've defined. Usable for e.g. selects in the view, or interators based on the attributes you wish to store in the serialized column.
-
由 Rafael Mendonça França 提交于
-
由 Carlos Antonio da Silva 提交于
The problem: Accessing a HashWithIndifferentAccess does not return the the same object that is stored in the hash (i.e. equal?) causing unexpected results: hash = HashWithIndifferentAccess.new {|h, k| h[k] = []} hash[:a] << 1 # => [1] hash[:a] # => [], expected [1] The cause: When a block is provided to generate default values the generated values are duped if they are arrays. The duped value is stored in the hash but the original value is returned when the hash is accessed. The fix: The duping is there for allowing frozen arrays containing hashes to be modified. The fix restricts the duping to this case. Note that if default function generates a frozen array an error will be raised on assignment before and after the patch. Closes #3811
-
由 Carlos Antonio da Silva 提交于
-
由 Chris Zetter 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Aaron Patterson 提交于
make events not use date and time to determine parent_of. fixes #5932
-