Displaying 20 results from an estimated 7000 matches similar to: "Linking between Camping apps?"
2006 Aug 13
3
+ migrations in camping
Camping apps are supposed to be little independent apps, often contained in a
single file, which create the database tables and manage them without hassle.
These days it''s common to see in a Camping app:
module Tepee::Models
def self.schema(&block)
@@schema = block if block_given?
@@schema
end
end
Tepee::Models.schema do
create_table :tepee_pages,
2006 May 16
0
! camping 1.4.1.96
I''m just about ready to release 1.4.2. Here''s the pre-release:
gem install camping --source code.whytheluckystiff.net
The biggest recent change is that the Camping commandline tool now
allows mounting of several apps. I''ve eliminated examples/serve and am
encouraging use of the camping tool. Instead, use:
camping examples/blog/blog.rb examples/tepee/tepee.rb
2006 May 18
0
+ Camping::FastCGI
Getting Camping to work with FastCGI is a little clunky, since FastCGI
doesn''t really understand mounting apps and sometimes the environment
vars are a little whack. To keep the postambles easy to read, I''ve
moved the handy stuff into lib/camping/fastcgi.rb.
== Mounting a Single App
Assuming: Camping.goes :Blog ... this goes in your postamble ...
require
2006 Jul 06
0
+ camping 1.4.120
Okay, let''s see.
gem install camping --source code.whytheluckystiff.net
A bunch of great stuff.
* Camping::Apps stores constants for all loaded apps.
* bin/camping can be given a directory. [1]
Like: camping examples/
* Console mode -- thank zimbatm.
Use: camping -C yourapp.rb
* Call controllers with Camping.method_missing.
Tepee.get(:Index) #=> (Response)
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).
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 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,
2007 Aug 10
0
Reloader, Mounts, FastCGI
I''m trying to figure out how to get the Reloader to work with this kind
of a setup:
(from http://camping.rubyforge.org/classes/Camping/FastCGI.html)
---
require ''camping/fastcgi''
fast = Camping::FastCGI.new
fast.mount("/blog", Blog)
fast.mount("/tepee", Tepee)
fast.mount("/", Index)
fast.start
Tried a bunch of different variations
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
2007 Jul 07
0
[patch] trunk markaby fix
so i guess the parser changed or something..
-------------- next part --------------
Index: camping.rb
===================================================================
--- camping.rb (revision 194)
+++ camping.rb (working copy)
@@ -7,7 +7,7 @@
c=self/c;c="//"+ at env.HTTP_HOST+c if c[/^\//];URI(c)end;def/p;p[/^\//]?@root+p :
p end;def errors_for o;ul.errors{o.errors.each_full{|x|li
2008 May 28
3
Plug-in support for Camping Apps
# camping_plugin.rb
# plug-in support for Camping Apps
# require ''lib/camping_plugin''
# override R helper method to your liking :-)
module Camping
module PluginHelpers
def R_with_module(c,*g)
p,h=/\(.+?\)/,g.grep(Hash)
g-=h
raise "bad route" unless u = c.urls.find{|x|
break x if x.scan(p).size == g.size &&
2006 Oct 02
1
Problems Deploying a Camping app on TxD
So I''ve been trying all day to get a small camping app I wrote up on
Textdrive to no avail.
Right now I''m getting a 500 error when I go to the site, and it spits this
out (from lightty after i restart it and make a request to the app):
(eval):13:in `initialize'': undefined method `to_hash'' for
#<FCGI::Stream:0x83a35d8> (NoMethodError)
from
2006 Mar 26
4
select information from sqlite_master error
Hi,
I''m having fun playing around with Camping...I am slowly working on extending tepee to a personal e-notebook sort of tool (never lose my papers/revisions....hehe).
I''ve given tepee an oswd css design, and am currently adding a admin page that I want to show the ruby version, sqlite version and db size and db stats information.
I tried running:
@db_stats =
2007 Jun 01
0
Thief, a Simple Camping App
For your entertainment, a simple Camping app to watch your Backpack
account and show a list of recently updated pages. I hope to implement
an RSS feed soon.
Uses Hpricot to parse the XML from Backpack.
http://svn.topfunky.com/public/camping/thief/
Geoffrey Grosenbach
........................
Screencast | http://peepcode.com
2006 Nov 18
0
Camping S5 Presenter App
I attended a lecture in Sydney, Australia earlier this week that
featured a rulin'' presenter app written in Camping. It recreates Eric
Myer''s S5 presenter app, but with a better implementation in Ruby.
I hope I''m not jumping the gun, but the author is Myles Byrne and he
posted a link to the svn here (don''t bug him with feature requests
for a few
2010 Aug 19
0
Camping 2.1 - ERB, Haml, 1.9, bug fixes, new website!
{}
||
||
~~~~~~~~~~~~~~~ <= _whycake
~ Camping 2.1 ~
~~~~~~~~~~~~~~~
I''m pleased to announce another release of Camping, the microframework. This
time we''ve focused on improving the 1.9 support, adding (builtin) support for
more template engines, refreshing the homepage and just general bug fixes.
gem install camping
Home:
2007 Mar 28
1
Pimpin'' a patch: moving the bin/camping logic to classes
Hello,
Zimbatm suggested the best way to push a patch into camping was to
take my case to the people. So here it is. If you want to jump
straight to the patch:
http://code.whytheluckystiff.net/camping/ticket/117
Goal: Move the logic in the camping command line launcher into several classes
Why? In the next version of parasite (http://parasite.rubyforge.org)
I''d like to take over
2006 Jul 12
1
+ camping 1.4.123
And now:
gem install camping --source code.whytheluckystiff.net
I hope this will be the last development release before 1.5.
* ActiveRecord no longer required or installed.
* If you refer to Models::Base, however, ActiveRecord will be loaded
with autoload. (see lib/camping/db.rb)
* new Camping::FastCGI.serve which will serve a whole directory of apps
(see TheCampingServer[1])
*
2012 Apr 06
1
lighttpd + fastcgi + camping
Hello all,
I am running in some little stumbling blocks with passenger as a multi user
environment (the most problematic feature is that, once you setup a
sub-domain passenger wants you to declare on nginx every app running on
that nginx server which is not ideal to add apps on the fly and / or if a
user wants to run 2 apps from his space)
so I was thinking about a more drag a drop / one line
2006 Aug 15
1
Camping with Dr. Nic
Campers. Dr. Nic.
The new migrations in Camping''s trunk are very nice. They also open
the door (just an inch) to using Dr. Nic''s Magic Models with Camping.
Here''s my stab at ''er:
http://require.errtheblog.com/camping/blog.rb
Run that against Camping trunk. Don''t forget to `sudo gem install
dr_nic_magic_models`.
The hackery is in