I’m having some issues getting Jack Moore’s autosize plugin working in
Rails 4.
When I place the following script in application.html.erb, it doesn’t
work. But when I place it directly in the same view as the text area, it
works fine. I thought all files could see the javascript if it was
placed
in application.html.erb?
Also, I can’t get the gem working. In my gemfile I have gem 'autosize', '~> 1.1.18.4', I’ve done bundle install, bundle update, gem install autosize, restarted the server, but it doesn’t work.