Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix example in README. Fixes #9 #10

Closed
wants to merge 1 commit into from

2 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 20, 2012
  1. @splattael
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.md
View
2  README.md
@@ -116,7 +116,7 @@ class RegistrationForm < Redtape::Form
user = User.joins(:account).where("accounts.email = ?", email).first
if user
user.account.name = name
- unless user
+ else
account = Account.new(
:name => name,
:email => email
Something went wrong with that request. Please try again.