Re: how to handle >4K session in camping

2013-12-10 Thread låzaro
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. Bluebie escribió: >Unless you’re running your camping app as a CGI script, the ruby >instance keeps running, so you could just create a looping thre

Re: Camping Blog with Sequel, Thin and Rake

2013-11-14 Thread låzaro
amazing job Thread name: "Camping Blog with Sequel, Thin and Rake" Mail number: 1 Date: Thu, Nov 14, 2013 In reply to: Koaps Freeman > > Hi All, > > I just wanted to pass along some code I did recently. > > https://github.com/koaps/camping-thin-blog > > It's basically the Camping exampl

Re: Would like some hints on best ways to search for camping questions.

2013-11-04 Thread låzaro
so my time zones tend to > be unfriendly to most IRC channels. > > My questions are about non trivial apps.  What do I do about migrations? What > if I don't want to use markaby? what's a good strateg for breaking your app up > into different files?. > >

Re: Would like some hints on best ways to search for camping questions.

2013-11-01 Thread låzaro
jusr now we hace a big problem with doc, but here in the mailing list you will have all you answers. Also in the IRC channel #camping we could help you. I'm writing new doc about camping and need questions like yours, son write me please, and I'll focus the doc via your questions. Thread name:

Re: Problems with sqlite3 and JRuby

2013-08-12 Thread låzaro
load_missing_constant, > line 448 > > I already thought about ditching AR for sequel, is there an easy (maybe > someone did it already) way to replace AR with sequel in camping? I > would like to retain the nice camping model features like db migration. > > Anway thanks for th

Re: Problems with sqlite3 and JRuby

2013-08-12 Thread låzaro
I suggest you to use sequel instead AR. The AR's support is patethic just rigth now, due the Rails's changes. http://sequel.rubyforge.org/rdoc/files/doc/opening_databases_rdoc.html Thread name: "Problems with sqlite3 and JRuby" Mail number: 1 Date: Sun, Aug 11, 2013 In reply to: Thomas Selige

Re: More crap from AR 4

2013-07-08 Thread låzaro
the github version break everything. Just now, the old warning this: DEPRECATION WARNING: Database connections will not be closed automatically, please close your database connection at the end of the thread by calling `close` on your connection. For example: ActiveRecord::Base.connection.close

Re: More crap from AR 4

2013-07-08 Thread låzaro
We could use squel, it is very sloid and AR like interface http://sequel.rubyforge.org/rdoc/files/doc/active_record_rdoc.html Thread name: "More crap from AR 4" Mail number: 1 Date: Sat, Jul 06, 2013 In reply to: låzaro > > Hi, all, now with AR-4 is imposible to add any rela

More crap from AR 4

2013-07-08 Thread låzaro
Hi, all, now with AR-4 is imposible to add any relation I mean for example: Blog.entries.new And you'll have a very weird erro. Do not happen the same thing when you do it in the console. NO ONE application, work the Table.relation.new or Table.relation.create... except in the console... Cou

Re: migrations

2013-07-02 Thread låzaro
yes,yes, I did something like that.. thanks master ;) Thread name: "Re: migrations" Mail number: 1 Date: Mon, Jul 01, 2013 In reply to: Kenneth Pullen > > Lazaro, > > I can't tell for sure what's going on without looking at your code, but I'm > willing to bet you are defining the classes lik

Re: migrations

2013-07-02 Thread låzaro
I respondo to myslef, the problem was solved using diferent names in migrations class Lázaro Armando grabbed a keyboard and wrote: > > Hi > > I'm trying to add a column in to my model, just write a BasicFields V 1.1 > in to my models but when running camping it return this error > > deisi.rb:

ActiveRecord 4 posible bug

2013-07-02 Thread låzaro
hi, this look like a bug. Version ago I seen something about close database connection but now, the connection "fade". Just leave the page loaded 5 minutes or more and it become Timeout ActiveRecord::ConnectionTimeoutError at /detalles could not obtain a database connection within 5.000 seconds (w

Re: mounting multiples app

2013-05-24 Thread låzaro
I'll try it... thanks Thread name: "Re: mounting multiples app" Mail number: 1 Date: Wed, May 22, 2013 In reply to: David Susco > > That will allow you to host two apps via a single config file. To separate out > your MVCs, try this: > > -- myapp.rb -- > > %w(camping).each { |lib| require li

mounting multiples app

2013-05-22 Thread låzaro
Hi, I trying to mount an App but with separetaed model, controller and view in otrher files. Waht could I do? How these files must be? ___ Camping-list mailing list Camping-list@rubyforge.org http://rubyforge.org/mailman/listinfo/camping-list