Thoughts Heap

A Blog by Roman Gonzalez.-

RSS
Apr
1st
Wed
permalink

Porting merb-auth to Rails 3

As the time pass by, I’m more concern about the future of the excellent quality code of the Merb project. One of the gems of Merb I thought I was going to miss the most was the awesome merb-auth (orginally created by @hassox). Because I don’t want to let go that wonderful authentication framework, I started recently to port that code to Rails. So in that way all the peeps in Rails can take the advantage of this gem.

When I decided to create the project, I noticed that @myobie had already created it, so I started to collaborate with him. Most of the porting stuff was already done (at least all the merb-auth-core), and some strategies from merb-auth-more were added in the same gem (I think I like it this way better).

From that starting point, I’ve helped him on the development of almost all the specs of the implementation, and at the same time, I’ve been working in new generators to make the API work in some sort of out-of-the-box. After finishing this generator, probably I’m going to update the OpenID strategy to make it work with the open_id_authentication plugin; and after that I will focus on a new strategy for Facebook Connect (using dependencies of the kick-ass facebooker gem of course).

The more I develop the specs and the generators, the more I miss the good old Merb, some of my complaints were related to the Rails Generator API (gosh that can be magical and messy), luckily @wycats was paying attention to my complaints and replied me about this matter (that’s what I call a cool core developer, I cannot imagine dhh answering my tweets).

I will keep you posted on the development of the new features. Until then…

blog comments powered by Disqus