envato / double_entry

A double-entry accounting system for Ruby applications.

Home Page:https://rubygems.org/gems/double_entry

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make detail association optional in DoubleEntry::Line

Looooong opened this issue · comments

Do the library enforce the presence of :detail option in DoubleEntry.transfer? If not, please make the detail association in DoubleEntry::Line optional, because Rails 5 makes belongs_to association required by default.