#248 ✓resolved

'Forgot Password' feature not working

Reported by Micky | August 3rd, 2011 @ 06:26 AM

When trying to reset the password, it throws this error.

NoMethodError in PasswordsController#create

undefined method `index' for 2011-08-02 23:23:34 -0700:Time

Rails.root: /www/crm/fat_free_crm
Application Trace | Framework Trace | Full Trace

app/models/user.rb:127:in deliver_password_reset_instructions!' app/controllers/passwords_controller.rb:32:increate'

Comments and changes to this ticket

  • Rob

    Rob September 3rd, 2011 @ 07:06 PM

    I submitted a pull request for what I think is a fix to this issue. There were some issues with the ":sent_on => Time.now" in notifier.rb. I changed :sent_on to :date and it appears to be working. This my first time (not first time coding, first time contributing to open source, doing it via GitHub, etc) and I did some testing but I'm not 100% sure this doesn't affect anything else so I would encourage another set of eyes to have a look.

  • Nathan B

    Nathan B September 4th, 2011 @ 05:58 AM

    • Assigned user set to “Mike Dvorkin”

    At the moment there's not many people actively committing to Fat Free CRM, so any help is hugely appreciated! Your change only affects ActionMailer, so it's pretty safe by default. Also, seeing all the specs past (rake spec) is a good indication that nothing else was broken.
    Your pull request has been merged, thanks a lot!

  • Nathan B

    Nathan B September 4th, 2011 @ 06:23 AM

    • Assigned user cleared.
  • Nathan B

    Nathan B September 5th, 2011 @ 12:46 AM

    • State changed from “new” to “resolved”
    • Assigned user set to “Nathan B”

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby on Rails CRM platform for Web 2.0 and beyond

People watching this ticket