Reorganize ActiveRecord tasks [Arun Agrawal & Abd ar-Rahman Hamidi]