Coder Social home page Coder Social logo

Comments (10)

troessner avatar troessner commented on July 20, 2024

Mike,

I agree. I'm going to on holidays soon for a few weeks, so I won't be able to look into this any time soon.

Would you like to contribute to transitions? If yes, I'd add you as a contributor to this repository.

from transitions.

mperham avatar mperham commented on July 20, 2024

Thanks but I don't have time to work on a feature this big. It's ok, I just didn't add a state machine to that model and instead track state manually. Enjoy your vacation!

from transitions.

troessner avatar troessner commented on July 20, 2024

Thanks!
Gonna look into this issue afterwards..:-)

from transitions.

christhekeele avatar christhekeele commented on July 20, 2024

Correct me if I'm wrong, but with this feature, transitions would be able to support multiple states on the same Model, correct?

from transitions.

troessner avatar troessner commented on July 20, 2024

@christhekeele not really because there is only one state machine per model possible (you can define multiple state machine but this won't work as would expect).

from transitions.

troessner avatar troessner commented on July 20, 2024

Oh, actually that's a good point, I really should make that clear in the documentation, thanks for bringing that up..:)

from transitions.

troessner avatar troessner commented on July 20, 2024

This should make it more clear: 5cd28cd

from transitions.

troessner avatar troessner commented on July 20, 2024

FYI the ability to set state column name is still on my "should be implemented" list - I just haven't found the time to do so..:)

from transitions.

christhekeele avatar christhekeele commented on July 20, 2024

I forked it and poked around a little, but my ruby metaclassing capabilities aren't up to snuff. I'm using the state_machine gem for now (sadly, your DSL syntax is much more elegant) and may poke around its internals eventually.

from transitions.

troessner avatar troessner commented on July 20, 2024

In master -> closed.

from transitions.

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.