active record exception fix
Merge pull request #1 from yoprst/active_record_exception_fix

active record exception fix