Skip to content
Daniel Kehoe edited this page Mar 5, 2012 · 6 revisions

Recipes for the Rails Apps Composer Gem

The Rails Apps Composer gem is used to create the example apps from the Rails Apps repository.

The Rails Apps Composer gem provides recipes to create Rails application templates you can use to generate Rails starter apps. Here’s a list of some of the recipes.

For an up-to-date list, browse the repository recipes directory.

Got a correction or addition? Update the wiki page or create an issue to alert me.

The Recipes

The following recipes were used to create the application templates.

Recipes for General Use

File Dependencies Authors
action_mailer.rb Changes ActionMailer defaults none dkehoe
cleanup.rb Remove unnecessary files, add READMEs none fnichol, dkehoe
extras.rb ban spiders, add rails-footnotes none dkehoe
git.rb Add a gitignore file, initialize new Git repo Git fnichol, dkehoe

Recipes for Testing and BDD

File Dependencies Authors
rspec.rb Install RSpec none rbrooker, dkehoe
cucumber.rb Install Cucumber none rbrooker, dkehoe

Recipes for Mongoid

File Dependencies Authors
mongoid.rb Installs Mongoid with the bson_ext gem Mongoid dkehoe

Recipes for Devise

File Dependencies Authors
devise.rb Installs Devise none dkehoe

Recipes for OmniAuth

File Dependencies Authors
omniauth.rb OmniAuth for authentication none dkehoe
omniauth_email.rb Requests a new uer’s email address when authenticating with Twitter, etc. OmniAuth dkehoe

Recipes for Haml

File Dependencies Authors
haml.rb Installs Haml none dkehoe

Recipes for the Application Layout

File Dependencies Authors
html5.rb updates application layout, adds front-end framework for HTML5 and CSS ERB or Haml dkehoe

Recipes for the Example Apps

File Dependencies Authors
add_user.rb adds User model for use with OmniAuth or Devise none dkehoe
navigation.rb Add navigation links to the default application layout none dkehoe
home_page.rb Create a home controller, route, and simple view ERB or Haml dkehoe
home_page_users.rb Modify a home page to display a list of users Home controller, User model, ERB or Haml dkehoe
seed_database.rb Adds a db/seeds.rb file to initialize a database none dkehoe
users_page.rb Add a home page containing links to User pages User model, ERB or Haml dkehoe
Clone this wiki locally