- 17 3月, 2010 7 次提交
-
-
由 Aaron Patterson 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
由 Santiago Pastorino 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Xavier Noria 提交于
[#4196 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Xavier Noria 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Aaron Patterson 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
由 Carlhuda 提交于
* The cache helper is now semantically "mark this region for caching" * As a result, <% x = cache do %> no longer works
-
由 James Golick 提交于
Switch from using String#match to using String#=~. There's no need to generate a MatchData for each iteration since we're not using it. Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 16 3月, 2010 22 次提交
-
-
由 José Valim 提交于
-
由 Santiago Pastorino 提交于
Change array entries to safe doesn't worth then the array is joined as a string losing the safe property of his entries [#4134 status:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Chris Griego 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Aaron Patterson 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
由 Aaron Patterson 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
由 José Valim 提交于
-
由 Jeremy Kemper 提交于
This reverts commit 5913dd47.
-
由 Xavier Noria 提交于
Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Carlhuda 提交于
* The approach is to compile <% %> into a method call that checks whether the value returned from a block is a String. If it is, it concats to the buffer and prints a deprecation warning. * <%= %> uses exactly the same logic to compile the template, which first checks to see whether it's compiling a block. * This should have no impact on other uses of block in templates. For instance, in <% [1,2,3].each do |i| %><%= i %><% end %>, the call to each returns an Array, not a String, so the result is not concatenated * In two cases (#capture and #cache), a String can be returned that should *never* be concatenated. We have temporarily created a String subclass called NonConcattingString which behaves (and is serialized) identically to String, but is not concatenated by the code that handles deprecated <% %> block helpers. Once we remove support for <% %> block helpers, we can remove NonConcattingString.
-
由 Jeremy Kemper 提交于
-
由 Xavier Noria 提交于
[#4182 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
- 15 3月, 2010 7 次提交
-
-
由 Aaron Patterson 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
由 Andrew White 提交于
Signed-off-by: NJoshua Peek <josh@joshpeek.com>
-
由 Jeremy Kemper 提交于
-
由 Aaron Patterson 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
由 Aaron Patterson 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
由 Santiago Pastorino 提交于
There's a Ruby issue with File.basename different versions returns different things, so we shouldn't test that
-
由 Santiago Pastorino 提交于
-
- 14 3月, 2010 3 次提交
-
-
由 José Valim 提交于
-
由 Xavier Noria 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
由 José Valim 提交于
-
- 13 3月, 2010 1 次提交
-
-
由 José Valim 提交于
-