transitions icon indicating copy to clipboard operation
transitions copied to clipboard

Get rid of ActiveRecord specific methods

Open wildchild opened this issue 12 years ago • 3 comments

As of 889b865caf36631a328a62fa1708ead3fc97362b transition depends on has_attribute?. It's AR method and it does not exist in AM.

wildchild avatar Oct 25 '13 13:10 wildchild

I'm sorry but I really don't want to decrypt your description..:)

Can you please state what the problem is exactly and what you would suggest in order to fix it?

troessner avatar Oct 30 '13 10:10 troessner

Currently Transition tied to ActiveRecord. The has_attribute? method used in https://github.com/troessner/transitions/commit/889b865caf36631a328a62fa1708ead3fc97362b commit exist just in ActiveRecord. I believe that Transition is not for ActiveRecord only.

wildchild avatar Oct 30 '13 16:10 wildchild

I see. Good point, thanks for letting me know, I'll look into it.

troessner avatar Oct 30 '13 17:10 troessner