Render partial with collection has hidden counter
When rendering a partial with a collection, it can be useful to know the index of the item currently being rendered. It turns out that rails provides this wi...
When rendering a partial with a collection, it can be useful to know the index of the item currently being rendered. It turns out that rails provides this wi...
The simplest way to read a line of input is to use the gets method. However, if you try to use the arrow keys when entering text, you will see that this mere...
I noticed an interesting quirk of the alias method. Normally, if we call super from a method, it calls a method with the same name on the super class. Howeve...
One of the things that I’m still getting used to in ruby is that there are many different ways to accomplish the same task.
My new blog is finally up and running. The most difficult part about installing mephisto was installing codehighlighter to get syntax highlighting of ruby co...