In a recent project, I was attempting to dynamically display an overlay on top of an image that contained the image’s alternative text. The overlay was to display whenever the mouse hovered over said image and hide once the mouse blurred on the image.
Unfortunately, my first attempt at this resulted in a lot of flickering.
Continue reading “Image Flickering with a jQuery Overlay”
When you build an app always look out for the non-essential features. Make sure they don’t make it into your v1.0. They slow down your release, they dilute your focus, they require resources that pull you away from perfecting the core of your app, and they open the door to more bugs at launch.
(via Signal versus Noise)
Accessing a controller asynchronously usually requires writing a respond_to block in the corresponding action but I recently had the need to return a specific value in the same action based on the query string parameters.
Continue reading “respond_to with Conditionals in Rails”