delicious

RubyGem: Image PlaceHolder

A murb'ed feed, posted more than 5 years ago filed in ruby, development, rubygems & images.

A small utility gem for Rails developers. I’m maintaining a large website on many recipes, and hence many photos. To reduce the size of the project on my development machine I’ve removed all imagery, but it was bothering me that this resulted in lots of 404-responses in my logging. This gem solves this by simply rendering a placeholder instead.

Go to the original link.