Posted by luca
on Wednesday, May 14
Acts As Resource is ready for the imminent Rails 2.1!
I also moved it to GitHub, the new repo is http://github.com/jodosha/acts-as-resource/tree/master, the SVN one is deprecated.
If you enjoyed this post, feel free to recommend me on
Working With Rails.
Posted by luca
on Monday, May 12
Click to Globalize has been rewritten, in order to use all instance methods of the JavaScript class, instead of class methods.
I also fixed some tiny issues:
- The
form_authentication_token method is called only if the application is protected against the CSRF attacks (protect_against_forgery? returns true)
- It uses as parameter key what
request_forgery_protection_token returns, instead of the hard-coded authenticity_token
- The JavaScript class uses Prototype's dom:loaded custom event.
I also migrated the plugin GitHub. The new repo is http://github.com/jodosha/click-to-globalize/tree/master, so the oldest one is deprecated.
Have a nice globalization!
If you enjoyed this post, feel free to recommend me on Working With Rails.