Authlogic and rescue_from ActionController::RoutingError
Spicing up your error pages can be the deciding factor on a sale or not. One of my clients wants just that, user friendly error pages and more sales. So I set off to test some ways to do so. What did I decide to do? Simple. All of my clients movies are tagged. So, [...]
Nifty RubyOnRails Layout Method
So I find myself in many situations where different actions need different layouts, which is common in large multiuser systems. For example, in my system, when you are viewing a user index, it loads the layout ‘application’. When you’re viewing the edit action, it loads the layout ‘profile’, otherwise it loads the layout ‘user’. I [...]
