- 16 3月, 2010 9 次提交
-
-
由 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 10 次提交
-
-
由 José Valim 提交于
-
由 Xavier Noria 提交于
[#4166 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Caio Chassot 提交于
In app_generator, fix hardcoded `bundle` call to derive the bundle executable name from Thor::Util.ruby_command. This ensures that eg. when `rails` is called from `ruby1.9`, `bundle1.9` is called. Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Kieran Pilkington 提交于
Add a check to ensure that the application name does not already exist, i.e. String or Module are part of ruby [#3872 status:resolved] Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Denis Odorcic 提交于
Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 José Valim 提交于
-
由 Xavier Noria 提交于
keep AssociationProxy#to_a to avoid warning in Array(post.author), and delegate it to @target in association collections [#4165 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 José Valim 提交于
-
由 José Valim 提交于
This reverts commit 16846553.
-
由 José Valim 提交于
Finish cleaning up rendering stack from views and move assigns evaluation to controller (so plugins and/or controllers can overwrite just one method).
-
- 12 3月, 2010 11 次提交
-
-
由 José Valim 提交于
Allow anything that responds to render to be given as :template and use find_template instead of find in views.
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 José Valim 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Eaden McKee 提交于
[#2837 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Jeremy Kemper 提交于
Incredibly slow. Fix gem_path to not load the bundle fresh each call. This reverts commit 58796dcf.
-