Added attr_accessible for whitelist

Hi there, have fixed this small problem that arose due to the new rails config.active_record.whitelist_attributes = true defaults