tenderlove/rails_autolink — Issue #9: autolink - undefined method
Author: davidfabreguette
Created: 2012-02-06 10:16:06+00:00
State: open

Hi there,
I've know idea if it's due to rails_autolink gem or to anything else but when I try to use this gem with Rails 3.1 and Ruby 1.9.2, here's what I do :
add the " gem 'rails_autolink'"
run "bundle install"
add the "require 'rails_autolink'" at the top of my controller - frist line before class declaration
then use the method "auto_link(string_to_link)"

When I do that I have an "undefined method" error in the console - I tried several stuff, first in the console when I type the require 'rails_autolink' statement it returns false, when I type the auto_link method it says undefined method so the lib seems to be not found by rails.