# Form post command?

**URL:** <https://www.ruby-forum.com/t/form-post-command/153189>\
**Category:** Rails\
**Created:** [November 13, 2008, 3:44am UTC](https://www.ruby-forum.com/t/form-post-command/153189 "2008-11-13T03:44:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xxmithila](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/ebca7d/32.png) [@xxmithila](https://www.ruby-forum.com/u/xxmithila)\
**Post date:** [November 13, 2008, 3:44am UTC](https://www.ruby-forum.com/t/form-post-command/153189/1 "2008-11-13T03:44:05Z")

</div>

Help me…

error on form post:-

```
         ActionController::InvalidAuthenticityToken

```

## this is the my code

RHTML file

## 

## CONTROLLER class MsgController \< ApplicationController def confirm @data = params[:text1] end end

what is the reason, Im stucked help me  
mithila.

---

<div class="post-metadata">

**Author:** ![xxmithila](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/ebca7d/32.png) [@xxmithila](https://www.ruby-forum.com/u/xxmithila)\
**Post date:** [November 13, 2008, 3:59am UTC](https://www.ruby-forum.com/t/form-post-command/153189/2 "2008-11-13T03:59:19Z")

</div>

On Nov 12, 2008, at 6:43 PM, xxmithila wrote:

> ## def confirm @data = params[:text1] end end
> 
> what is the reason, Im stucked help me  
> mithila.

Read this (near the bottom):

[http://ryandaigle.com/articles/2007/9/24/what-s-new-in-edge-rails-better-cross-site-request-forging-prevention](http://ryandaigle.com/articles/2007/9/24/what-s-new-in-edge-rails-better-cross-site-request-forging-prevention)

-philip

---

<div class="post-metadata">

**Author:** ![xxmithila](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/x/ebca7d/32.png) [@xxmithila](https://www.ruby-forum.com/u/xxmithila)\
**Post date:** [November 13, 2008, 4:05am UTC](https://www.ruby-forum.com/t/form-post-command/153189/3 "2008-11-13T04:05:45Z")

</div>

Thank you very much my friend…philip  
I got your point…  
thankx again.
