>>>
>>> I can see my groupname displaying in my page, but when I click on my
>>> groupname link, Im not able to pass �groupname to my controller.
>> 
>> Using a hidden field does not work as you are not in a form.  That is
>> how to do it if you were submitting from a form.  Instead just include
>> the name in the url - something like
>>  <%= link_to_remote g.group_name, :update => "abc", :url => {
>> :controller => "users" , :action => "showfriendslist", :group_name =>
>> g.group_name } %>
>> 
>> Look at the html generated by this to check that it is being included 
>> correctly.
>> 
>> Colin
> 
> Thank you Colin
> 
> I got the  output.

Can you please solve this error for me

undefined method `each' for 4:Fixnum


-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to