All Versions
26
Latest Version
Avg Release Cycle
100 days
Latest Release
1814 days ago

Changelog History
Page 2

  • v0.1.10 Changes

    • πŸ‘» (troessner) Fix: Using a custom ActiveRecord select query without the name of the state attribute would trigger an exception.
  • v0.1.9 Changes

    • (barelyknow) add can_transition? and cant_transition? methods
    • (barelyknow) add available_events method to class with state machine
    • (Sean Devine) fire enter on create
    • πŸš… (jotto) change scopes to use proc so it works in rails 3 and 4
  • v0.1.8 Changes

    • 0️⃣ (phillipp | Phillipp RΓΆll) Fixes a wrong select for scopes if the state machines attribute_name is set to something other than the default
  • v0.1.7 Changes

    • πŸ‘ (cmw) Better prevention of name clashes when creating initializer methods
  • v0.1.6 Changes

    • πŸŽ‰ (troessner) Revert 'Fixing set_initial_state with Mongoid' because of https://github.com/troessner/transitions/issues/76
    • (divins) Multiple success callbacks
    • (cstrahan) Pass additional args to guard function
    • πŸ”§ (cmw) Support for configurable column names
  • v0.1.5 Changes

    • (troessner) Fix unhelpful error message when event can not be fired.
    • πŸŽ‰ (simonc) Fixing set_initial_state with Mongoid
  • v0.1.4 Changes

    (troessner)

    • πŸ‘» Raise exception if we try to overwrite existing instance methods when defining state predicate methods
    • πŸ‘Œ Improve exception message if we try to overwrite existing class methods when ActiveRecord scopes
  • v0.1.3 Changes

    (troessner) Make sure empty? works on symbols.

  • v0.1.2 Changes

    (troessner) Slightly improved handling of current states.

  • v0.1.1 Changes

    • 🚚 (troessner) Remove feature: Do not override existing methods when defining state query methods but warn the user. since this turned out to cause some problems when loading models, see https://github.com/troessner/transitions/issues/62 for details.
    • (bnmrrs) Add helper methods to check if a given transition is possible.