Displaying 20 results from an estimated 1100 matches similar to: "Devise route for confirmation error with :locale"
2011 Jul 14
10
Devise confusing routes
I had a similar problem yesterday.
I would go to the root of my site and I would get a Too Many Redirects
message. It seems like there was an infinite loop. After struggling for
over an hour yesterday late at night, it seemed like I fixed it.
But now, when I want to create a New User, it''s redirecting me to the
Sign In screen. Seems like I didn''t fix the problem completely.
I
2010 Dec 17
1
flash[;notice] not display after redirection
I read all previous posts about the same subject in Devise group but
couldn''t find any answer, so iy may not be related to Devise , so
I debugged it ..
.
class Users::RegistrationsController <
Devise::RegistrationsController
..
# POST /resource/sign_up
def create
build_resource
if resource.save
if resource.active?
set_flash_message :notice, :signed_up
2010 Nov 12
1
Devise after_sign_up_path_for - how to?
Hi,
I''m new to devise and I''m having a problem overwriting a controller.
After sign-up I want the user to go to a static page.
In the controllers folder I have created
users/registrations_controller.rb
class Users::RegistrationsController < Devise::RegistrationsController
def after_sign_up_path_for(resource)
puts "If I coould see this..."
2013 Oct 02
2
When overriding the registration controller from devise, is it possible to access the newly created
I''m trying to create a folder right after a user registers, so I override
the create action on the registration controller (devise) but I don''t know
how to access the newly created user in order to create the folder with
it''s name to upload files later.
So far I''ve got this:
class RegistrationsController < Devise::RegistrationsController
def new
2011 Aug 09
2
Devise AssociationTypeMismatch
My site is using Devise and Cancan. Currently I have 3 roles setup
I am testing creating a new user using the following command (role is
required):
curl -H "Content-Type:application/json" -H "Accept:application/json" -
d "{\"user\":{\"email\":\"test01-J0of1frlU80@public.gmane.org\", \"role\":\"2\", \"name\":
2011 Jun 13
0
Devise Authorization Error
Hello everyone,
I am new to rails and I am having some trouble getting the Devise
authorization plugin working. I can get the login page to display, but
when I enter the credentials for a known user (I seeded an account to
the database) it just says "Invalid email or password," even though
I''m 100% sure I entered the right information, and redirects me to the
login form.
2010 Aug 16
2
Devise Nested Resources
I''m working on a new Rails (v3.0.0.rc) application using the Devise
(v1.1.1) gem. In my application I have setup a User model which
includes the person''s e-mail address and name. I have also setup the
following models that I''d like to attach to the User:
- Address (street, city, state, zip code)
- Interest (name)
- Donation (date of donation, amount)
My question is
2011 Dec 20
4
Custom Devise Controller
Hi Guys,
I was wondering if sb could help me.
I have the following problem:
-I want to create a complex form using railscast tutorial (
http://railscasts.com/episodes/73-complex-forms-part-1). Well, to perform
this I need to update my controller(in this case the controller responsible
to manipulate user).
But I''m using Devise gem and I don''t know how I could manipulate the
2010 Oct 31
4
Newbie - Rails 3 authentication question (Devise)
Hello!
I''m working on my first Rails app and I have a question regarding
authentication. I already have authentication for signing up, logging
in, logging out, etc. What I need is an account email activation
function and a reset password (forgot password) function. I have read
a little bit about Devise and watched the Railscast episodes on it, it
seems nice, but is it possible to add
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
2012 Sep 05
0
Generate devise session controller
Hi Folks Good morning,
Am new to rails.
I used devise in my project ,i need to write some conditions in my session
controller.How can i generate devise session controller.
I have user.rb model.
Steps which i made:
1. Generate rails g controller session
2. Session controller generated
3. Changes the text like,
class Users::SessionsController < Devise::SessionsController
end
4.In routes i
2010 Nov 10
0
Devise - Configuring the Routes fine for Controller Inheritance
Hi!
Here''s what I added to my config/routes.rb:
devise_for :users, :controllers => {:invitations =>
"invitations", :sessions => "sessions"}
This doesn''t work, if I try to sign in I get a template missing error.
How do you configure this for controller inheritance for invitations
and sessions? And make the routes in the controller like
2012 Aug 15
0
Devise access customer information without password
I am trying to customize my account with devise. However I do not want
to provide a confirmation password on every details. Therefore I have
created a new controller has mentionned on the following tutorial:
https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-edit-their-account-without-providing-a-password.
This seem to work, however i have different sections such has follow
2005 Jun 01
3
Mixing Controllers
I have a login section that is part of my view from my sign_up
controller. Validating my user happens through a login_controller.
Now if validation is good it is ok because I have a redirect in my
login_controller. But if the login is not successful I have to go
back to my view from my sign_up controller. Using redirect makes no
sense because my @user_login object is lost and so are
2012 Jan 26
0
Show action with Devise
Hi, Devise has edit and new views for registrations, I''d like to add a show
view to display that information.
How can I do that?
If I overwrite the controller RegistrationsController <
Devise::RegistrationsController, it says: "Missing template
registrations/show, ...", but I want to render the view that is inside
users/registrations (the generated view for "rails
2013 Mar 09
1
Rails- Devise- confirmable- confirmation email not received
In an application I use devise authentication. I added confirmable.During
sign up, message is that email has been sent. But email is not received in
my gmail account. How can I solve this problem. Do I need to add other
options as we do with actionmailer such as gmail port address, or sendmail
such things. Please help.
--
You received this message because you are subscribed to the Google
2010 Nov 03
3
|Newbie] Change default locale I18n file devise.
Hello!
This is probably something easy. I''ve looked at some documentation but
I didn''t find any good resources on how to change to default locale
file with Devise authentication plugin. Should I do it in my
application controller or should I change something in Devise? And how
should I do it.
Thanks
// Anders
--
You received this message because you are subscribed to the
2012 Aug 15
0
Devise email confirmation field
I am very new to rails and devise. I have been looking around but couldn''t
find a tutorial that clearly explain how to do so, and why! Basically I
would like to have upon registration a field has follow. This was easy in
rails but with devise this seem to be hards.
Email:
Email Confirmation:
I also would love in my edit user a field that say
Change Email:
Confirm Change of Email:
2012 Nov 22
0
Devise Need to show Confirmation error
Hello Folks
I had devise with email confirmation feature in my app.
Confirm mail going well.
If the user try to login before confirm there account, need to show error
message like *your account not yet activated*.
How can i accomplish this?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2008 Mar 31
10
Problems with *_path() and *_url() helpers when using Publisher
Hello,
I am running into issues using *_path() and *_url() helpers the
Facebooker Publisher framework. I encounter the following error when
using these helpers while *inside of a partial*:
undefined method `default_url_options'' for ActionView::Base:Class
I''ve seen a few other people speak about this issue, yet I haven''t
seen any resolution on the mailing list yet.