Controlling Whitespace with HAML

by Ryan Schenk on July 31, 2008

When displaying certain elements as inline, the whitespace between tags does matter in your layout. When trying to display some LI tags as inline, I really needed to spit out the tags with no whitespace in between. Unfortunately HAMLs handy-dandy (…)

Read the rest of this entry »

Using Fixtures with Funky Table Names

by Ryan Schenk on July 16, 2008

If you have an AR Model whose table name does not follow the convention, and you have needed to set it explicitly using set_table_name. class ChiliDog < ActiveRecord::Base set_table_name ‘dogs_made_of_chili’ end Then your test fixtures file must be named the (…)

Read the rest of this entry »