Re: What is the Best Way to Install Camping in 2011?

2011-08-30 Thread Bartosz Dziewoński
`gem install camping` :D (You may also want to install Markaby, ActiveRecord and all that.) -- -- Matma Rex ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

A question about the ecosystem.

2011-08-30 Thread Tim Uckun
I am a long time rails developer looking for a new framework which is leaner and less complex than rails. Camping appeals to me for a lot of reasons but I am curious about how a moderately conplex app would look like in camping. In rails my Gemfile is full of third party libraries and I am

Re: A question about the ecosystem.

2011-08-30 Thread Jenna Fox
Hi Tim! Camping is a great choice. It's really lean, and quite robust and well performing. So far as rails plugins go - the default choice of database adaptors for Camping is ActiveRecord - so most ActiveRecord-related rails plugins will work. Camping doesn't have things like rail's form

Re: A question about the ecosystem.

2011-08-30 Thread David Susco
I've got five camping apps in production. They're mostly CRUDs with some basic searching/e-mailing/etc. I use a few third party libraries; haml, paper_trail, rack/csrf and redcloth being the main ones. I haven't had too much need beyond those but your mileage will vary obviously. What Camping

Re: Using CouchDB in Camping - looking for advice

2011-08-30 Thread Magnus Holm
On Mon, Aug 29, 2011 at 05:39, Daniel Bryan danbr...@gmail.com wrote: Woah, that sounds pretty cool. Are you using RubyParser or Ripper? Neither. I'm using sourcify ( http://rubydoc.info/gems/sourcify/0.5.0/frames ) to convert blocks into an S Expression, and then my own library to parse

Re: A question about the ecosystem.

2011-08-30 Thread adam moore
Will paginate recently added native Sinatra support, but camping may require so e workarounds with regards to view handlers. I must say, the camping list is super friendly and, although quiet, very responsive when something crops up. On Wednesday, August 31, 2011, Jenna Fox a...@creativepony.com

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: Help with Controllers

2011-08-29 Thread Jenna Fox
That's great that you're learning a new language. I really hope you have tons of fun and make a whole lot of neat stuff. Keep us posted, kay? On forms: The :action property is optional - if you omit it, it'll submit the form to the same URL you're currently on in your web browser. You use R()

Advice on strategy for maintaining state in Camping

2011-08-27 Thread Anders Schneiderman
Depending on how you deploy camping you can just stick some stuff in some class variables if you just need them in one controller, or even global variables if you want them in many places. Then all you'd need to do is boot a local copy with The Camping Server and do your things. The objects

Using CouchDB in Camping - looking for advice

2011-08-27 Thread Daniel Bryan
Hello camping people I've written a Ruby library for working with CouchDB. It's a pretty thin API - it provides a database object, a document object (a glorified hash) and a design object. In case anyone's not familiar with CouchDB, it's a schema-less JSON document database with a HTTP

Re: Feature: Inline templates?

2011-08-26 Thread Dave Everitt
Since no-one has replied, for what it's worth (as a very amateur camper), I've always been happy with simple regular Markaby views and the v2.1 options for external templates. Also, my modest one-file apps have their CSS after __END__. In any sizeable app, you'd probably want to have

Re: Feature: Inline templates?

2011-08-26 Thread Bartosz Dziewoński
If this only supports Erb, then we should throw it away as fast as possible ;) I see no reason why would anyone want to use something *that* dinosauric in a new project. If it also supports (or can support), say, Haml, then I see how it could be useful (although nearly all of my Camping projects

Re: Feature: Inline templates?

2011-08-26 Thread Magnus Holm
On Aug 26, 2011 6:42 PM, Bartosz Dziewoński matma@gmail.com wrote: If this only supports Erb, then we should throw it away as fast as possible ;) I see no reason why would anyone want to use something *that* dinosauric in a new project. If it also supports (or can support), say, Haml,

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 %

