Re: setting up the SQLite database

2012-05-20 Thread Philippe Monnet
I personally always use a config/database.yml file as I like to keep the configuration out of the code. Plus it makes it easier to switch between development and production configuration. E.g. for Heroku: dbconfig = YAML.load(File.read('config/database.yml')) # On Heroku the

Re: http_referrer

2012-04-16 Thread Philippe Monnet
I think Nokan has a good point there: it is not easy for people new to Camping to know about the trick to compile/process/compact the source code. So an idea for the new version could be to leave the source as is (unabridged). Plus this makes debugging easier. :-) On 4/16/2012 2:59 PM, Bartosz

Serving static files within a single app

2012-04-15 Thread Philippe Monnet
[First of all I am breaking off the topic about serving static files from the Camping's URL mapping system thread as it is becoming too hard to follow multiple topics] One solution I have been using for a while is based on the following post (back in 2007): Serving static files in Camping,

Re: camping paid examples + screencasts ?

2012-03-28 Thread Philippe Monnet
I think it would be fun too. Love meta stuff. In general I think the more tutorials / screencasts / posts / sites on Camping, the merrier. On 3/28/2012 12:40 AM, Dave Everitt wrote: I actually meant a website to do with camping (the outdoor pastime) done in camping.. Planning locations, to do

Re: Camping Server: automatically serve static files from public/

2011-12-19 Thread Philippe Monnet
Plus people familiar with - or switching from ;-) - Rails and other frameworks would also feel at home. On 12/19/2011 3:46 PM, Jenna Fox wrote: Mmm that's true. Lets stick with that. --- Jenna Fox On Tuesday, 20 December 2011 at 9:37 AM, Magnus Holm wrote: On Mon, Dec 19, 2011 at 23:26,

Re: Markaby license issue

2011-12-18 Thread Philippe Monnet
Rumble seems like a good start. So what else would need to be done? On 12/18/2011 1:27 AM, Magnus Holm wrote: On Sun, Dec 18, 2011 at 02:47, Steve Klabnikst...@steveklabnik.com wrote: A wild project appears: http://krainboltgreene.github.com/dapper-dan/ Some problems: * It doesn't support

Did not know you could provide a list of urls in a controller route declaration

2011-02-04 Thread Philippe Monnet
I just discovered today that I could specify multiple routes in a controller declaration: class Welcome R '/welcome', '/WelcomeEveryone' end What other features am I missing out on? ;-) @techarch ___ Camping-list mailing list

Re: [ANN] ABingo (A/B Testing framework) plugin for Camping

2010-12-15 Thread Philippe Monnet
I posted part II of the series, detailing the steps to add ABingo to a test Camping app - http://blog.monnet-usa.com/?p=330 GitHub and RubyGems have been updated with a couple changes too. There is also a very basic example at http://camping-abingo.heroku.com/ On 12/2/2010 5:34 PM, Philippe

[ANN] ABingo (A/B Testing framework) plugin for Camping

2010-12-02 Thread Philippe Monnet
After becoming interested in Patrick McKenzie's ABingo A/B testing framework for Rails I decided to adapt it for Camping after getting his blessing. The plugin can be found on GitHub at: https://github.com/techarch/camping-abingo The camping-abingo gem is on RubyGems. The doc is at:

Re: Philosophy

