Open ntomsho opened 4 years ago
I have tried installing this gem with both bundle install and gem install and my rails app is unable to find the truncate_html method. I keep getting a nomethod error.
This gem mixes the truncate_html call into your view helpers. In rails 3+, you can call it anywhere via:
ActionController::Base.helpers.truncate_html(content, length: 300)
I have tried installing this gem with both bundle install and gem install and my rails app is unable to find the truncate_html method. I keep getting a nomethod error.