Skip to content

Instantly share code, notes, and snippets.

@joeljunstrom
Created June 27, 2011 15:18
Show Gist options
  • Save joeljunstrom/1049070 to your computer and use it in GitHub Desktop.
Save joeljunstrom/1049070 to your computer and use it in GitHub Desktop.
# Page has datums ( data[] )
# A datum can have datums (data[]) [sic!]
# I need to pull a datum from page.data[0..infinity].data[something] == 'stuff'
# Tried:
Page.pull({}, {
data: {
data: { 'content_template_id' => some_id }
}
})
Page.pull({}, { 'data.data' => { 'content_template_id' => some_id } } })
# And a few more but to no avail.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment