Skip to content

infoether/startups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

InfoEther's gem to generate base files and content in a new Rails app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published