rake task working with AR