What is the Best Way to Install Camping in 2011?

2011-08-30 Thread John Beppu
Let's say I have a pristine Unixy system in front of me. (In my case, it's a new OS X 10.7 installation and I put MacPorts on there.) What is the simplest way to get an up-to-date Camping installation? (I've been out of the Ruby loop for a while.) ___

Re: Help with Controllers

2011-08-29 Thread John Beppu
On Mon, Aug 29, 2011 at 8:47 PM, Anonymous Waffles theonetruewaff...@gmail.com wrote: Hello guys, I'm new to the Ruby, and especially to Camping. I've been having some difficulty because there aren't that many tutorials about Camping compared to other larger frameworks. I've been building

Re: Feature: Inline templates?

2011-08-26 Thread John Beppu
I was fine with Markaby. On Thu, Aug 25, 2011 at 11:04 AM, Magnus Holm judo...@gmail.com wrote: Another feature! Inline templates: module App::Controllers get '/' do @title = My Perfect App render :index end end __END__ @@ index.erb Welcome to %= @title %

Re: Feature: Simple controllers?

2011-08-25 Thread John Beppu
If I wanted that notation, I'd just use Sinatra. ;) Like Bartosz, I like having named controllers so that I can pass them to R() when generating links. On Thu, Aug 25, 2011 at 10:20 AM, Magnus Holm judo...@gmail.com wrote: I just pushed a new feature to Camping: Simple controllers. module

Re: Feature: Simple controllers?

2011-08-25 Thread John Beppu
controllers to be named. On Thu, Aug 25, 2011 at 2:21 PM, Magnus Holm judo...@gmail.com wrote: On Aug 25, 2011 10:54 PM, John Beppu john.be...@gmail.com wrote: If I wanted that notation, I'd just use Sinatra. ;) Like Bartosz, I like having named controllers so that I can pass them to R() when

Re: sending a post request from a controller

2011-07-04 Thread John Beppu
instead of client-side. Dave On Sun, Jul 3, 2011 at 9:35 PM, John Beppu john.be...@gmail.com wrote: Does Sallie Mae provide a payment processing API? I searched for it, but I couldn't find anything. On Sun, Jul 3, 2011 at 4:46 AM, David Susco dsu...@gmail.com wrote: None of those, I'm

Re: sending a post request from a controller

2011-07-02 Thread John Beppu
Can you tell us what payment processing system you're trying to work with? Is it PayPal or Google Checkout? Bitcoin? ;-) On Thu, Jun 30, 2011 at 6:48 AM, David Susco dsu...@gmail.com wrote: Ideally I'd like a user to be able to submit a form to the camping app, having camping do all the

Re: camping-oauth is now available

2010-06-08 Thread John Beppu
Philippe, Thanks for writing both the code and the blog posts. I've been meaning to learn more about OAuth, and your work will definitely help me out. --beppu On Mon, Jun 7, 2010 at 5:37 PM, Philippe Monnet r...@monnet-usa.com wrote: I finally put together the final touches on the first

Re: Changing render semantics?

2010-04-25 Thread John Beppu
On Sat, Apr 24, 2010 at 3:39 PM, Magnus Holm judo...@gmail.com wrote: I guess the question is: Does anybody actually use `render` with multiple arguments (render :index, 1, 2)? If not, I guess we can easily switch to this new `render` without breaking code. I do not use the multi-argument

Re: [ANN] Camping 2.0 - minature rails for stay-at-home moms

2010-04-09 Thread John Beppu
Good job. ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: what is this log mean?

2010-01-18 Thread John Beppu
It means that someone sent you an invalid HTTP request, and this is Mongrel's noisy way of rejecting it. Don't worry. It's harmless. --beppu On Mon, Jan 18, 2010 at 12:27 AM, in-seok hwang his20...@gmail.com wrote: Hi, all my server spec is .. camping -1.5.180 mongrel-1.1.5 4~5 times a

Re: What now?

2009-10-19 Thread John Beppu
On Mon, Oct 19, 2009 at 11:03 AM, Julik Tarkhanov julian.tarkha...@gmail.com wrote: On 19 Oct 2009, at 14:27, Dave Everitt wrote: nice idea with the .ru = Ruby, although still doubtful that 'why' and 'went' are good for SEO (BTW you did mean 'camping', not 'caping' didn't you :-).

Re: What now?

2009-10-18 Thread John Beppu
I like the domain whywentcamping.com . ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: hi all! can't open github!!

2009-08-16 Thread John Beppu
It's a little slow over at github, but the page loads for me (sometimes). They must be experiencing a lot of traffic. --beppu On Sun, Aug 16, 2009 at 6:59 PM, in-seok hwang his20...@gmail.com wrote: hi all! can't open github (http://github.com/why/camping/tree/master) What's going on?

Re: hi! plz teach me! about file upload

2009-04-20 Thread John Beppu
Something like this should work for the old version of Camping: class Upload R '/upload' def get render :upload end def post upload = @input.upload filename = File.basename(upload.filename) puts @input.upload[:tempfile].path puts filename

Re: images in db

2009-02-03 Thread John Beppu
Roland just showed you how to inline it. Here's a little article on the technique he's using: http://jimbojw.com/wiki/index.php?title=Data_URIs_and_Inline_Images However, as Jenna said, this technique doesn't work in IE. Her first suggestion is probably the path of least resistance. --beppu

My Camping clone has broken the 4K barrier. ;-)

2008-12-04 Thread John Beppu
Behold! http://gist.github.com/31363 4004 bytes! The non-obfuscated version can be found at: http://github.com/beppu/squatting/tree/master --beppu PS: I'm not going to try for 3K. I'm happy that I was even able to reach 4K, and that satisfaction is enough.

Re: My Camping clone has broken the 4K barrier. ;-)

2008-12-04 Thread John Beppu
thought Perl would do better... //Magnus On 4. des.. 2008, at 10.37, John Beppu [EMAIL PROTECTED] wrote: Behold! http://gist.github.com/31363http://gist.github.com/31363 4004 bytes! The non-obfuscated version can be found at: http://github.com/beppu/squatting/tree/master http://github.com

Re: My Camping clone has broken the 4K barrier. ;-)

2008-12-04 Thread John Beppu
I think I could easily trim 20-30 bytes from the obfuscated version, but 3K seems so far away. ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: Let's get this done, please :-)

2008-10-30 Thread John Beppu
On Thu, Oct 30, 2008 at 8:01 AM, _why [EMAIL PROTECTED] wrote: Yes, we need to clear up the rdoc and write howtos for camping with fastcgi, passenger, and other web servers. I don't know, what do most people deploy camping on? I reverse-proxy to mongrel. --beppu

Re: [TIP] optional multi-pane layout

2008-08-28 Thread John Beppu
That's pretty damned cool. Good technique! --beppu On Thu, Aug 28, 2008 at 3:46 AM, zimbatm [EMAIL PROTECTED] wrote: This is a nice little trick to defer some block execution in a multi-pane layout module Views def layout html do #... body do div.main { yield }

Re: Camping-list Digest, Vol 23, Issue 8

2008-05-23 Thread John Beppu
What pains me is that my Perl clone is weighing in at a bloated 6.6k after I run it through: cat `find -name '*.pm' -print` | perltidy -npro -dac -dws -i 0 | sed '/^\s*$/d' | perl -pe 's/ +/ /g' | wc . I was never an expert golfer http://perlgolf.sourceforge.net/, but still *sigh* --beppu

Re: Rack, Camping 2.0++

2008-05-21 Thread John Beppu
Impressive work. On Wed, May 21, 2008 at 12:26 PM, Magnus Holm [EMAIL PROTECTED] wrote: === 1. Camping on Rack === I've just finished rewriting Camping to use Rack in the core. I got rid of (a little less) than 1kB in camping.rb and removed lots of un-necessary files (lib/server/*.rb,

Re: Squatting

2008-05-15 Thread John Beppu
On 5/15/08, zimbatm [EMAIL PROTECTED] wrote: Haha, well done :) Small rectification: Camping also allows multiple views per controller Really? How do you set up multiple views for a Camping app? ___ Camping-list mailing list

Re: query strings built by R method can't handle multiple values from checkbox selections

2008-05-08 Thread John Beppu
As an side, I'm writing a Camping-like framework in Perl, and R() is still on my to-do list. I'm glad you posted this, because I probably would've ended up duplicating that bug in my translation to Perl. --beppu On Thu, May 8, 2008 at 7:58 AM, Ronald Evangelista [EMAIL PROTECTED] wrote: query

Re: [poll] What was your primary language before you started coding in Ruby?

2008-05-07 Thread John Beppu
Ah, a memetic hacker. ;-) On Wed, May 7, 2008 at 5:18 AM, Gregoire LEJEUNE [EMAIL PROTECTED] wrote: French, English, Spanish ;) ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

[poll] What was your primary language before you started coding in Ruby?

2008-05-04 Thread John Beppu
This is an informal poll. If you are primarily a Ruby programmer, - What was your primary language before you started coding in Ruby? Else, - What's your current programming language of choice? I'll start: Perl ___ Camping-list mailing list

Re: Dropping Root

2008-03-11 Thread John Beppu
Having you considered using rv? http://blog.evanweaver.com/files/doc/fauna/rv/files/README.html On Tue, Mar 11, 2008 at 5:30 AM, Jonathan Stott [EMAIL PROTECTED] wrote: Hello Campers I'm not sure this is the right list to ask but: I'm using the junebug wiki (which is written in camping)

Camping is a winner at SXSW-i

2008-03-10 Thread John Beppu
Last night, a little Camping application I wrote called MetaNoteshttp://www.metanotes.com/won the Experimental division in the SXSW Web Awardshttp://2008.sxsw.com/interactive/web_awards/finalists/ . MetaNotes is a site that lets you (and many other people) simultaneously place colorful post-it

Re: css image url's and :img problem

2007-11-17 Thread John Beppu
On Nov 17, 2007 8:10 PM, pedro mg [EMAIL PROTECTED] wrote: background: #33 url(img01.gif) repeat-x; url(/static/img01.gif) ? ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: Camping and ruby2ruby

2007-09-27 Thread John Beppu
On 9/27/07, Jonas Pfenniger [EMAIL PROTECTED] wrote: 2007/9/27, Gregor Schmidt [EMAIL PROTECTED]: Defining NilClass#method_missing for nothing is not too clever, for a large scale libary IMO. I'm not sure you understood, it is ruby2ruby who defined nil.method_missing. We can't start to

Re: Camping and ruby2ruby

2007-09-27 Thread John Beppu
On 9/27/07, Manfred Stienstra [EMAIL PROTECTED] wrote: On Sep 27, 2007, at 7:35 PM, John Beppu wrote: ^for this reason, you can't really use ruby2ruby in anything serious. nil.method_missing prevents a lot of exceptions from being thrown, and there's a lot of code out