Closed olegsobchuk closed 9 years ago
did you add jquery-ujs ?
yep ../app/assets/javascripts/application.js.coffee //= require jquery_ujs
can you provide a sample app with this bug ?
unfortunately this is private repo (( maybe it does not work with rails 4?
I said to provide a sample app, not the repo.
Create a new rails 4.2 app and reproduce the bug in it.
Oh, I see! https://github.com/olegsobchuk/example_app git@github.com:olegsobchuk/example_app.git
from console: ActionController::RoutingError (No route matches [PUT] "/users")
What's the status here?? I'm having same issue, rails 4.2, ruby 2.2.1. the data attribute is "data-bip-url", but if I change that to "data-url", it works.
still open, I declined BIP and wrote edit in line via JS BIP is broken for Rails 4
Is there a Rails 4 branch we can use?
I use this fork:
gem 'best_in_place', github:'widernet/best_in_place', branch: 'rails-4'
It works fine in 4.1.5... for what I need anyway.
@olegsobchuk where is best_in_place gem in your Gemfile?
@duffyjp I want to help with improving this gem, so I need sample apps, that reproduced the issue
@stereodenis not works, can you investigating my problem? https://github.com/olegsobchuk/example_app User.create(name: 'Some name', email: 'my@e.mail')
@olegsobchuk I can, but you remove bip gem
@stereodenis sorry, fixed
@olegsobchuk https://github.com/olegsobchuk/example_app/pull/5
thanks, @stereodenis!!!
Result:
you have to use gem 'best_in_place', github: 'bernat/best_in_place'
Hi! I'm using rails 4.2 When I use bip, I get wrong path (also if add url: ..., or path: ... attributes) I get method put, to index. example: edit User object, get users_path with method put Can you help me? Thx!