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: 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: First time on Camping

2010-06-17 Thread Matt Zukowski
Something's not right with your rubygems install maybe try `gem update --system` first? On Tue, Jun 8, 2010 at 3:33 PM, Raimon Fernandez co...@montx.com wrote: On 8jun, 2010, at 21:18 , David Susco wrote: Is the hoe gem installed? no, the same error as before: Last login: Tue Jun 8

Re: Camping 2.0.RC0

2010-04-08 Thread Matt Zukowski
Okay everything's been moved to camping/reststop. Any future commits on my part will go there. Philippe, I believe you have access too. Thanks Magnus! On Wed, Apr 7, 2010 at 6:57 PM, Matt Zukowski m...@roughest.net wrote: Magnus, create a new one and I'll delete my copy and fork off yours

Re: Camping 2.0.RC0

2010-04-07 Thread Matt Zukowski
Hey Philippe, thanks for that. I've gone ahead and created a github repo for reststop at https://github.com/zuk/reststop Your changes have been pushed up. I've also added you as a collaborator so you can freely commit to my copy of the repo. Next step is to create a gemspec for this and push it

Re: Camping 2.0.RC0

2010-04-07 Thread Matt Zukowski
? // Magnus Holm On Wed, Apr 7, 2010 at 19:18, Matt Zukowski m...@roughest.net wrote: Hey Philippe, thanks for that. I've gone ahead and created a github repo for reststop at https://github.com/zuk/reststop Your changes have been pushed up. I've also added you as a collaborator so you can

Re: restful camping with reststop

2010-03-27 Thread Matt Zukowski
to do the authentication bit for the PUT scenarios. I hope to complete this by the end of the week-end. Philippe On 3/23/2010 1:49 PM, Matt Zukowski wrote: Alright I spent a few hours trying to see if I can make things work with 2.0. I was able to make some progress (mostly thanks to Magnus

Re: restful camping with reststop

2010-03-23 Thread Matt Zukowski
I actually have a reststop app up and running fine with Camping 2.0 (check out Taskr at http://github.com/zuk/taskr). Tthe catch is that it's a version of 2.0 that I forked about this time last year, and looking at the github graph, Magnus has committed a whole slew of changes since then. So

Re: restful camping with reststop

2010-03-23 Thread Matt Zukowski
. Let's get 2.0 out first. // Magnus Holm On Tue, Mar 23, 2010 at 16:07, Matt Zukowski m...@roughest.net wrote: I actually have a reststop app up and running fine with Camping 2.0 (check out Taskr at http://github.com/zuk/taskr). Tthe catch is that it's a version of 2.0 that I forked about

Re: restful camping with reststop

2010-03-23 Thread Matt Zukowski
is the method (in lowercase) Camping is going to run (r404 for 404 etc.) // Magnus Holm On Tue, Mar 23, 2010 at 17:01, Matt Zukowski m...@roughest.net wrote: Hey Magnus, while we have your attention, in 2.0 how do I get access to e['REQUEST_METHOD'] inside the 'service' method? Trying to figure

Re: restful camping with reststop

2010-03-23 Thread Matt Zukowski
)) // Magnus Holm On Tue, Mar 23, 2010 at 17:23, Matt Zukowski m...@roughest.net wrote: Okay got it... but as I look at this a bit more, the ridiculous things I had to do to make Reststop work (for Camping 1.0) are all coming back to me. As I recall, the root of all evil was Camping#goes. I had

Re: restful camping with reststop

2010-03-23 Thread Matt Zukowski
Sorry that link should be: http://gist.github.com/341555#file_reststop2.rb On Tue, Mar 23, 2010 at 3:49 PM, Matt Zukowski m...@roughest.net wrote: Alright I spent a few hours trying to see if I can make things work with 2.0. I was able to make some progress (mostly thanks to Magnus' help

Re: deployment

2009-06-05 Thread Matt Zukowski
Maybe have a look at http://code.google.com/p/camping-picnic/ http://code.google.com/p/camping-picnic/Among other functionality, Picnic gives you a myapp-ctl wrapper script around your camping app that takes care of starting and stopping mongrel. Writing an init.d script around the myapp-ctl