When I try to create a new record I get the following:
HTTP status code 422 (RestClient::RequestFailed) :in `transmit' :in
`start'
I already wrote the: protect_from_forgery :only => [] in the post
controller.
My development.log shows this:
Processing PostsController#new (for 127.0.0.1 at 2009-03-26 16:20:08)
[GET]
Session ID: 1f3a02204b869f096f89e581cbf67956
Parameters: {"controller"=>"posts", "action"=>"new"}
[4;35;1mPost Columns (0.007364) [0m [0mSHOW FIELDS FROM `posts`
[0m
Rendering template within layouts/application
Rendering posts/new
Rendered posts/_editable (0.03425)
Completed in 0.06791 (14 reqs/sec) | Rendering: 0.04901 (72%) | DB:
0.00736 (10%) | 200 OK [http://localhost/posts/new]
Any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "ruby-on-rails-programming-with-passion" group.
To unsubscribe from this group, send email to
ruby-on-rails-programming-with-passion-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/ruby-on-rails-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---