after_commit icon indicating copy to clipboard operation
after_commit copied to clipboard

1.0.3 error

Open dru opened this issue 16 years ago • 1 comments

with version 1.0.3 I get following error when using it with thinking-sphinx 1.3.4 (after_commit version 1.0.2 works fine) postgres 8.3 with pg adapter (0.8.0)

/opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/after_commit-  1.0.3/lib/after_commit/connection_adapters.rb:157:in `increment_transaction_pointer':    You have a nil object when you didn't expect it! (NoMethodError)
You might have expected an instance of Array.
The error occurred while evaluating nil.+
from /opt/ruby-enterprise-1.8.7-2009.10/lib/ruby/gems/1.8/gems/after_commit-  1.0.3/lib/after_commit/connection_adapters.rb:11:in `commit_db_transaction'

dru avatar Nov 24 '09 20:11 dru

Hi Andrey

Can you log this issue against my version of after_commit? I'm currently maintaining the gem version that's on gemcutter.org (and so the error is my fault).

pat avatar Nov 24 '09 22:11 pat