[#66678] [ruby-trunk - Feature #10481] Add "if" and "unless" clauses to rescue statements — alex@...
Issue #10481 has been updated by Alex Boyd.
3 messages
2014/12/04
[#66762] Re: [ruby-changes:36667] normal:r48748 (trunk): struct: avoid all O(n) behavior on access — Tanaka Akira <akr@...>
2014-12-10 0:44 GMT+09:00 normal <ko1@atdot.net>:
3 messages
2014/12/10
[#66851] [ruby-trunk - Feature #10585] struct: speedup struct.attr = v for first 10 attributes and struct[:attr] for big structs — funny.falcon@...
Issue #10585 has been updated by Yura Sokolov.
3 messages
2014/12/15
[#67126] Ruby 2.2.0 Released — "NARUSE, Yui" <naruse@...>
We are pleased to announce the release of Ruby 2.2.0.
8 messages
2014/12/25
[#67128] Re: Ruby 2.2.0 Released
— Rodrigo Rosenfeld Rosas <rr.rosas@...>
2014/12/25
I can't install it in any of our Ubuntu servers using rbenv:
[#67129] Re: Ruby 2.2.0 Released
— SHIBATA Hiroshi <shibata.hiroshi@...>
2014/12/25
> I can't install it in any of our Ubuntu servers using rbenv:
[ruby-core:67035] [ruby-trunk - Bug #10630] [Third Party's Issue] ERB tags nested in escaped blocks are skipped
From:
nobu@...
Date:
2014-12-22 11:47:41 UTC
List:
ruby-core #67035
Issue #10630 has been updated by Nobuyoshi Nakada.
Status changed from Open to Third Party's Issue
Erubis is not a part of ruby repository.
We can do nothing for it.
----------------------------------------
Bug #10630: ERB tags nested in escaped blocks are skipped
https://bugs.ruby-lang.org/issues/10630#change-50559
* Author: Tonči Damjanić
* Status: Third Party's Issue
* Priority: Normal
* Assignee: ruby-core
* Category: lib/rubygems
* Target version: next minor
* ruby -v: 2.1.5
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
Hello,
First of all, is this a good place to report Erubis bugs? Their GitHub repo is stale (no action since 2011) and I was suggested by the Rails team to try here.
GitHub ticket: https://github.com/kwatch/erubis/issues/6
Repro example: https://github.com/rails/rails/issues/18098#issuecomment-67667400
---------------------
It seems that ERB (Erubis) doesn't handle well tags embedded within another tag. My goal is to produce ERB code with some values prefilled in the first pass.
Input ERB code:
```
<div>
<%%= Results: <%= 'first' %> | <%= 'second' %> | <%= 'third' %> %>
</div>
```
Produces the following output:
```
<div>
<%= Results: <%= 'first' %> | second | third %>
</div>
```
Expected output is:
```
<div>
<%= Results: first | second | third %>
</div>
```
The first nested ERB tag is skipped. The same happens when there is just one block nested.
This is reproducible in Rails v4.1.8, which is using Erubis v2.7.0.
--
https://bugs.ruby-lang.org/