twoixter/trackoid — Issue #12: Trackoid breaking to_json?
Author: nickw
Created: 2011-11-02 20:14:09+00:00
State: open

I'm getting a NoMethodError when trying to call to_json on a Mongoid model with tracking:

tracking.rb#62:
```
define_method("#{name}_data") do
raise NoMethodError
end
```

I've been able to get around it by overriding to_json in my model and removing any *_data attributes from the json hash.