rails

A 7-post collection


RSS feed of posts tagged rails

Expanding on the Law of Demeter

Recently, my friend Avdi Grim posted a great explanation of the Law of Demeter (LoD). It’s been tweeted and posted all over the web, so hopefully you saw it »

Pro Tip: Encapsulate logic in Rails Views for maintainability

A Rails view anti-pattern is that they very quickly turn into a nasty tangle of conditional html blocks. Example: <code class="ruby"> <% if logged_in? »

From Zero to Rails Hero in 11 Easy Steps (Installing Rails on OS X 10.6.5)

This is the easiest, fastest and best-to-develop-in way to get a rails dev stack up and running on OS X 10.6 (Snow Leopard). I actually find that it’s »

Dev Nation Presentation: Dr. Strangelove or: How I learned to stop worrying and love HTML, CSS, and Javascript

I presented at Dev Nation Portland last weekend. These are my slides: **[Dr. Strangelove or: How I learned to stop worrying and love HTML, CSS and Javascript](http://www.slideshare. »

Rubymine - A Love Story

I started writing code in Flash 5. I actually learned OOP in ActionScript, but that’s another post all together. My point is, my first code editor was Flash. Then »