Resourcer 0.3.0

Ruby

I’ve just released version 0.3.0 of the Resourcer Ruby Gem. Here are the changes:

  • Added the csrf_meta_tag helper which provides Rails 3 support for Rails 2 apps.
  • Moved jQuery AJAX setup to the jquery.rest.js file.
  • Removed the JavaScripts controller and related views (use jquery.rest.js instead, everything happens there now).

To upgrade to v0.3.0 from previous versions, perform the following steps:

  1. Delete the app/controllers/javascripts_controller.rb file.
  2. Delete the app/views/javascripts directory (especially the ujs.js.erb file found within).
  3. Remove the <%= javascript_include_tag "ujs" %> from your app/views/layouts/application.html.erb layout file.
  4. Add the <%= csrf_meta_tag %> line to your app/views/layouts/application.html.erb layout file.
  5. Rerun the setup generator: script/generate resourcer_setup.

Tags:

Monday, July 19th, 2010 Software

No comments yet.

Leave a comment

You must be logged in to post a comment.