pacioli 0.0.26 → 0.0.27

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,7 +11,7 @@ module Pacioli
11
11
  has_many :creditors, foreign_key: :pacioli_company_id, dependent: :destroy
12
12
 
13
13
  def self.for(company)
14
- Company.where(companyable_type: company.class.name, companyable_id: company.id).includes(:parties, :accounts).first
14
+ Company.where(companyable_type: company.class.name, companyable_id: company.id).includes(:parties, accounts: [transactions: [:journal_entry]]).first
15
15
  end
16
16
 
17
17
  def fetch_account(name)
@@ -1,3 +1,3 @@
1
1
  module Pacioli
2
- VERSION = "0.0.26"
2
+ VERSION = "0.0.27"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 26
9
- version: 0.0.26
8
+ - 27
9
+ version: 0.0.27
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jeffrey van Aswegen