Is gem 'autosize', '~> 1.1.18.4' a typo? I ask because at http://plugins.jquery.com/autosize/ that version is not listed. Liz
On Thursday, July 16, 2015 at 6:48:18 AM UTC-4, Bazley wrote: > > 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`? > > <script type="text/javascript" src=" > http://cdnjs.cloudflare.com/ajax/libs/autosize.js/1.18.4/jquery.autosize.min.js > "></script> > > 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. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e6c30ac6-34f8-4279-868b-49a2ca8b9080%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

