Using delegate :name, :to => :category, :prefix => 'category' would simply do category.name rather than read the loaded/cached category_name attribute. AFAIK
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
@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.
Using
delegate :name, :to => :category, :prefix => 'category'
would simply docategory.name
rather than read the loaded/cachedcategory_name
attribute. AFAIKIt 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
@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!
@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.