Skip to content

Instantly share code, notes, and snippets.

@bretweinraub
Created November 17, 2010 20:22
Show Gist options
  • Save bretweinraub/704012 to your computer and use it in GitHub Desktop.
Save bretweinraub/704012 to your computer and use it in GitHub Desktop.
ree-1.8.7-2010.02 > reload!
Reloading...
=> true
ree-1.8.7-2010.02 > CalendarEvent.all.collect {|x| x.valid? }
=> [true, false, true, false]
ree-1.8.7-2010.02 > CalendarEvent.all.collect {|x| x.errors.full_messages }
=> [[], [], [], []]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment