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” – …
Tag: image rotator in Ruby on rails
Permanent link to this article: https://blog.openshell.in/2011/01/random-image-rotation-in-ror/