<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: RESTful_Easy_Messages</title>
	<link>http://samuelschroeder.com/2007/10/16/restful_easy_messages/</link>
	<description>Ruby in the front, Rails in the back.</description>
	<pubDate>Thu, 21 Aug 2008 18:36:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2</generator>

	<item>
		<title>By: Sam</title>
		<link>http://samuelschroeder.com/2007/10/16/restful_easy_messages/#comment-246</link>
		<author>Sam</author>
		<pubDate>Fri, 27 Jun 2008 15:48:50 +0000</pubDate>
		<guid>http://samuelschroeder.com/2007/10/16/restful_easy_messages/#comment-246</guid>
		<description>@Gravis has updated the routes for this plugin.  The new code in up on GitHub.</description>
		<content:encoded><![CDATA[<p>@Gravis has updated the routes for this plugin.  The new code in up on GitHub.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asbjørn Morell</title>
		<link>http://samuelschroeder.com/2007/10/16/restful_easy_messages/#comment-241</link>
		<author>Asbjørn Morell</author>
		<pubDate>Thu, 26 Jun 2008 18:28:53 +0000</pubDate>
		<guid>http://samuelschroeder.com/2007/10/16/restful_easy_messages/#comment-241</guid>
		<description>Thanks. That fixed the error. However I get a new error:

Showing messages/index.html.erb where line #3 raised: 

inbox_user_messages_url failed to generate from {:controller=&#62;"messages", :action=&#62;"inbox"} - you may have ambiguous routes, or you may need to supply additional parameters for this route.  content_url has the following required parameters: ["users", :user_id, "messages", "inbox"] - are they all satisfied?

I am logged in, but there is no messages yet. Routes has been added as you instructed in your documentation. Any ideas?</description>
		<content:encoded><![CDATA[<p>Thanks. That fixed the error. However I get a new error:</p>
<p>Showing messages/index.html.erb where line #3 raised: </p>
<p>inbox_user_messages_url failed to generate from {:controller=&gt;&#8221;messages&#8221;, :action=&gt;&#8221;inbox&#8221;} - you may have ambiguous routes, or you may need to supply additional parameters for this route.  content_url has the following required parameters: [&#8221;users&#8221;, :user_id, &#8220;messages&#8221;, &#8220;inbox&#8221;] - are they all satisfied?</p>
<p>I am logged in, but there is no messages yet. Routes has been added as you instructed in your documentation. Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://samuelschroeder.com/2007/10/16/restful_easy_messages/#comment-237</link>
		<author>Sam</author>
		<pubDate>Thu, 26 Jun 2008 14:45:14 +0000</pubDate>
		<guid>http://samuelschroeder.com/2007/10/16/restful_easy_messages/#comment-237</guid>
		<description>@Asbjørn Morell - the login_required method is part of restful_authentication.  It iwould be in lib/authenticated_system.rb if you ran the RA generator.  Have you added "include AuthenticatedSystem" in your Application controller?  Otherwise, the the REZM controller won't know about it.</description>
		<content:encoded><![CDATA[<p>@Asbjørn Morell - the login_required method is part of restful_authentication.  It iwould be in lib/authenticated_system.rb if you ran the RA generator.  Have you added &#8220;include AuthenticatedSystem&#8221; in your Application controller?  Otherwise, the the REZM controller won&#8217;t know about it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asbjørn Morell</title>
		<link>http://samuelschroeder.com/2007/10/16/restful_easy_messages/#comment-236</link>
		<author>Asbjørn Morell</author>
		<pubDate>Thu, 26 Jun 2008 14:34:26 +0000</pubDate>
		<guid>http://samuelschroeder.com/2007/10/16/restful_easy_messages/#comment-236</guid>
		<description>Helllo,

I got the latest version of restful-authentication running with Ruby on rails 2.1. When I try to open a message I get this error: (/messages/inbox)

NameError in MessagesController#index 
undefined local variable or method `login_required' for #
RAILS_ROOT: /home/ilikeyou/www

Application Trace &#124; Framework Trace &#124; Full Trace 
lib/restful_easy_messages_controller_system.rb:15:in `rezm_login_required'
/usr/local/bin/mongrel_rails:19:in `load'
/usr/local/bin/mongrel_rails:19

Had to rename restful-authentication to restful_authentication to get it working. Some bug about the naming. It is listed on the rest_auth git webpage.

Any ideas?</description>
		<content:encoded><![CDATA[<p>Helllo,</p>
<p>I got the latest version of restful-authentication running with Ruby on rails 2.1. When I try to open a message I get this error: (/messages/inbox)</p>
<p>NameError in MessagesController#index<br />
undefined local variable or method `login_required&#8217; for #<br />
RAILS_ROOT: /home/ilikeyou/www</p>
<p>Application Trace | Framework Trace | Full Trace<br />
lib/restful_easy_messages_controller_system.rb:15:in `rezm_login_required&#8217;<br />
/usr/local/bin/mongrel_rails:19:in `load&#8217;<br />
/usr/local/bin/mongrel_rails:19</p>
<p>Had to rename restful-authentication to restful_authentication to get it working. Some bug about the naming. It is listed on the rest_auth git webpage.</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: samuelschroeder.com &#187; Blog Archive &#187; RESTful_Easy_Messages now on GitHub.</title>
		<link>http://samuelschroeder.com/2007/10/16/restful_easy_messages/#comment-120</link>
		<author>samuelschroeder.com &#187; Blog Archive &#187; RESTful_Easy_Messages now on GitHub.</author>
		<pubDate>Thu, 05 Jun 2008 15:46:10 +0000</pubDate>
		<guid>http://samuelschroeder.com/2007/10/16/restful_easy_messages/#comment-120</guid>
		<description>[...] just pushed the 0.7 svn tag of the RESTful_Easy_Messages plug-in to GitHub so I can play with the cool kids. Go see it here =&#62; [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] just pushed the 0.7 svn tag of the RESTful_Easy_Messages plug-in to GitHub so I can play with the cool kids. Go see it here =&gt; [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gravis</title>
		<link>http://samuelschroeder.com/2007/10/16/restful_easy_messages/#comment-117</link>
		<author>Gravis</author>
		<pubDate>Thu, 08 May 2008 18:40:05 +0000</pubDate>
		<guid>http://samuelschroeder.com/2007/10/16/restful_easy_messages/#comment-117</guid>
		<description>Hi Sam,

any news on the new routes ? It's been a while, I hope you will continue to improve the plugin :)

Cheers,
Gravis</description>
		<content:encoded><![CDATA[<p>Hi Sam,</p>
<p>any news on the new routes ? It&#8217;s been a while, I hope you will continue to improve the plugin <img src='http://samuelschroeder.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Cheers,<br />
Gravis</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://samuelschroeder.com/2007/10/16/restful_easy_messages/#comment-116</link>
		<author>Sam</author>
		<pubDate>Sat, 12 Apr 2008 12:02:57 +0000</pubDate>
		<guid>http://samuelschroeder.com/2007/10/16/restful_easy_messages/#comment-116</guid>
		<description>@Bill, the method 'rezm_menu' is in helpers/messages_helper.rb so you'll need include that helper in the controller that calls your partial.  Just put 'include MessagessHelper' at the top of your controller.  Like so...

class MyController &lt; ApplicationController
  include MessagessHelper
  # The rest of your class
  #
  #
end
</description>
		<content:encoded><![CDATA[<p>@Bill, the method &#8216;rezm_menu&#8217; is in helpers/messages_helper.rb so you&#8217;ll need include that helper in the controller that calls your partial.  Just put &#8216;include MessagessHelper&#8217; at the top of your controller.  Like so&#8230;</p>
<p>class MyController < ApplicationController<br />
  include MessagessHelper<br />
  # The rest of your class<br />
  #<br />
  #<br />
end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://samuelschroeder.com/2007/10/16/restful_easy_messages/#comment-115</link>
		<author>Bill</author>
		<pubDate>Sat, 12 Apr 2008 00:35:25 +0000</pubDate>
		<guid>http://samuelschroeder.com/2007/10/16/restful_easy_messages/#comment-115</guid>
		<description>Nice plugin.  I had started working on the same thing and had it about 70% complete when a fired pointed this plugin out to me. Looks almost exactly like what I was doing already so it fit in nicely.  Two things though, I have a login and an email for the user.  You had the assumption that the email was the login.  No big deal though.  The other item was how would I move this into a parital?  I was going to have a landing page for the user that had among other things, the view of their mailbox.  When I moved the code into the partial though, I got undefined local variable or method `rezm_menu'.  I'm new to rails so may have missed something easy.  Have you tried to do something like this yet and if so could you give me a hint?  Thanks again for the plugin.</description>
		<content:encoded><![CDATA[<p>Nice plugin.  I had started working on the same thing and had it about 70% complete when a fired pointed this plugin out to me. Looks almost exactly like what I was doing already so it fit in nicely.  Two things though, I have a login and an email for the user.  You had the assumption that the email was the login.  No big deal though.  The other item was how would I move this into a parital?  I was going to have a landing page for the user that had among other things, the view of their mailbox.  When I moved the code into the partial though, I got undefined local variable or method `rezm_menu&#8217;.  I&#8217;m new to rails so may have missed something easy.  Have you tried to do something like this yet and if so could you give me a hint?  Thanks again for the plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nerb</title>
		<link>http://samuelschroeder.com/2007/10/16/restful_easy_messages/#comment-94</link>
		<author>nerb</author>
		<pubDate>Thu, 14 Feb 2008 02:36:59 +0000</pubDate>
		<guid>http://samuelschroeder.com/2007/10/16/restful_easy_messages/#comment-94</guid>
		<description>thanks sam.  I was thinking, since I'm in a bind, i'd just hack act_as_emailable, similar to how you've done, but leverage your hard work, but leaving the controller as email (or whatever they have)?

The plugin looks great, i just wish i didn't use the word messages already in my controller and models.

Live and learn.</description>
		<content:encoded><![CDATA[<p>thanks sam.  I was thinking, since I&#8217;m in a bind, i&#8217;d just hack act_as_emailable, similar to how you&#8217;ve done, but leverage your hard work, but leaving the controller as email (or whatever they have)?</p>
<p>The plugin looks great, i just wish i didn&#8217;t use the word messages already in my controller and models.</p>
<p>Live and learn.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://samuelschroeder.com/2007/10/16/restful_easy_messages/#comment-93</link>
		<author>Sam</author>
		<pubDate>Wed, 13 Feb 2008 21:01:39 +0000</pubDate>
		<guid>http://samuelschroeder.com/2007/10/16/restful_easy_messages/#comment-93</guid>
		<description>@Nerb, rightnow you can't choose the name of the messages model.  I'm working on the next version which will allow you to generate your own model name.</description>
		<content:encoded><![CDATA[<p>@Nerb, rightnow you can&#8217;t choose the name of the messages model.  I&#8217;m working on the next version which will allow you to generate your own model name.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
