Base Auth plugin

Where do we really need base-auth plugin?
If a ‘user’ has multiple ‘houses’, most of the RESTful actions can use
user.houses itself instead of base-auth.

INDEX: user.houses
EDIT/UPDATE/DESTROY/SHOW: user.houses.find(params[:id])
UPDATE: user.houses.create(params[:house])

In such case, I dont see any real value of using base-auth plugin.

The base-auth plugin is a authentication plugin and has nothing todo
with how you access a resource (the users houses). You can use the
helper methods to enforce access rights but it still has nothing to-do
with user.houses

base-auth is a similar plugin to restful-authentication and Authlogic
just different features…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs