Resourcer 0.3.0

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:
- Delete the
app/controllers/javascripts_controller.rbfile. - Delete the
app/views/javascriptsdirectory (especially theujs.js.erbfile found within). - Remove the
<%= javascript_include_tag "ujs" %>from yourapp/views/layouts/application.html.erblayout file. - Add the
<%= csrf_meta_tag %>line to yourapp/views/layouts/application.html.erblayout file. - Rerun the setup generator:
script/generate resourcer_setup.
No comments yet.
Leave a comment
You must be logged in to post a comment.
Search
Categories
- Adventures
(137)
- Announcements
(40)
- Business
(20)
- Electronics
(21)
- Epicurean
(10)
- Games
(2)
- Literature
(1)
- Mechanical
(4)
- Meetups
(17)
- Movies
(2)
- Music
(26)
- Photography
(1)
- Services
(28)
- Software
(132)