Ruby JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db/migrate
doc
public
script
test
vendor
.gitignore
Capfile
README.mdown
Rakefile

README.mdown

Base Rails Application

Base Rails application with commonly-used plugins and a few other handy things.

Setting Up Databases

If you're using MySQL, after setting up config/database.yml, you can simply type:

sudo rake mysql_setup:full

This will setup all three databases for your app using the specified DB prefix as well as add the user you configured.

Included Migrations

This app includes some migrations to get things started:

  • Migration to add the users table
  • Migration to add the user_sessions table
  • Migration to add the logged exceptions table
  • Migration to setup the virtual enumerations table

Application Configuration

The file config/application_config.yml can be used to define global configuration for your application (values can be overridden on a per-environment basis). To access a configuration value from anywhere in the app, simply type:

property(:the_property)

Virtual Enumerations

Virtual enumerations allow you to create arbitrary enumeration classes that behave like ActiveRecord models. They can be configured in config/virtual_enumerations.rb. See http://svn.protocool.com/public/plugins/enumerations_mixin/ for more information.

Installed Plugins

  • Acts as state machine
  • Fancy rake
  • Enhanced console
  • Active scaffold
  • HAML (requires gem install)
  • Annotate models
  • Exception logger
  • Application config
  • Virtual enumerations

Preconfigured For

  • Authlogic (requires gem install)
  • Searchlogic (requires gem install)