Remove duplication in article model
Migrate hashrockets to 1.9 style syntax