Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
forest committed Jan 5, 2017
1 parent a4977f5 commit fbbb085
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,13 @@ This will cause coercion and dirty tracking to be bypassed and the new label wil
story = project.story(847762630)

label = TrackerApi::Resources::Label.new(name: 'Special Snowflake')
# BAD
story.labels << label
story.save

# GOOD
story.labels = story.labels.dup.push(label)
story.save
```

## TODO
Expand Down

0 comments on commit fbbb085

Please sign in to comment.