Forums | Admin

Discussion Forums: open-discussion

Start New Thread Start New Thread


By: Daniel Parker
RE: NoMethod Error with quickbooks lib [ reply ]  
2008-06-12 18:57
I'll work on fixing this and release it in a minor release.

By: Jayesh Patel
NoMethod Error with quickbooks lib [ reply ]  
2008-05-31 17:50
Example Code:

require 'quickbooks'
journals = Journal.find(:all)

I get the following error during execution of Journal.find(:all):

/var/www/test/InnCommish/vendor/rails/railties/lib/commands/runner.rb:45: /var/www/test/InnCommish/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/multibyte/chars.rb:89:in `send': undefined method `set' for "uploads":String (NoMethodError)

If I comment out the 'require quickbooks' statement, the error goes away.

I believe the problem is caused by the following command in request.rb and response.rb:

delegate_methods [:each, :length, :first, :last, :[], :map, :join] => :set

It there a solution to restore/limit the dynamic modification to only the quickbooks code?