| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
retrieve_cache_key should work on objects that act like arrays.
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
assert_template matches against Regexp
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This allows for more strict template assertions,
while maintaining backward compatibility.
For example, if you use assert_template("foo/bar")
and "foo/bar/baz" was rendered, the test passes.
But if you use assert_template(%r{\Afoo/bar\Z}),
you will catch that a different template was
rendered.
Also, if you passed an unsupported argument to
assert_template() in the past, it would silently
succeed. Now it raises an ArgumentError.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
ensure u2029 is escaped in escape_javascript helper
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
deprecated clear_stale_active_connections! can call #reap
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
no-op'ing, #reap does the same thing
|
| | | | | | | |
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
fix activerecord query_method regression with offset into Fixnum
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
add test to show offset query_methods on mysql & mysql2
change test to cover public API
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
Improved ActiveSupport::Autoload Performance
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
`ActiveSupport::Autoload#autoload` performance is improved in the default
case where a path is present. Since the full path name is not generated, it
isn't necessary to determine the full constant name either. This results in a
3x performance gain and reduces the number of Ruby objects generated. For a full
benchmark check [this gist](https://gist.github.com/2020228).
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fixes #5324 by removing default size options from input:text and default cols and rows options from textarea.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
from text_area helper.
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
cols and rows options from textarea.
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
Add ability to define callbacks in ActionMailer
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
AbstractController::Callbacks.
Prior to this commit, there isn't a good way of adding things like
default inline attachments to an email. This Stack Overflow thread
shows people using hooks like the 'default' method in ActionMailer::Base
to call a Proc for message configuration:
http://stackoverflow.com/questions/5113121/rails-use-same-attachment-for-all-emails-using-layout
This has the unintended side effect of setting a message header, so it's not a good solution.
This pull request adds support for message modifications by including AbstractController:Callbacks
in ActionMailer::Base. It includes tests and documentation for the functionality
provided by including this module.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fix comments about to_partial_path
|
| | |/ / / /
| |/| | | | |
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
configure how unverified request will be handled
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
can be configured using `:with` option in `protect_from_forgery` method
or `request_forgery_protection_method` config option
possible values:
- :reset_session (default)
- :exception
new applications are generated with:
protect_from_forgery :with => :exception
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fix actionmailer tests broken by #4751a69
|
|/ / / / / / |
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
Change api_only to http_only and add MiddlewareStackProxy docs
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
[Carlos Antonio da Silva & Santiago Pastorino]
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
[Carlos Antonio da Silva & Santiago Pastorino]
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
carlosantoniodasilva/active-model-serialization-include
Active model serialization :include returning string keys
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Better syntax highlight :)
|
| | | | | | |
|
|/ / / / / |
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Use one system call whenever possible, group rake and Dir.chdir calls
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
In AR depths use &:to_i before :uniq to process mixed arrays likes ["1", 1] correct
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
correct
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Missing active_model/naming.rb dependency.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
ActiveModel::Name constructor expects to be able to call #blank? on a
String but the core Object#blank? extension is never required.
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Fix my name in the CHANGELOG to follow the convention
|
| |/ / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Also add missing entries and use the formating convention
|