Skip to content

Instantly share code, notes, and snippets.

@moretea
Created June 11, 2010 11:23
Show Gist options
  • Save moretea/434377 to your computer and use it in GitHub Desktop.
Save moretea/434377 to your computer and use it in GitHub Desktop.
(rdb:34) direction == :up && index == self.position -1
SyntaxError Exception: compile error
/home/maarten/Projects/inFlow/app/models/person_project.rb:17: syntax error, unexpected tUMINUS_NUM, expecting $end
direction == :up && index == self.position -1
^
(rdb:34) direction == :up && index == (self.position) -1
true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment