rake db:migrate - error 'tSYMBEG'

Josh Josh wrote:

rake aborted! ./db/migrate//003_add_test_data.rb:5: parse error, unexpected tSYMBEG    5. :description =>

(and the 'd' in description has a little arrow below it pointing up)

Welcome to how Ruby displays syntax errors. The language is so flexible that it provides confusing diagnostics. This is why I compile and test after only a few edits.

Post your whole file. Something on the line before this one left the parser not expecting a symbol.

You might have successfully migrated up as far as you can. When you’re all migrated up, rake db:migrate does that.

RSL