Add ActiveRecord::Tasks::DatabaseTasks.migrate
This extracts the logic that was embedded in a Rake task into a static method. Bonus: the first test for `rake db:migrate`
Showing
想要评论请 注册 或 登录
This extracts the logic that was embedded in a Rake task into a static method. Bonus: the first test for `rake db:migrate`