Hi Bryan,

Thanks for your response..

If I have understood your response properly....

I am aware about this difference in the name Bryan, I am just making use 
of two different symbol names.. As per the requirement in the project. 
To the best of my knowldege, I don't think I am calling a method like 
the HTTP get or post through symbol like :post as I have named in my 
POC..

Kindly correct me in case your try to point out something else.. 
something I am unable to get from your reply.....

Thanks again..

Bryan Crossland wrote in post #999866:
> Sent from my iPhone
>
> On May 20, 2011, at 5:32 AM, Mohnish G j <li...@ruby-forum.com> wrote:
>
>>
>> in my project app.
>>    <%form_for  :group_post, :url => {:action => :post_message, :id =>
>>    <%= a.message %> by <%=  Investor.find(a.post_by).first_name %> <div
>> class ="contentdispgrp" id="style_chck"> <%=
>> distance_of_time_in_words(a.created_at,Time.now) %> ago </div><br/><br/>
>> <hr/>
>>    <%end%>
>>
>>
>> I actually tried comparing this with the view file in my POC which
>> successfully uploaded images for me and even displayed the same. The
>> new.html.erb file of my POC looks like this:-
>>
>
> You POC and actual apps form_for are different. In the POC your are
> doing a :post and in the actual form you are missing it. You have
> :group_post. That is not a method of posting and is being treated like a
> parameter as shown in your log file. Change :group_post to :post.
>
> B.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to