Rails Error explained?

I just got my first error, "ActionController::InvalidAuthenticityToken".

I can't seem to find any reference anywhere to an explanation of what
these errors actually mean (perhaps it has to do with manually adding a
view? The file just contains the words "Hello World"), altho there are
a few old posts about how to "turn it off".

Mk 27 wrote:

I can't seem to find any reference anywhere to an explanation of what
these errors actually mean (perhaps it has to do with manually adding a
view? The file just contains the words "Hello World"), altho there are
a few old posts about how to "turn it off".

Well adding this to the controller worked:

protect_from_forgery :only => [:create, :update, :destroy]

Also very disappointed that a *web interface* API does not include a
search function (!), meaning I had to use grep on the doc source --
which is very awkwardly laid out from a "grep" perspective.

I guess you can't ask for everything.

Re: the API, why can't you use your browsers search feature? Everything is on the one page - in frames.

Blog: http://random8.zenunit.com/
Twitter: http://twitter.com/random8r
Learn: http://sensei.zenunit.com/
New video up now at http://sensei.zenunit.com/ real fastcgi rails deploy process! Check it out now

"had to"? you meant "totally enjoyed the opportunity to", right? :slight_smile:

Anyway, see: <http://railsapi.com/>

Hassan Schroeder wrote:

Anyway, see: <http://railsapi.com/>

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

This is a dead link. I presume you mean the same thing that's at
localhost:8808?

Hassan Schroeder wrote:

Anyway, see: <http://railsapi.com/>

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com

This is a dead link. I presume you mean the same thing that's at
localhost:8808?

works for me.

The security guide http://guides.rubyonrails.org/ discusses csrf
protection.

Fred

Anyway, see: <http://railsapi.com/>

This is a dead link.

? It works for me.

I presume you mean the same thing that's at localhost:8808?

I do not.

I thought you meant API.rubyonrails.org

Which server errors?

Blog: http://random8.zenunit.com/
Twitter: http://twitter.com/random8r
Learn: http://sensei.zenunit.com/
New video up now at http://sensei.zenunit.com/ real fastcgi rails
deploy process! Check it out now!

Julian Leviston wrote:

I thought you meant API.rubyonrails.org

Which server errors?

It was because of the link in the post (don't use <>?), I just tried the
actual address and that looks good. THANKS.

Also thanks Fred for the "guides"

: