Posted in Blogosphere

NoMethodError (undefined method `valid_password?’ for #): Fatfreecrm

I got this error while setting up FatFreeCRM on heroku and got this error, when I tried testing sending password reminder email.

If testing the same using rails console, everything seems to be working fine.

heroku run rails console

me = User.first



me.vald_password? “valid_password”



It turns out to be a heroku specific issue, you need to set HEROKU to true

heroku config add HEROKU=true

and everything works like a charm

Hope, it helps someone.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s