1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/action_view
José Mota ee82ce7829 Capture block so content won't leak.
The [following pull request](https://github.com/rails/rails/pull/8916) fixed
the block being passed to the appropriate helper method. However, the content
being passed into the block is generating repeated markup on the page due to
some weird ERb evaluation.

This commit tries to capture the block's generated output so the page isn't
flooded with markup.

[Rafael França + José Mota]

Closes #8936
2013-01-21 22:02:02 -02:00
..
helpers Capture block so content won't leak. 2013-01-21 22:02:02 -02:00
locale Moving NumberHelpers from ActionView to ActiveSupport 2012-05-27 18:14:21 -07:00
renderer Do not generate local vars for partials without object or collection 2013-01-08 09:15:20 -02:00
template These are already required through AS/rails 2013-01-06 23:57:25 +09:00
testing Remove trailing white-spaces 2011-06-05 10:34:40 -05:00
vendor unshift html-scanner into $LOAD_PATH rather than append 2012-11-27 19:32:30 +09:00
base.rb s/ERb/ERB/ 2013-01-02 06:52:15 +09:00
buffers.rb deprecate String#encoding_aware? and remove its usage 2011-12-24 15:57:54 +03:00
context.rb add second t to overwritten 2012-07-12 11:21:09 -05:00
digestor.rb view_cache_dependency API 2013-01-08 11:20:47 -07:00
flows.rb alias_method added 2012-01-23 21:16:24 +05:30
helpers.rb Revert benchmark helper regression. Use a #capture within a #benchmark 2013-01-14 10:24:43 -07:00
log_subscriber.rb Optimize log subscribers to check if the log level is sufficient before performing an operations. 2012-09-30 09:47:24 -07:00
lookup_context.rb Replace some global Hash usages with the new thread safe cache. 2012-12-14 12:18:47 +01:00
model_naming.rb Add ActionView::ModelNaming 2012-08-28 10:51:03 +02:00
path_set.rb delegate PathSet's enumerator methods 2012-11-09 12:09:50 +03:00
railtie.rb nodoc AD & AV railties classes 2012-12-01 13:12:41 -05:00
record_identifier.rb Change docs to use update instead of update_attributes 2013-01-03 12:03:34 -05:00
routing_url_for.rb Hash Syntax to 1.9 related changes 2012-10-29 13:10:53 +02:00
template.rb These are already required through AS/rails 2013-01-06 23:57:25 +09:00
test_case.rb Inherit from MiniTest::Unit::TestCase instead of MiniTest::Spec 2012-12-31 13:57:23 -03:00