Skip to content

Commit

Permalink
This is the story of a guy who was debugging too hard to ensure thing…
Browse files Browse the repository at this point in the history
…s would work like he expected to, and who pushed twice with debugging return in the code.

Lesson 1: if I had written tests for this, this would have broken the build so I had knew about it before.
Lesson 2: always proofread your code twice before pushing.
Lesson 3: I need to sleep.
  • Loading branch information
Frédéric de Villamil committed Aug 11, 2013
1 parent ceef9fa commit b41d064
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/models/status.rb
Expand Up @@ -63,7 +63,6 @@ def send_to_twitter(user)
else
message = "#{message} #{shortened_url}"
end
return

begin
tweet = twitter.update(message)
Expand Down

0 comments on commit b41d064

Please sign in to comment.