simple-private-messages
simple-private-messages copied to clipboard
undefined method `to' Rails 3
I'm getting this error whenever creating a new message.
<% form_for @message, :url => user_messages_path(@user) do |f| %>
To:
Can't understand what your error is. But something looks wrong with this. Nelson On 10 May 2012 14:47, "Alaxic Smith" < [email protected]> wrote:
I'm getting this error whenever creating a new message.
<% form_for @message, :url => user_messages_path(@user) do |f| %>
To:
Reply to this email directly or view it on GitHub: https://github.com/jongilbraith/simple-private-messages/issues/23
I have the same bug. do you have a solution?
thanks
The <% form_for … should be <%= form_for…
On 7 Jul 2012, at 04:39, mlamarque wrote:
I have the same bug. do you have a solution?
thanks
Reply to this email directly or view it on GitHub: https://github.com/jongilbraith/simple-private-messages/issues/23#issuecomment-6820306
Read through the issues. This has been answered before.