search for: forgot_password

Displaying 20 results from an estimated 20 matches for "forgot_password".

2006 Feb 06
6
ActionMailer - ROR Recipes - Multipart/alternative
I am using the SaltedHashLoginGenerator. and would like to send the e-mail in multipart/alternative format. By default my application is using forgot_password_en.rhtml template. I read in the ROR Recipes book "ActionMailer sees these templates, recognizes the pattern in their file names, and automatically sets the MIME type of the message to multipart/alternative and adds each rendered view with the content type in its file name.&quo...
2009 Aug 06
18
Best Practices Question
Should models call action mailers, or should those calls always originate from controllers? For example, should user.forgot_password send the email, or should the user_controller.forgot_password? Just looking for some opinions... Thanks, Tom
2006 Aug 14
3
validating required fields during an update?
..._format_of :email, :with => RFC822::EmailAddress, :message => "must be a valid address in the form user@domain.com" validates_uniqueness_of :email, :message => "address has already been taken. If you''ve forgotten your password, please click <a href=\"forgot_password\">here</a> to reset it." validates_presence_of :email, :message => "address cannot be blank." This all works fine when a user is entering their information into the signup form for the first time, however, the problem is when I''m displaying an edit form...
2006 Mar 15
3
Any one who can help with how to implement such a login?
...t;width:116px;background:#fff" type="password" /><br/> <input type="submit" name="login" value="Log In &#187;" class="primary" style="font-size:12px;"/><br/><br/> &nbsp;<a href="/account/forgot_password" style="font-size:11px;">Forget your password?</a> </form> </div> which can be implemented using form_remote_tag but how to do that deeply? Anyone has any idea? -- Posted via http://www.ruby-forum.com/.
2006 Aug 09
5
Action Mailer ...mail done but not received.. (or sent ?)
...ml; charset=utf-8 _____________ Your username is barbare. Your new password is tDRvfzNvDF. Please login and change it to something more memorable. ------------- Redirected to http://localhost:3000/user/login Completed in 2.88956 (0 reqs/sec) | DB: 0.00422 (0%) | 302 Found [http://localhost/user/forgot_password] no error in sending mail but checking my mail at mac.com ... no message at all... How can I check that the mail has been correctly sent... -- Posted via http://www.ruby-forum.com/.
2006 Nov 04
0
Having problems with edge rails
...ust switched to Edge Rails (revision 5207) since I want to use the BigDecimal support for an e-commerce website.. Unfortunately, some of my old code seems to be breaking things.. First off, it looks like my "skip_before_filter :check_authentication, :check_authorization, :only => [:login, :forgot_password]" doesn''t work at all, since the before_filter gets executed for every action, including :login and :forgot_password. Also, when I try doing something simple in a view such as: <%= text_field :model_name, :attribute_name %>, I get: ActionView::TemplateError (wrong number of a...
2006 May 11
3
can''t call link_to from within a model class
..._to from within a model class? I''m trying to do something like the following: validates_uniqueness_of :email, :message => "address has already been taken. If you''ve forgotten your password, please click " + link_to(''here'', :action => ''forgot_password'', :controller => ''site'') + " to reset it." although I get the following error when it attempts to validate a form: Session contains objects whose class definition isn''t available. Remember to require the classes for all objects kept in the session....
2010 Dec 21
5
Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
...")%> <%= f.password_field(:password) %><br/> <%= f.submit("Sign Up") %> <%= link_to ''Register'', :action => ''signup'' %> | <%= link_to ''Forgot my password'', :action => ''forgot_password'' %> <% end %> <% end %> Because I didn''t declare @user in login method: def login if request.post? if session[:user] = User.authenticate(params[:user][:login], params[:user][:password]) flash[:message] = "Login successful"...
2006 Feb 04
22
What''s the best way to embed a form?
I would like to embed my login form on my app''s home page. What''s the best way to render the login action of member controller from another action? Thanks Frank --------------------------------- Relax. Yahoo! Mail virus scanning helps detect nasty viruses! -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Aug 14
0
ActionMailer in an infinite loop? Looks like framework bug.
...out_helper'' D:/dev/ruby/lib/ruby/gems/1.8/gems/actionmailer-1.2.5/lib/action_mailer/helpers.rb:96:in `inherited'' #{RAILS_ROOT}/app/models/notifications.rb:1 #{RAILS_ROOT}/app/models/user.rb:52:in `send_new_password'' #{RAILS_ROOT}/app/controllers/user_controller.rb:42:in `forgot_password'' My class is the Notifications.rb class you see in the stack at line one. So this is happening when it tries to load the ruby file. So I opened helpers.rb in ActionMailer and I found the following: Line 95: helpers.rb: ActionMailer 1.2.5 --------------------------------------- def inh...
2006 Jan 16
17
LoginEngine / UserEngine conceptual help
All, I have a small Intranet app I''m trying to get ready for remote access. (I only have 15 or so users for now and I don''t plan to be adding very many more.). I have installed the login engine and it seems to be working as advertized. (Great job!) For my needs I don''t want random people to be able to register and get access to my app, but I will need to register
2017 Nov 19
0
FOSDEM 2018: Graphics DevRoom: Call for speaker.
...ty dire given that there is the traditional FOSDEM beer event the night before ;) Please try to re-use your accounts from the previous years, i hope that this year you can actually recycle your data. If you have forgotten your password, then you can reset it here: https://penta.fosdem.org/user/forgot_password If there are any issues, just poke me here or on IRC. Necessary information: ---------------------- Below is a list of what i need to see filled in in pentabarf when you apply for a devroom before i consider it a valid submission. Remember: first come, first serve. The best slots (which are on...
2019 Nov 04
0
FOSDEM Graphics Devroom: call for speakers.
...ll be assigned to those who come last, which could be pretty dire given that there is the traditional FOSDEM beer event the night before ;) Please try to re-use your accounts from the previous years. If you have forgotten your password, then you can reset it here: https://penta.fosdem.org/user/forgot_password If there are any questions or issues, just poke me by email or on IRC. Necessary information: ---------------------- Below is a list of what i need to see filled in in pentabarf when you apply for a devroom before i consider it a valid submission. Remember: first come, first serve. The best sl...
2018 Nov 19
1
FOSDEM 2019: Graphics DevRoom: Call for speakers.
...ll be assigned to those who come last, which could be pretty dire given that there is the traditional FOSDEM beer event the night before ;) Please try to re-use your accounts from the previous years. If you have forgotten your password, then you can reset it here: https://penta.fosdem.org/user/forgot_password If there are any issues, just poke me here or on IRC. Necessary information: ---------------------- Below is a list of what i need to see filled in in pentabarf when you apply for a devroom before i consider it a valid submission. Remember: first come, first serve. The best slots (which are on...
2015 Oct 31
0
FOSDEM16: Graphics DevRoom: call for speakers.
...y at 9:00 when people are still in zombie mode after 2 nights at the delirium bar, if they are here at all? Use your account from last year, so you can try to recycle some of your data from last year. If you have forgotten your password, then you can reset it here: https://penta.fosdem.org/user/forgot_password Necessary information: ---------------------- Below is a list of what i need to see filled in when you apply for a devroom before i consider it a valid submission. Remember: first come, first serve. The best slots are for the earliest submissions and there are only 8 slots. On your personal p...
2009 Dec 23
8
Where did this value in a form come from?
Newb here. I have a form and a value that is being displayed ... and I have no idea where the value came from. I have done a <%= debugger; '''' %> in the form and, indeed, the debugger stops at the statement. I have tried to trace through the code to see where the value came from ... and I gave up. So ... what in Rails initializes the fields of a form? -- Posted via
2006 Jul 13
8
Acts As Authenticated - smarter login box
Hi, I''ve got AAA loaded and working. I now want to put a smarter login form on the sidebar of my site. If the user is not logged in, I''d like to display a typical form in the sidebar that collects the user ID/password and allows the user to login. If the user is logged in, the box should display something like ''Logged in user: FirstName Lastname'' and a
2005 Dec 09
7
UserEngine - rake bootstrap aborted
Hi there, I''ve just installed login_engine and user_engine from the repositories, followed the setup procedures as documented in: vendor/plugins/user_engine/README But I''m getting the following failure: vince@vaio:~/Projects/Booking$ rake bootstrap (in /home/vince/Projects/Booking) rake aborted! undefined method `edit'' for class `UserController''
2010 Jan 31
6
Action path - syntax error, unexpected tIDENTIFIER, expecting ')'
...eld "user", "password", :size => 20 %><br/> <%= submit_tag "Submit" %> <%= link_to ''Register'', :action => ''signup'' %> | <%= link_to ''Forgot my password'', :action => ''forgot_password'' %> <% end %> Here is the application layout file: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang=&...
2007 Dec 13
16
"Tricks" for testing after_create callback???
I''ve got a model Message, which needs to send an email using action mailer after it''s first saved in the database. I want to pass the model to the mailer which then uses methods on the message model to render the email. So the natural way to do this is in an after_create callback on the Message model. But I can''t see an easy way to test this. Here''s my spec