- 17 5月, 2010 2 次提交
-
-
由 Jeremy Kemper 提交于
This reverts commits af0d1a88 and 64d109e3.
-
由 wycats 提交于
* Default Encoding.default_internal to UTF-8 * Eliminated the use of file-wide magic comments to coerce code evaluated inside the file * Read templates as BINARY, use default_external or template-wide magic comments inside the Template to set the initial encoding * This means that template handlers in Ruby 1.9 will receive Strings encoded in default_internal (UTF-8 by default) * Create a better Exception for encoding issues, and use it when the template source has bytes that are not compatible with the specified encoding * Allow template handlers to opt-into handling BINARY. If they do so, they need to do some of their own manual encoding work * Added a "Configuration Gotchas" section to the intro Rails Guide instructing users to use UTF-8 for everything * Use config.encoding= in Ruby 1.8, and raise if a value that is an invalid $KCODE value is used Also: * Fixed a few tests that were assert() rather than assert_equal() and were caught by Minitest requiring a String for the message * Fixed a test where an assert_select was misformed, also caught by Minitest being more restrictive * Fixed a test where a Rack response was returning a String rather than an Enumerable
-
- 16 5月, 2010 2 次提交
-
-
由 rohit 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Jeff Kreeftmeijer 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 19 3月, 2010 2 次提交
- 18 3月, 2010 1 次提交
-
-
由 Carlhuda 提交于
Modify assert_template to use notifications. Also, remove ActionController::Base#template since it is no longer needed.
-
- 14 3月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 09 3月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 24 2月, 2010 1 次提交
-
-
由 Yehuda Katz 提交于
-
- 17 2月, 2010 2 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
-
- 27 12月, 2009 1 次提交
-
-
由 José Valim 提交于
Remove ActionView inline logging to ActiveSupport::Notifications and create ActionController::Base#log_event, so everything can be logged within one listener. Also expose log_process_action as a hook for different modules to include their own information during the action processing. This allow ActiveRecord to hook and any other ORM. Finally, this commit changes 'Processing' and 'Rendering' in logs to 'Processed' and 'Rendered' because at the point it's logged, everying already happened.
-
- 23 12月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
-
- 09 12月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
-
- 02 12月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 05 11月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 27 10月, 2009 1 次提交
-
-
由 Yehuda Katz 提交于
-
- 08 10月, 2009 1 次提交
-
-
由 Michael Koziarski 提交于
This consists of: * String#html_safe! a method to mark a string as 'safe' * ActionView::SafeBuffer a string subclass which escapes anything unsafe which is concatenated to it * Calls to String#html_safe! throughout the rails helpers * a 'raw' helper which lets you concatenate trusted HTML from non-safety-aware sources (e.g. presantized strings in the DB) * New ERB implementation based on erubis which uses a SafeBuffer instead of a String Hat tip to Django for the inspiration.
-
- 17 8月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
Cleanup route reloading in tests. Prefer with_routing over using ActionController::Routing::Routes directly
-
- 16 8月, 2009 1 次提交
-
-
由 Yehuda Katz 提交于
* only one of partial_name or :as will be available as a local * `object` is removed * Simplify _layout_for in most cases. * Remove <% render :partial do |args| %> * <% render :partial do %> still works fine
-
- 09 8月, 2009 1 次提交
-
-
由 Yehuda Katz 提交于
-
- 07 8月, 2009 3 次提交
-
-
由 José Valim 提交于
Add destroyed? to ActiveRecord, include tests for polymorphic urls for destroyed objects and refactor mime responds tests and documentation.
-
由 José Valim 提交于
-
由 Yehuda Katz 提交于
-
- 03 8月, 2009 1 次提交
-
-
由 Yehuda Katz 提交于
* Significantly simplifies setting and modifying cache control in other areas
-
- 26 6月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
-
- 18 6月, 2009 1 次提交
-
-
- 23 5月, 2009 1 次提交
-
-
- 15 5月, 2009 1 次提交
-
-
- 14 5月, 2009 1 次提交
-
-
- 13 5月, 2009 1 次提交
-
-
- 12 5月, 2009 2 次提交
-
-
- 03 5月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
Functional test runner finalizes response just like the integration test runner. In both runners, the @response object will now behave the same. Some functional tests will need to be updated if they are relying on preprocessed data on the response.
-
- 02 5月, 2009 5 次提交
-
-
-
-
Ported over the concept of public instance methods on controller child classes as callable action methods
-
-
-