InfoEther's gem to generate base files and content in a new Rails app
Ruby CSS JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
rails_generators
CHANGELOG
LICENSE
README.textile
Rakefile
TODO
startups.gemspec

README.textile

Startups

Rails gem with collection of Rails “startups” for features such as navigation and forms with customizable error handling, base stylesheets, base gems, etc. We welcome suggestions and code submissions to the project.

Install

gem install startups

Usage

Rails 2

After installing the gem, you can use the startup generators in your Rails app.

From your rails app’s root directory, type:

script/generate startup_nav

Rails 3

The gem must be added to your Gemfile before you can use it. Add this line:

gem 'startups'

From your rails app’s root directory, type:

script/rails generate startup

Included Generators

  • startup_layout: Generates the base files for any standard app and some basic no design styles
  • startup_nav: generates the files needed for a simple, easily styled navigation.
  • startup_content: generated a content controller for home and other non-rest pages. A basic layout and stylesheet is also provided.
  • startup: Executes all the generators above.

For more information, run:
script/generate startup_nav --help

TO DO

  • TODO script/destroy should also work
  • startup_form generator that would generate the files needed for generic forms with custom error handling (using formtastic)