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
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 %
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
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
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
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
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
Good job.
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list
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
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
:-).
I like the domain whywentcamping.com .
___
Camping-list mailing list
Camping-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/camping-list
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?
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
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
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
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
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 }
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
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
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
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
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
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
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
24 matches
Mail list logo