Rails 3 2 compat

I got the spec failures down to 2:

```
pete@balloon ~/work/refinerycms-blog $ rspec
No DRb server is running. Running in local process instead ...
DEPRECATION WARNING: Calling set_table_name is deprecated. Please use `self.table_name = 'the_name'` instead. (called from <class:Categorization> at /home/pete/work/refinerycms-blog/app/models/refinery/categorization.rb:4)
DEPRECATION WARNING: Passing the format in the template name is deprecated. Please pass render with :formats => [:html] instead. (called from realtime at /home/pete/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295)
DEPRECATION WARNING: Passing the format in the template name is deprecated. Please pass render with :formats => [:html] instead. (called from realtime at /home/pete/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/benchmark.rb:295)

  1) Refinery::Blog::Comment#approved when has approved comments should allow me to reject a comment
     Failure/Error: page.should have_content("has been rejected")
     expected there to be content "has been rejected" in "Company Name - Refinery\n      \n    \n      \n        Switch to your website      \n      \n\n      \n        \n          Company Name\n        \n\n        Log out\n      \n    \n  \n\n    \n    Settings\n    Blog\n    Users\n    Dashboard\n    Images\n    Pages\n    Files\n    \n\n    \n\n      \n        \n          \n            \n  \n    For full functionality of this page it is necessary to enable JavaScript.\n    Here are the\n    instructions for how to enable JavaScript in your web browser\n  \n\n\n            \n  The comment from \"Joe Commenter\" has been approved.\n    Close\n\n\n          \n          \n      \n  \n\n    \n  \n      Posts\n    \n    \n      Manage posts\n    \n    \n      Uncategorized posts\n    \n    \n       Create new post\n    \n  \n        Comments\n      \n      \n        New\n      \n      \n        Approved\n      \n      \n        Rejected\n      \n    \n      Categories\n    \n    \n      Manage\n    \n    \n      Create new category\n    \n  \n      Settings\n    \n    \n      Comments\n    \n    \n      Moderation\n    \n    \n      Update who gets notified\n    \n    \n      Teasers\n    \n  \n      \n        there are no new comments.\n      \n\n\n        \n      \n    \n  "                                                                  
     # ./spec/requests/refinery/blog/admin/comments_spec.rb:71:in `block (4 levels) in <module:Admin>'                                                          


  2) Refinery::Blog::Comment#rejected when has rejected comments should allow me to approve a comment
     Failure/Error: page.should have_content("has been approved")
     expected there to be content "has been approved" in "Company Name - Refinery\n      \n    \n      \n        Switch to your website      \n      \n\n      \n        \n          Company Name\n        \n\n        Log out\n      \n    \n  \n\n    \n    Settings\n    Blog\n    Users\n    Dashboard\n    Images\n    Pages\n    Files\n    \n\n    \n\n      \n        \n          \n            \n  \n    For full functionality of this page it is necessary to enable JavaScript.\n    Here are the\n    instructions for how to enable JavaScript in your web browser\n  \n\n\n            \n  The comment from \"Joe Commenter\" has been rejected.\n    Close\n\n\n          \n          \n      \n  \n\n    \n  \n      Posts\n    \n    \n      Manage posts\n    \n    \n      Uncategorized posts\n    \n    \n       Create new post\n    \n  \n        Comments\n      \n      \n        New\n      \n      \n        Approved\n      \n      \n        Rejected\n      \n    \n      Categories\n    \n    \n      Manage\n    \n    \n      Create new category\n    \n  \n      Settings\n    \n    \n      Comments\n    \n    \n      Moderation\n    \n    \n      Update who gets notified\n    \n    \n      Teasers\n    \n  \n      \n        there are no new comments.\n      \n\n\n        \n      \n    \n  "                                                                  
     # ./spec/requests/refinery/blog/admin/comments_spec.rb:102:in `block (4 levels) in <module:Admin>'                                                         

  75/75:       100% |==========================================| Time: 00:00:49
                                                                                
Finished in 49.47 seconds
75 examples, 2 failures

Failed examples:

rspec ./spec/requests/refinery/blog/admin/comments_spec.rb:68 # Refinery::Blog::Comment#approved when has approved comments should allow me to reject a comment 
rspec ./spec/requests/refinery/blog/admin/comments_spec.rb:99 # Refinery::Blog::Comment#rejected when has rejected comments should allow me to approve a comment
```

If I fire up a rails server in spec/dummy and add a blog post and an approved comment, when I go to the approved comments page and click reject I get this in the logs:

```
Started GET "/refinery/blog/comments/1/rejected?return_to=approved" for 127.0.0.1 at 2012-01-26 17:37:24 -0800
Processing by Refinery::Blog::Admin::CommentsController#rejected as HTML
  Parameters: {"return_to"=>"approved", "id"=>"1"}
  Refinery::Role Load (0.2ms)  SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1
  Refinery::User Load (0.2ms)  SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1
  Refinery::User Load (0.1ms)  SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1
  Refinery::UserPlugin Load (0.1ms)  SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC
  Refinery::Role Load (0.1ms)  SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1
  Refinery::Blog::Comment Load (0.1ms)  SELECT "refinery_blog_comments".* FROM "refinery_blog_comments" WHERE "refinery_blog_comments"."id" = ? LIMIT 1  [["id", "1"]]
   (0.0ms)  begin transaction
  Refinery::Blog::Comment Load (0.1ms)  SELECT "refinery_blog_comments".* FROM "refinery_blog_comments" WHERE "refinery_blog_comments"."id" = ? LIMIT 1  [["id", 1]]
   (0.1ms)  UPDATE "refinery_blog_comments" SET "state" = 'rejected', "updated_at" = '2012-01-27 01:37:24.398193' WHERE "refinery_blog_comments"."id" = 1
   (11.7ms)  commit transaction
The comment from "me" has been rejected.
Redirected to http://localhost:3000/refinery/blog/comments/1/approved
Completed 302 Found in 23ms (ActiveRecord: 12.7ms)
cache: [GET /refinery/blog/comments/1/approved] miss


Started GET "/refinery/blog/comments/1/approved" for 127.0.0.1 at 2012-01-26 17:37:24 -0800
Processing by Refinery::Blog::Admin::CommentsController#approved as HTML
  Parameters: {"id"=>"1"}
  Refinery::Role Load (0.1ms)  SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1
  Refinery::User Load (0.1ms)  SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1
  Refinery::User Load (0.1ms)  SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1
  Refinery::UserPlugin Load (0.1ms)  SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC
  Refinery::Role Load (0.1ms)  SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1
  Refinery::Blog::Comment Load (0.1ms)  SELECT "refinery_blog_comments".* FROM "refinery_blog_comments" WHERE "refinery_blog_comments"."id" = ? LIMIT 1  [["id", "1"]]
   (0.0ms)  begin transaction
  Refinery::Blog::Comment Load (0.1ms)  SELECT "refinery_blog_comments".* FROM "refinery_blog_comments" WHERE "refinery_blog_comments"."id" = ? LIMIT 1  [["id", 1]]
   (0.2ms)  UPDATE "refinery_blog_comments" SET "state" = 'approved', "updated_at" = '2012-01-27 01:37:24.442098' WHERE "refinery_blog_comments"."id" = 1
   (8.9ms)  commit transaction
Redirected to http://localhost:3000/refinery/blog/comments
Completed 302 Found in 19ms (ActiveRecord: 9.8ms)
cache: [GET /refinery/blog/comments] miss


Started GET "/refinery/blog/comments" for 127.0.0.1 at 2012-01-26 17:37:24 -0800
Processing by Refinery::Blog::Admin::CommentsController#index as HTML
  Refinery::Role Load (0.1ms)  SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1
  Refinery::User Load (0.1ms)  SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1
  Refinery::User Load (0.1ms)  SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1
  Refinery::UserPlugin Load (0.1ms)  SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC
  Refinery::Role Load (0.1ms)  SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1
  Rendered /home/pete/.rvm/gems/ruby-1.9.3-p0@refinerycms-blog/bundler/gems/refinerycms-fa696cd327b2/core/app/views/refinery/admin/_search.html.erb (0.3ms)
   (0.1ms)  SELECT COUNT(*) FROM "refinery_blog_comments" WHERE "refinery_blog_comments"."state" IS NULL
  Rendered /home/pete/work/refinerycms-blog/app/views/refinery/blog/admin/_submenu.html.erb (8.3ms)
  CACHE (0.0ms)  SELECT COUNT(*) FROM "refinery_blog_comments" WHERE "refinery_blog_comments"."state" IS NULL
  Rendered /home/pete/work/refinerycms-blog/app/views/refinery/blog/admin/comments/index.html.erb within layouts/refinery/admin (11.3ms)
  Rendered /home/pete/.rvm/gems/ruby-1.9.3-p0@refinerycms-blog/bundler/gems/refinerycms-fa696cd327b2/core/app/views/refinery/_html_tag.html.erb (0.1ms)
  Rendered /home/pete/.rvm/gems/ruby-1.9.3-p0@refinerycms-blog/bundler/gems/refinerycms-fa696cd327b2/core/app/views/refinery/admin/_javascripts.html.erb (1.1ms)
  Rendered /home/pete/.rvm/gems/ruby-1.9.3-p0@refinerycms-blog/bundler/gems/refinerycms-fa696cd327b2/core/app/views/refinery/admin/_head.html.erb (5.8ms)
  Rendered /home/pete/.rvm/gems/ruby-1.9.3-p0@refinerycms-blog/bundler/gems/refinerycms-fa696cd327b2/core/app/views/refinery/_site_bar.html.erb (1.0ms)
  Rendered /home/pete/.rvm/gems/ruby-1.9.3-p0@refinerycms-blog/bundler/gems/refinerycms-fa696cd327b2/core/app/views/refinery/admin/_menu.html.erb (2.7ms)
  Rendered /home/pete/.rvm/gems/ruby-1.9.3-p0@refinerycms-blog/bundler/gems/refinerycms-fa696cd327b2/core/app/views/refinery/_no_script.html.erb (0.3ms)
  Rendered /home/pete/.rvm/gems/ruby-1.9.3-p0@refinerycms-blog/bundler/gems/refinerycms-fa696cd327b2/core/app/views/refinery/_message.html.erb (0.2ms)
Completed 200 OK in 86ms (Views: 81.4ms | ActiveRecord: 0.8ms)
[2012-01-26 17:37:24] WARN  Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
cache: [GET /assets/refinery/blog/backend.css] miss
```

It is getting redirected from `/refinery/blog/comments/1/rejected` to `/refinery/blog/comments/1/approved` with the id, so it is effectively being rejected and then approved in rapid succession. I'm not sure how to fix this.