These are generators created by members of the Rails community.
~/.rails/generators/login to use the generator with all your Rails apps./lib/generators/login to use with this app only.by Urbanus
Goldberg is to websites what Scaffold is to databases. Goldberg lets you set up a full-featured website in minutes, including user authentication, security, and site navigation via a menu system. The menu items link either to your controller’s actions or to content pages (Goldberg has a very simple CMS system built in). The menus are integrated with the security: the user only sees links to the menu items for which she has security.
Goldberg is easy to use because you don’t need to write any Goldberg-specific code in your application; conversely you don’t have to write any application-specific code in Goldberg. There are no APIs to learn and no config files to hack. You just set up your MVC applications alongside Goldberg, and use Goldberg to secure them and add them to the site’s menu. This is done through an administrative user interface that comes out-of-the-box with Goldberg.
You can get Goldberg from its RubyForge project page. The Goldberg home page (above) has installation instructions and some information on usage.
by DrNic
gem install has_many_through_generator ruby script/generate has_many_through User Group Membership
The hasmanythrough generator creates 3 models forming a many-to-many relationship between each other, using has_many :through relationships (instead of has_and_belongs_to). It also generates the migrations and a wonderful set of Unit Tests for each model.
BONUS: it generates CRUD controllers and functional tests.
by Jonathon
gem install trestle_generator
The trestle generator is drop in replacement for the scaffold generator. It produces scaffolding that’s more like production-quality code. Trestles have two advantages over scaffolds:
by TobiasLuetke
gem install --source ==http://dist.leetsoft.com== postback_generator
Postback is scaffolding in a different style: forms post back to the same action, giving clearer URLs for users and simpler code for developers. It also moves the form into a partial for easier updating and provides a lot of extra css hooks for customization.
by BrucePerens
gem install model_security_generator
ModelSecurity helps Ruby on Rails developers implement a security defense in depth by implementing access control within the data model.
If you are like most developers, you think about security when you program controllers and views. But a bug in your controller or view can compromise the security of your application, unless your data model has also been secured.
The economical, flexible, and extremely readable means of specifying access controls provided by ModelSecurity makes it easier for the developer to think about security, and makes security assumptions that might otherwise live in one developers head concrete and communicable to others.
There is also a User facility that builds upon the work in LoginGenerator and SaltedHashLoginGenerator.
See http://perens.com/FreeSoftware/ModelSecurity for more information.
by TobiasLuetke
gem install login_generator
This generator creates a working authentication system. It comes with a User model which protects password using SHA1..
by BrianEllin
A port of LoginGenerator that uses OpenID for authentication instead of hashed passwords.
gem install openid_login_generator
by JoeHosteny
gem install --source ==http://gems.rubyforge.org/== salted_login_generator
Thanks to TobiasLuetke for his generator, and AndreasSchwarz for the RForum code. I’ve used code from both to produce a login generator that contains some additional features I need for an upcoming project. Features include:
by DuaneJohnson
available in source code only at this point: TabbedNavbarGenerator.
This generator creates a 3-state tabbed navigation bar that works in IE 5.0+, Safari, Firefox and Opera browsers. It uses a single image for each button—each image needs to have the three button states arranged in vertical order from top to bottom: unselected, mouseover, selected.
TabbedNavbarGenerator was created to help others understand how to make their own generators. See UnderstandingGenerators.
gem install search_generator
It integrates the SimpleSearch search engine into any rails application, giving you an embedded search engine. It also provides an OpenSearch query api and response RSS feed of your data.
by DuaneJohnson
gem install rails_product
gem install site_generator
A “productized” application is a two-tiered application. The first tier is a single base application that encapsulates common functionality for your product. The second tier consists of several customized applications that inherit and extend functionality from that base. It is useful for web developers who want to create a base application with some sort of generic functionality (e.g. a shopping cart) and then extend or modify that functionality for specific clients only.
The first of these two generators makes it easy to create a two-tiered Productized Rails Application by generating the base application (“rails_product [app_name]”). The second generator gives you the ability to add second-tier applications with “./script/generate site [site_name]”.
See also: HowtoProductizeYourApplication
Makes great little graphs with RMagick. A Rails helper makes it really easy to work graphs into your web app. Make your pages colorful and your information useful.
sudo gem install sparklines sudo gem install sparklines_generator
by BillKatz – dbmodel-0.1.0.gem (See wiki page for non-standard install/use)
dbmodel is a tool to generate Rails files (models, scaffolds) from a free graphic database design tool, DBDesigner 4.
You can create tables in DBDesigner, specify table relations, synchronize the model with a mySQL database, and then use dbmodel to automatically generate code. Table relationships like has_many :beers are inserted into the appropriate model files in a non-destructive fashion if they aren’t already there.
by Fabien Penso
The gem and documentation is available at : http://penso.info/code/auth_generator
This module handle authentification and provide a complete administration interface to handle users. You can manage users per group, and allow pages only to certain groups. The account must have a working email address, and all the usual features are there (forgot password, creating new account, resend the confirmation message, etc). You can also use that generator with static pages and still display the account info of the logged user.
by TobiasLuetke – Can be used in creating paypal buttons and can do IPN communication and extraction. http://dist.leetsoft.com/
Latest gems version is paypal-1.0.1 (as of Feb 22, 2006) and it is believed the latest unreleased version, paypal-1.5, supports creating encrypted Paypal BUYNOW buttons.
Note: Those looking for a starting point for the PayPal API should look at WSDL4Ruby and XSD4Ruby to generate the classes based on the WSDL and XSD files.
by MarkusQ-
A SQL-based wiki generator.
by ScottLaird
sudo gem install schema_generator
Auto-generates SQL schemas from a collection of migrations. Drastically reduces the amount of work needed to keep static schema files up to date for projects that need to support migrations and multiple databases.
by MattMcCray – theme_generator.gem
Theme generator initializes your application to support themes and creates a new theme folder structure. This generator packages the Typo theme engine, abstracting it to the point of making it easy to use for any application.
sudo gem install theme_generator
Usage is quite simple, call the generator with the name of the theme to create:
./script/generate theme bluebird
It will then create the theme structure for the new ‘bluebird’ theme, as well as add all of the plugins/components needed for themes to work. To tell Rails to render the theme, just use the theme helper in your controller (just like you do with layouts):
class ApplicationController < ActionController::Base layout 'default' theme 'bluebird' end
by Richard White, originally Maurycy Pawlowski-Wieronski
This generator creates a AJAX’ified scaffold, adding, editing and deletion is all done from the same page and inline.

