- 13 5月, 2014 40 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Aaron Patterson 提交于
Dup options hash to prevent modifications
-
由 Yves Senn 提交于
* by default composite types are mapped as `OID::Identity` and issue a warning * the user is advised to register his own `OID::Type` to make use of composite types Registering a new `OID::Type` does currently not allow to specify the type casting behavior when writing to the database. In order for it to work we need to use the values within `@attributes`. They are already being type casted and are ready to be written to the DB. See https://github.com/rails/rails/blob/57643c961feb24b662620d330e71103a830003e8/activerecord/lib/active_record/attribute_methods.rb#L460-L462
-
由 Yves Senn 提交于
-
由 Carlos Antonio da Silva 提交于
It's usage has been removed in 325c9d5e.
-
由 Josep Jaume Rey 提交于
`options[:default]` and `options[:raise]` can be mistakenly added to the `options` hash. This can be a problem if you're reusing the same object.
-
由 Carlos Antonio da Silva 提交于
-
由 Yves Senn 提交于
-
由 Andrew White 提交于
Fix regression on `assert_redirected_to`.
-
由 Yves Senn 提交于
Use with_translation helper to clean up I18n stored translations.
-
由 Zuhao Wan 提交于
-
由 Yves Senn 提交于
Clean up deliveries after each test.
-
由 Zuhao Wan 提交于
-
由 Yves Senn 提交于
Do not clear deliveries in setup.
-
由 Yves Senn 提交于
-
由 Zuhao Wan 提交于
-
由 Yves Senn 提交于
A minor stylistic fix and cleanup of mail deliveries.
-
由 Zuhao Wan 提交于
-
由 Arthur Neves 提交于
`assert_redirected_to` would fail if there is no controller set on a `ActionDispatch::IntegrationTest`, as _compute_redirect_to_location would be called on the controller to build the url. This regression was introduced after 1dacfbab. [fixes #14691]
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
-
由 Rafael Mendonça França 提交于
flip conditional to use if/else instead of unless/else
-
由 eileencodes 提交于
Use if/else instead of unless/else so conditional reads better.
-
由 Aaron Patterson 提交于
This reverts commit 9df60693.
-
由 Aaron Patterson 提交于
For some reason, if the hash is empty, we choose "optimized" routes. I am not sure how or why optimized routes differ from regular routes. But, if we make sure the hash is empty, we get a nice speed improvement.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-