So I’m working on a project and obviously I wanted to take advantage of the built in AJAX in rails using UJS. I for some reason couldn’t find a good tutorial on how to do it so I figured I would just write one instead. Here’s the basics of how I solved it. I’m going to assume a couple of things to start so that this tutorial stays within scope.Continue Reading
ArchivesCategory: Rails
29OctAdding a link to an image in Rails 3.1
So I had a small issue the other day learning how to add a link to an image so I figure I would share with everyone on how I accomplished it. The key is that the link_to object can take a block and then you can add an image to the block like this:Continue Reading
Recent Comments