aq1018/mongoid_taggable_with_context

ArgumentError: wrong number of arguments (1 for 2) on tagged_with method

Opened this issue · 2 comments

Hi, thank you for your gem.

I try in my console this:

Article.tagged_with('ruby, mongodb')

but I get this error:

ArgumentError: wrong number of arguments (1 for 2)
from /home/ubuntu/.rvm/gems/ruby-1.9.3-p125@rails32/gems/mongoid_taggable_with_context-0.8.1/lib/mongoid/taggable_with_context.rb:143:in `tagged_with'
from (irb):75
from /home/ubuntu/.rvm/gems/ruby-1.9.3-p125@rails32/gems/railties-3.2.3/lib/rails/commands/console.rb:47:in `start'
from /home/ubuntu/.rvm/gems/ruby-1.9.3-p125@rails32/gems/railties-3.2.3/lib/rails/commands/console.rb:8:in `start'
from /home/ubuntu/.rvm/gems/ruby-1.9.3-p125@rails32/gems/railties-3.2.3/lib/rails/commands.rb:41:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'

Thank you very much!

same issue~!

I have this same issue...kind of a big one.