Sha256: 707bc513da3b0a45007c52a3d09e35e6d5e5d1954eaa2822955cc1a5e9c50fb6
Contents?: true
Size: 1.51 KB
Versions: 1
Compression:
Stored size: 1.51 KB
Contents
= Muck Users == Installation The muck users engine is part of the muck framework and relies upon the muck_engine as well as authlogic. Both gems should be installed automatically when you install the muck_users engine. sudo gem install muck_users Use search logic for searching users. Add this to environment.rb: config.gem "binarylogic-searchlogic", :lib => 'searchlogic', :source => 'http://gems.github.com', :version => '~> 2.0.0' In addition, you will need to install the ssl_requirement plugin (http://github.com/rails/ssl_requirement/tree/master) into your Rails project: ruby script/plugin install ssl_requirement == Usage Be sure to add this route to your routes.rb file: map.public_user_path '/profiles/:id', :controller => 'profiles', :action => 'show' This is the path that a user will be redirected to if they attempt to access another user's dashboard page. == General information This engine implements authlogic. Some of the code contained was taken from here: http://railsforum.com/viewtopic.php?id=14216 and here http://github.com/activefx/restful_authentication_tutorial/tree/master Inspiration also came from: http://github.com/tsechingho/authlogic_bundle/tree/master Example ======= After installing the engine just create a user model thus: class User < ActiveRecord::Base acts_as_authentic acts_as_muck_user end Then you will be able to go to: http//:localhost:3000/login http//:localhost:3000/signup Copyright (c) 2009 Justin Ball, released under the MIT license
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
muck-users-0.1.7 | README.rdoc |