rails 4 support
Merge remote-tracking branch 'tricknotes/write_attribute' into rails4