rocket_tag icon indicating copy to clipboard operation
rocket_tag copied to clipboard

RocketTag.configure - undefined method configure

Open amnwebmaster opened this issue 11 years ago • 2 comments

Added configuration option for lowercase as an initializer as such

RocketTag.configure do |config|
  config.force_lowercase = true
end

Starting the app with rails s results in error

/config/initializers/rocket_tag.rb:1:in `<top (required)>': undefined method `configure' for RocketTag:Module (NoMethodError)```

Rails 3.2.12 rocket_tag 0.5.6 Ruby 1.9.3-p194

amnwebmaster avatar Mar 14 '13 03:03 amnwebmaster

Hmm looks like the new configure code mentioned in documentation is in master but not the latest release. When's the next release expected?

amnwebmaster avatar Mar 14 '13 03:03 amnwebmaster

While you are waiting for the next release, you can always point to the GitHub version. Not recommended for production, but it will get you by while developing:

Just modify your Gemfile to include this:

gem 'rocket_tag', :git => 'git://github.com/bradphelan/rocket_tag.git'

JoeKueser avatar Mar 25 '13 00:03 JoeKueser