true, but I think Philippe is using 'rubycamping.com' as a generic
term for 'the Camping website' - DaveE
I thought we settled on whywentcamping?
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping
Very silly me. Forgot about 'Index':
- class Pages < R '/'
+ class Index
have corrected the Pastie: http://pastie.org/679826
Dave Everitt
Only one (in my setup) - on 'Wrapping it up', in the Controllers:
class Pages
needs the explicit
class Pages < R '/'
_
Okay, I think we're actually fine by setting :path => "/" by default.
If you want anything different, you should use "use
Rack::Session::Cookie" yourself.
//Magnus Holm
On Mon, Oct 19, 2009 at 19:14, Jonathan Hickford
wrote:
> Hi,
>
> I'd be inclined to agree with the middleware approach too,
Thanks for bringing this up again! I've pushed out what I have so far,
but not your latest suggestions (you had some more in an earlier mail,
right?)
If you have a Github account I can give you (and anyone else who wants
to contribute) push-access. I'm a little busy at the moment, but I'll
try to
Magnus - I did make some earlier suggestions/edits and would be happy
to implement them. I'm a sad and rather newbie (still working through
the O'Reilly Git book) GitHub lurker (with no repos yet: http://
github.com/DaveEveritt) so let me know when you're ready and I'll
start work - Dave E.
Hi all,
Instead of having the following:
def index
h1 'My Site'
p 'Welcome to my site!'
end
output this:
My SiteWelcome to my site!
Is there anyway that I can configure Markaby to add line breaks
between block elements so I'd get something like this:
My Site
Welcome to my site!
Obviousl
I think this should do it:
Camping.goes :Nuts
Nuts::Mab.set(:indent, 2)
You should probably only use it in development, because I think it's
pretty slow.
//Magnus Holm
On Mon, Nov 2, 2009 at 18:57, David Susco wrote:
> Hi all,
>
> Instead of having the following:
>
> def index
> h1 'My
Yes, it can be a bugbear.
It's a bit 'non-lazy' but I just tend to add newlines with Markaby's
'text':
def index
h1 'My Site'
text("\n\n")
p 'Welcome to my site!'
end
- DaveE
Is there anyway that I can configure Markaby to add line breaks
between block elements so I'd get something
Ace - cheers!
On Mon, Nov 2, 2009 at 3:13 PM, Magnus Holm wrote:
> Okay, I think we're actually fine by setting :path => "/" by default.
> If you want anything different, you should use "use
> Rack::Session::Cookie" yourself.
>
> //Magnus Holm
>
>
>
> On Mon, Oct 19, 2009 at 19:14, Jonathan Hick
9 matches
Mail list logo