<%Q error in FormHelper

78 views
Skip to first unread message

Ryan Bigg

unread,
Dec 7, 2011, 5:25:48 PM12/7/11
to rubyonra...@googlegroups.com

The <%Q lines should be <%=, I think. The %Q< lines should be %>. What's up with this?

Michael Pearson

unread,
Dec 7, 2011, 5:41:25 PM12/7/11
to rubyonra...@googlegroups.com
On Thu, Dec 8, 2011 at 9:25 AM, Ryan Bigg <radarl...@gmail.com> wrote:

The <%Q lines should be <%=, I think. The %Q< lines should be %>. What's up with this?

Did a bit of investigation on this, as I'd been wondering what amazing new ERB feature I was missing out on by not using <%Q

Can't find any mention of <%Q in docrails master, rails master, or rails 3-1-stable.

No commits on form_helper.rb have <%Q

--
Michael Pearson


Ryan Bigg

unread,
Dec 7, 2011, 5:48:30 PM12/7/11
to rubyonra...@googlegroups.com
I think it's a doc parsing error. Should be easy to fix, right? :)
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Documentation" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-do...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-docs?hl=en.

Vijay Dev

unread,
Dec 8, 2011, 1:03:57 PM12/8/11
to rubyonra...@googlegroups.com
This seems to be an rdoc issue from 3.10 onwards. Please see https://github.com/rdoc/rdoc/issues/86

Ryan Bigg

unread,
Dec 8, 2011, 7:40:22 PM12/8/11
to rubyonra...@googlegroups.com
Great, thanks for the headsup Vijay.

On Friday, 9 December 2011 at 5:03 AM, Vijay Dev wrote:

This seems to be an rdoc issue from 3.10 onwards. Please see https://github.com/rdoc/rdoc/issues/86

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Documentation" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-docs/-/zCx9QFY-JRgJ.

Vijayakumar D

unread,
Dec 16, 2011, 1:55:16 PM12/16/11
to rubyonra...@googlegroups.com
This particular issue (<%Q) is fixed in RDoc 3.12.

I've seen another issue now in RDoc 3.12 and have opened a ticket
(https://github.com/rdoc/rdoc/issues/92). The HTML end tags are
wrongly parsed as regexps and are shown up as <%rdiv> for eg. This
doesn't happen in all the pages though. Let's hope this gets fixed too
in quick time :)

Reply all
Reply to author
Forward
0 new messages