Go check out the demo then go read the how-tos:
part II
and part III
RubyForge Ajax Scaffold page
File Upload with Ajax Scaffold
by MikeBlake
gem install table_generator
The table generator simply generates a database table
for storing data from a model object. If the model and or scaffold do not exist, it creates them as well. Minimum parameters are a table name followed by at least one field name.
Example:
./script/generate table Branch name
Example:
./script/generate table Account account_no:integer:10 type:varchar:50 balance:float created_on:date branch_id:int
gem install ropenlaszlo ./script/plugin install svn://rubyforge.org/var/svn/laszlo-plugin/tags/openlaszlo
The OpenLaszlo Rails plugin includes generators for REST controllers, OpenLaszlo applets that connect to these controllers, and view templates that display the applets.
Examples:
- generate a controller that implement the OpenLaszlo REST XML API
./script/generate rest_controller- generates an OpenLaszlo source file, and a view that displays it
./script/generate applet
by Sean Geoghegan?
gem install rdf_schema_generator
The rdf schema generator creates a class containing constants for properties and classes defined in an rdf schema.
The generator takes a namespace prefix and a url of a RDF schema as arguments.
The generator creates a schema class in lib/rdf.
For an RDF Schema to be properly parsed, it needs to have labels for each class and property and it needs to use the XML-ABBREV syntax. Most RDFS documents will work given these constraints.
Example:
./script/generate rdf_schema RDF <a href="http://www.w3.org/1999/02/22-rdf-syntax-ns">http://www.w3.org/1999/02/22-rdf-syntax-ns</a>
A possible source of RDFs :
http://www.schemaweb.info
Generates a couple of useful rake tasks. See SVN Conf Generator page.
RailStat is a real-time web site statistics package.
Features:
* Page views paths on each session
* Number of total hits / unique hits
* Operating system and browser
* Countries and languages
* Referrers and search strings
* Flash / JavaVM / Javascript / ScreenWidth / ColorDepth
gem install rail_stat_generator ./script/generate rail_stat
category: Generator, Resource