Category Archives: Development
Rails Collection Blocks
My great friend and mentor Jake Dempsey is always preaching about code readability and keeping logic out of views, etc, and therefore he’s always writing nice little helpers to do some of the magic — for instance, collection_content_for(collection) which will … Continue reading
Fancy Forgot Password with jQuery/ui and Rails
By now, you have to know how fascinated I am by jQuery, and how much I love using it with Rails to make things simple, yet slick. Last week I did some wireframes for a client, and one of them … Continue reading
Install Ruby, Rails and Subversion … in under 15 minutes.
Quick and Dirty Install Assumes you are logged in as root. Use sudo where necessary (like any make or gem installs). Skip the steps that you already have (i.e. Ruby/RubyGems installation) Install dependencies: yum -y install zlib openssl-devel readline-devel gcc-c++ … Continue reading
Association IDs with Ease
Holy crap, that is a corny title. Oh, but it does have a point! I found this out the other day, and who knows how long it’s been in Rails ( didn’t check the old docs ) , but you … Continue reading
Ruby on Rails SEOness
So since SEO law says that you can’t reuse keywords over and over on pages without being banned, I’ve come up with this (not entirely unique or clever) solution. Basically, you’re going to set up an array with as many … Continue reading