camping-unabridged.rb

Path: lib/camping-unabridged.rb
Last Update: Mon Oct 06 15:42:40 -0400 2008

About camping.rb

Camping comes with two versions of its source code. The code contained in lib/camping.rb is compressed, stripped of whitespace, using compact algorithms to keep it tight. The unspoken rule is that camping.rb should be flowed with no more than 80 characters per line and must not exceed four kilobytes.

On the other hand, lib/camping-unabridged.rb contains the same code, laid out nicely with piles of documentation everywhere. This documentation is entirely generated from lib/camping-unabridged.rb using RDoc and our "flipbook" template found in the extras directory of any camping distribution.

Requirements

Camping requires at least Ruby 1.8.2.

Camping depends on the following libraries. If you install through RubyGems, these will be automatically installed for you.

  • ActiveRecord, used in your models. ActiveRecord is an object-to-relational database mapper with adapters for SQLite3, MySQL, PostgreSQL, SQL Server and more.
  • Markaby, used in your views to describe HTML in plain Ruby.
  • MetAid, a few metaprogramming methods which Camping uses.
  • Tempfile, for storing file uploads.

Camping also works well with Mongrel, the swift Ruby web server. rubyforge.org/projects/mongrel Mongrel comes with examples in its examples/camping directory.

[Validate]