Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Home

Satish edited this page · 4 revisions
Clone this wiki locally

Rails Startup Template

This template lets you to create quickly new Rails applications using Rails 2.×.×. To use it, just specify the -m switch when creating a Rails application:

rails new_app_name -m http://github.com/Satish/Rails-Startup-App/raw/master/template.rb

Generated Application

Here’s a list of what this template sets up:

Rails

Javascript

SCM

  • git repository.

Testing

  • TODO

Some other useful gems/plugins such as:

Post Installation Instructions/notes

1. Please update application routes.rb if any of the generated controller is in namespace.
Example: for controller: admin/users_controller.rb, routes should be as bellow


  map.namespace :admin do |admin|
  admin.with_options :controller => :users do |controller|
    controller.signup '/signup', :action => :new, :conditions => { :method => :get }
    controller.resource :user, :only => [:show, :create, :edit, :update]
  end
  
Something went wrong with that request. Please try again.