Advice on strategy for maintaining state in Camping

2011-08-25 Thread Anders Schneiderman
Hi, I need a little advice about maintaining state in Camping. I use NaturallySpeaking voice recognition software for most of my work -- I don't have happy hands -- and I've been creating little Ruby projects to make it easier to do some things by voice. I'd like to build a UI for them.

Re: Advice on strategy for maintaining state in Camping

2011-08-25 Thread Magnus Holm
On Thu, Aug 25, 2011 at 15:25, Anders Schneiderman aschneider...@gmail.com wrote: Hi, I need a little advice about maintaining state in Camping. Uh oh. Maintaining complex state is *always* a hassle, regardless of language and framework… The general way of maintaing state is using session

Re: Advice on strategy for maintaining state in Camping

2011-08-25 Thread David Susco
If I'm understanding your question correctly I think judicious use of the @state instance variable will achieve what you're looking for. You'll be able to store what you need and be able to access it from request to request. Another option would be to use sqlite in memory mode.

Feature: Simple controllers?

2011-08-25 Thread Magnus Holm
I just pushed a new feature to Camping: Simple controllers. module App::Controllers get '/(.*)' do |name| Hello #{name} end end What do you think? Useful? Or should I revert it? It currently costs us 87 bytes. // Magnus Holm ___

Re: Feature: Simple controllers?

2011-08-25 Thread Bartosz Dziewoński
Personally I probably won't be using it, I like having class names around and being able to link to them with R(). (I change my paths often.) Certainly won't hurt to have it, for really small apps. -- Matma Rex ___ Camping-list mailing list

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 Magnus Holm
On Thu, Aug 25, 2011 at 21:28, David Susco dsu...@gmail.com wrote: Would you have to write the RE for every declaration? ie...  module App::Controllers   get '/(.*)' do |name|     Hello #{name}   end   put '/(.*)' do |name|     Hello #{name}   end  end That wouldn't work. Camping

Re: Advice on strategy for maintaining state in Camping

2011-08-25 Thread Anders Schneiderman
Thank you so much Magnus and David for your speedy advice! Magnus, I think you're right a SQLlight database seems like the best way to go. Cool! Is easier to manage web apps than native apps using NaturallySpeaking, or is it just the the native window-based UIs are way too complex? I've never

Re: Advice on strategy for maintaining state in Camping

2011-08-25 Thread Jenna Fox
Hold up guys. This is a little web app for just you to use? not multiple users? Depending on how you deploy camping you can just stick some stuff in some class variables if you just need them in one controller, or even global variables if you want them in many places. Then all you'd need to do

Re: Feature: Simple controllers?

2011-08-25 Thread Jenna Fox
I vote revert. This is just sinatra - I feel it's important camping maintains the cleanliness and clarity of functionality given to us by using simple classes. It's something we have which AFAIK no other ruby web framework does - you know exactly how it works, because it's just a class. On

Re: Feature: Simple controllers?

2011-08-25 Thread John Beppu
Being able to name controllers definitely makes it more valuable. If I had to criticize Sinatra and its clones, I would criticize their lack of named controllers. It's difficult to write URL generation functions without them. I've only seen one Sinatra clone (Slim in php) that allows

Re: Advice on strategy for maintaining state in Camping

2011-08-25 Thread cdr
a SQLlight database seems like the best way to go given your initial scenario of read-only Excel files, i disagree. why plumb data from Excel into SQLite and from SQLite into a web UI via several layers of Ruby code, themselves distanced from underlying datastores via ORM libraries, when you

Re: sending a post request from a controller

2011-07-04 Thread John Beppu
I have a bad feeling about whatever you're trying to do. However, I want to make sure that my interpretation of your intent is correct. 1. It sounds like you want to create a web app that provides a form. 2. When this form is submitted (and assuming the data is valid), you want to POST

Re: sending a post request from a controller

