Hi! Thanks for visiting my blog. If you've received any value from my content would you mind supporting my new startup by downloading our browser add-on? It's called PriceBlink and makes online shopping a breeze. You can watch it in action here and download it for Chrome, Firefox, IE, or Safari by going to PriceBlink.com. Thank you and I hope you enjoy!

Ruby on Rails ‘display’ Reserved Word

Apr 13

Just a quickie to warn you not to use display as a name for any of your Rails actions.  I couldn’t for the life of me figure out why I kept getting an exception in one of my controllers.  It turns out I had an action called display and spent about 30 minutes trying to debug the problem.  When I changed my action and template name to show everything ran as expected.  Hopefully this will save you a bit of time or at least give you a heads up.  Check out this link for more reserved words.

Leave a Reply