hi there. I’m still quite new to ruby RoR, but I’m trying to write a RoR task that validates migration files (makes sure down part inverts up part correctly and vice versa). Anybody have an idea about how to get started. I’ve been readings all kinds of ruby documentation RoR source code and I guess I would just parse each migration file one by one and do the check. How would you do it?
— #rubyonrails 1 year ago