Closed swrobel closed 3 years ago
Hello, is there any plan to merge this PR ? I currently got the same issue.
If there is anything to do to help ?
@ranska I'd be happy to but it has conflicts. Could you please resubmit a clean PR? I'll get it merged in and released ASAP.
@preston done!
Note that aasm is very much actively maintained.. perhaps no one really needs railroady for that? Personally I don't use it.
@preston correct. This PR actually fixes the AASM integration when your classes are namespaced. I removed the support for acts_as_state_machine
which is very much ... not ... actively maintained.
@swrobel Ok gotcha. The command line processing is still present, however. Looks like that can also be removed?
command-line processing is still necessary to trigger AASM support. That flag just also looked for acts_as_state_machine hooks, so I removed that check/method.
I just released v1.6.0. Give that a shot!
Before:
Invalid output:
Valid output:
Code to fix this was cribbed from ActiveSupport::Inflector#parameterize
I also removed support for
acts_as_state_machine
because that code didn't look like it would work (had references toaasm
in it) and that gem hasn't been updated in eons.