Skip to content

Instantly share code, notes, and snippets.

@bretweinraub
Created November 17, 2010 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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