Scaffold generator, perfect for a new app. It features pagination, search, sort, and it's based on lots of known rubygems.
Pull request Compare This branch is even with lucasefe:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
Gemfile
README.textile
Rakefile
core-generators.gemspec

README.textile

Core Generators

Description

Scaffold generator, perfect for a new Rails 3 app. It features pagination, search, sort, and it’s based on lots of known rubygems.

  • inherited_resources
  • show_for
  • simple_form
  • will_paginate
  • haml
  • web-app-theme
  • meta-search
  • nifty-generators (by Ryan bates) (totally ripped off)

Instructions

Create your app

rails new APP_NAME

Configure Gemfile dependency

gem 'core-generators', :group => :development

Run Core Installer Generator

rails generate core:installer  

Run Core Installer Layout

rails generate core:layout LAYOUT_NAME

Run Core Installer Scaffold

rails generate core:scaffold MODEL attributes:types actions

Disclaimer.

It’s very opinionated. This is how I use it, so it may not be of your taste.