mrbrdo/has_moderated — Issue #3: TypeError: can't convert Symbol into Hash
Author: matthewlehner
Created: 2011-10-20 20:16:17+00:00
State: open

I'm trying to implement has_moderated in a Rails 3.1 app - I've followed the installation and setup instructions but am getting a type error.

from /Users/matthew/.rvm/gems/ruby-1.9.2-p290@frasernw/gems/has_moderated-0.0.26/lib/has_moderated/moderated_attributes.rb:19:in `merge'
from /Users/matthew/.rvm/gems/ruby-1.9.2-p290@frasernw/gems/has_moderated-0.0.26/lib/has_moderated/moderated_attributes.rb:19:in `block in has_moderated'
from /Users/matthew/.rvm/gems/ruby-1.9.2-p290@frasernw/gems/has_moderated-0.0.26/lib/has_moderated/moderated_attributes.rb:17:in `each'
from /Users/matthew/.rvm/gems/ruby-1.9.2-p290@frasernw/gems/has_moderated-0.0.26/lib/has_moderated/moderated_attributes.rb:17:in `has_moderated'
from /Users/matthew/code/frasernw/app/models/specialist.rb:37:in `'

I've called `has_moderated :firstname` after all associations, has_paper_trail and attr_accessible in the model.

Any hints?