Skip to content

Instantly share code, notes, and snippets.

@dubilla
Created January 10, 2014 19:33
Show Gist options
  • Save dubilla/8361015 to your computer and use it in GitHub Desktop.
Save dubilla/8361015 to your computer and use it in GitHub Desktop.
User.find_by_email('sales@viewthespace.com').properties.each do |property|
property.activity_logs.each do |activity_log|
iterations = activity_log.activity_log_iterations.order('id desc')
puts iterations
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment