Developing a wizard or multi-steps forms in Rails
Nicolas Blanco

I liked the article. Thanks for putting this out there. One suggestion to remove duplication of the validation steps I created mixin modules similar to:

module User::Step1Validations
extend ActiveSupport::Concern
included do
validates :email, presence: true, format: { with: /@/ }

Then you can ‘ include User::Step1Validations’ in both the model and the form_model and dry up your code.

Like what you read? Give Miguel Sosa a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.