Displaying 20 results from an estimated 6000 matches similar to: "Running something periodically."
2006 Oct 22
3
Date Helpers?
Does anyone have any ideas off the top of there head how to easily construct
a date helper as one would see in Rails?
Thanks,
Michael Gorsuch
http://www.styledbits.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/camping-list/attachments/20061022/7dda5a52/attachment.html
2007 Sep 23
12
Next camping release
Dear camping users,
having been contacted by Julian Tarkhanov, I am willing to prepare the
next camping release. _why has given me his friendly approval, with
the reserve that camping.rb should be lower than 4k. He also told me
that he wanted to remove the ActiveSupport and Markaby dependencies.
I am writing here to get the users input so that I don''t do any
mistake. So far, my plans
2007 Sep 27
14
Camping and ruby2ruby
Hi everybody,
I would like to use ruby2ruby in a caming project, but there seems to
be an incompatibility with camping, ruby2ruby and markaby.
Unfortunately I receive strange Markaby::InvalidXhtmlErrors.
To demonstrate, that only combination of all three components causes
the problem I added the following code. I relies on Markaby and
ruby2ruby only and works fine (a.k.a. as expected).
2008 May 21
32
Rack, Camping 2.0++
===
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, fastcgi.rb & mongrel.rb).
bin/camping does now only provide WEBrick, Mongrel and console-support and
should only be used in development. It uses Rack::ShowExceptions to catch
2007 Sep 28
9
PUT (and friends) bug?
As far as I can tell, sending an actual HTTP PUT request to a Camping
app will never parse the params out of the request body - or am I
going nuts? This code seems to say only POST''s will parse the request
body:
elsif @method == "post" and \
e.CONTENT_TYPE == "application/x-www-form-urlencoded"
q.u(C.qsp(@in.read))
end
I looked for an easy spot to stick
2006 Jul 24
18
difference between running unabridged
22 sudo mv camping.rb camping-abridged.rb
23 sudo mv camping-unabridged.rb camping.rb
when running into problems, the abridged version of camping is rather
difficult to debug.
so I''m moving to unabridged, but I''m getting this error.
[Mon Jul 24 15:50:18 2006] [error] [client 192.168.11.100]
2006 Nov 14
11
RESTful mixin, mixin repo?
Hi,
I just put together a little mixin to provide pseudo-RESTful services
in camping apps. Basically, it looks for a hidden _verb field in form
posts, and sets the @method to the supplied value (e.g. put or delete
- which browsers don''t support). This lets you define put and delete
methods in your controllers. Groovy.
Code:
http://pastie.caboo.se/22613
Is there any permanent repo of
2007 Oct 15
2
Something is wrong with Camping::H in the svn version
Dear All,
I got az error message with the svn version of Camping under FastCGI
NoMethodError undefined method `user_id'' for
{"user_id"=>2}:HashWithIndifferentAccess:
The call was a simple "User.find @state.user_id" in my login
controller... The following libraries are loaded manually:
action_controller, action_view, mime/types, camping, camping/mab,
2006 Aug 01
6
warning and errors
i got my app to run fine on one server, but I moved it to another and huge
problem started....
I''ve been trying various things for 3 hours now, I can''t get it to work....
I am getting this error.
Exception `TypeError'' at (eval):542 - superclass mismatch for class NotFound
I am using the same camping.rb, apps starts in CGI but not in
Apache/FastCGI.
while it works fine
2006 Aug 01
3
starting fresh
trying to get the example blog running under Apache/FastCGI with Camping
1.4.143
anyone using Apache/FastCGI in here?
does not seems to be possible to use with Camping.
anyone got better luck?
this is my postamble
if __FILE__ == $0
Blog::Models::Base.establish_connection :adapter => ''sqlite3'', :database
=> ''examples.db''
Blog::Models::Base.logger =
2008 Jan 10
14
Keeping Camping going
Hello all,
I''m not sure who Camping''s steward is at this point(zimbatm? _why?),
but I haven''t seen much activity in quite some time. I really like
Camping, and I understand open source projects can fall by the
wayside.
So, I''d be willing to take over maintenance and releasing. I have
experience maintaining my own open source projects, and a history of
2008 Mar 11
4
Dropping Root
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) for my own personal wiki. I''d like it to behave as a proper daemon, so it will start up at boot, get stopped properly at shutdown, keep a pid file in /var/run etc.
This requires a little messing with the wiki script junebug makes in the wiki
2006 Nov 14
4
Catching a list of variables with a Controller
Hi All,
I have been learning some ruby and some Camping at the same time by
implementing a little webapp to track expenses (one man''s blog...) that
includes the ability to tag entries with 1 or more tags.
I wanted to offer the possibility to narrow the view of expenses by adding
tags to a filter (this works) and I also wanted this filter to be reflected
in the URL. Like so:
normal URL:
2007 May 04
22
CampingConf?
Campers --
In a few weeks there will be a bunch of people in Portland, OR, for a
conference. A long time ago some campers mentioned that might be a
good time for us to get together and hold a mini CampingConf for a few
hours. Is anyone interested? Does anyone want to organize it?
I''m thinking Wednesday night, May 16.
We could possibly get a spot at FreeGeek (not likely since they are
2006 Nov 14
3
[UHH] any blogs sprung from camping?
Hello,
I just joined the camping list. I was trolling the archives when I saw this:
--
The biggest problem in Camping is authentication. This is a problem I
propose to solve by providing an extension. That little bit of code
uses the path to allow/disallow urls. That way it is unobstrusive. In
the future I would also like to make an OpenID client and server for
Camping.
--
I was wondering if
2006 Jul 27
2
more on file upload
well, so File upload seems to be only working under mongrel.
I have not tried it, but Camping crash extracting the request parameters on
both CGI and FastCGI.
I''m looking at rails code for inspiration, but it''s a bit outside of my
knowledge.....
not sure what to do with a FCGI::Stream object .....
this is what rails do for CGI, I''m not sure if it works the same for
2006 Jul 25
3
[UHH] any blogs sprung from camping?
Hal Fulton has been e-mailing me about putting together a simple blogging
package for Camping. Perhaps start with the blog in the examples and add a few
things. Does anyone here want to collaborate with him? Or do any of you have
your own works to offer?
He''s mentioned he wants something with its own template syntax, but I think he
could hack that in.
_why
2007 Apr 18
10
customizing global request handler
what is the cleanest way to do something for every request of a particular type (Verb, and Content-Type header)? i''m trying to figure out if shipping a custom camping.rb is avoidable, and if, how i should structure a patch
my app http://whats-your.name/yard/ uses exclusively JSON based messaging between server and client. this means POST bodies are JSON, and not querystring.. camping
2007 Oct 05
8
Cookie session handling?
Hi,
I and a few folks on #camping thought it would be nice to have either
cookie based or file based session handling. This would eliminate the
need for creating a sessions table in the database (or a sequence),
which feels too heavy for a lightweight framework like Camping anyway.
Plus, we can more easily avoid nasty adapter errors. :)
The general consensus was to create a separate
2006 Jul 15
6
camping - inspiring new way to write applications
hi all,
curious about your input on this latest design experience i''ve had
with camping.
none of that developing a traditional html ui, a ruby backend, and
ajax-ifying the application after being built.
- i started straight off with a camping-based json api (for the model).
- next step was writing the controller in pure js - no dom interactions here.
- then finishing off with a view