similar to: acts_as_authenticated mailing for activation problem

Displaying 20 results from an estimated 4000 matches similar to: "acts_as_authenticated mailing for activation problem"

2007 Jun 29
0
acts_as_authenticated, reset_session, and redirect_back_or_default
Just a question and an FYI I just installed rails and acts_as_authenticated and was setting up a site. Everything works fine except that in the AccountController that I generated the calls to the routine redirect_back_or_default don''t work because the call just before it to reset_session clears the session[:return_to] that the method uses to set where it will redirect. I ended up adding
2006 Apr 12
3
acts_as_authenticated trouble
First off, I''d like to address that I''m n00bs. I''ve read the README and blogs associated with this plugin, and there really isn''t too much documentation. I have the newest version of rails,ruby, and acts_as_authenticated installed. #The setup I set up the acts_as_authenticated in the following manner. *created a table called "accounts" in the
2007 Feb 10
5
acts_as_authenticated strangeness
hi the strangest thing is happening. on my local machine acts_as_authenticated works fine, but whe on the server [dreamhost] it refuses to log in. no error messages. nothing. just reloads the login page again. here`s my action: def login return unless request.post? flash[:notice] = "Incorrent login" self.current_user = User.authenticate(params[:login], params[:password])
2007 Jul 18
3
Help. Acts_as_Authenticated plugin stops working for me?
Hi, I successfully installed AAA couple days before, and i managed to register a uer with it, with no user activation. but for some strange reason, it stops working for the signup method, with i go to the signup page, press submit, it shows an error page, what''s wrong? here''s the error page. undefined method `activation_code'' for #<User:0x3b6dbd
2006 May 25
1
AppMailer and McCray''s theme generator
Hi, I am using Matt McCray''s theme generator. http://rubyforge.org/projects/theme-generator/ Everything works fine, but rendering an action in a controller using the AppMailer raises this: undefined method `current_theme'' for #<AppMailer:0x39df950> Is there someone who could help me ? Thanks ! Mickael. Traces:
2006 Jul 12
0
acts_as_authenticated and paypal
I''m working on a subscription form that has to be tied to paypal using the paypal ipn plugin at http://elctech.com/products_ruby_paypal.shtml. I''ve got my subscription (signup) form setup to include the creditcard information as well as the billing address etc. It''s a modified version of the signup form from the acts_as_auth plugin. I want the model to not save if
2006 Jul 04
1
LoginGenerator Problem
I am trying to make a barebones login system based on this example (which in turn is just standard RoR login) but when I enter a user name and password, it says the login is unsuccessful every time. I am not sure where I am going wrong. Here is all relevent information CREATE TABLE `users` ( `id` int(6) unsigned NOT NULL auto_increment, `login` varchar(20) NOT NULL default
2006 Jul 18
7
Observer not working
Help please. I''m trying to observe a User class, but I can''t get this to work, the after_create method never gets called... (the breakpoint never gets called) app/models/user_observer.rb: class UserObserver < ActiveRecord::Observer def after_create(user) breakpoint setting =
2005 Sep 02
7
Form to update two tables
Hello there, this is probably a very simple problem but I''m stuck. I''m following the Login generator tutorial from rubyonrails. It''s all worked fine so far. But I want to add a bit more functionality so that when a user signs up in addition to chosing a login name and password they type in a company name which is added to a seperate table called COMPANIES. The id
2007 Mar 31
0
routing problem with controllers in other dirs
Hi all I have a problem with mapping url to controller which is deeper in controller directory (not root directory). I wanted to move acts_as_authenticated account_controller deeper to directory (let''s call it Foo) and route it as /Foo/Account, but i always seem to get exception that no route matched my request file structure: /app +- /controllers +- /Foo +-
2006 May 06
5
login generator always give login unsuccessfull
hi guys, i just did what it is written in this website to genrate login http://wiki.rubyonrails.org/rails/pages/HowToQuicklyDoAuthenticationWithLoginGenerator at the end i add to the database login and password but when i tried to login it give me login unsuccessfull can anyone help me thanks notice: i m beginner in webdeveloppement and especially ruby on rails -- Posted via
2006 Jan 12
0
generating user table with Acts_as_authenticated
Sorry for the newbie question. I''d like to check out the Acts_as_authenticated plugin but have no idea how to conveniently set up the User Table in Mysql. I use a mac OSX, but how do I change the following code into a DB schema? def self.up create_table "add_authenticated_tables", :force => true do |t| t.column "login", :string, :limit =>
2006 Apr 25
0
completely stuck on Role-Based Authorization
Im completely stuck on Role-Based Authorization (I used the rails recipe method) (user_controller.rb) def login return if generate_blank @user = User.new(@params[''user'']) if @session[''user''] = User.authenticate(@params[''user''][''login''], @params[''user''][''password''])
2006 Sep 29
0
Living Dangerously?
how can I get the benefits of integration testing with Rspec on Rails REL_0_6_3, please? When I first started playing with Rspec on Rails, I hacked spec_helper.rb to include the IntegrationTest interface (diff below) as it was the minimum change I could make to get the the ability to run multiple actions across controllers in my spec. I use it to specify authenticated sessions and stuff.
2006 Apr 28
2
["acts_as_authenticated"] << "Role-Based Authorization Rails Recipe"
hi guys, has anyone here implemented role based authorization from rails recipes into acts_as_authenticated ? how''s it going? Case: there is ONE admin. And MANY users. Admin is the only one who can create, edit, delete user, etc.. users also need to login, but go to different pages. do you guys think it''s good to try rick''s acts_as_authenticated + chad''s
2007 Sep 11
2
acts_as_authenticated redirect on ajax requests
Hi there, I''d like to know if there is a solution to the scenario when using acts_as_authenticated and ajax: I have an action in my controller which is protected by login via acts_as_authenticated. Now, this action can be called both by human interaction, as well as ajax requests. (It is an add to cart link). It works great as long as I am in an authenticated session. Now, I want to
2007 Jan 02
0
acts_as_authenticated plugin rspecs
Hello, Just thought it could be interesting for some of you. I''ve written rspecs for acts_as_authenticated plugin. http://rashkovskii.com/articles/2007/01/01/rspec-on-rails- acts_as_authenticated I''m not sure they are 100% ok, but they seem to be :) Thank you, Yurii.
2006 Mar 08
8
Acts_as_authenticated plugin?
Hi, I''ve just downloaded the acts_as_authenticated plugin but I can''t find much in the way of documentation. First is there anywhere that someone could point me to to get a handle on this. Second.. Does the plugin still require the use of generators to use? Thanx in advance Dan -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Jan 13
2
Change Password with acts_as_authenticated
I want to have a form to change a users password. I can''t figure out what the method in the controller should look like. I tried @user.save and @user.update_attributes, but can''t get it to work. My Form: ############################## <%= start_form_tag :action => "update_password", :id => @user.id %> <%= password_field ("user",
2006 Aug 07
1
''Remember me'' in acts_as_authenticated troubles
Hi there I''m having trouble getting the ''remember me'' functionality going in acts_as_authenticated. The issue seems to be that the login_from_cookie method is using only the first 60 characters of the remember_token string in the database, whereas the string in the db is 75 characters long. I can see in my dev log that login_from_cookie is trying to find the user but