Skip to content

Instantly share code, notes, and snippets.

View rpm's full-sized avatar

rpm

View GitHub Profile
class SignupController < ActionController::Base
def step_two
@signup = Signup.find(params[:id])
@signup.advance_step do |signup|
signup.attributes = params[:signup]
signup.save!
end
end
end