public
Description: CVCC Rails presentation
Homepage:
Clone URL: git://github.com/napcs/pastebin.git
Brian Hogan (author)
Mon Nov 24 12:57:25 -0800 2008
commit  66c75e1e551b3ed249f576bb3ffbec8013a42e61
tree    29bc3cf51cd7fa45443f3292164aaac11803f9ea
parent  608837f601791538ecab3af807bc286983f90578
name age message
file .gitignore Mon Nov 24 12:52:52 -0800 2008 Updated files and removed sample db [Brian Hogan]
file README.rdoc Mon Nov 24 12:57:25 -0800 2008 more instructions [Brian Hogan]
file Rakefile Mon Nov 24 11:08:50 -0800 2008 Initial import [Brian Hogan]
directory app/ Mon Nov 24 11:08:50 -0800 2008 Initial import [Brian Hogan]
directory config/ Mon Nov 24 12:52:52 -0800 2008 Updated files and removed sample db [Brian Hogan]
directory db/ Mon Nov 24 12:52:52 -0800 2008 Updated files and removed sample db [Brian Hogan]
directory doc/ Mon Nov 24 11:08:50 -0800 2008 Initial import [Brian Hogan]
directory public/ Mon Nov 24 11:08:50 -0800 2008 Initial import [Brian Hogan]
directory script/ Mon Nov 24 11:08:50 -0800 2008 Initial import [Brian Hogan]
directory test/ Mon Nov 24 11:08:50 -0800 2008 Initial import [Brian Hogan]
README.rdoc

PasteBin

This is a very simple pastebin application that I use when giving talks on how to do behavior-driven development with Ruby on Rails.

Installation and Usage

This requires the Ruby on Rails framework. If you wish to run the Integration tests, you’ll need the Webrat gem.

You’ll also need SQLite3.

To use, rename the database.yml.example file to database.yml and then run the following commands:

  rake db:migrate
  ruby script/server

Then visit localhost:3000 to give it a try.

License

Copyright 2008 Brian P. Hogan under the MIT license. Do what you want with this code, just don’t claim it as your own. There’s no warranties here either and no guarantee that this will even work for you.