2011-07-04 Thread David Susco
They're never providing login credentials, merely going to a payment gateway that has received a post request. Essentially all I'm asking is can a camping controller serve as a middle man for a post request to another url? Before I did form validation with JS client-side and then posted the info

Re: sending a post request from a controller

2011-07-03 Thread David Susco
They do not, pretty much they need a few input tags and that's about it. I'm just looking to do my form validation/preparation server-side 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

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: sending a post request from a controller

2011-06-30 Thread David Susco
Ideally I'd like a user to be able to submit a form to the camping app, having camping do all the validation and some preprocessing and then have the camping app send the user to an external site (with the post data) where the user can complete a payment. Dave On Wed, Jun 29, 2011 at 5:00 PM,

sending a post request from a controller

2011-06-29 Thread David Susco
What's the cleanest way to do this? With Net::HTTP? I have a form that's sent to a controller and validated. If its valid I'd like to send the user on (along with the info they've entered) to an external site to process payment. Thanks, Dave ___

Re: sending a post request from a controller

2011-06-29 Thread Steve Klabnik
If you're sending them along, isn't that a redirect, not a POST? ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: sending a post request from a controller

2011-06-29 Thread David Susco
Can I send POST data along with a redirect? Dave On Wed, Jun 29, 2011 at 3:44 PM, Steve Klabnik st...@steveklabnik.com wrote: If you're sending them along, isn't that a redirect, not a POST? ___ Camping-list mailing list Camping-list@rubyforge.org

Re: sending a post request from a controller

2011-06-29 Thread Steve Klabnik
No, redirects are an HTTP response, they're not a new request. Can you give a more concrete example? Your explanation sounds like you're trying to do two different things, and I'm not sure which you mean. ___ Camping-list mailing list

Re: anyone run into this activerecord error before?

2011-05-24 Thread Magnus Holm
It seems that you need to establish a connection *before* you write your models. Doesn't seem to be a way around it :/ // Magnus Holm On Tue, May 24, 2011 at 19:53, David Susco dsu...@gmail.com wrote: Not really Camping specific, but I've always had better luck asking on this list than any of

Re: anyone run into this activerecord error before?

2011-05-24 Thread Jeremy McAnally
It's likely trying to get the columns or something like that and doesn't have a connection to do so. --Jeremy On Tue, May 24, 2011 at 2:21 PM, Magnus Holm judo...@gmail.com wrote: It seems that you need to establish a connection *before* you write your models. Doesn't seem to be a way around

Re: anyone run into this activerecord error before?

2011-05-24 Thread David Susco
Apparently its a known issue: http://webcache.googleusercontent.com/search?q=cache:cS8js8AYQHgJ:https://rails.lighthouseapp.com/projects/8994/tickets/6233 Looks like I get to migrate to has_many :through. :P Dave On Tue, May 24, 2011 at 2:49 PM, Jeremy McAnally jeremymcana...@gmail.com wrote:

update breaks hello clock?

2011-05-18 Thread Dave Everitt
Just did a quick gem update, including Camping 2.1, and ran 'Hello Clock' (http://camping.rubyforge.org/book/02_getting_started.html) as a quick test: deveritt$ camping nuts.rb /usr/local/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/utils.rb:138:in `union': can't convert Array into String

Re: update breaks hello clock?

2011-05-18 Thread Dave Everitt
Thanks Magnus - downgraded Rack to 1.2.0 after trying Git version. For the benefit of anyone else reading this: Tried the 1.8.6 compatibility-fixed version of Rack: git clone git://github.com/sferik/rack.git cd rack rake test (in /Users/deveritt/src/rack) bacon -I./lib:./test -w -a

Re: update breaks hello clock?

2011-05-18 Thread Magnus Holm
A better solution is to actually upgrade to 1.8.7 (which is actively maintained) // Magnus Holm On Wed, May 18, 2011 at 18:15, Dave Everitt dever...@innotts.co.uk wrote: Thanks Magnus  - downgraded Rack to 1.2.0 after trying Git version. For the benefit of anyone else reading this: Tried

Re: update breaks hello clock?

2011-05-18 Thread Dave Everitt
Hmmm... time to upgrade to Leopard - the nice 'one-click Ruby installer' at http://rubyosx.rubyforge.org only goes to 1.8.6 on Tiger, and there are readline issues when installing 1.8.7 on Tiger. BTW the link to Camping on the above page still goes to http://

[GitHub] Fix reloading of auxiliary files [camping/camping GH-34]

2011-03-23 Thread aanand
Just in case anyone missed this on GitHub - DaveE :-) reply+i-697969-75bfe0262544902a760202e1b4e7a3f2658be...@reply.github.com If I have: - an app in `foo.rb` - an auxiliary file in `foo/bar.rb` - a `require foo/bar` call in `foo.rb` ...then `bar.rb` doesn't get reloaded when it changes,

