There are at least two ways to activate a new user when your development server is unable to send email.

1. Look in the log file for a copy of the email message and copy the activation URL into your web browser.

2. Use the rails console to fetch the proper user record. In your case it is most likely the last user record created. The commands would look like this:

$ rails console
Loading development environment (Rails 4.0.4)
1.9.3-p545 :001 > u = User.last
1.9.3-p545 :002 > u.activated_at = Time.now
1.9.3-p545 :003 > u.save
1.9.3-p545 :003 > quit
$
I hope this helps!

Dan

On 3/26/14, 2:53 PM, Jeremias Santos wrote:
Unable to resolve activating sending emails.



On Tuesday, March 25, 2014 1:07:06 PM UTC-3, Jeremias Santos wrote:
Installed CommunityEngine rails4 branch, is running normal. I created a user to access the application, but when I tried to use it to send an email to the account registration email informed, but as I'm using spot he did not send the email, just can not activate the account, then added to the application.rb config GMail account for sending emails, but still did not work. 

Can anyone help me how can i enable user? 

Have accessed the database and modified the attribute that would possibly activation, however when I try to access reports that user is pending activation. 

Thank you in advance. 

--
You received this message because you are subscribed to the Google Groups "CommunityEngine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/communityengine.
For more options, visit https://groups.google.com/d/optout.



--
You received this message because you are subscribed to the Google Groups "CommunityEngine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/communityengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to