Re: Philosophy

2010-08-23 Thread Bluebie
My attitude towards using camping for serious business mostly stems from being burnt by rails. I practice coding as an extension of creativity, not as a job, and rails has enormous hosting costs for someone with no income. I initially started using camping as it could run well as a CGI script

Re: Philosophy

2010-08-23 Thread Jenna Fox
http://github.com/camping/camping/wiki/Philosophy Whatcha guys think? — Jenna ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: Philosophy

2010-08-23 Thread Angel Robert Marquez
Is ruby like emo? -the littlest stooge On Mon, Aug 23, 2010 at 9:26 PM, Jenna Fox a...@creativepony.com wrote: http://github.com/camping/camping/wiki/Philosophy Whatcha guys think? — Jenna ___ Camping-list mailing list

Re: Wiki Writing Requests!

2010-08-22 Thread Dave Everitt
Hi Jenna - done (Markdown). Others can add to it now - Dave E. Heya! So I'm trying to get this new website all tied up in a nice little bunch. I'm a bit silly when it comes to git-fu though. Could one of you create a page on the camping/camping wiki called 'Contributing', and put stuff in

What is the process for publishing to campingrb.tumblr.com?

2010-08-22 Thread Philippe Monnet
In the future when we have updates/announcements related to Camping, how will we be able to publish them to the Tumblr blog? ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

FireFox fix for the camping.js file on the http://camping.rubyforge.org/api.html page

2010-08-22 Thread Philippe Monnet
The API page does not work in terms of display and section collapsing/expanding in FireFox (but works on IE and Chrome). I fixed the Javascript file by moving up the declaration of the m and s functions. Magnus, if you place the camping.js file on GitHub I will patch it for you. Otherwise I

Re: FireFox fix for the camping.js file on the http://camping.rubyforge.org/api.html page

2010-08-22 Thread Magnus Holm
http://github.com/camping/camping/blob/master/extras/rdoc/generator/template/flipbook/js/camping.js Feel free to push directly to camping/camping :-) // Magnus Holm On Sun, Aug 22, 2010 at 17:24, Philippe Monnet r...@monnet-usa.com wrote: The API page does not work in terms of display and

Re: What is the process for publishing to campingrb.tumblr.com?

2010-08-22 Thread Philippe Monnet
It would be great if you could add the various members of the Camping organization on GitHub once they create an account on Tumblr. I just created mine: techarch.tumblr.com Philippe (@techarch) On 8/22/2010 4:59 PM, Jenna Fox wrote: Create an account on tumblr.com http://tumblr.com, then

Re: What is the process for publishing to campingrb.tumblr.com?

2010-08-22 Thread Angel Robert Marquez
would you all walk me through how to create a camping esque framevork from scratch or point me in the right direction? help me creative pony, PM you're my only hope. On Sun, Aug 22, 2010 at 6:18 PM, Jenna Fox a...@creativepony.com wrote: All invited now. On 23/08/2010, at 9:43 AM, Philippe

Re: What is the process for publishing to campingrb.tumblr.com?

2010-08-22 Thread Jenna Fox
Why would you want to recreate the camping framework? It already exists. Is there some feature or change we could make which would make camping more suitable for your needs? — Jenna On 23/08/2010, at 12:17 PM, Angel Robert Marquez wrote: would you all walk me through how to create a camping

Re: Need input on proposed tweaks to www.ruby-camping.com

