svenfuchs/globalize3 — Issue #83: Model's reload method doesn't work properly anymore with globalize
Author: ncri
Created: 2011-10-31 10:59:57+00:00
State: open

Since using globalize, the reload method of a model seems to not work properly anymore.
I discovered this in a failing functional test:

```
# new_forum.name is 'test'
put :update, :id => new_forum.id, :forum => { :name => 'updated', :description => 'test' }

new_forum.reload
assert_equal 'updated', new_forum.name
```

```
Failure:
<"updated">("US-ASCII") expected but was
<"test">("UTF-8").
```
Now I have to do

```
put :update, :id => new_forum.id, :forum => { :name => 'updated', :description => 'test' }

new_forum = Forum.find new_forum.id
assert_equal 'updated', new_forum.name
```

to get the test passing.