[#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:67036] [ruby-trunk - Bug #10630] ERB tags nested in escaped blocks are skipped
From:
tonci.damjanic@...
Date:
2014-12-22 13:48:16 UTC
List:
ruby-core #67036
Issue #10630 has been updated by Tonči Damjanić.
OK. Who is maintaining Erubis then? Is it possible to reach them to have the bug fixed?
The Erubis repo is stale and the project seems to be deprecated by the author.
----------------------------------------
Bug #10630: ERB tags nested in escaped blocks are skipped
https://bugs.ruby-lang.org/issues/10630#change-50560
* 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/