trying to update to 0.5.0 active record