You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So let's say we have our User.can_confirm?, we could also create in our macro: User.confirmable(query) which would just do a from u in query, where: [state: [..available_states..]
This fits in well with this being an ecto based fsm
The text was updated successfully, but these errors were encountered:
So let's say we have our
User.can_confirm?
, we could also create in our macro:User.confirmable(query)
which would just do afrom u in query, where: [state: [..available_states..]
This fits in well with this being an ecto based fsm
The text was updated successfully, but these errors were encountered: