My development team needs to more accurately perform rake tasks. There are certain tasks that need to be run only once after changing a specific code. Without becoming too specific, it would be necessary to update some existing user records after a new business rule for new users is implemented in the code.
We like the way migrations use the db table for logging. Is there a similar tool for rake tasks? Can we hack the Rails / ActiveRecord migration system for rake tasks?
We would prefer not to mix db-related migrations with rake tasks, so any solution that explicitly stores these separate data will be great.
Thank.
source
share