Using Acts as State Machine (aasm) for a 2 steps User registration form

11 views
Skip to first unread message

Laurent

unread,
Oct 19, 2017, 5:09:34 AM10/19/17
to Ruby on Rails: Talk
Hello,

I'm new on aasm. 
For a User Registration form two steps , i was invited to use aasm.

I've created a User object , declaring step1 step2 submitted as steps.
I've added guards to do the validates presence of fields.

What i do not understand is how to integrate it in the rails app wiath controllers and views of my registration to be able to test it

Regards

Laurent

Reply all
Reply to author
Forward
0 new messages