2010-08-21 Thread Jenna Fox
Bartosz Dziewoński wrote: Windows XP, Opera 10.61 (newest stable), 1024x768. It looks similar in Firefox 3.6 (http://imgur.com/atSts.png). Yeah. It's an artefact of Microsoft's plainly terrible type engine. I'm not sure how to fix it or even if it's possible to fix it, short of manually

Don't understand one part of the book

2010-08-21 Thread Quiliro Ordóñez
Hi Guys/Gals. I am new to the world of Camping. It looks very simple. I have two issues: - What types of applications is Camping more suitable than Rails. - The part Modeling the World in http://camping.rubyforge.org/book/02_getting_started.html is not clear for me where I have to

Re: Don't understand one part of the book

2010-08-21 Thread Aria Stewart
On Aug 21, 2010, at 11:40 AM, Quiliro Ordóñez wrote: Hi Guys/Gals. I am new to the world of Camping. It looks very simple. I have two issues: - What types of applications is Camping more suitable than Rails. Where you want something small and easy. Or you like knowing exactly what

Re: Don't understand one part of the book

2010-08-21 Thread Dave Everitt
Hi Quiliro Camping is good for what you want it to be - e.g. - create small focussed applications that can work together, - make an app that does a useful thing for yourself, - experiment and enjoy! Take a look at the wiki - it's a work in progress, but there's plenty to help explain:

Re: Don't understand one part of the book

2010-08-21 Thread Quiliro Ordóñez
Great help. Thank you all for the different angles of answers given to my question. The links are great to keep learning and the explanations give a detailed view of the tool. :-) -- Saludos/Greetings Quiliro Ordóñez 593(2)340 1517 / 593(9)821 8696 Even The Troops Are Waking Up

Wiki Writing Requests!

2010-08-21 Thread Jenna Fox
Heya! So I'm trying to get this new website all tied up in a nice little bunch. I'm a bit silly when it comes to git-fu though. Could one of you create a page on the camping/camping wiki called 'Contributing', and put stuff in it which tells people how to do that? Use Markdown or Textile.

Re: Need input on proposed tweaks to www.ruby-camping.com

2010-08-19 Thread Bartosz Dziewoński
Jenna, on whitebook.mooo.com there are links pointing to localhost:4331. Website is nice, but menu item are slightly unreadable :( -- Matma Rex ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: Need input on proposed tweaks to www.ruby-camping.com

2010-08-19 Thread Bartosz Dziewoński
2010/8/19 Jenna Fox a...@creativepony.com: Not right now? I can find no mention of this localhost:4331. I guess you caught my dev server while I was playing around and forgot to set the hostname right. It wouldn't be published like that. It's a macro-type thing to make the tumblog work

Re: Need input on proposed tweaks to www.ruby-camping.com

2010-08-18 Thread Jenna Fox
Okay. My web design is ready for prime time! You can see it up now at http://whitebook.mooo.com/ and http://campingrb.tumblr.com/ - keep in mind it's running off a home computer (called whitebook), so please don't send much traffic towards it. I've forked whywentcamping.com from the camping

Re: Need input on proposed tweaks to www.ruby-camping.com

2010-08-13 Thread Dave Everitt
Okay - we might be all running before we can walk, what with no real improvement to existing content yet. Everything I do professionally in this field starts with a solid content plan/list and a kind of strategy - there are some pretty good content suggestions in older posts. Before go

Re: Need input on proposed tweaks to www.ruby-camping.com

2010-08-13 Thread Philippe Monnet
One thing is clear: we all love Camping! Months ago after seeing other frameworks like Sinatra and Padrino garner so much attention, I realized that the one thing missing on our side was not content but a marketing-oriented site to incite other rubyists to check out and try camping. So I

Re: Need input on proposed tweaks to www.ruby-camping.com

2010-08-13 Thread Jenna Fox
I've yet to hear any compelling reason why that should be a separate 'site' on it's own domain name, over and away from everything else, rather than just a refresh of the existing camping homepage. You make some good points. We could write the homepage better. It's very dry at the moment. I'm

Re: two security questions

2010-08-12 Thread Magnus Holm
This example worked here: require 'rubygems' require 'rack/csrf' require 'camping' require 'camping/session' Camping.goes :Hello module Hello use Rack::Csrf include Camping::Session end module Hello::Controllers class Index def get

Fwd: Need input on proposed tweaks to www.ruby-camping.com

2010-08-12 Thread Philippe Monnet
Pigy made some great suggestions for the site - see http://github.com/camping/camping/issues/#issue/23 I pushed the changes to my personal staging site: http://rubycamping.monnet-usa.com/ Could you guys take a look and let me know if you like the new version better than the current draft of

Re: two security questions

2010-08-11 Thread David Susco
Ted, Do you use Camping::Session with Rack::Csrf? If so, how did you get it to work? Once I include Camping::Session the csrf_token changes every time I call the method. Can anyone explain what include Camping::Session is actually doing? Dave On Mon, Aug 9, 2010 at 12:22 PM, Ted Kimble

Re: two security questions

2010-08-11 Thread Ted Kimble
Dave, Unfortunately I've actually not yet used Rack::Csrf with Camping. In Sinatra, I just: use Rack::Session::Cookie, :secret = something use Rack::Csrf and it works fine. Looking at Camping's source for Camping::Session, it looks like it's basically doing the same

Re: two security questions

2010-08-10 Thread David Susco
Thanks, that did the trick. Got to comb through my templates now though :P. On Tue, Aug 10, 2010 at 4:01 PM, Magnus Holm judo...@gmail.com wrote: David, As far as I remember, this should work:  module App    set :haml, { :escape_html = true }  end You set options (as specified in

Re: two security questions

2010-08-10 Thread Magnus Holm
Great; sorry for the delay, but I've been here in the last days :-) http://upload.wikimedia.org/wikipedia/commons/b/bd/Preikestolen_Norge.jpg // Magnus Holm On Tue, Aug 10, 2010 at 22:50, David Susco dsu...@gmail.com wrote: Thanks, that did the trick. Got to comb through my templates now

Installing Camping on ubuntu lucid

2010-08-03 Thread Raimon Fernandez
hi, I'm moving my Camping from OS X to a Ubuntu Lucid unix machine. The camping gem has been successfully installed, but I can't access it directly from the command line. mo...@lucid:/u/apps/portablechecking$ gem list *** LOCAL GEMS *** actionmailer (2.3.8) actionpack (2.3.8) activerecord

Re: Reloading in a standard config.ru rack app (Camping 2.0)

2010-08-02 Thread David Susco
On a somewhat related note. How do people handle static content in a development environment? Is there a way to make the camping server aware of the public/ directory and serve the files within it? What about in production? Is passenger smart enough to pass requests for files in public/ back to

Re: Reloading in a standard config.ru rack app (Camping 2.0)

2010-08-02 Thread Paul van Tilburg
Hi! On Mon, Aug 02, 2010 at 09:19:25AM -0400, David Susco wrote: On a somewhat related note. How do people handle static content in a development environment? Is there a way to make the camping server aware of the public/ directory and serve the files within it? What about in production? Is

Re: Reloading in a standard config.ru rack app (Camping 2.0)

2010-08-01 Thread Magnus Holm
¡Holá Señor Gómez! First of all: *Never* use the reloader in production. It's sloow! And because config.ru is mostly used for production, the reloader isn't enabled there. Why do you want to use the reloader in config.ru instead of bin/camping by the way? If you want custom middlewares, you

www.ruby-camping.com is live

2010-08-01 Thread Philippe Monnet
The first draft of www.ruby-camping.com http://www.ruby-camping.com is live. I have also added Google, and Yahoo tracking so we can get metrics on the traffic. To accelerate indexing and boost search ranking it would be great if people could start linking to the site. The source for the

Re: Reloading in a standard config.ru rack app (Camping 2.0)

2010-08-01 Thread Omar Gómez
Worked like a charm, Thanks a lot! On Sun, Aug 1, 2010 at 7:52 AM, camping-list-requ...@rubyforge.org wrote: Message: 8 Date: Sun, 01 Aug 2010 06:51:52 -0600 From: Philippe Monnet r...@monnet-usa.com To: camping-list@rubyforge.org Subject: Re: Reloading in a standard config.ru rack app

Re: Multiple inserts in ActiveRecord

2010-08-01 Thread jeremy Ruten
I had this problem in Rails! Yes, the short circuit evaluation messes it up. So I did this: if [...@company.valid?, @user.valid?].all? # do stuff end jeremy On Sat, Jul 31, 2010 at 9:43 PM, David Susco dsu...@gmail.com wrote: That's weird, I can't test anything until Monday but

Multiple inserts in ActiveRecord

2010-07-31 Thread Magnus Holm
Hey campers, I'm wondering if any of you know a better solution to skylerrichter's problem: http://github.com/camping/camping/issues#issue/28 The basic idea is that he want to create a Company, and then the first User in that Company: @company = Company.create( :name = @input.name,

Re: Multiple inserts in ActiveRecord

2010-07-31 Thread Skyler Richter
@David Susco I figured that was the way to do it. Thats what I tried the first time but I seem to only be able to validate 1 item at a time. It only validates the company model and it ignores the @user.valid? If I rearrange my code so that the user gets saved first then only the user validates

Reloading in a standard config.ru rack app (Camping 2.0)

2010-07-31 Thread Omar Gómez
Dear Camping ninjas, I've been using Camping via bin/camping and reloading works as expected OK. What I have not been able to do is to correctly setup a Camping app with reloading support in a standard config.ru rack app. Thanks for your attention --Omar Gómez -- Follow me at: Twitter:

Re: using Tilt requires full controller reference

2010-07-26 Thread David Susco
Alright I updated camping to .405, did a pristine on Tilt (v1.0.1), removed the include X from my Base module and my controllers are still being found (no anonymous modules errors). Re: your test, I required camping/template and got this: NameError: uninitialized constant Riki::Base::Template

Re: Camping on StackOverflow

2010-07-25 Thread Magnus Holm
I've asked some of them (even though they are several months olds) and have also subscribed to the camping-tag. I'll try to automatically forward them to the camping-list :-) // Magnus Holm On Sun, Jul 25, 2010 at 12:53, Dave Everitt dever...@innotts.co.uk wrote: Camping has a new user on

Re: Camping on StackOverflow

2010-07-25 Thread Philippe Monnet
Oh, and if you have an account on SO don't forget to use your voting power to upvote or downvote! :-) On 7/25/2010 7:11 AM, Philippe Monnet wrote: I think we probably need to also keep an eye on StackOverflow since it is now one of the top tech destinations with a super high amount of

Re: Camping on StackOverflow

2010-07-25 Thread Philippe Monnet
I think we probably need to also keep an eye on StackOverflow since it is now one of the top tech destinations with a super high amount of developer traffic. I just subscribed to the Camping tag RSS feed too. Also when answering we can encourage people to join our mailing list in our comments.

Re: Camping on StackOverflow

2010-07-25 Thread Dave Everitt
There aren't enough Camping questions on SO to cherry pick :-) but getting them to use the mailing list would be good, although we'd also want to answer directly on SO - Dave E. On 25 Jul 2010, at 14:11, Philippe Monnet wrote: I think we probably need to also keep an eye on StackOverflow

Re: Wiki vs homepage

2010-07-25 Thread Philippe Monnet
Also in the spirit of SEO, maybe we just need to have multiple domain names all linking back or redirecting to ruby-camping.com. I am willing to buy and commit to ruby-camping.com so anyone else is free to buy campingrb.com or any other naming permutation they like. This way we can all have

Re: Camping on StackOverflow

2010-07-25 Thread Jenna Fox
Speaking of the mailing list: rubyforge sucks! Couldn't we have something nice, like librelist? Those hackety hack guys with their fancy mailing list put ours to shame. _why is still the admin contact of this list. :| On 26/07/2010, at 12:18 AM, Dave Everitt wrote: There aren't enough

Re: Camping on StackOverflow

2010-07-25 Thread Dave Everitt
Librelist looks great. Can it take the existing archives? How can inboard links to the existing list be forwarded? Are the killer questions - Dave E. Speaking of the mailing list: rubyforge sucks! Couldn't we have something nice, like librelist? Those hackety hack guys with their fancy

Re: Camping on StackOverflow

2010-07-25 Thread Philippe Monnet
There is an interesting comment on the Librelist site: ... All archives are accessible efficiently via rsync as maildir directories. This means you can _/host your mailing list archives on your project's site rather than directing users to Librelist/_. Librelist also provides simple archive

Re: Wiki vs homepage

2010-07-23 Thread Philippe Monnet
Ok I would really like to get the promo site going so that we have something up and running before Why Day (Aug 19th per http://whyday.org/). I propose the following: 1. I can go ahead and buy the ruby-camping.com domain - should someone also buy the .org equivalent? I think the promo site

Re: Wiki vs homepage

2010-07-23 Thread Dave Everitt
Hi Steve - I really like that idea. Of course, someone (us) is going to have to actually purchase the domain at some point :-) - Dave E I don't know if it's available or not, but why not campingrb.com rather than ruby-camping.com? Many of the other small web frameworks follow this url

Re: using Tilt requires full controller reference

2010-07-23 Thread David Susco
Hey Magnus, I patched the files and it's still the same thing. Here's the backtrace, let me know if you want browser dump as well. 127.0.0.1 - - [23/Jul/2010 11:48:39] GET /Home HTTP/1.1 500 95353 0.3607 ArgumentError: Anonymous modules have no name to be referenced by

Re: Wiki vs homepage

2010-07-23 Thread Philippe Monnet
My preference would be to have Ruby explicitly mentioned in the name and a clear easy-to-read url. This makes it a bit more SEO friendly too which is important for a promo site. IMHO suffixing with rb is not very visually attractive. On 7/23/2010 9:39 AM, Steve Klabnik wrote: I don't know if

Re: Wiki vs homepage

2010-07-23 Thread Dave Everitt
Anyone know who did this: http://camping.tumblr.com/ ? Dave E Jenna: I suggest a tumblr, because it doesn't cost anything, can have group committers, all the features we need, and it too is connected to the rich heritage of _why :) ___

Re: Wiki vs homepage

2010-07-23 Thread Dave Everitt
May not be attractive, but if it's already a ruby-related meme, worth considering - Dave E On 23 Jul 2010, at 17:38, Philippe Monnet wrote: My preference would be to have Ruby explicitly mentioned in the name and a clear easy-to-read url. This makes it a bit more SEO friendly too which is

Re: using Tilt requires full controller reference

2010-07-23 Thread David Susco
lol, at first I thought you were messing with me. X is the apps Controllers module, correct? Will I always have to do this when using Tilt? Or only until this patch makes it into a gem? Dave On Fri, Jul 23, 2010 at 3:09 PM, Magnus Holm judo...@gmail.com wrote: Wait, forget about that Tilt

Re: database filesystem duality

2010-07-20 Thread carmen
it began with camping, Matju had been using Ruby in Gridflow since ages before, so he pointed me to poignant guide and i noticed the announcement on redhanded and tried out store them in some sort of indexy thing, where we could use filesystem locks to keep from writing over eachother, and

Re: Wiki vs homepage

2010-07-19 Thread Jenna Fox
I love the idea of having Key/Value databases available to camping apps as a standard thing on the platform. They aren't the same thing as a filesystem though, and I don't think we should pretend otherwise. If we don't want to give users filesystem access, that's *fine*, even though I don't see

Re: Wiki vs homepage

2010-07-13 Thread Jenna Fox
I agree wholly on the design front, and would like to contribute cartoony doodles and simple (not Backend Web Developer simple, but Designer Simple) web designs in vaguely _why's quirky fun style, if you guys are up for that. I'm currently rather more focused on Hackety Hack's web stuff, but in

Re: Wiki vs homepage

2010-07-13 Thread Jenna Fox
Another passing thought: It'd be very much in the spirit of freeform fun little hacks if the camping website included a section of user created apps. They would need to be moderated somehow, unless someone were to set up a try-rubyish highly sandboxed environment to run them. It just seems like

Re: using reststop with tilt

2010-07-10 Thread David Susco
Got a chance to work on this this morning. First patch worked fine, no problem. The second wasn't working for me until I remembered you need to separate out a method's name as its own argument when passing it to another method. So, from my example above, you need to do this: render :_button,

Re: using reststop with tilt

2010-07-09 Thread David Susco
Arg, I new it would be something simple. Thanks. Dave On Thu, Jul 8, 2010 at 10:54 PM, Philippe Monnet r...@monnet-usa.com wrote: David, If you're using Tilt, to make partials work in ERB or HAML you would need to explicitly call render with the name of the partial. So for example, in ERB:  

Re: Wiki vs homepage

2010-07-09 Thread David Susco
I agree to the separation as well. A site that introduces camping with a simple example/tutorial and that links to a wiki (with more advanced stuff) and the mailing list is a good way to go about it. Dave On Thu, Jul 8, 2010 at 10:20 PM, Philippe Monnet r...@monnet-usa.com wrote: Yeah, I agree

Re: using reststop with tilt

2010-07-09 Thread David Susco
FYI, when not using reststop, calling render :_some_partial from a template will automatically wrap the partial in the layout. I think this is because the render method automatically wraps a view in the layout if the layout exists, rather than checking if the first character is an underscore and

Re: using reststop with tilt

2010-07-09 Thread David Susco
I do have the latest reststop gem, but the problem occurs when I'm *not* using reststop. The regular camping render method does not check for the _, where as the reststop render does. Line 166 is reststop is working, but there's no equivalent logic (that I can see) in camping render. I've tried

Re: using reststop with tilt

2010-07-09 Thread Philippe Monnet
Yes I think the first patch makes sense to filter out partials from the process of applying the layout. For the second patch now I get why Dave's parameters were not being used. So now your change would send *a . Cool. Dave do you want to try that out? And then Magnus can go ahead and apply it

Re: using reststop with tilt

2010-07-09 Thread David Susco
Thanks Magnus, those changes make sense to me. I can test them out no problem, just not until Monday. I'll send out another e-mail then. Thanks, Dave On Fri, Jul 9, 2010 at 5:30 PM, Philippe Monnet r...@monnet-usa.com wrote: Yes I think the first patch makes sense to filter out partials from

API documentation good enough?

2010-07-08 Thread Magnus Holm
As you might know, I'm not using Camping on a regular basis, so I'm just wondering if the API documentation (http://camping.rubyforge.org/api.html) is good enough? If not, is it something we can improve by simply updating camping-unbridged.rb? If not, do we rather want something like this?

Wiki vs homepage

2010-07-08 Thread Magnus Holm
Hey guys, Philippe had some interesting points about the website: 1. Keep the home page simple with all content fitting within 1280 x 1024 2. Use a catchy design (need some help here) 3. Accentuate that Camping is about Ruby (maybe also include the ruby logo somewhere) 4. Have a brief note about

Re: using reststop with tilt

2010-07-08 Thread David Susco
Thanks Philippe, it's working great. Has anyone gotten partials to work with Tilt? Dave On Wed, Jul 7, 2010 at 9:58 PM, Philippe Monnet r...@monnet-usa.com wrote: I fixed the issue in the basic_render method. At the time I worked on RESTstop I had done the minimum needed to make it work with

Re: Wiki vs homepage

2010-07-08 Thread Philippe Monnet
Yeah, I agree that it makes sense to have two sites, one to promote Camping and one to serve as the official reference. And a wiki would be very convenient for that. On 7/8/2010 1:55 PM, Magnus Holm wrote: Hey guys, Philippe had some interesting points about the website: 1. Keep the home

Re: API documentation good enough?

2010-07-08 Thread Philippe Monnet
I think the api doc is pretty decent (I have read it many times) and I like the fact that it is easy to keep up-to-date based on the camping-unabridged.rb file. Also the book is a nice way to get started with Camping. We could then add more books based on more advanced topics like for

Re: using reststop with tilt

2010-07-07 Thread Philippe Monnet
I fixed the issue in the basic_render method. At the time I worked on RESTstop I had done the minimum needed to make it work with the new version of Camping. And when Tilt support was added I did not fully retrofit the code to make it work with Tilt templates. Problem corrected! Thanks David

Re: using reststop with tilt

2010-07-06 Thread David Susco
Still fooling around with this, no luck yet. Found some other things though. It seems I need to fully qualify controllers as arguments for URL and R methods when using Tilt (this is irrespective of whether I'm using reststop or not). Is there anything I can do to get around this? Also, is there

Re: using reststop with tilt

2010-07-06 Thread Philippe Monnet
Hi David, I will look into this (probably this week-end though) - as I actually did not try Tilt at the same time as RESTstop. On 7/6/2010 7:45 AM, David Susco wrote: Still fooling around with this, no luck yet. Found some other things though. It seems I need to fully qualify controllers as

Re: Camping 2.1 and whywentcamping.com

2010-07-05 Thread Dave Everitt
Still busy, so just a brief comment... Philippe: I think this is a lot of fun - the slideshow is the kind of minimal introduction that really works. Better as inspiration than as a working website, so perhaps a combination of these graphics with the 'classic plain green' style at

Re: Camping 2.1 and whywentcamping.com

2010-07-04 Thread Philippe Monnet
Just for fun and to keep creative juives flowing I mocked up one idea of layout including a resizable look and a slideshow to showcase key points about Camping. That slideshow is using straight HTML and Javascript. See http://rubycamping.monnet-usa.com/ On 6/30/2010 8:21 AM, Philippe Monnet

Re: Camping 2.1 and whywentcamping.com

2010-07-04 Thread Bartosz Dziewoński
2010/7/4 Philippe Monnet r...@monnet-usa.com: Just for fun and to keep creative juives flowing I mocked up one idea of layout including a resizable look and a slideshow to showcase key points about Camping. That slideshow is using straight HTML and Javascript. See

Re: Camping 2.1 and whywentcamping.com

2010-07-01 Thread Dave Everitt
On 30 Jun 2010, at 13:57, Philippe Monnet wrote: Who would be interested in working together on the site? [briefly] I would. Busy today, will process latest emails and respond later :-) A great new step for Camping all round, though! Dave E ___

Camping 2.1 and whywentcamping.com

2010-06-30 Thread Magnus Holm
Hey campers! I think it's about time to release Camping 2.1, which features: * Support for other template engines (Haml, ERB, etc) out of the box * No longer depends on ActiveRecord (this was a bug) * Camping.options is now a Hash where you can put all sorts of configuration stuff *

Access to github.com/camping

2010-06-30 Thread Magnus Holm
Hey, I've converted the camping account into an organization (see http://github.com/blog/674-introducing-organizations), which means that it's a lot easier to manage it. There's currently two teams at the moment: Owners: These have full admin access (can create repos etc.) - Magnus - Philippe

Re: Camping 2.1 and whywentcamping.com

2010-06-30 Thread Sean Busbey
kylekyle and I have planned to use http://thelittlewheels.com/ as a showcase for camping stuff. probably even more confusing to new people than whywentcamping On Wed, Jun 30, 2010 at 13:57, Philippe Monnet r...@monnet-usa.com wrote: Thanks Magnus! I love the idea of working on the web site for

Re: Camping 2.1 and whywentcamping.com

2010-06-30 Thread Magnus Holm
Awesome domain name! And as long as you include the image, it probably makes sense for new people too. You know, the password to the camping github account was actually littlewheels :-) // Magnus Holm On Wed, Jun 30, 2010 at 15:03, Sean Busbey s...@manvsbeard.com wrote: kylekyle and I have

using reststop with tilt

2010-06-30 Thread David Susco
I'm trying to use the new Tilt integration with reststop. All the aliases and whatnot under Implementing your own service (http://wiki.github.com/camping/reststop/) are there and :views has been set in the options hash. I tried creating sub-directories in the views directory (html, HTML) but I

versioning alternatives

2010-06-29 Thread David Susco
Has anyone had any experience with vestal_versions, has_versioning, or another similar gem with camping? I'm currently fooling around with vestal_versions ( :P ) trying to figure out how to create the version table. Apparently this is handled via a script/db migration in Rails, and without

Re: versioning alternatives

2010-06-29 Thread Magnus Holm
This seems to be the migration that vestal_versions generates: http://github.com/laserlemon/vestal_versions/blob/master/generators/vestal_versions/templates/migration.rb. I assume you can just copy that into your app (just replace ActiveRecord::Migration with V 1.1). // Magnus Holm On Tue, Jun

Re: Relations on Camping

2010-06-25 Thread Matt Zukowski
you need to add `has_many :people` to your Group class On 2010-06-25 4:03 AM, Raimon Fernandez co...@montx.com wrote: Hi, it's me again ... :-) I have one table called people and another one called groups. Each person from people belongs to ONE group. module List::Models class Person

Re: Relations on Camping

2010-06-25 Thread Raimon Fernandez
yes, you're right !! I've been caight by the pre-pend table name in the field name ... :-) thanks, r. On 25jun, 2010, at 13:33 , Philippe Monnet wrote: Raimon, I suspect that your relationship column (foreign key) should actually be called group_id not list_group_id like in:

Re: Updated version of RESTstop and RESTr plus bonus blog post

2010-06-23 Thread Dave Everitt
Added to the Github Camping wiki (with your growing number of links...) - guides these are really useful! - Dave Everitt I also ended up writing a blog post on how to implement REST services with RESTstop. See http://bit.ly/tareststop ___

Re: Updated version of RESTstop and RESTr plus bonus blog post

2010-06-23 Thread Matt Zukowski
P.S. really nice write up. I think you know more about Reststop now than I do :) On Wed, Jun 23, 2010 at 9:27 AM, Matt Zukowski m...@roughest.net wrote: Awesome! Nice to see restr getting used. I always thought it was a better solution than rest-client, but I guess I'm biased :) On Wed, Jun

Re: Speed issue

2010-06-22 Thread Raimon Fernandez
Hi Magnus, On 21jun, 2010, at 21:40 , Magnus Holm wrote: Yep, The reloader (located in camping/reloader.rb) watches a file and then reloads the server whenever the file changes. It's what makes it possible to just run `camping app.rb` and always have the latest version served. if I

Re: Speed issue

2010-06-21 Thread Raimon Fernandez
On 20jun, 2010, at 23:38 , Raimon Fernandez wrote: On 18jun, 2010, at 15:34 , Magnus Holm wrote: Oh, and I also have the speed issue! That's definitely a bug. I'll have a look at it later... I'm making some progress with Camping and well, it's impressive, really :-) Wich

