Sha256: d29d1bedd9a3fa318a9d50bb97d994773fabb3bc37b8a1dd8dbe50ff7a410b43
Contents?: true
Size: 1.79 KB
Versions: 2
Compression:
Stored size: 1.79 KB
Contents
# Double Auth Engine [Authlogic](https://github.com/binarylogic/authlogic) and [Declarative Authorization](https://github.com/stffn/declarative_authorization) together in one fantastic Rails engine. Bladow! ## Usage 1. Add double_auth_engine to Gemfile gem "double_auth_engine" 2. Rebundle bundle install 3. Run the DoubleAuthEngine install generator rails g double_auth_engine:install 4. Migrate your DB and seed it with default seeds (:user and :admin) rake db:migrate:seed 6. Update "default@dummy.com" within setup_mail.rb to the default address for your application. This address is used for the engine's password reset mailer. class ActionMailer::Base def from_with_default(input=nil) return from_without_default(input) || "default@dummy.com" if input.nil? from_without_default(input) end alias_method_chain :from, :default end 5. Start app rails s ## Readme Driven Development A <del>strike</del> means its done! * <del>Add Authlogic</del> * <del>Add Password Reset</del> * <del>Update generator with ActionMailer monkey patch</del> * <del>Update install generator to add include to ApplicationController</del> * <del>Update README for mailer settings</del> * <del>Authlogic specs</del> * <del>Add Declarative Authorization</del> * <del>Declarative Authorization specs</del> * Mailer specs * Style views ## Versioning <strong>Version 0.0.1 </strong> - This project uses [Semantic Versioning](http://semver.org/) ## Contributors All contributions are welcome. Fork repo, make changes, add specs, ensure all specs pass, send a pull request. * [Kyle Bolton](https://github.com/kb) - Creator * [Jeremy Durham](https://github.com/jeremydurham) Copyright (c) 2011 Kyle Bolton, released under the MIT license
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
double_auth_engine-0.0.2 | README.md |
double_auth_engine-0.0.1 | README.md |