I've decided to add user authentication to my application using
restful_authentication plugin. It has generated Account model with
such fragment of code:
@account = Account.new(params[:account])
@account.register! if @account && @account.valid?
success = @account && @account.valid?
if success && @account.errors.empty?
flash[:notice] = "Thanks for signing up! We're sending you an
email with your activation code."
flash[:error] = "We couldn't set up that account, sorry.
Please try again, or contact an admin (link is above)."
render :action => 'new'
Everything is clear to me except @account.register! method. I cannot
find any documentation about it. Where should I seek?