|
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: I hope this helps!$ rails consoleLoading development environment (Rails 4.0.4)1.9.3-p545 :001 > u = User.last1.9.3-p545 :002 > u.activated_at = Time.now1.9.3-p545 :003 > u.save1.9.3-p545 :003 > quit$ Dan On 3/26/14, 2:53 PM, Jeremias Santos wrote:
-- |
- [CommunityEngine] New User Admin - Rails 4 Jeremias Santos
- [CommunityEngine] Re: New User Admin - Rails 4 Jeremias Santos
- [CommunityEngine] Re: New User Admin - Rails 4 Jeremias Santos
- Re: [CommunityEngine] Re: New User Admin - Rails ... Dan Coutu
- [CommunityEngine] Re: New User Admin - Rails 4 Jeremias Santos
- [CommunityEngine] Re: New User Admin - Rails 4 Jeremias Santos
- [CommunityEngine] Re: New User Admin - Rails 4 Jeremias Santos
- [CommunityEngine] Re: New User Admin - Rails 4 Jeremias Santos
- [CommunityEngine] Re: New User Admin - Rails 4 Jeremias Santos
- [CommunityEngine] Re: New User Admin - Rails 4 Jeremias Santos
