Git Product home page Git Product logo

Comments (2)

rogercampos avatar rogercampos commented on July 25, 2024

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.

albertbellonch avatar albertbellonch commented on July 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.