Skip to content

Commit

Permalink
Fix example code (rubocop#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
marocchino authored and bbatsov committed Jan 19, 2017
1 parent 3a04772 commit 43ea154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ render status: :forbidden
person.toggle :active
product.touch
Billing.update_all("category = 'authorized', author = 'David'")
user.update_attribute(website: 'example.com')
user.update_attribute(:website, 'example.com')
user.update_columns(last_request_at: Time.current)
Post.update_counters 5, comment_count: -1, action_count: 1
Expand Down

0 comments on commit 43ea154

Please sign in to comment.