vitaly / debitcredit

Double Entry Accounting for Rails
MIT License
18 stars 8 forks source link

Tests fail on Rails 4.1 #1

Closed keo closed 9 years ago

keo commented 10 years ago

Hi,

I get the following error when upgrading Rails to 4.1.0:

~/Code/Work/Shinrai/debitcredit/.bundle/gems/activerecord-4.1.0/lib/active_record/associations/builder/association.rb:30:in `build': You tried to define an association named transaction on the model Debitcredit::Item, but this will conflict with a method transaction already defined by Active Record. Please choose a different association name. (ArgumentError)

Were you considering upgrading to Rails 4.1.0?

vitaly commented 9 years ago

fixed in 0.2.0