Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Bootstrap a Rails 2.3 app with user authentication (Authlogic, Clearance, restful_authentication)

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 features
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.textile
Octocat-spinner-32 Rakefile
Octocat-spinner-32 base.rb
Octocat-spinner-32 gitignore
README.textile

Strappy

Bootstrap a Rails 2.3 app with a template

Notes for anybody using older versions of Strappy

Branch shuffling.

master => choosy golden => master authlogic is untouched restful_authentication is untouched

What are these branches?

  • master is what we use ourselves, the explanation of what it has is this doc
  • choosy is a template that allows you to choose your auth method from Authlogic, Clearance, restful_authentication or none
  • authlogic generates an app with authlogic code
  • restful_authentication generates an app with restful_authentication code

Keep in mind that once we decided on this setup the others have not been maintained.

What does this thing have in it

  • Haml views
  • Sass stylesheets
  • jQuery 1.4
  • jQueryUI 1.7
  • Blackbird for UI debugging
  • CC.rb rake task
  • Capistrano with Staging and Production environments
  • A default ‘home’ controller in place of index.html
  • A strappy rake task to install commonly used plugins, lifted from Bort and modified

Admittedly this thing kind of steps out side of the box in what I believe they intended application templates to do by bringing in controllers and specs.

Gems

Installed plugins

Plugins available through rake strappy:install

Haml rake task

You can use rake haml:from:format to convert templates to Haml, where format would generally be erb or rhtml

Usage

rails -m http://github.com/pixels-and-bits/strappy/raw/master/base.rb app_name
Something went wrong with that request. Please try again.