Skip to content

Instantly share code, notes, and snippets.

@daniel-g
Created November 27, 2012 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daniel-g/4155148 to your computer and use it in GitHub Desktop.
Save daniel-g/4155148 to your computer and use it in GitHub Desktop.
Outcome for the same influent changes
Influent.find(349).outcomes(1)
=> "{ \"outcome\" : { \"rank\" : 1, \"satisfaction\" : 1, \"options\" : [ { \"id\" : \"214\" }, { \"id\" : \"216\" }, { \"id\" : \"223\" }, { \"id\" : \"225\" }, { \"id\" : \"226\" }, { \"id\" : \"227\" } ] } }"
Influent.find(349).outcomes(1)
=> "{ \"outcome\" : { \"rank\" : 1, \"satisfaction\" : 1, \"options\" : [ { \"id\" : \"223\" } ] } }"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment