Has anyone been playing around with the Rails 3 code? I’m having an
with destroying models.
I started an app using Yehuda’s “Spinning up a new Rails app” example.
Worked great. “script/generate scaffold Post title:string body:text”
Awesome. “rake db:migrate”. Great. Everything works… except
The generated view shows this:
Which looks correct, as far as I know. But when I hit it, no confirm
and I get this in the server log:
Started GET “/posts/3” for 22.214.171.124 at 2010-01-28 14:23:43
Processing by PostsController#show as HTML
Post Load (0.2ms) SELECT “posts”.* FROM “posts” WHERE (“posts”.“id” =
Rendered posts/show.html.erb within layouts/posts.html.erb (41.7ms)
Completed in 51ms (Views: 43.3ms | ActiveRecord: 0.2ms) with 200
So apparently it’s not understanding the data-method information.
This leaves me with two questions. One, am I doing something wrong? And
what’s the best resource for keeping up with things like this, so that I
don’t have to ask what could be a dumb question? I’m already subscribed
rails-core, and several rails-related blogs… suggestions?