createdb dbname -U postgres -O postgresadmin -E 'UTF8'
cd appname
script/plugin install http://svn.techno-weenie.net/projects/plugins/restful_authentication/
script/generate authenticated user sessions --include-activation
rake db:migrate
// edit in /app/controller/application.rb and add the very first line
include AuthenticatedSystem
// edit in /config/database.yml
adapter: postgresql
database: dbname
username: postgresadmin
password: postgresadmin
host: localhost
timeout: 5000
links:
restful_authentication with an excellent tutorial
if you want to have an easy backoffice, you can use the active_scaffold plugin:
git clone git://github.com/activescaffold/active_scaffold.git vendor/plugins/active_scaffold && rm -rf vendor/plugins/active_scaffold/.git
Use WebOrb for commmunication between Flex and Rails with:
ruby script/plugin install http://themidnightcoders.net:8089/svn/weborb
install http://themidnightcoders.net:8089/svn/weborb
if you want to send automatically generated mail on some action use
script/plugin install http://svn.douglasfshearer.com/rails/plugins/action_mailer_optional_tls
more explained on here and here