2010-08-23 Thread Philippe Monnet
I am not sure I can even try to get close to the philosophy as I consider myself still a newcomer to Camping. So I am missing a lot of the background on Camping (even though I have read quite a few materials, books, posts, videos, etc. about _why's contributions. For me, I love Camping

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: What is the process for publishing to campingrb.tumblr.com?

2010-08-22 Thread Philippe Monnet
AM, Philippe Monnet wrote: 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 mailto:Camping-list@rubyforge.org http

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

2010-08-13 Thread Philippe Monnet
Subject:Re: Wiki vs homepage Date: Thu, 08 Jul 2010 20:20:04 -0600 From: Philippe Monnet r...@monnet-usa.com Reply-To: camping-list@rubyforge.org To: camping-list@rubyforge.org Yeah, I agree that it makes sense to have two sites, one to promote Camping and one to serve

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

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: 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

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: Wiki vs homepage

2010-07-25 Thread Philippe Monnet
our cake and eat it too! Any objections at this point on me moving forward? On 7/23/2010 12:19 PM, Dave Everitt wrote: 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

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 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: using reststop with tilt

2010-07-09 Thread Philippe Monnet
with Tilt templates. Problem corrected! Thanks David for helping us make the implementation more robust. I have also published a new 0.5.3 version of the gem. Philippe (@techarch) On 7/6/2010 10:07 PM, Philippe Monnet wrote: Hi David, I will look into this (probably this week-end though) - as I actually

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
for helping us make the implementation more robust. I have also published a new 0.5.3 version of the gem. Philippe (@techarch) On 7/6/2010 10:07 PM, Philippe Monnet wrote: 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

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-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: Where I can find Reststop-based blog.rb?

2010-06-09 Thread Philippe Monnet
Hi Raimon, I did a quick test this morning and it looks like some change in Camping after version 2.0 impacted RESTstop. By reverting to camping-2.0 I was able to run the blog example. I will need to investigate what the issue is. Also I realized that a couple things need to be done: a)

Re: Where I can find Reststop-based blog.rb?

2010-06-09 Thread Philippe Monnet
... let me know if there's anything I can do to help with the reststop gem push (gemcutter/rubyforge access?) On 2010-06-09 8:17 AM, Philippe Monnet r...@monnet-usa.com mailto:r...@monnet-usa.com wrote: Hi Raimon, I did a quick test this morning and it looks like some change in Camping after

Re: Where I can find Reststop-based blog.rb?

2010-06-09 Thread Philippe Monnet
changes and tested them with an updated version of blog.rb. Philippe On 6/9/2010 7:09 AM, Philippe Monnet wrote: Hi Raimon, I did a quick test this morning and it looks like some change in Camping after version 2.0 impacted RESTstop. By reverting to camping-2.0 I was able to run the blog

Re: Where I can find Reststop-based blog.rb?

2010-06-09 Thread Philippe Monnet
wrote: Hi Philippe, On 9jun, 2010, at 15:09 , Philippe Monnet wrote: Hi Raimon, I did a quick test this morning and it looks like some change in Camping after version 2.0 impacted RESTstop. By reverting to camping-2.0 I was able to run the blog example. I will need to investigate what

Re: First time and first error

2010-06-08 Thread Philippe Monnet
Hi Raimon, Sounds like maybe you don't have Rack. Do you have the following gem installed? - rack (1.1.0) - markaby (0.5) [will not work with a higher version] - activerecord (any version) - activesupport (any version) If not gem install them and let us know. Philippe On 6/8/2010 4:25

camping-oauth is now available

2010-06-07 Thread Philippe Monnet
I finally put together the final touches on the first version of the camping-oauth gem. It allows you to make a Camping web app into an OAuth provider. It leverages ruby-oauth and the oauth-plugin. An example of a use case is a web service built with Camping (using json/xml with/without REST).

filtering_camping is now available as a gem

