Skip to content

Instantly share code, notes, and snippets.

@nacengineer
Created January 16, 2013 19:36
Show Gist options
  • Save nacengineer/4550090 to your computer and use it in GitHub Desktop.
Save nacengineer/4550090 to your computer and use it in GitHub Desktop.
quick iteration
a = []
@user.user_logins.each do |x|
a << x.created_at
end
# now a should have all the entries you need
a.inspect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment