RailsCasts Pro episodes are now free!

Learn more or hide this

Martin Rehfeld's Profile

GitHub User: martinrehfeld

Site: http://inside.glnetworks.de

Comments by Martin Rehfeld

Avatar

What's with Authlogic anyhow? I always felt it was the better level of abstraction compared to Devise.

Avatar

I've been exercising a similar practice manually for a while now and I can confirm it really makes controllers more concise and readable in 99% of the cases. Good to know it has been wrapped up as a Gem now.

Avatar

Instead of changing Rails' JSON default (or mapping to the attributes as shown), you could also check out the jsonContainer option of the Tokeninput plugin.