2010-05-31 Thread Philippe Monnet
To make it easy for people to use the CampingFilters module available on GitHub (http://github.com/judofyr/filtering_camping), I have created and published a corresponding gem with Magnus' approval. You can find it at: http://rubygems.org/gems/filtering_camping

Published a blog post on how to use MongoDB with Camping

2010-05-13 Thread Philippe Monnet
If you are interested in trying out MongoDB from a Camping perspective: http://bit.ly/a8jdzq I am curious about other folks using MongoDB too. - Philippe (@techarch) ___ Camping-list mailing list Camping-list@rubyforge.org

Re: Proposal for optional compilation and caching of Tilt templates

2010-05-09 Thread Philippe Monnet
to force caching (or force not-caching) in your app, you simply set :dynamic_templates, true/false. And if you don't, it compiles if you i.e. run it through a configuration.ru http://configuration.ru, but is dynamic with bin/camping. Best of both worlds? On May 9, 2010 12:43 AM, Philippe Monnet r

Proposal for optional compilation and caching of Tilt templates

2010-05-08 Thread Philippe Monnet
I gave Magnus' excellent integration of Tilt a whirl today and really love it. It's also cool because you can match different types of templates at the same time (e.g. Markaby + HAML). I found that while prototyping it would be nice to not have Camping compile and cache Tilt templates. So I

Re: Changing render semantics?

2010-05-01 Thread Philippe Monnet
Got a chance today to verify all my apps and I am not using the multiple argument for of render. So go for it Magnus! :-) On 4/24/2010 4:39 PM, Magnus Holm wrote: I'm trying to integrate Tilt (for providing Haml etc. support), but are having some problems supporting both the previous `render`

Should we incorporate a filtering mechanism in controllers?

2010-04-18 Thread Philippe Monnet
Last year I discovered filtering_camping http://github.com/judofyr/filtering_camping and I have been using it in my apps. As I am working on a OAuth Camping plugin (adapted from the OAuth Rails plugin), I was thinking of using filtering_camping. And that lead to the following questions? 1.

Re: Camping 2.1: Rackification

2010-04-12 Thread Philippe Monnet
#1 seems to make sense. I personally tend to use rackup anyway. #2 seems ok. #3 agreed with the dangerous override - how about http_method_missing instead? On 4/12/2010 8:32 AM, Magnus Holm wrote: Rackification - http://github.com/camping/camping/issues#issue/3 I want to make Camping even

Re: Camping 2.1: Tilt integration

2010-04-12 Thread Philippe Monnet
Tilt seems pretty cool based on quick glance at the site. This would give people a few more well-known options. On 4/12/2010 8:37 AM, Magnus Holm wrote: Tilt - http://github.com/camping/camping/issues#issue/18 Tilt integration (http://github.com/rtomayko/tilt) is a dead-simple way to support

Re: [ANN] Camping 2.0 - miniature rails for stay-at-home moms AND dads :-)

2010-04-09 Thread Philippe Monnet
Yippee! [cling cheers cling skål* *cling santé cling] Thanks Magnus for all the hard work bringing Camping to 2.0. _why must be proud! Philippe On 4/9/2010 8:47 AM, Magnus Holm wrote: require uri;require rack;class Object;def meta_def m,b;(classself;self end).send:define_method,m,b end

Re: Camping 2.0.RC0

2010-04-08 Thread Philippe Monnet
I just finished spot-testing my main web app (mySkillsMap) locally on 2.0 and things are looking good. So it sounds like we're going to be a go for 2.0! :-) On 4/7/2010 7:02 AM, Philippe Monnet wrote: Successfully tested the updated RESTstop restful blog too. Started to test my own app

Re: Camping 2.0.RC0

2010-04-07 Thread Philippe Monnet
I tested 2 new apps I wrote to test OAuth so far with success. I sill have to test my main web app and the recent RESTstop blog app I had updated. On Sat, Apr 3, 2010 at 4:23 PM, Magnus Holmjudo...@gmail.com wrote: Ladies and gentlemen: gem install camping --prerelease (Look, no

Re: Camping 2.0.RC0

2010-04-07 Thread Philippe Monnet
Successfully tested the updated RESTstop restful blog too. Started to test my own app (mySkillsMap.com) locally but will need to continue tonight. On 4/7/2010 5:33 AM, Philippe Monnet wrote: I tested 2 new apps I wrote to test OAuth so far with success. I sill have to test my main web app

Re: Camping 2.0.RC0

2010-04-07 Thread Philippe Monnet
for this and push it up to gemcutter/rubyforge. Matt. On Wed, Apr 7, 2010 at 9:02 AM, Philippe Monnetr...@monnet-usa.com wrote: Successfully tested the updated RESTstop restful blog too. Started to test my own app (mySkillsMap.com) locally but will need to continue tonight. On 4/7/2010 5:33 AM, Philippe

Re: What now?

2010-03-24 Thread Philippe Monnet
apps could do a gem install camping --pre and make sure everything works. If everything seems fine we can release it :) // Magnus Holm On Tue, Mar 23, 2010 at 04:16, Philippe Monnet r...@monnet-usa.com mailto:r...@monnet-usa.com wrote: I like the idea of the site being built on Camping

Re: What now?

2010-03-22 Thread Philippe Monnet
I like the idea of the site being built on Camping and combining mini-apps and static content all integrated with jQuery for example. I am currently running two Camping 2.0 apps on Heroku and they work great. Hosting on Heroku would be also be convenient because of the ability to add Git

Re: restful camping with reststop

2010-03-22 Thread Philippe Monnet
Hi David, I had played with RESTstop on the old Camping maybe six months ago. I have now started to take a look at what the issues are about. So far I have found a few things like: In reststop.rb: - the service method needs to retrieve the REQUEST_METHOD using @env['REQUEST_METHOD'] -the

Re: What now?

2010-03-21 Thread Philippe Monnet
I was wondering how we can help with next steps? I keep seeing all the attention going to the Sinatra framework (and Rails of course) and would love to help more with promoting Camping. It would be great if one of our web designer / Camping friend could help create a catchy visual for the

Re: Are there existing sitemap generators for Camping?

2010-03-13 Thread Philippe Monnet
the controllers you want to expose on the sitemap (since you may not want to expose all controllers): def self.sitemap_candidates [ :Test1, :Test2 ] end Have fun. Philippe On 3/8/2010 9:36 PM, Philippe Monnet wrote: When searching I have found a few Rails-specific sitemap generators

New blog post on NewRelic performance and monitoring instrumentation for Camping apps

2010-03-10 Thread Philippe Monnet
For those of you who are interested in implementing NewRelic http://www.newrelic.com/ performance management on your Ruby Camping site, I recently posted a blog post explaining how to do that. See http://blog.monnet-usa.com/?p=223. It relies on a NewRelic instrumentation plugin I wrote and that

Are there existing sitemap generators for Camping?

2010-03-08 Thread Philippe Monnet
When searching I have found a few Rails-specific sitemap generators but I was wondering if anyone new of a Camping-specific implementation? Philippe (techarch) ___ Camping-list mailing list Camping-list@rubyforge.org

Created a small instrumentation NewRelic plugin for Camping controllers

2009-12-30 Thread Philippe Monnet
After a bit over a day of both looking at the way NewRelic implemented their plugin for Rack and Sinatra, as well as digging deep in the core Camping code of the service and M methods, I managed to get something working. See

Edited some metadata for the Camping topic on Freebase

2009-12-19 Thread Philippe Monnet
I use Freebase in one of my web apps and I noticed that the Camping topic needed a bit of love to keep things accurate. I just made the edits at: http://www.freebase.com/edit/topic/guid/9202a8c04000641f84731038 ___ Camping-list mailing list

Re: Camping on Wikipedia

2009-11-05 Thread Philippe Monnet
I also added the link to the Ruby On Rails podcast episode on Camping. Dave Everitt wrote: Hi all I found the Camping page on Wikipedia in need of some serious TLC, so I updated it, added some newer links and removed the 'stub' status:

Re: What now?

2009-10-18 Thread Philippe Monnet
I like the idea of updating the rubyforge site, but having a main site to publicize Camping would be a nice addition and would have the benefit of being easier for people to find or remember (especially if they are new to Ruby). I really like: * rubycamping.com *