# Link\_to\_remote is not works for me

**URL:** <https://www.ruby-forum.com/t/link-to-remote-is-not-works-for-me/188446>\
**Category:** Rails\
**Created:** [May 12, 2010, 5:21am UTC](https://www.ruby-forum.com/t/link-to-remote-is-not-works-for-me/188446 "2010-05-12T05:21:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![FZ101](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/7ab992/32.png) [@FZ101](https://www.ruby-forum.com/u/FZ101)\
**Post date:** [May 12, 2010, 5:21am UTC](https://www.ruby-forum.com/t/link-to-remote-is-not-works-for-me/188446/1 "2010-05-12T05:21:24Z")

</div>

link\_to\_remote is not works for me

here my codes

## in my user controller

def edit  
puts “===== test output =====”  
end

* * *

In view

## \<%= link\_to\_remote “Vote”,:controller=\>“poem”,:action=\>“vote\_for\_poem”%\>

when i click the link then i’m getting

ActionController::UnknownAction (No action responded to 3. Actions:  
create, destroy, edit, index, new, show, update, and vote\_for\_poem):

anybody please help me

---

<div class="post-metadata">

**Author:** ![FZ101](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/7ab992/32.png) [@FZ101](https://www.ruby-forum.com/u/FZ101)\
**Post date:** [May 12, 2010, 8:50am UTC](https://www.ruby-forum.com/t/link-to-remote-is-not-works-for-me/188446/2 "2010-05-12T08:50:21Z")

</div>

I USED the remote function method and fixed that error

---

<div class="post-metadata">

**Author:** ![FZ101](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/7ab992/32.png) [@FZ101](https://www.ruby-forum.com/u/FZ101)\
**Post date:** [May 12, 2010, 10:46am UTC](https://www.ruby-forum.com/t/link-to-remote-is-not-works-for-me/188446/3 "2010-05-12T10:46:50Z")

</div>

On 12 May 2010 04:20, FZ101 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> * * *
> 
> In view
> 
> \<%= link\_to\_remote  
> “Vote”,:controller=\>“poem”,:action=\>“vote\_for\_poem”%\>

Have a look at the docs for link\_to\_remote, I think you are not using  
it correctly. You have not specified the :update option for example.

Colin
