- 14 8月, 2011 1 次提交
-
-
由 Brian Cardarella 提交于
-
- 03 7月, 2011 2 次提交
-
-
由 Vijay Dev 提交于
-
由 Damien Mathieu 提交于
-
- 22 6月, 2011 1 次提交
-
-
由 Damien Mathieu 提交于
-
- 17 6月, 2011 2 次提交
-
-
由 José Valim 提交于
-
由 José Valim 提交于
-
- 12 6月, 2011 1 次提交
-
-
由 Andrew White 提交于
-
- 10 6月, 2011 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 08 6月, 2011 2 次提交
-
-
由 Sebastian Martinez 提交于
-
由 Michael Koziarski 提交于
Also make sure that the versions of those methods which modify a string in place such as gsub! can't be called on safe buffers at all. Conflicts: activesupport/test/safe_buffer_test.rb
-
- 08 5月, 2011 1 次提交
-
-
由 José Valim 提交于
Several AP tests fail after this change. This reverts commit aaf01cd5, reversing changes made to 9cc18c52.
-
- 14 4月, 2011 2 次提交
-
-
由 Philipp Kempgen (Amooma) 提交于
-
由 Philipp Kempgen (Amooma) 提交于
-
- 03 4月, 2011 1 次提交
-
-
由 Akira Matsuda 提交于
The author of ERB sais, his eRuby implementation was originally named "ERb/ERbLight" and then renamed to "ERB" when started bundled as a Ruby standard lib. http://www2a.biglobe.ne.jp/~seki/ruby/erb.html
-
- 05 3月, 2011 1 次提交
-
-
由 R.T. Lechow 提交于
-
- 04 3月, 2011 1 次提交
-
-
由 R.T. Lechow 提交于
-
- 10 2月, 2011 5 次提交
-
-
由 Josh Kalderimis 提交于
Removed Array#safe_join in AS core_ext and moved it to a view helper with the same same. This also changes how safe_join works, if items or the separator are not html_safe they are html_escape'd, a html_safe string is always returned. Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 José Valim 提交于
Applied the wrong version. This reverts commit 98c0c5db.
-
由 Josh Kalderimis 提交于
-
由 Josh Kalderimis 提交于
Corrected the html_safe implementation for Array. Moved the html safe version of join to its own method (safe_join) as not to degrade the performance of join for unrelated html_safe use. [#6298 state:resolved]
-
由 Paul Hieromnimon 提交于
-
- 29 1月, 2011 2 次提交
-
-
由 Aaron Patterson 提交于
-
由 brainopia 提交于
-
- 20 11月, 2010 1 次提交
-
-
由 Xavier Noria 提交于
* Examples running with the text are preferred over separate Example sections. * No need to call puts, in # => we show the return value, not STDOUT. * Say explicitly that double quotes are removed. * Specify that we are talking \uXXX, rather than, say, HTML entities.
-
- 08 11月, 2010 2 次提交
-
-
由 Michael Koziarski 提交于
Conflicts: actionpack/lib/action_view/template/handlers/erb.rb
-
由 Jan Maurits Faber 提交于
<%== x %> is syntactic sugar for <%= raw(x) %> Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#5918 status:committed]
-
- 18 10月, 2010 1 次提交
-
-
由 Xavier Noria 提交于
-
- 17 10月, 2010 1 次提交
-
-
由 Neeraj Singh 提交于
-
- 06 4月, 2010 1 次提交
-
-
由 Xavier Noria 提交于
moves Object#singleton_class to Kernel#singleton_class to match Ruby also there, same for #class_eval to simplify, and adds coverage for class_eval
-
- 18 3月, 2010 1 次提交
-
-
由 snusnu 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 17 3月, 2010 1 次提交
-
-
由 wycats 提交于
-
- 16 3月, 2010 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 12 3月, 2010 3 次提交
-
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
- 06 2月, 2010 1 次提交
-
-
由 Santiago Pastorino 提交于
[#3848 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 01 2月, 2010 1 次提交
-
-
由 Yehuda Katz 提交于
For performance reasons, you can no longer call html_safe! on Strings. Instead, all Strings are always not html_safe?. Instead, you can get a SafeBuffer from a String by calling #html_safe, which will SafeBuffer.new(self). * Additionally, instead of doing concat("</form>".html_safe), you can do safe_concat("</form>"), which will skip both the flag set, and the flag check. * For the first pass, I converted virtually all #html_safe!s to #html_safe, and the tests pass. A further optimization would be to try to use #safe_concat as much as possible, reducing the performance impact if we know up front that a String is safe.
-
- 26 12月, 2009 1 次提交
-
-
由 José Valim 提交于
String#<< should work for any object which responds to :to_str, so enable this without the performance hit and make Fixnum safe by default.
-
- 25 12月, 2009 2 次提交
-
-
由 Yehuda Katz 提交于
-
由 Yehuda Katz 提交于
Instead of marking raw text in templates as safe, and then putting them through String#<< which checks if the String is safe, use safe_concat, which uses the original (internal) String#<< and leaves the safe flag as is. Results in a significant performance improvement.
-