forked from rails/rails
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '3-0-stable' into 3-0-9
* 3-0-stable: Add support for using an ARCONFIG environment variable to specify the location of the config.yml file for running the tests Define ActiveSupport#to_param as to_str - closes rails#1663 Revert "Make sure that we don't perform in-place mutation on SafeBuffer string" Make sure that we don't perform in-place mutation on SafeBuffer string Update CHANGELOG to mention the json_escape change Ensure number helpers can handle HTML safe strings - closes rails#1597. ensuring that json_escape returns html safe strings when passed an html safe string Fix issue rails#1598 by adding a dependency to the RDoc gem. Make sure `escape_javascript` return `SafeBuffer` if the incoming argument is already html_safe Conflicts: actionpack/CHANGELOG
- Loading branch information
Showing
8 changed files
with
53 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,6 +102,10 @@ def to_s | |
self | ||
end | ||
|
||
def to_param | ||
to_str | ||
end | ||
|
||
def to_yaml(*args) | ||
to_str.to_yaml(*args) | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters