Hi Joshua Thanks for pointing this issue out - I've had a few others contact me about the same thing, and will hopefully have a new version of after_commit published sometime in the next 24 hours that fixes this bug.
Cheers -- Pat On 24/11/2009, at 11:48 AM, joshuacronemeyer wrote: > The 1.0.3 gem of aftercommit causes the following error when i run > migrations: > undefined method `unique_transaction_key' for > #<ActiveRecord::ConnectionAdapters::PostgreSQLAdapter:0xb714c1f4> > > I am on the 1.3.4 gem of thinking sphinx > > It looks like the after_commit connection_adapters.rb isn't mixing in > properly so the unique_transaction_key method which gets called from > the active record models hasn't been added to the connection adapter. > I don't know why and I don't know if this is an after_commit problem > or thinking-sphinx problem. In any case, I thought it was worth > mentioning. > > My current workaround was to revert to the 1.0.2 gem of after_commit. > > -- > > You received this message because you are subscribed to the Google > Groups "Thinking Sphinx" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected] > . > For more options, visit this group at > http://groups.google.com/group/thinking-sphinx?hl=en > . > > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
