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.rbHere’s a list of what this template sets up:
- Authlogic for user authentication, including password resets.
- Declarative Authorization for authorization mechanism.
- git repository.
- TODO
- Will Paginate for pagination.
- HoptoadNotifier for error tracking.
- Paperclip Or ‘AttachmentFu’:http://github.com/technoweenie/attachment_fu for attachment management.
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