DOUBLE ENTRY ACCOUNTING IN RAILS 4