kwi / i18n_routing

I18n routing module for Rails 2.3.x and Rails 3. Translate your routes with ease !
MIT License
228 stars 48 forks source link

i18n_routing_rails3.rb:149:in `[]': can't convert Pathname into String (TypeError) #5

Closed agaelebe closed 14 years ago

agaelebe commented 14 years ago

i18n_routing_rails3.rb:149:in `[]': can't convert Pathname into String (TypeError)

i18n_routing_rails3.rb:149:in `localized'

Got this error with rails3.beta3

Any suggestion?

kwi commented 14 years ago

Hum, this is strange I could not reproduce this error under ruby 1.8.7 and ruby 1.9.2, What ruby version are you using ?

But at the same time, I have commit a possible fix, give it a try and tell me ! Thanks

agaelebe commented 14 years ago

I'm using ruby 1.9.1p378

kwi commented 14 years ago

That's what I thought :) Did the new release fix your issue ?

agaelebe commented 14 years ago

Your correction resolved the issue! Thank you very much!