2 little ruby utils
Fixes to keep SA model alive