similar to: routes for devise in rails4

Displaying 20 results from an estimated 200 matches similar to: "routes for devise in rails4"

2013 Mar 23
0
Rails4 and ActionMailer::Base.deliveries
Can someone who is working with Rais 4 verify if ActionMailer::Base.deliveries returning valid data or an empty set? I''m looking at the ActiveMailer source code and changelog and nothing jumps out at me. This is with the same code and configuration that worked for me in Rails 3.x but now with Rails 4.0.0.beta1 and Ruby 1.9.3p374. delivery_method is set to :test in both my
2011 Feb 10
3
Legions: Overdrive on Linux/Ubuntu with WINE
I'm new to Linux/Ubuntu and need some help getting Legions: Overdrive (http://www.legionsoverdrive.com/) with PlayOnLInux and WINE. Legions: Overdrive is a sci-fi FPS game, Freedom of movement returns in this spiritual successor to Tribes. Travel by jetpack and ski over foreign landscapes, dodging grenades and shooting enemies in deathmatch mode. Sharpen your shooting accuracy or prepared to
2013 Jul 08
4
Devise routes
hi... i am using two devises in rails 4 application,i need the routes for those devises. rails 4 is new feature for routes -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to
2013 Jul 13
4
?include binstubs in version control
I am using rbenv. Just a quick question: Is it good practice to include binstubs in version control? I have looked at the binstubs created; they look pretty harmless. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to
2006 Jul 27
7
''remember me'' using cookies
I''m about to implement this, and I''m thinking of storing the user''s id and their hashed password in the cookie after a successful authentication. can any see an obvious security issue with this? I know the method is vulnerable to cookie theft but am i missing anything? thanks alan
2008 Feb 13
5
passing username and password to source()
Please, is it possible to pass an username and a password to source() to access code stored in restricted access web server? I know I can use commands like... > source("http://mire.environmentalchange.net/~webmaster/R/3Dsurface.r") but I am not able to find if it is possible to pass authorization parameters together with the link. Thanks you for your help, Ricardo -- Ricardo
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 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
2012 Feb 28
0
Devise with two emails
Hi, I''m trying to setup a User model with devise, and I want it to have two emails (personal and work, for example). And I want them to work as the normal email from devise, except that the login will be done with a username attribute. But the emails that devise will send, I expect to be delivered to both emails. I also want all the normal email validations on both emails (done by
2012 Feb 04
0
ActiveRecord Associations not working in RSpec with Devise
Hi everyone, I have the following classes: class User < ActiveRecord::Base devise :database_authenticatable, :registerable, :timeoutable, :recoverable, :rememberable, :trackable, :validatable has_many :comments, :dependent => destroy ... end class Comment < ActiveRecord::Base belongs_to :user belongs_to :commentable, :polymorphic => true ... end In rails console,
2010 Nov 24
1
NameError in Devise/sessionsController#new
I created a sample application. Added devise in it, it works fine. Then added cancan gem into it. Created an ability class. define some permissions. Then added line load_and_authorize_resource to the Application Controller, after that when i go to the page http://0.0.0.0:3000/users/sign_in it gave the following error, NameError in Devise/sessionsController#new uninitialized constant Session
2011 Feb 09
0
(Devise+Omniauth) Adding a port number to the callback URL patch applied but not working with openid
I was facing problem reported in issue # 101 (https://github.com/ intridea/omniauth/issues/issue/101) and able to resolve it by suggested code (mbleigh on January 12, 2011) in environment.rb However, open ID is still not working. (As mentioned in fix too). Can someone please help to resolve this or any workaround ? regards, Jaymin -- You received this message because you are subscribed to the
2012 Aug 18
0
Migrating users from devise to bcrpyt-ruby
Hi guys, How would one migrate users on a rails site using the devise gem for authentication to using the bcrpyt-ruby gem(has_secure_password rails option) for the same? I know that both use bcrpyt, but devise has the stretches and pepper configurations in the devise.rb file and I''m a little uninformed on how to translate these for the bcrypt-ruby gem. Is the pepper configuration
2012 Sep 21
0
devise - multi step registration with different models
Hi All, Kindly help me to sort this out.. I have devise sign up page. But now I want to integrate multi step registration. i.e) first, user will enter his/her email pwd and confirmation password. Will click on Next button where he fills in his personal details and on clicking Next button will show many subscription types. User will choose it from the list and then onlyuser should be created.
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
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
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:
2010 Aug 19
0
Rails - Devise - Warden and InvalidAuthenticityToken
Hi I''ve just uploaded my new website to my server and, after a couple of teething problems, seem to be hitting problems when I am using devise and warden to authenticate users etc. The following is the error message with sensitive information removed: Processing RegistrationsController#create (for 81.111.90.194 at 2010-08-19 21:35:43) [POST] Parameters:
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
2013 Mar 07
0
custom table_name for table users with devise
Hi for my app, I have several tables for users (franceusers, belgiumusers, ...) and I would like to use one or another depending on domain I tried with table_name_prefix and table_name but it seems to not work class User < ActiveRecord::Base rolify # Include default devise modules. Others available are: # :token_authenticatable, :confirmable, # :lockable, :timeoutable and