Ruby on Rails Thursday, October 19, 2017

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

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7d4f616a-91bc-49a8-93a5-56bfa0848115%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment