Category Archives: Ruby on Rails

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

Posted in Development, Ruby on Rails, Subversion | Leave a comment

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

Posted in Development, Ruby on Rails | Leave a comment

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

Posted in Development, Ruby on Rails | Leave a comment

truncate_with_more

I was looking for a ruby/rails helper that would do what blog post sites do where they show a snippet of text with a ‘more’ link that when clicked displays the rest of the content inline. When I couldn’t find … Continue reading

Posted in Development, Random, Ruby on Rails | Leave a comment