RailsCasts Pro episodes are now free!

Learn more or hide this

Lee Jarvis's Profile

GitHub User: leejarvis

Site: http://injekt.net

Comments by Lee Jarvis

Avatar

Using delegate :name, :to => :category, :prefix => 'category' would simply do category.name rather than read the loaded/cached category_name attribute. AFAIK

Avatar

It works fine here, the only difference is I'm using libxml version 2.7.8. Perhaps try updating libxml, I know nokogiri has had issues with some past versions

Avatar

@Ainars Same old icon? Not sure if you're referring to how Ryans drawer looks like, but he's using the TextMate MissingDrawer plugin.

Ryan, thanks for the plug. Create episode as always!

Avatar

@Ricky You can add a before_filter to your controller and have a method which may redirect a user if they're not logged in. That's how a lot of authentication solutions work.