In Rails console when I write Something like: City.human_attribute_name("model") it's work correctly, a return value, but when I try to use it in .haml in Optio
I'm trying to figure out if there's some way to make the following code both visually "clean" and also easily sortable so each line with an array item has one a
I currently have this line of code: =select_tag :resource_id, options_for_select( Resource.find(:all, :conditions => "resourcetype = 'data-sheets' &&