Re: Speed issue

2010-06-21 Thread Magnus Holm
Okay, I was just wondering since if you run the app with the thin command, you won't get the reloader. So apparently the issue exists only with the reloader+Mongrel... On Monday, June 21, 2010, Raimon Fernandez co...@montx.com wrote: On 21jun, 2010, at 12:56 , Magnus Holm wrote: What if you

Re: Speed issue

2010-06-20 Thread Raimon Fernandez
On 18jun, 2010, at 15:34 , Magnus Holm wrote: Oh, and I also have the speed issue! That's definitely a bug. I'll have a look at it later... I'm making some progress with Camping and well, it's impressive, really :-) Wich version can I use that has not the bug for speed issue ? I would

Re: First time on Camping

2010-06-19 Thread Raimon Fernandez
Hi all, On 18jun, 2010, at 17:51 , Magnus Holm wrote: This shouldn't be a problem, because that's the way to add non-ASCII characters to XML documents. A proper XML parser should handle it... But in this case, it's an ASCII á, well, the extended ASCII, and all .xml files that I've created

Re: First time on Camping

2010-06-19 Thread Magnus Holm
I think the problem is that Builder don't know that you're using UTF-8, so it's just doing the safest thing and just escapes everything. But this shouldn't really be a problem, since the parser should handle it and treat every #225; as á. // Magnus Holm On Sat, Jun 19, 2010 at 15:53, Raimon

