David's Blog
  • Home
  • Author
Subscribe
Tagged

Coding

Coding and software development-related posts

Coding

Converting Her collection to JSON

When converting a collection from Her to JSON in our rails application, attempting just a simple collection.to_json would result in SystemStackError: stack level too deep. In order to get around this, I needed to get the fetched data from the collection, and convert that to JSON. Doing this

  • David White
David White Jan 25, 2016 • 1 min read
David's Blog © 2022
Powered by Ghost