Jump to content

Talk:ERuby

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Merge?

[edit]

I don't believe there is enough information on them to justify having three separate pages for this. When clicking over to this article, I expected a brief summary of syntax, and had to travel to the eruby page to get it, which doesn't make sense. Also, the erb page is woefully inadequate, providing no information on even where to obtain it. Anyone object to the merger? RobinHP 22:43, 3 February 2006 (UTC)[reply]

Actually, the poor grammar on all the pages is causing me to be bold. RobinHP 22:47, 3 February 2006 (UTC)[reply]

Please go ahead and be very bold. These three articles suck really hard and they need lots of info. I also support a merge.--Saoshyant talk / contribs (I don't like Wikipedophiles) 12:19, 3 November 2006 (UTC)[reply]

Not just for embedding ruby in HTML files

[edit]

Eruby can actually embed ruby in any text file, not just HTML. —Preceding unsigned comment added by 76.10.131.164 (talk) 17:17, August 29, 2007 (UTC)

What's the point?

[edit]

The sentence "It is often used to embed Ruby code in an HTML document" confuses the ends with the means. In order to "embed Ruby code in an HTML document" I could also write, e.g. "<pre> puts 'Hello world' </pre>". That gives me just that: Ruby code in an HTML document. "server-side scripting" also could mean anything. I would expect the word "templating" (or dynamically generating text documents) in the first sentence but it doesn't appear in the whole page. — Preceding unsigned comment added by 91.64.58.73 (talk) 19:03, 17 March 2021 (UTC)[reply]

[edit]

The article needs a link to the original docs for eruby, which I haven't had any luck finding. There is a man page, but it's not meant to be a complete source of documentation for eruby. There is a special syntax in eruby involving lines beginning with the % character, but I haven't been able to track down the documentation on it.--76.93.42.50 (talk) 19:14, 8 January 2008 (UTC)[reply]

That url in the infobox is not for eRuby (the templating language) but for an old implementation called eruby, and it offers little information. "% at beginning of line" seems to be an obsolete syntax. It isn't implemented in current eRuby processors (erb, erubis default). This part should be removed from the article. The sentence about the bat wings #{} should also be removed. It's inaccurate (no mention of string literals) and irrelevant (standard Ruby syntax, not eRuby-specific).--94.222.123.223 (talk) 02:18, 25 July 2010 (UTC)[reply]

When is the embedded ruby evaluated?

[edit]

I think the article should mention whether the embedded ruby is evaluated by the web server or by the client browser, when it is embedded in html. SEppley (talk) 13:12, 8 August 2012 (UTC)[reply]

[edit]

As of Special:Diff/745714534 according to Earwig's Copyvio Detector, 9.9% of this article has been copied from An Introduction to ERB Templating by Stuart Ellis. Not enough to be called a copyright violation, but it is obvious that parts of the article have been copied with most phrases changed. 80.221.159.67 (talk) 21:41, 22 October 2016 (UTC)[reply]