Skip to content

Instantly share code, notes, and snippets.

@chrismear
Created May 19, 2011 20:36
Show Gist options
  • Save chrismear/981681 to your computer and use it in GitHub Desktop.
Save chrismear/981681 to your computer and use it in GitHub Desktop.
org = Organisation.create(:oisodfin)
org.active!
org.members.create(
:first_name => "",
:last_name => "",
:email => "",
:member_class => org.member_classes.find_by_name("Member")
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment