Re: Omniauth and rack middleware

2013-10-24 Thread Magnus Holm
Hi Francois, Just use `MyApp.use`: Camping.goes :Nuts module Nuts use OmniAuth::Builder do provider :facebook, 'FACEBOOK_ID', 'FACEBOOK_SECRET' end end // Magnus Holm On Tue, Oct 22, 2013 at 9:11 AM, Francois Sery sery.franc...@gmail.comwrote: Bonjour I m new to rack middleware

Re: how to handle 4K session in camping

2013-12-06 Thread Magnus Holm
You should not store a large amount of data in the session. The session is stored in a cookie, and everything you store there has to be sent back and forth over the network. You can however store an ID in the session and lookup data in your database. // Magnus Holm On Tue, Dec 3, 2013 at 12:04

Re: how to handle 4K session in camping

2013-12-10 Thread Magnus Holm
On Mon, Nov 4, 2013 at 8:55 PM, l├ązaro ad...@lex-sa.cu wrote: Sorry for the thread hacking but, how could be run camping as standalone CGI -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. You can use Rack: app.cgi: #!/usr/bin/env ruby require 'rack' require

Re: Camping without markaby.

2013-12-22 Thread Magnus Holm
This should work: Camping.goes :Xmas module Xmas::Controllers class Index def get render :index end end end __END__ @@ index.erb Hello %= 'world' % // Magnus Holm On Sun, Dec 22, 2013 at 10:26 PM, Tim Uckun timuc...@gmail.com wrote: How can I use something other than

Re: how do i customize the 404 campin problem page?

2013-12-31 Thread Magnus Holm
Sorry for the late reply. Here's how you override the 404: module YourApp def r404(path) My custom 404 end end // Magnus Holm On Tue, Dec 10, 2013 at 12:32 PM, Francois Sery sery.franc...@gmail.com wrote: Bonjour, one more newbie question: how do i customize the 404 campin problem

Re: Multiple camping apps in the same rackup?

2014-01-01 Thread Magnus Holm
Yes: map http://example.com; do run App end // Magnus Holm On Wed, Jan 1, 2014 at 7:16 AM, Tim Uckun timuc...@gmail.com wrote: Can you match on top level domains? On Wed, Jan 1, 2014 at 1:05 AM, Magnus Holm judo...@gmail.com wrote: Sorry for the late reply. The easiest way is to use

Re: camping app on elastic beanstalk

2014-01-17 Thread Magnus Holm
Do you actually call App.create? Camping will not do this for you automatically (unless you're using the Camping Server, aka bin/camping). // Magnus Holm On Fri, Jan 17, 2014 at 9:07 AM, Francois Sery sery.franc...@gmail.com wrote: Bonjour, here is my app code and the trace. thanks for your

Re: Mab::Mixin::Error This tag is already closed

2014-01-24 Thread Magnus Holm
Interesting. Could you post the personnes_list template? // Magnus Holm On Fri, Jan 24, 2014 at 12:51 PM, Francois Sery sery.franc...@gmail.com wrote: Bonjour, it's me again. Deploying a camping app on amazon ec2 i have a Mab::Mixin::Error at /admin/personnes This tag is already closed

Re: camping tutorial pre-2

2014-04-16 Thread Magnus Holm
Do you have the exact code you've entered? You can use https://gist.github.com/ to share it. // Magnus Holm On Wed, Apr 16, 2014 at 1:14 PM, Sebastjan Hribar sebastjan.hri...@gmail.com wrote: Hi Guys, I found this pre-2 tutorial on the ruby-camping-links.1.ai site: http://polzr.blogspot.com

Re: first app - some questions

2014-04-22 Thread Magnus Holm
On Mon, Apr 21, 2014 at 7:32 PM, Sebastjan Hribar sebastjan.hri...@gmail.com wrote: Hi, I've updated the gist with my next version: https://gist.github.com/sebastjan-hribar/11081389 It works as I wanted but for now I left out the styling. My question is, is this the correct way of setting

Re: views - html form duplication

2014-04-24 Thread Magnus Holm
On Thu, Apr 24, 2014 at 10:08 PM, Sebastjan Hribar sebastjan.hri...@gmail.com wrote: Hi, I have a question about duplicating a html form in my views. To create a new review form in the app I've composed a html form which is a table and I've ended up with 200+ lines of code due to table row

Re: multi-line input field

2014-05-12 Thread Magnus Holm
-- // Magnus Holm ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: app doesn't run on windows

2014-06-07 Thread Magnus Holm
be created? regards, seba -- // Magnus Holm ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: first app - some questions

2014-06-07 Thread Magnus Holm
the server know how to set. It's impossible for the client to set its own session; every session has to be set through the @state-variable in an action. I hope this clarifies state/sessions a bit. Don't hesitate to ask more if you're confused. // Magnus -- // Magnus Holm

Re: first app - some questions

2014-06-09 Thread Magnus Holm
-- // Magnus Holm ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: The 2.2 release

2014-09-06 Thread Magnus Holm
:; http://rubyforge.org/mailman/listinfo/camping-list -- // Magnus Holm ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

<    1   2   3