public
Description: A bootstrap Rails application with login and some other goodies. I use this when creating a new app, instead of the rails command.
Clone URL: git://github.com/leethal/blank-rails-app.git
Search Repo:
name age message
folder .gitignore Wed May 28 06:43:35 -0700 2008 Dirty commin tue to git noobness (pushed to a n... [leethal]
folder LICENSE Tue Jul 15 04:59:53 -0700 2008 Added a LICENCE, updated README [leethal]
folder README.markdown Thu Jul 31 01:48:27 -0700 2008 Running rake db:migrate on rake app:init automa... [leethal]
folder Rakefile Wed Mar 12 06:15:03 -0700 2008 Added blank rails app [leethal]
folder TODO Thu Jul 31 01:52:06 -0700 2008 Added a TODO [leethal]
folder app/ Wed Sep 03 06:51:06 -0700 2008 I heard the words buzzing. [leethal]
folder config/ Sun Aug 10 08:25:22 -0700 2008 Following conventions and renaming ProfileContr... [leethal]
folder db/ Thu Mar 13 07:20:53 -0700 2008 Added e-mail column to users, to support passwo... [leethal]
folder doc/ Wed Mar 12 06:15:03 -0700 2008 Added blank rails app [leethal]
folder lib/ Mon Sep 01 08:56:31 -0700 2008 Clears session[:stored_location] when redirecti... [leethal]
folder log/ Wed Mar 12 06:54:52 -0700 2008 Added a session controller. [leethal]
folder public/ Thu Jun 05 04:49:39 -0700 2008 Configuring jQuery to play nicely with rails' r... [leethal]
folder script/ Thu Jun 05 04:48:34 -0700 2008 Updated to Rails 2.1 [leethal]
folder test/ Wed Sep 03 06:51:06 -0700 2008 I heard the words buzzing. [leethal]
folder tmp/ Wed Mar 12 06:15:03 -0700 2008 Added blank rails app [leethal]
folder vendor/ Tue Jul 08 23:42:06 -0700 2008 Added the shoulda plugin. Will probably convert... [leethal]
README.markdown

Blank Rails app

An alternative to the Rails command. Contains basic stuff such as user authentication, static pages etc. that you're most likely going to need in all of your applications.

TODO when creating a new app

  • Run rake app:init. It creates config/database.yml and config/settings.yml. It also creates a users.yml fixture, with an appropriately salted password hash. Then, it runs rake db:migrate.
  • Run rake test to make sure all the tests pass.

Static pages

Static pages is created as views in app/views/pages. A route (and the pages controller) maps /foo to these static pages. Creating app/views/pages/about.html.erb gives you /about.

The root of the app is by default app/views/pages/index.html.erb.

Form builder and form fields

Description here.

jQuery

Description here.

User authentication

Description here.

  • Signing up (no validation through e-mails though)
  • Password recovery

License

Released under the MIT license.