Well, the elegant (and perhaps philosophically correct) way is to use Markaby.
In general, I try to avoid placing raw HTML into my Ruby code. If you don't
want to rewrite your HTML, you can use ERB templates. Without being redundant,
more info on how to make this work can be found here:
http://
testing. list seems to be ignoring my messages
—
Jenna
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list
See magnus's post at
http://rubyforge.org/pipermail/camping-list/2010-August/001413.html for info on
using the haml and erb support built in to Camping.
Also note that you don't need to 'render' anything. You can just set @body to
whatever string you want in your controller, or even return an
It went thru to me.
-- Matma Rex
2012/8/14 Jenna Fox :
> testing. list seems to be ignoring my messages
>
> —
> Jenna
>
>
> ___
> Camping-list mailing list
> Camping-list@rubyforge.org
> http://rubyforge.org/mailman/listinfo/camping-list
__
Good good. Seems to be working now. Mailman glitch
—
Jenna
On Tuesday, 14 August 2012 at 6:07 PM, Bartosz Dziewoński wrote:
> It went thru to me.
>
> -- Matma Rex
>
>
> 2012/8/14 Jenna Fox mailto:a...@creativepony.com)>:
> > testing. list seems to be ignoring my messages
> >
> > —
> > J
Yup, seems to be working for me.
--
Trevor Johns
http://tjohns.net
On Tuesday, August 14, 2012 at 12:59 AM, Jenna Fox wrote:
> testing. list seems to be ignoring my messages
>
> —
> Jenna
>
> ___
> Camping-list mailing list
> Camping-list@ruby
Received here.
On Tue, Aug 14, 2012 at 10:01 AM, Trevor Johns wrote:
> Yup, seems to be working for me.
>
> --
> Trevor Johns
> http://tjohns.net
>
> On Tuesday, August 14, 2012 at 12:59 AM, Jenna Fox wrote:
>
> testing. list seems to be ignoring my messages
>
> —
> Jenna
>
> __
Jenna - Trevor,
many thanks for this. It works fine but perhaps I should stick to markaby for
the example page so it would be easier to have everything in one file and new
users can learn how to use it?
Best Regards
David
On Aug 14, 2012, at 6:28 AM, Jenna Fox wrote:
> See magnus's post at
Markaby is 'canon' so to speak, if it is a camping tutorial or something like
that. It's best supported as we all depend on it, and it's a great option for
beginners (and old hats like me) as it makes cross site scripting
vulnerabilities much less common. If twitter used markaby instead of erb I
9 matches
Mail list logo