Hey hydrozen,

On 09.11.2008, at 19:34, hydrozen wrote:
> I have been playing around with globalize2 but it doesn't seem to work
> right for me somehow and it got me scratching my head.
> So I created a model which has a translatable field called "title".
> When I save the model I do see the fields in the translations table...
> but when I fetch that record using find title returns nil.
>
> Here's an excerpt from a console session :
>
>>> I18n.locale = :en
> => :en
>>> Showcase.create(:title => ‘english’)
> => #
>>> s = Showcase.find(3)
> => #
>>> s.title
> => nil
>
> What am I doing wrong?

Nothing. Globalize was wrong about trying to save the Ruby Symbol  
directly to the db in this case. I've fixed that: 
http://github.com/joshmh/globalize2/commit/d63e851d1a371e6a6583bc64867fb1b50c85c474

Thanks a lot for reporting this!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"rails-i18n" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rails-i18n?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to