Skip to content

Instantly share code, notes, and snippets.

@wflanagan
Created July 28, 2015 00:23
Show Gist options
  • Save wflanagan/8a34fe2d592df1ade45f to your computer and use it in GitHub Desktop.
Save wflanagan/8a34fe2d592df1ade45f to your computer and use it in GitHub Desktop.
a = Goal.results(profile).each {|row_of_data| row_of_data }
# how do I modify the "metrics and dimensions" methods without defining a specific class?
class Goal
extend ::Legato::Model
metrics :goal_completions_all
dimensions :goal_previous_step_1
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment