Rails 2.0 and Globalize
12Dec07
It’s hard not to upgrade to a newer version of Rails after reading this.
Also today I discovered some esoteric problem with passing HTTP status and Mongrel so I upgraded just to find out whether it helps. It didn’t but I found the upgrade (from Rails 1.2.5) to be rather smooth and enjoyed the power of test harness of my app. The only issue was with Globalize, I use globalize-for-1.2. When trying to update translated model I got
ArgumentError: wrong number of arguments (2 for 1)
I even went deeper and fixed it, so my app works on Rails 2.0 now )
My patch for Globalize is here.
I also tried Edge Globalize, it didn’t fix this ArgumentError but introduced a bunch of test failures so I reverted to globalize-for-1.2.
Filed under: globalize, rails | Leave a Comment
Search
-
You are currently browsing the Artem Vasiliev's Weblog weblog archives.
No Responses Yet to “Rails 2.0 and Globalize”