Comments (2)
Hi @proton. Thanks for your interest, however we have no plans at the moment to make best_in_place specifically support other ORM's apart from ActiveRecord. I do not have experience myself with mongoid, can you tell me what are the patch you need to do to make that work? As for AR concerns, nested models support is as easy as you wrote it:
best_in_place @post.user, :name, :type => :input
Best in place's work is only to provide a bridge between the view and the controller, why shouldn't it work with that class of syntax?
Of course if you're willing to make that work and all tests pass, I will be glad to accept a pull request!
from best_in_place.
Hi @proton.
We have updated our Readme on how to use Best In Place for non Active Record environments.
We are not planning to add BIP support for mongoid; nevertheless, you may use our kind of workaround (explained in the Readme) in order to make it work.
Or if you feel brave enough, you can implement it, add the tests, and send us a pull request! :)
from best_in_place.
Related Issues (20)
- Rails 6 deprecation warnings
- undefined method `service_path' when adding best_in
- editing an item in a jsonb column
- undefined method `service_path' when adding best_in_place
- bip_text Test Helper datapicker MiniTest failure
- How to select foreign_key using friendly_id's hash_id?
- BestInPlaceEditor is not defined HOT 1
- Still okay to use? HOT 1
- Usage in Rails 6 HOT 28
- Rails 6 Deprecation warning
- Textarea not working HOT 1
- Rails 6 deprecation warning HOT 4
- How do differ best_in_place xhr request from othes?
- Project status HOT 6
- ActionView::Template::Error (wrong number of arguments (given 1, expected 3..4)) with cancan
- update is sent even though no change is made
- Render partial not working in ajax:success
- Release a new version, please HOT 1
- ignore this
- Add Ruby 3.2 support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from best_in_place.