- 17 8月, 2014 1 次提交
-
-
由 Jeremy Kemper 提交于
New default: the template digest is automatically included in your ETags. When you call `fresh_when @post`, the digest for `posts/show.html.erb` is mixed in so future changes to the HTML will blow HTTP caches for you. This makes it easy to HTTP-cache many more of your actions. If you render a different template, you can now pass the `:template` option to include its digest instead: fresh_when @post, template: 'widgets/show' Pass `template: false` to skip the lookup. To turn this off entirely, set: config.action_controller.etag_with_template_digest = false
-
- 15 8月, 2014 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 14 8月, 2014 14 次提交
-
-
由 Yves Senn 提交于
The error was moved outside of the `ClassMethods` module.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
this will help us to encapsulate magical symbols so hopefully we can eliminate hardcoded magic symbols
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
now we don't have to have a hard coded key
-
由 Aaron Patterson 提交于
avoid hash lookups and remove depency on the instance
-
由 Aaron Patterson 提交于
we don't need to repeat if statements
-
由 Aaron Patterson 提交于
now we only have to look up @scope[:scope_level] once per call to canonical_action? and we don't have a variable named "flag"
-
由 Aaron Patterson 提交于
since we pass `as` down, then we won't have to do an insert / delete dance with the options hash
-
由 Aaron Patterson 提交于
-
由 Guo Xiang Tan 提交于
The test was not failing for `assert_template file: nil` when a file has been rendered.
-
- 13 8月, 2014 1 次提交
-
-
由 Aditya Kapoor 提交于
-
- 12 8月, 2014 1 次提交
-
-
由 Akshay Vishnoi 提交于
-
- 09 8月, 2014 3 次提交
-
-
由 Guo Xiang Tan 提交于
This follows the good practice listed on http://guides.rubyonrails.org/debugging_rails_applications.html#impact-of-logs-on-performance.
-
由 Santiago Pastorino 提交于
This reverts commit 70597762, reversing changes made to dde91e9b. IT BROKE THE BUILD!!!
-
由 Łukasz Strzałkowski 提交于
You can now configure custom digest for cookies in the same way as `serializer`: config.action_dispatch.cookies_digest = \SHA256'
-
- 08 8月, 2014 1 次提交
-
-
由 Ryan Dao 提交于
Provide the ability to extract the source code of the entire exception stack trace, not just the frame raising the error. This improves debugging capability of the error page, especially for framework-related errors.
-
- 07 8月, 2014 2 次提交
-
-
由 Guo Xiang Tan 提交于
The latest modification to the code was done in https://github.com/rails/rails/commit/5e3517ea. In Rails 3.2, `ActionController#rescue_action` was deprecated and `rescue_action_without_handler` is no longer being used.
-
由 Aaron Patterson 提交于
-
- 05 8月, 2014 1 次提交
-
-
由 Aaron Patterson 提交于
we know that this call only wants the path returned, so lets call a method that returns the path.
-
- 04 8月, 2014 2 次提交
-
-
由 Santiago Pastorino 提交于
Fixed broken test. Thanks Stephen Richards for reporting.
-
由 Jack Danger Canty 提交于
Previously the generated parser had an intermediate local variable `result` that really useful if you're building up a stateful object but Journey always discards the result argument to the reduce functions. This produces a simpler parser for anybody who actually wants to read the thing. Sadly, there's no real performance speedup with this change.
-
- 02 8月, 2014 3 次提交
-
-
由 Vijay Dev 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
this allows us to avoid nil checks on the return value
-
- 01 8月, 2014 9 次提交
-
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
there's no reason to to_sym the string if it doesn't match the regexp anyway
-
由 Aaron Patterson 提交于
hash lookup should be faster than searching an array.
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
These methods mutate the path variable/argument so there is no need to reassign it every time.
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
- 31 7月, 2014 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-