Displaying 20 results from an estimated 10000 matches similar to: "ActiveSupport Dependency"
2007 Sep 25
16
putting away HashWithIndifferentAccess
Hey, campineros. And many good handshakes to zimbatm for getting
some patches applied.
So, yeah, I''d really like to get rid of any serious dependancies with
this 1.6 release. Anything that''s not in stdlib has to go. Of course,
camping-omnibus will still assume the whole ActiveRecord, Markaby,
Mongrel setup that''s in the history books.
Metaid can be removed and
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 18
3
+ camping 1.4.138
Just up:
gem install camping --source code.whytheluckystiff.net
The changes:
* Both bin/camping and Camping::FastCGI.serve now act according to the
Camping Server specification.[1]
* Docs are complete.
_why
[1] https://code.whytheluckystiff.net/camping/wiki/TheCampingServer
2006 Jul 18
4
intro
Hi !!!
I''ve just seen this message on
http://redhanded.hobix.com/inspect/theCampingServer.html
I''d really like to see distributions offer a package which would allow
simple setup of TheCampingServer, just as you see with PHP. If you''re
interested in seeing this happen for the upcoming Camping 1.5 release,
introduce yourself on the
2007 Apr 19
4
Save sessions on file system instead of database table?
Hi
Is there a way to save session data on the file system (like in Rails)
instead of a database table?
The reason I''m asking is, that I''m writing a Camping application without
using ActiveRecord (mostly for learning purposes) and I don''t want to
use ActiveRecord just for sessions.
Thanks,
Thomas
-------------- next part --------------
A non-text attachment was
2006 Nov 25
5
Newline problem
Hello all,
Recently I have started writing some small package apps. The main app
I''m working on at the moment is Camping/Photos[1]. Here I use
a controller to serve static files (Theme[3]) that I have copied from [2].
There seems a problem however, when using this via lighttpd. All files
that get served (via photos-dispatch.rb) get an extra ''\r\n'' in front.
This
2007 Jan 06
4
? camping apps in gems
So would you like this:
$ wget http://rubyforge.org/gems/junebug-0.0.18.gem
$ camping junebug-0.0.18.gem
Or should it be:
$ gem install junebug
$ touch junebug.gemcamp
$ camping junebug.gemcamp
_why
2006 Oct 28
4
Mounting an app as ''/'' under Apache?
Hello everyone, I have a site with a collection of camping apps. I''m trying
to force one of them, blog.rb, to run as the index (''/'').
I think that I understand the RDoc as stating that I can execute the
following to make that happen:
Camping::FastCGI.serve File.expand_path(current), Blog
But, when doing so, I recieve the following error:
Camping
2006 Feb 21
6
+ camping/session
Camping now comes with a sessioning class, checked in tonight.
To get sessions working for your application:
1. require ''camping/session''
2. include Camping::Session in your application''s toplevel module.
3. In your application''s create method, add a call to
Camping::Models::Schema.create_schema
4. Throughout your application, use the @state
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
2006 Jul 25
3
+ camping 1.4.140 -- apache+fastcgi, lighttpd+fastcgi
Okay, I have tested mounting several of my apps under Lighttpd and Apache,
both running FastCGI. I''m going to explain the configuration, but first:
update.
gem install camping --source code.whytheluckstiff.net
== Mounting Root for Lighttpd+FastCGI ==
server.port = 3045
server.bind = "192.168.0.103"
server.modules = (
2006 Oct 03
4
! camping 1.5 + markaby 0.5
Not too different from their corresponding last releases, but documentation
has been filled in for both.
To upgrade:
gem install camping --source code.whytheluckystiff.net
And, here is a complete changelog:
== Camping 1.5
* Camping::Apps stores an array of classes for all loaded apps.
* bin/camping can be given a directory. Like: <tt>camping examples/</tt>
* Console mode -- thank
2007 Jan 09
4
Overriding ServerError?
I''m getting ready to deploy a production app based on Camping, but
have one little thing I want to iron out.
Is it possible to override the ServerError class? I need custom 500''s
to come up, and not the normal "Camping Problem!" page.
I am trying to override, just like I do the NotFound class, but can''t
seem to get it to take. I just get a blank page back
2007 Jan 22
4
Postamble vs campingrc
Hi,
Should I be able to use the Webrick postamble instead of using
.campingrc, to tell Camping I want to use mysql? It doesn''t seem to
be working for me. It does work however, when I''m using FastCGI
(establish_connection :adapter => ''mysql'').
James
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
2006 Aug 24
3
Mousehole stuff
Hey everyone,
I''m using mousehole for the first time today (love the artwork, btw) and I
seem to be having problems with Camping and Markaby. When I go to the Apps
page I get:
Camping Problem! MouseHole::Controllers::RApps.GET TypeError
/Users/tzaharia/Sites/mouseHole/lib/mouseHole/views.rb:78:in `+'': can''t
convert String into Array:bla bla bla...
The line in question
2007 Jan 19
4
Rendering with erb
Hi, I thought it would be fun to try to write a render method that
uses erb for rending. I''m not much of a programmer, but I still like
to try:
module Test
require ''erb''
def render(m)
ERB.new(IO.read("templates/layout.html")).result(binding) do
ERB.new(IO.read("templates/#{m}.html")).result(binding)
end
end
end
This
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 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
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