<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Authlogic Account Activation Tutorial</title>
	<atom:link href="http://www.claytonlz.com/2009/07/authlogic-account-activation-tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.claytonlz.com/2009/07/authlogic-account-activation-tutorial/</link>
	<description>Agile Practitioner, CSP, CSPO, CSM in Phoenix, AZ</description>
	<lastBuildDate>Sat, 05 Nov 2011 10:33:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Ae</title>
		<link>http://www.claytonlz.com/2009/07/authlogic-account-activation-tutorial/#comment-89</link>
		<dc:creator>Ae</dc:creator>
		<pubDate>Wed, 18 May 2011 18:45:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.claytonlz.com/?p=274#comment-89</guid>
		<description>Great tutorial !
Many thanks to Rok for a nice auto log in after activation solution.

@joel Joseph
Tutorial was meant to be used with Rails 2. The sending mail process has changed in Rails 3. RoR website have a great tutorial on Action Mailer http://guides.rubyonrails.org/action_mailer_basics.html
hope that helps.</description>
		<content:encoded><![CDATA[<p>Great tutorial !<br />
Many thanks to Rok for a nice auto log in after activation solution.</p>
<p>@joel Joseph<br />
Tutorial was meant to be used with Rails 2. The sending mail process has changed in Rails 3. RoR website have a great tutorial on Action Mailer <a href="http://guides.rubyonrails.org/action_mailer_basics.html" rel="nofollow">http://guides.rubyonrails.org/action_mailer_basics.html</a><br />
hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joel Joseph</title>
		<link>http://www.claytonlz.com/2009/07/authlogic-account-activation-tutorial/#comment-88</link>
		<dc:creator>joel Joseph</dc:creator>
		<pubDate>Thu, 24 Mar 2011 12:54:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.claytonlz.com/?p=274#comment-88</guid>
		<description>Hi, i am new to ror . i followed this tutorial to for user activation . but  i am getting this error.

undefined method `deliver_activation_instructions&#039; for Notifier(id: integer, created_at: datetime, updated_at: datetime):Class


can you please help me out?,,,,,</description>
		<content:encoded><![CDATA[<p>Hi, i am new to ror . i followed this tutorial to for user activation . but  i am getting this error.</p>
<p>undefined method `deliver_activation_instructions&#8217; for Notifier(id: integer, created_at: datetime, updated_at: datetime):Class</p>
<p>can you please help me out?,,,,,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bogdan</title>
		<link>http://www.claytonlz.com/2009/07/authlogic-account-activation-tutorial/#comment-87</link>
		<dc:creator>Bogdan</dc:creator>
		<pubDate>Mon, 24 Jan 2011 00:17:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.claytonlz.com/?p=274#comment-87</guid>
		<description>@Daz: try adding following to config/routes.rb
match &#039;register/:activation_code&#039; =&gt; &quot;activations#new&quot;, :as =&gt; :register</description>
		<content:encoded><![CDATA[<p>@Daz: try adding following to config/routes.rb<br />
match &#8216;register/:activation_code&#8217; =&gt; &#8220;activations#new&#8221;, :as =&gt; :register</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daz</title>
		<link>http://www.claytonlz.com/2009/07/authlogic-account-activation-tutorial/#comment-86</link>
		<dc:creator>Daz</dc:creator>
		<pubDate>Fri, 10 Dec 2010 07:27:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.claytonlz.com/?p=274#comment-86</guid>
		<description>Yeah, thanks for the tutorial. I&#039;m new to RoR and am trying to integrate this into Rails 3, and have a couple questions:

- should the activation url that gets sent to the new user look something like this:
http://127.0.0.1:3000/register.HAH88xS6gyT7SXsWKn4V
I&#039;m unable to pull the activation_code from the url --&gt; params[:activation_code] isn&#039;t doing the trick in the &#039;new&#039; method found in activations_controller.

-also,  should I be expecting an email to be sent via Authlogic, or would there be additional work on my part?

any help is greatly appreciated.</description>
		<content:encoded><![CDATA[<p>Yeah, thanks for the tutorial. I&#8217;m new to RoR and am trying to integrate this into Rails 3, and have a couple questions:</p>
<p>- should the activation url that gets sent to the new user look something like this:<br />
<a href="http://127.0.0.1:3000/register.HAH88xS6gyT7SXsWKn4V" rel="nofollow">http://127.0.0.1:3000/register.HAH88xS6gyT7SXsWKn4V</a><br />
I&#8217;m unable to pull the activation_code from the url &#8211;&gt; params[:activation_code] isn&#8217;t doing the trick in the &#8216;new&#8217; method found in activations_controller.</p>
<p>-also,  should I be expecting an email to be sent via Authlogic, or would there be additional work on my part?</p>
<p>any help is greatly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonas</title>
		<link>http://www.claytonlz.com/2009/07/authlogic-account-activation-tutorial/#comment-85</link>
		<dc:creator>Jonas</dc:creator>
		<pubDate>Tue, 26 Oct 2010 17:51:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.claytonlz.com/?p=274#comment-85</guid>
		<description>Thanks for the tutorial, and thanks Rok for the tip on automatically creating user sessions. By calling activate! in the &quot;new&quot; controller method and using UserSession.create!(self) in the user model I bypass the confirm page entirely and just give the user a confirmation message in the flash....great!  Eliminates a step for the user and the need for an extra view &amp; method/route. 

Its not quite as secure as making the user sign in again, but equally as secure as having the user set the password after confirmation, I believe.</description>
		<content:encoded><![CDATA[<p>Thanks for the tutorial, and thanks Rok for the tip on automatically creating user sessions. By calling activate! in the &#8220;new&#8221; controller method and using UserSession.create!(self) in the user model I bypass the confirm page entirely and just give the user a confirmation message in the flash&#8230;.great!  Eliminates a step for the user and the need for an extra view &amp; method/route. </p>
<p>Its not quite as secure as making the user sign in again, but equally as secure as having the user set the password after confirmation, I believe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Authlogic and Cucumber &#124; Vincent Prouillet</title>
		<link>http://www.claytonlz.com/2009/07/authlogic-account-activation-tutorial/#comment-84</link>
		<dc:creator>Authlogic and Cucumber &#124; Vincent Prouillet</dc:creator>
		<pubDate>Sun, 14 Mar 2010 00:45:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.claytonlz.com/?p=274#comment-84</guid>
		<description>[...] For the Authlogic part, i&#8217;ll just refer to others tutorials since there are very good ones out there !  First the basic installation : GitHub Authlogic, you can see how easy it is to set up a complete authentication system with this amazing gem.  I then added the reset password functionality : Reset passwords with Autlogic.  And then I wanted to activate accounts by an email : Account Activation with Authlogic. [...] </description>
		<content:encoded><![CDATA[</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravindra Singh</title>
		<link>http://www.claytonlz.com/2009/07/authlogic-account-activation-tutorial/#comment-83</link>
		<dc:creator>Ravindra Singh</dc:creator>
		<pubDate>Thu, 14 Jan 2010 11:27:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.claytonlz.com/?p=274#comment-83</guid>
		<description>after using reset_perishable_token!
i am getting different value of perishable token in db and in the e-mail
and when user visit the link due to the unmatched values user get error user not find in my production log
why is this?
i am using exactly your code for activation_instructions</description>
		<content:encoded><![CDATA[<p>after using reset_perishable_token!<br />
i am getting different value of perishable token in db and in the e-mail<br />
and when user visit the link due to the unmatched values user get error user not find in my production log<br />
why is this?<br />
i am using exactly your code for activation_instructions</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeremy Chatfield</title>
		<link>http://www.claytonlz.com/2009/07/authlogic-account-activation-tutorial/#comment-82</link>
		<dc:creator>Jeremy Chatfield</dc:creator>
		<pubDate>Mon, 11 Jan 2010 18:42:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.claytonlz.com/?p=274#comment-82</guid>
		<description>Thanks - very helpful article. If following this precisely, I think there&#039;s a step or two needed for app/views/users . The form partial requests the password, but that&#039;s not what the description of the process says. So we probably need to copy and trim the form (because views/users/edit.html.erb probably still needs to allow password updates, unless we have an openid record, while the new.html.erb needs to request only the email address?)</description>
		<content:encoded><![CDATA[<p>Thanks &#8211; very helpful article. If following this precisely, I think there&#8217;s a step or two needed for app/views/users . The form partial requests the password, but that&#8217;s not what the description of the process says. So we probably need to copy and trim the form (because views/users/edit.html.erb probably still needs to allow password updates, unless we have an openid record, while the new.html.erb needs to request only the email address?)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ulf</title>
		<link>http://www.claytonlz.com/2009/07/authlogic-account-activation-tutorial/#comment-81</link>
		<dc:creator>Ulf</dc:creator>
		<pubDate>Sun, 03 Jan 2010 14:39:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.claytonlz.com/?p=274#comment-81</guid>
		<description>Thanks for your tutorial!

I try to write a controller spec for create. I wonder how signup! can be mocked/stubbed? Something like 
User.stub!(:signup!).and_return(&quot;true&quot;)
doesn&#039;t work.</description>
		<content:encoded><![CDATA[<p>Thanks for your tutorial!</p>
<p>I try to write a controller spec for create. I wonder how signup! can be mocked/stubbed? Something like <br />
User.stub!(:signup!).and_return(&#8220;true&#8221;)<br />
doesn&#8217;t work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rok</title>
		<link>http://www.claytonlz.com/2009/07/authlogic-account-activation-tutorial/#comment-80</link>
		<dc:creator>Rok</dc:creator>
		<pubDate>Sun, 27 Dec 2009 14:44:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.claytonlz.com/?p=274#comment-80</guid>
		<description>Had the same issue as Jonathan, so I checked Authlogic docs, here&#039;s my activate! and singup! methods
&lt;pre lang=&quot;ruby&quot; line=&quot;1&quot;&gt;
	def signup!(params)
		self.login = params[:user][:login]
		self.email = params[:user][:email]
		self.password = params[:user][:password]
		save_without_session_maintenance
	end

	def activate!
		self.active = true
		UserSession.create!(self)
	end
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Had the same issue as Jonathan, so I checked Authlogic docs, here&#8217;s my activate! and singup! methods</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
</pre></td><td class="code"><pre class="ruby" style="font-family:monospace;">	<span style="color:#9966CC; font-weight:bold;">def</span> signup!<span style="color:#006600; font-weight:bold;">&#40;</span>params<span style="color:#006600; font-weight:bold;">&#41;</span>
		<span style="color:#0000FF; font-weight:bold;">self</span>.<span style="color:#9900CC;">login</span> = params<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:user</span><span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:login</span><span style="color:#006600; font-weight:bold;">&#93;</span>
		<span style="color:#0000FF; font-weight:bold;">self</span>.<span style="color:#9900CC;">email</span> = params<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:user</span><span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:email</span><span style="color:#006600; font-weight:bold;">&#93;</span>
		<span style="color:#0000FF; font-weight:bold;">self</span>.<span style="color:#9900CC;">password</span> = params<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:user</span><span style="color:#006600; font-weight:bold;">&#93;</span><span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:password</span><span style="color:#006600; font-weight:bold;">&#93;</span>
		save_without_session_maintenance
	<span style="color:#9966CC; font-weight:bold;">end</span>
&nbsp;
	<span style="color:#9966CC; font-weight:bold;">def</span> activate!
		<span style="color:#0000FF; font-weight:bold;">self</span>.<span style="color:#9900CC;">active</span> = <span style="color:#0000FF; font-weight:bold;">true</span>
		UserSession.<span style="color:#9900CC;">create</span>!<span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#0000FF; font-weight:bold;">self</span><span style="color:#006600; font-weight:bold;">&#41;</span>
	<span style="color:#9966CC; font-weight:bold;">end</span></pre></td></tr></table></div>

]]></content:encoded>
	</item>
</channel>
</rss>

