Written by Sean Behan on Sun Jun 17th 2012

Ruby is beautiful

@posts = if true Post.all else [] end

Simply elegant!


Tagged with..
#beauty #block #conditional #syntax #Ruby on Rails

Just finishing up brewing up some fresh ground comments...