Tag: image rotator in Ruby on rails

Random Image Rotation in ROR

It’s pretty easy to accomplish random image rotation in ROR. This is a simple example of how it can be done, and of course there are ways to make it better (for example, this snippet will only rotate and display .jpg, .gif, and .png files). First, create a folder – let’s name it “rotate” – …

Continue reading

Permanent link to this article: https://blog.openshell.in/2011/01/random-image-rotation-in-ror/