Rails devs, where do you stick things that should be run once on the server but aren’t really DB migrations? Still in a migration?
I avoid using either migrations or rake tasks for one-offs because they generally signal to future users "This is live, maintained code."
-
-
Makes sense. Fwiw, in migrations you can do def down raise IrreversibleMigration end to signal “uhm, only run once”
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.