- 09 7月, 2015 8 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
We should leverage the request / response objects that the superclass has already allocated for us.
-
由 Kasper Timm Hansen 提交于
Support explicit defintion of resource name for collection caching.
-
由 Kasper Timm Hansen 提交于
Add method call assertions for internal use.
-
由 Kasper Timm Hansen 提交于
Add `assert_called` and `assert_not_called` to boil down the boilerplate we need to write to assert methods are called certain number of times.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
There is no reason to "recycle" response objects when we can just allocate a new one.
-
- 08 7月, 2015 12 次提交
-
-
由 Yves Senn 提交于
[ci skip] Add `bundle exec` to Running a Single Test
-
由 yui-knk 提交于
-
由 Rafael Mendonça França 提交于
marking serialization class in Readme
-
由 Rafael Mendonça França 提交于
Adding brackets to array in docs
-
由 Julio Lopez 提交于
-
由 Julio Lopez 提交于
-
由 Aaron Patterson 提交于
Variants are typically set in the controller based on some attribute of the request that the browser sent. We should make our tests more in line with reality by doing the same and not mutating the request object.
-
由 eileencodes 提交于
we should be pushing the cookies in via headers rather than maintaining some object and "recycling" it.
-
由 eileencodes 提交于
-
由 Dov Murik 提交于
If a template includes `# Template Collection: ...` anywhere in its source, that name will be used as the cache name for the partial that is rendered for the collection. This allows users to enable collection caching even if the template doesn't start with `<% cache ... do %>`. Moreover, the `# Template Collection: ...` notation is recognized in all template types (and template types other than ERB can define a resource_cache_call_pattern method to allow the `cache ... do` pattern to be recognized too).
-
由 Kasper Timm Hansen 提交于
This reverts commit f2a8c236, reversing changes made to 3046c9bb.
-
由 Rafael Mendonça França 提交于
When preload is used in a default scope the preload_values were returning nested arrays and causing the preloader to fail because it doesn't know how to deal with nested arrays. So before calling preload! we need to splat the arguments. This is not needed to includes because it flatten its arguments.
-
- 07 7月, 2015 6 次提交
-
-
由 Yves Senn 提交于
[ci skip] Closes #20792. Custom validation methods are implemented in terms of callbacks. The `validate` callback chain can't be halted using return values of individual callbacks.
-
由 Robin Dupret 提交于
Update CHANGELOG.md [ci skip]
-
由 Dmitry Zudochkin 提交于
-
由 Yves Senn 提交于
Test proving that accepts_nested_attributes_for is secure against ID tampering attacks
-
由 Victor Costan 提交于
-
- 06 7月, 2015 11 次提交
-
-
由 Arthur Nogueira Neves 提交于
Allow filtering params based on parent keys
-
由 Robin Dupret 提交于
Add to Security guides the secrets.yml [ci skip]
-
由 Robin Dupret 提交于
Add to RDoc of OrderedOptions the bang info [ci skip]
-
由 Mauro George 提交于
[ci skip]
-
由 Mauro George 提交于
[ci skip]
-
由 Yves Senn 提交于
remove unnecessary loading fixtures from `navigation_test.rb`
-
由 Kasper Timm Hansen 提交于
ActionMailer::MessageDelivery respects current I18n.locale
-
由 Matthew Draper 提交于
Fix the random caching test failure. (Take two)
-
由 Johannes Opper 提交于
When #deliver_now is called all translations within the generated email will be looked up for the current I18n locale. I18n.locale = ‘de’ mail.deliver_now # Generates german email, correct In #enqueue_delivery the locale was not considered and the resulting job uses the default locale. I18n.locale = ‘de’ mail.deliver_later # Generate english email, incorrect In order to achieve a consistent behaviour the current locale is now always passed to `ActionMailer::DeliveryJob`.
-
由 Eileen M. Uchitelle 提交于
Display a more human readable list of reserved names
-
由 eileencodes 提交于
This change decouples `cookie_jar` allocation from the request object. We need this for moving controller tests to integration tests so we can access the `cookie_jar` object separately.
-
- 05 7月, 2015 3 次提交
-
-
由 Kasper Timm Hansen 提交于
-
由 Kasper Timm Hansen 提交于
Improve error message when serializing unsaved records for jobs, Fixes #19861
-
由 Kasper Timm Hansen 提交于
-