Re: controller for all javascript files?

2011-02-10 Thread Matthias Wächter
On 10.02.2011 02:23, Jenna Fox wrote: class LoadScript R '/(.*).js' def get(script) @headers['Content-Type'] = 'text/javascript; charset=utf-8' return File.read(my scripts/#{script}.js); end end remember [http://en.wikipedia.org/wiki/Directory_traversal] – even if you accor access to just

Re: controller for all javascript files?

2011-02-10 Thread Matthias Wächter
On 10.02.2011 09:34, Matthias Wächter wrote: […] even if you accor access to just .js files […] Don’t know how I typed this … :) Meant: even if you limit access to just .js files – Matthias ___ Camping-list mailing list Camping-list@rubyforge.org

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

2011-02-09 Thread Tony Miller
On Fri, Feb 04, 2011 at 05:37:55PM -0700, Philippe Monnet wrote: class Welcome R '/welcome', '/WelcomeEveryone' end What does this mean, that '/welcome' and '/WelcomeEveryone' will use the exact same controller? How is that useful? -Tony ___

controller for all javascript files?

2011-02-09 Thread Tony Miller
I want to use the same controller for every javascript file...so I was thinking something like this? What I'm not sure of is what to pass to File.read. class Javascript R '/*.js' JS = File.read() def get @headers['Content-Type'] = 'text/javascript; charset=utf-8'

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

2011-02-09 Thread Jenna Fox
Good for maintaining legacy URLs. :) —Jenna / @Bluebie On Thursday, 10 February 2011 at 11:51 AM, Tony Miller wrote: On Fri, Feb 04, 2011 at 05:37:55PM -0700, Philippe Monnet wrote: class Welcome R '/welcome', '/WelcomeEveryone' end What does this mean, that '/welcome' and

Re: controller for all javascript files?

2011-02-09 Thread Jenna Fox
class LoadScript R '/(.*).js' def get(script) @headers['Content-Type'] = 'text/javascript; charset=utf-8' return File.read(my scripts/#{script}.js); end end Keep in mind the R constructor takes a regexp, and passes the bracketed sections as arguments to the get, post, put, etc... methods on the

Re: controller for all javascript files?

2011-02-09 Thread Tony Miller
Thanks Jenna, this works great! I think I understand how the R constructor works a little more now... On Wed, Feb 9, 2011 at 5:23 PM, Jenna Fox a...@creativepony.com wrote: class LoadScript R '/(.*).js' def get(script) @headers['Content-Type'] = 'text/javascript; charset=utf-8' return

Re: controller for all javascript files?

2011-02-09 Thread Jenna Fox
Glad I could help. :) —Jenna / @Bluebie On Thursday, 10 February 2011 at 2:53 PM, Tony Miller wrote: Thanks Jenna, this works great! I think I understand how the R constructor works a little more now... On Wed, Feb 9, 2011 at 5:23 PM, Jenna Fox a...@creativepony.com wrote: class

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

2011-02-09 Thread adam moore
Commun spelling errars... 2011年2月10日木曜日 Jenna Fox a...@creativepony.com: Good for maintaining legacy URLs. :) ―Jenna / @Bluebie On Thursday, 10 February 2011 at 11:51 AM, Tony Miller wrote: On Fri, Feb 04, 2011 at 05:37:55PM -0700,

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

2011-01-24 Thread Dave Everitt
Hi Jenna - just checking email backlog, was going to pop something up on Phillippe's behalf, but Rack is down on whywentcamping.com :-( - Dave Everitt Hey you know it would be totally awesome if you did some posts on the camping blog at http://log.whywentcamping.com/submit about this

Re: Camping-list Digest, Vol 51, Issue 2

2011-01-24 Thread Brian Corrigan
Unsubscribe On Jan 24, 2011 9:21 AM, camping-list-requ...@rubyforge.org wrote: Send Camping-list mailing list submissions to camping-list@rubyforge.org To subscribe or unsubscribe via the World Wide Web, visit http://rubyforge.org/mailman/listinfo/camping-list or, via email,

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

2011-01-24 Thread Jenna Fox
O_O — Jenna / @Bluebie On Tuesday, 25 January 2011 at 12:21 AM, Dave Everitt wrote: Hi Jenna - just checking email backlog, was going to pop something up on Phillippe's behalf, but Rack is down on whywentcamping.com :-( - Dave Everitt Hey you know it would be totally awesome if you

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

2011-01-24 Thread Jenna Fox
Okay fixed. For now. *curses at shared hosting provider changing stuff!* — Jenna / @Bluebie On Tuesday, 25 January 2011 at 9:07 AM, Jenna Fox wrote: O_O — Jenna / @Bluebie On Tuesday, 25 January 2011 at 12:21 AM, Dave Everitt wrote: Hi Jenna - just checking email backlog, was

Re: Strange error with no stack trace

2011-01-21 Thread Magnus Holm
On Friday, January 21, 2011, adam moore nerdf...@gmail.com wrote: Wow, thanks Magnus. Adding that certainly made the output more interesting: http://pastebin.com/DSMKWK52 As you can see, the ruby version seems to be 1.8. It can be bumped up to 1.9 I believe if this is preferred?

Strange error with no stack trace

2011-01-21 Thread Magnus Holm
On Friday, January 21, 2011, adam moore nerdf...@gmail.com wrote: Wow, thanks Magnus. Adding that certainly made the output more interesting: http://pastebin.com/DSMKWK52 As you can see, the ruby version seems to be 1.8. It can be bumped up to 1.9 I believe if this is preferred?

Re: Strange error with no stack trace

2011-01-21 Thread adam moore
Also, try to evaluate this on Heroku's console: filename[/\.(\w+)$/,1] (where filename is the filename of the index template). -- // Magnus Holm ___ Camping-list mailing list Camping-list@rubyforge.org

Strange error with no stack trace

2011-01-21 Thread Magnus Holm
We're getting closer! Try this from both locally and on Heroku: Dir[src/views/index.*].first My prediction: it returns index.haml locally and index.haml~ on Heroku. Therefore Camping fails to extract the extension on Heroku. Solution: delete all ~-files (and add *~ to gitignore). I'll also

Re: Strange error with no stack trace

2011-01-21 Thread adam moore
= src/views/index.haml But I will strip out the ~ files and let you know if things improve! The heroku support staff have also been taking a look: Hi, I was able to see this on heroku intermittently. On a few restarts, I got it, but in other occasions it worked fine right away. I was

Re: Strange error with no stack trace

2011-01-21 Thread adam moore
Wow! That seems to have done it! Great. Will let their team know as well. Thank you very much, ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

Re: Strange error with no stack trace

2011-01-20 Thread Magnus Holm
Hm… Like Dave mentioned, could you give us the versions you're using? For both Camping, Rack, Tilt, Haml and Ruby? Also, you could add this little snippet to force a backtrace: class NilClass def to_sym puts NilClass#to_sym: caller.each do |line| puts #{line}

Re: Strange error with no stack trace

2011-01-20 Thread adam moore
My gem file reads thus: gem activerecord, 3.0.3 gem camping, 2.1 gem nokogiri, 1.4.4 gem rest-open-uri, 1.0.0 gem sqlite3-ruby, 1.3.2 gem tilt, 1.2.1 gem haml, 3.0.25 Will get the ruby version asap. Love the idea of adding the method! Great! On Friday, January 21, 2011, Magnus Holm

Re: Strange error with no stack trace

2011-01-20 Thread adam moore
Wow, thanks Magnus. Adding that certainly made the output more interesting: http://pastebin.com/DSMKWK52 As you can see, the ruby version seems to be 1.8. It can be bumped up to 1.9 I believe if this is preferred? drinking.rb line 127 is simply: render :index The plot thickens...

Strange error with no stack trace

2011-01-19 Thread adam moore
Hello there! Been loving getting stuck in creating bits bobs with this wonderful little framework. Had a go at making a listing of a bunch of opening events which occur in my current city of residence - Tokyo. Unfortunately, although the app seemed to be fine running locally (in production),

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

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

2010-12-15 Thread Jenna Fox
Hey you know it would be totally awesome if you did some posts on the camping blog at http://log.whywentcamping.com/submit about this neat stuff so we can mutually bask in whatever minor exposure that might bring. :) Give me a poke if you submit something through that so I can hit publish on

Re: Couldn't load the feed. oh well.

2010-12-08 Thread Jenna Fox
Yeah, I noticed that today too. Thanks for the heads up. Will get it sorted soon. — Jenna / @Bluebie On 09/12/2010, at 3:39 PM, Steve Klabnik st...@steveklabnik.com wrote: Hey Campers- Just a small note, I went to http://whywentcamping.com/ today, and it's saying *Latest news: **Couldn't load

Re: Couldn't load the feed. oh well.

2010-12-08 Thread Jenna Fox
Seems to be working now, so I'm just going to wave my hand and declare it to all be to do with tumblr's recent downtime problems, somehow. :S — Jenna / @Bluebie On Thursday, 9 December 2010 at 3:27 PM, Steve Klabnik wrote: Hey Campers- Just a small note, I went to

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

2010-11-12 Thread Magnus Holm
I'm unfortunately not at RubyConf :-( Maybe next year? // Magnus Holm On Thu, Nov 11, 2010 at 17:12, Dave Everitt dever...@innotts.co.uk wrote: Anyone going to http://rubyconf.org/ wearing a 'Camping' t-shirt? ___ Camping-list mailing list

Rubyconf

2010-11-11 Thread Dave Everitt
Anyone going to http://rubyconf.org/ wearing a 'Camping' t-shirt? ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list

First Contact and a few doubts

2010-11-07 Thread Marcos Ricardo
Hi Folks, This is my first contact, and I have a few doubts. 1 - I was looking for a specific subject (see below), but couldn't find a way to search the list by topic. Does this list have a search function? How to use it? 2 - I have seen more then one Camping Home Page and I'm not sure which

Re: First Contact and a few doubts

2010-11-07 Thread Magnus Holm
Hey Marcos, 1) You can search the mailing list at http://www.mail-archive.com/camping-list@rubyforge.org/ 2) http://whywentcamping.com/ is probably the most official one (since it's linked to the wiki). 3) Ah, you've discovered the first magic of Camping! R is simply a method which returns a

Using filters

2010-10-03 Thread Raimon Fernandez
Hi, I'm trying to use filters in my Camping App, but at this moment they are not working ... I've found some presentation by Jeremy McAnally (http://slideshow.rubyforge.org/camping.html#1) At the end, appears a Library that makes our life easier, but I can't find this library. Also, this

Re: Forcing a Response Status-Code of 40x

2010-10-03 Thread Magnus Holm
@status = 404 // Magnus Holm On Sun, Oct 3, 2010 at 18:09, Raimon Fernandez co...@montx.com wrote: Hi again, I'm trying to force a different Response Status-Code when some situations occur. Once again, in Rails I just use the :status = 404 and that's all ... Here, I suppose I must use

Re: Forcing a Response Status-Code of 40x

2010-10-03 Thread Raimon Fernandez
Thanks John Magnus, Where I can find more info about those little magic :-) Also, I was calling from the wrong place, in a helper it is not working, but works if I call from a Controller. thanks again, regards, r. On 3oct, 2010, at 18:22 , John Beppu wrote: @status = 404 On

Re: Forcing a Response Status-Code of 40x

2010-10-03 Thread Magnus Holm
There's some info about the request/response here: http://camping.rubyforge.org/api.html#class-Camping-Controllers // Magnus Holm On Sun, Oct 3, 2010 at 22:47, Raimon Fernandez co...@montx.com wrote: Thanks John Magnus, Where I can find more info about those little magic :-)

Re: Forcing a Response Status-Code of 40x

2010-10-03 Thread Raimon Fernandez
uuuch it's there !! I've read it twice before posting here . :-( thanks again, r. The Response: You can change these variables to your needs: • @status is the HTTP status (defaults to 200) • @headers is a hash with the headers • @body

Camping on Wikipedia

2010-08-24 Thread Dave Everitt
The Wikipedia article on Camping: http://en.wikipedia.org/wiki/Camping_(microframework) has a warning at the top asking for more independent sources on Camping. Can you please add any books or articles (not by _Why) that mention Camping (post-1.5), or web articles that - say - survey

Re: Philosophy

2010-08-24 Thread Dave Everitt
Fine with me. I'd like the idea of collating and condensing our statements about it, and putting them somewhere too. I might do that - Dave http://github.com/camping/camping/wiki/Philosophy Whatcha guys think? ___ Camping-list mailing list

Junebug Wiki

2010-08-24 Thread Dave Everitt
Does anyone know if there's a community-maintained version of Julik Tarkhanov's Camping-related stuff (e.g. the Camping-based Junebug Wiki http://rubyforge.org/projects/junebug/)? The last update I can find is from 2007, just wondering if anyone's tried it with Camping 2.1. Otherwise I'll

Re: Philosophy

2010-08-24 Thread Peter Retief
OK is good enough for me Thanks On 24 August 2010 14:59, Steve Klabnik st...@steveklabnik.com wrote: The organizers of RubyConf said that he's okay. ___ Camping-list mailing list Camping-list@rubyforge.org

Re: making create environmentally aware

2010-08-24 Thread Magnus Holm
Why don't add this? def App.create(env = :development) end And in production, you can call App.create(:production) yourself. // Magnus Holm On Tue, Aug 24, 2010 at 15:36, David Susco dsu...@gmail.com wrote: Not talking about having it recycle (I assume all Camping apps have a small

Re: making create environmentally aware

2010-08-24 Thread David Susco
Ya, that's what I'm doing. Just wondering if there was another way to go about it. I modified your camping-test/base file to call 'create :test' and specified a test db adapter in my config file to get around the problem I e-mailed you about. Dave On Tue, Aug 24, 2010 at 9:44 AM, Magnus Holm

Re: [camping-list-admin] Angel Robert Marquez

2010-08-24 Thread Quiliro Ordóñez
Thank you Magnus. He was sending me a lot of insulting personal emails which I answered in the wish to help him understand better but I gave up after the tenth insulting email. -- Saludos/Greetings Quiliro Ordóñez 593(2)340 1517 / 593(9)821 8696 Even The Troops Are Waking Up

Re: making create environmentally aware

2010-08-24 Thread Magnus Holm
What about this: def App.create(env = (ENV['CAMPING_ENV'] || :development)) end Then you can simply set ENV['CAMPING_ENV'] = test before loading any tests. // Magnus Holm On Tue, Aug 24, 2010 at 16:21, David Susco dsu...@gmail.com wrote: Ya, that's what I'm doing. Just wondering if

Re: Oh, whywentcamping.com!

2010-08-24 Thread Magnus Holm
Awesome work, Jenna :-) One issue: The code blocks doesn't show properly on GitHub: http://github.com/camping/camping/wiki/Book:-Getting-Started Not sure what's the best way to handle this. We should at least indent all the code blocks with 4 spaces (so they end up as Markdown pre tags), and

Re: Oh, whywentcamping.com!

2010-08-24 Thread Jenna Fox
Actually I realised about half way through making the thing, GitHub has a syntax for highlighted code. It looks like this: ```ruby Camping.goes :Poop ``` So we could use that instead, would be easy enough. Seems a kind of ugly syntax though On 25/08/2010, at 1:39 AM, Magnus Holm wrote:

Re: What is the process for publishing to campingrb.tumblr.com?

2010-08-23 Thread Angel Robert Marquez
fuck you On Sun, Aug 22, 2010 at 11:06 PM, Jenna Fox a...@creativepony.com wrote: Camping is a programming framework, not a content management system. We'll be implementing precisely none of these. You might investigate hiring a programmer to build this for you, but please do not post any job

Re: What is the process for publishing to campingrb.tumblr.com?

2010-08-23 Thread Angel Robert Marquez
i've been reading what you've been writing and you obviously haven't got a clue what you are talking about. and rather than accusing me of not knowing this difference between a cms a framework and a dumb bitch why don't you just not be so insecure. photoshop doesn't work that way...? yea, that

Re: What is the process for publishing to campingrb.tumblr.com?

2010-08-23 Thread Dave Everitt
This needs to stop - now! I've sent you another reply, so please respond to that instead and leave off the personal exchanges - Dave E. i've been reading what you've been writing and you obviously haven't got a clue what you are talking about. and rather than accusing me of not knowing

Re: What is the process for publishing to campingrb.tumblr.com?

2010-08-23 Thread Angel Robert Marquez
i didn't receive a personal reply. angel.marq...@gmail.com i look forward to hearing from you. On Sun, Aug 22, 2010 at 11:44 PM, Dave Everitt dever...@innotts.co.ukwrote: This needs to stop - now! I've sent you another reply, so please respond to that instead and leave off the personal

Re: What is the process for publishing to campingrb.tumblr.com?

2010-08-23 Thread Angel Robert Marquez
appreciate your attempt to explain. you assume far to much. you aren't really exploring my question and i've been a programmer, developer, architect, designer, qa engineer etc..currently salaried programmer. i'm not sure why you think i'm migrating. i think there's more holes in your answers

Re: What is the process for publishing to campingrb.tumblr.com?

2010-08-23 Thread Dave Everitt
I apologise if my reply seemed pompous - your background wasn't obvious. If you're developing a new framework, great, let us know about it. No need for the insults, I just help out here in my free time, that's all - Dave E. appreciate your attempt to explain. you assume far to much. you

Re: What is the process for publishing to campingrb.tumblr.com?

2010-08-23 Thread Angel Robert Marquez
I apologise if my reply seemed pompous - your background wasn't obvious. Ok If you're developing a new framework, great, let us know about it. Why would I do that? No need for the insults, You are insulting in your own way. I just help out here in my free time, that's all - Dave E.

Re: Wiki Writing Requests!

2010-08-23 Thread Jenna Fox
Wonderful! I've ported over The Camping Book as well. Is there anything else we need sorted quickly? I'm not sure what to do about the 'reference' rdoc thingo. It seems kind of difficult to navigate to me - camping is one of the few projects I frequently read the source code of instead of web

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

<    1   2   3   4   5   6   7   8   9   10   >