Skip to content
Bootstrap a Rails 2.3 app with user authentication (Authlogic, Clearance, restful_authentication)
Ruby JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app remove tracker partial file, not being used
config
db fix the erroring password change. move admin user to seed-fu
features remove email_spec
lib add more features
public
spec fix the erroring password change. move admin user to seed-fu
.gitignore setup tests for the generated apps
LICENSE add the MIT license
README.textile remove expose_model from readme, not using it anymore
Rakefile add cucumber and a simple starter feature
base.rb
gitignore add cucumber and a simple starter feature

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.