I am new to RoR. I am running Linux Red Hat Enterprise with MySQL for
my db, and when I go and either create/update the database I get this
message:
ActionController::InvalidAuthenticityToken in Test1Controller#create(or
update)
ActionController::InvalidAuthenticityToken
I can destroy any of the items in the db, just can not create or update.
The answer is probably simple, but I just have not found it yet...if
more information is needed please let me know.
I am new to RoR. I am running Linux Red Hat Enterprise with MySQL for
my db, and when I go and either create/update the database I get this
message:
ActionController::InvalidAuthenticityToken in Test1Controller#create(or
update)
ActionController::InvalidAuthenticityToken
I can destroy any of the items in the db, just can not create or update.
The answer is probably simple, but I just have not found it yet...if
more information is needed please let me know.
I added the lines :only => [:update, :delete, :create] after
protect_from_forgery and things worked.