Forum: Ruby on Rails form post command?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
xxmithila (Guest)
on 2008-11-13 04:44
(Received via mailing list)
Help me...

error on form post:-

             ActionController::InvalidAuthenticityToken


this is the my code
----------------------------

RHTML file

<form method="post" action= "\msg\confirm\">

<input type="text" name="text1">

<input type="submit"/>
-----------------------------------------------------------------------
CONTROLLER
class MsgController < ApplicationController
  def confirm
    @data = params[:text1]
    end
end
------------------------------------------------------------------------


what is the reason, Im stucked help me
mithila.
Philip H. (Guest)
on 2008-11-13 04:59
(Received via mailing list)
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-ne...

-philip
mithila karunarathna (Guest)
on 2008-11-13 05:05
(Received via mailing list)
Thank you very much my friend..philip
I got your point..
thankx again.
This topic is locked and can not be replied to.