Re: First time on Camping

2010-06-18 Thread Raimon Fernandez
Hi Magnus, On 17jun, 2010, at 21:04 , Magnus Holm wrote: Hey Raimon, I see that you've been experimenting with Camping and Reststop lately, and just thought I should chime in a bit. You definitely don't *need* Reststop in order to achieve what you want, so it might be a good idea to

Re: First time on Camping

2010-06-18 Thread Dave Everitt
Rubygems.org was playing up recently (gems.rubyforge.org forwards to it - see previous posts), and this looks like the same issue... Dave E. Something's not right with your rubygems install maybe try `gem update --system` first? ___

Re: First time on Camping

2010-06-18 Thread Raimon Fernandez
On 17jun, 2010, at 21:04 , Magnus Holm wrote: That's (hopefully) the simplest way to generate XML with Camping. You still need to create a model to store/retrieve the data. Before we can help you here, we need to know a few things: Is it going to fetch data from a specific place, or

Re: First time on Camping

2010-06-18 Thread Magnus Holm
Yeah, people always get a little confused because you don't need to define your database when you're using bin/camping (it has a default SQLite database at ~/.camping.db). I also see that there's some old, database code here; we definitely need to update our documentation (yes, I'm working on

Re: First time on Camping

2010-06-18 Thread Raimon Fernandez
buf, now I'm lost ... :-)) no, really, thanks for that info, now I have working as I want ... :-) I've tested and created a new databse, and is working also. I've created a new sqlite3 from terminal and filled-up with some data and now I can use this databse from Camping, cool! And, caping

Re: First time on Camping

2010-06-18 Thread Dave Everitt
Raimon a few things you probably already know but... just in case! 1. because of the preceding '.' in '.camping.db' you'll need to use ls - al to see the file listed (in the ~ home dir) in your file system. 2. In Magnus' example settings (database = list) you can also add a path to your

<    2   3   4   5   6   7   8   9   10   11   >