A gem to automate using jQuery Elastic plugin with Rails 3.
See (http://www.unwrongest.com/projects/elastic) for more info.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install jquery-elastic-rails
jquery_elastic to your Application.js:
//= require 'jquery' //= require 'jquery_ujs' ... //= require 'jquery_elastic'
This will make all Textareas to be elastic(autogrow).
See detailed doc here: http://www.unwrongest.com/projects/elastic
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request