Displaying 3 results from an estimated 3 matches for "index_users_on_email".
2011 Jun 11
1
Having a problem adding a foreign key
...tetime "updated_at"
t.string "firstname"
t.string "lastname"
t.text "school"
t.text "major"
t.string "sex"
t.integer "zipcode"
end
add_index "users", ["email"], :name =>
"index_users_on_email", :unique => true
add_index "users", ["reset_password_token"], :name =>
"index_users_on_reset_password_token", :unique => true
end
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group...
2013 May 19
5
update_attributes() for a single column
...| character varying(255) |
email | character varying(255) |
created_at | timestamp without time zone |
updated_at | timestamp without time zone |
password_digest | character varying(255) |
Indexes:
"users_pkey" PRIMARY KEY, btree (id)
"index_users_on_email" UNIQUE, btree (email)
The strange thing is that listing most of the fields in the update
works (as instructed in the tutorial http://ruby.railstutorial.org/chapters/sign-up?version=4.0#top
in the section of adding Gravatar).
irb(main):007:0> user.update_attributes(name: ''Exampl...
2013 Jun 25
6
creating an account with a username in devise
Hello, all. I have followed these links and have enabled a (current)
user to login with a username:
http://railscasts.com/episodes/209-introducing-devise
http://railscasts.com/episodes/210-customizing-devise
https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-sign-in-using-their-username-or-email-address
I want to allow a user to sign up with a username but am getting these