I’ve written about the disguise gem before, but I’ve made enough changes that it warrants a new blog post. I noticed a few performance problems which have now been fixed and the configuration has been cleaned up a bit. Disguise makes it simple to swap out the views used by your rails application either by…
Category: templates
Stupid WTF! ActionView::MissingTemplate Exception: Missing template users/_user.erb
If you’ve spent much time working with Ruby on Rails and more especially if you’ve done anything with json you might have run across errors like this: ActionView::MissingTemplate Exception: Missing template users/_user.erb </pre> I was having this problem and doing a lot of cursing which is common when I stay up and write code until…