# Restful-Authentication features rewrite

**URL:** <https://www.ruby-forum.com/t/restful-authentication-features-rewrite/154921>\
**Category:** RSpec\
**Created:** [December 5, 2008, 7:06am UTC](https://www.ruby-forum.com/t/restful-authentication-features-rewrite/154921 "2008-12-05T07:06:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![diabolist](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c2a13f/32.png) [@diabolist](https://www.ruby-forum.com/u/diabolist)\
**Post date:** [December 5, 2008, 7:06am UTC](https://www.ruby-forum.com/t/restful-authentication-features-rewrite/154921/1 "2008-12-05T07:06:48Z")

</div>

I’ve put up a Rails sample project on github whose main feature is a  
rewrite  
of the restful-authentication stories using features and trying to  
exhibit  
good practice. I’d love to get some feedback from the group about the  
features I’ve written.

You can find the project at [GitHub - diabolo/fbrp: Feature Based Rails Project](http://github.com/diabolo/fbrp/tree/master)

Ideally I’d like the features to be a useful example of something  
reasonably  
real world for peeps new to this stuff

All best

Andrew

---

<div class="post-metadata">

**Author:** ![diabolist](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/c2a13f/32.png) [@diabolist](https://www.ruby-forum.com/u/diabolist)\
**Post date:** [December 5, 2008, 7:44am UTC](https://www.ruby-forum.com/t/restful-authentication-features-rewrite/154921/2 "2008-12-05T07:44:17Z")

</div>

Andrew P. wrote:

> All best
> 
> Andrew

Hey Andrew,  
First of all, great job! The restful-auth stories and specs are painful  
to look at so I hope this rewrite eventually replaces the stories in  
restful-auth proper. Another cool thing about having these features is  
that you could easily switch over to another authentication  
system/plugin (like AuthLogic[1]) with the same functionality and run  
these to prevent regressions.

I don’t have time to go through everything now but I will try to give  
you feedback soon via the mailing list or github comments and maybe even  
pull requests.

Again, thanks for doing this! I think having this out there so we can  
all critique it will foster some good discussion about feature writing  
guidelines.

-Ben

1. [GitHub - binarylogic/authlogic: A simple ruby authentication solution. · GitHub](http://github.com/binarylogic/authlogic/tree/master)
