Re: Using #rubycamping in Twitter posts

2009-11-02 Thread Dave Everitt
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

Re: Camping book

2009-11-02 Thread Dave Everitt
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 '/' _

Re: Camping sessions issue (and fix?) when mounting multiple apps

2009-11-02 Thread Magnus Holm
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,

Re: Camping book

2009-11-02 Thread Magnus Holm
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

Re: Camping book

2009-11-02 Thread Dave Everitt
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.

is there a way to configure line breaks in markaby output?

2009-11-02 Thread David Susco
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

Re: is there a way to configure line breaks in markaby output?

2009-11-02 Thread Magnus Holm
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

Re: is there a way to configure line breaks in markaby output?

2009-11-02 Thread Dave Everitt
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

Re: Camping sessions issue (and fix?) when mounting multiple apps

2009-11-02 Thread Jonathan Hickford
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