Last Updated: February 25, 2016
·
334
· hotfusionman

ActiveRecord::Base instance to-SQL dumper

Ever needed to generate the SQL for exactly recreating an ActiveRecord::Base instance (like if you accidentally deleted it and need that exact record back to easily restore referential integrity)? Here's an instance method to do that: http://j.mp/1bxZGve