piotrmurach / finite_machine

A minimal finite state machine with a straightforward syntax.
https://piotrmurach.github.io/finite_machine/
MIT License
808 stars 38 forks source link

Fix mistake in ActiveRecord example in readme #54

Closed shioyama closed 5 years ago

shioyama commented 5 years ago

The state here is not a string but an object with a to method on it, which returns the state as a string.

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-1.1%) to 74.446% when pulling 6d13f193f083faa44879d1dd108cb6c0cd227a41 on shioyama:fix_activerecord_example_typo into e54b9397e74aabd502672afb838a5ceb2d3caa2f on piotrmurach:master.

piotrmurach commented 5 years ago

Thanks! ❤️