Skip to content

Instantly share code, notes, and snippets.

@connor
Created September 14, 2011 23:59
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 connor/1218157 to your computer and use it in GitHub Desktop.
Save connor/1218157 to your computer and use it in GitHub Desktop.
question for jon
hate to bother you. im having trouble adding a challege_group via the console. i can see that when i do the following:
u = User.find(4) # 4 is my user id
u.challenges # returns a blank array
I get the desired results. However, I'm just not 100% sure of the syntax to add a challenges_group. I've tried a bunch of different things, and still no luck.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment