Skip to content

issues Search Results · repo:pluginaweek/state_machine language:Ruby

Filter by

284 results
 (83 ms)

284 results

inpluginaweek/state_machine (press backspace or delete to remove)

  • donzov
  • Opened 
    on Mar 20, 2024
  • #369

Calling .new on an ActiveRecord Single Table Inheritance model with a state_machine defined results in a FrozenError: can t modify frozen Hash since Rails 6.1. Example, suppose we have the following model: ...
  • kreintjes
  • 5
  • Opened 
    on Sep 20, 2021
  • #363

event :start do transition :parked = :in_motion end event :stop do transition :in_motion = :parked end state(:in_motion, value: 0) I want to get the list of eligible ...
  • gamesover
  • 2
  • Opened 
    on Nov 30, 2018
  • #362

I have a model which contains 3 different state columns (state, background_check_status,permit_status) background_check_status,permit_status has defined the same states (Submitted, Rejected, Accepted, ...
  • bidva
  • 3
  • Opened 
    on Oct 17, 2018
  • #360

https://www.rubydoc.info/github/pluginaweek/state_machine/master/StateMachine/Machine#on-instance_method
  • AndrewRayCode
  • Opened 
    on Aug 8, 2018
  • #359

I get the following error in my console. Both Coach and its :current_joyride_bot_message machine have defined a different default for current_joyride_bot_message . Use only one or the other for defining ...
  • MichaelA59
  • 1
  • Opened 
    on Jul 31, 2018
  • #358

Let s say we have a properly defined state machine that operates on the attribute state of a Rails model. Is there a way to add a new callback like after_transition to: :some_state, do: :my_callback but ...
  • kevinnio
  • Opened 
    on Apr 20, 2018
  • #357

I had a previous state machine like the following state_machine :state, :initial = :awaiting_quote, use_transactions: false do event :submit_quote do transition :awaiting_quote = :awaiting_quote_acceptance, ...
  • tonyvince
  • Opened 
    on Sep 21, 2017
  • #356

SEQUEL DEPRECATION WARNING: Sequel::Model.def_dataset_method is deprecated and will be removed in Sequel 5. Define the method inside a dataset_module block, or use the def_dataset_method_plugin. /gems/sequel-4.46.0/lib/sequel/model/base.rb:452:in ...
  • Aryk
  • Opened 
    on Jun 6, 2017
  • #354

If you want to call multiple methods before or after a transaction and specify an array as a key for the do: entry, for example... after_transition on: :event, do: [:foo, :bar] before_transition on: :event, ...
  • lane-flexe
  • 1
  • Opened 
    on May 12, 2017
  • #353
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub