I am writing a fixture for my table. And a one of the coloums takes in a JSON string as a value.
The problem is the fixture is not loading failing as:
For the sake of being complete: In case you're using ActiveRecord::Store, you can load your data simply using YAML representation of the same data, even if it is a JSON store:
one: portslist: - name: 'ob1' port_num: 0 port_type: 'network' - name: 'ob2' port_num: 1 port_type: 'network'