gem 'remotipart', '~> 1.2'
bundle install // require in application.js failes beacause didnt find the file
bundle exec rails g remotipart:install // and copy the files to vender/assets/javascript
Now the require in application.js is up and running
But still the ajax form request is in HTML format instead of JS
Processing by UsersController#update as HTML
Does anyone got a clue on this? The install process in the readme does not work for Rails 3.2
In order to install the gem first i did:
Now the require in
application.js
is up and runningBut still the ajax form request is in HTML format instead of JS
Processing by UsersController#update as HTML
Does anyone got a clue on this? The install process in the readme does not work for Rails 3.2