rake db:migrate
aborts because of a syntax error
rake aborted!
/Users/Fryed/rails/treebook/db/migrate/20121009215822_devise_create_users.rb:3: syntax error, unexpected '\n', expecting '|'
/Users/Fryed/rails/treebook/db/migrate/20121009215822_devise_create_users.rb:47: syntax error, unexpected keyword_end, expecting $end
But the corresponding lines look like this:
line 3 create_table(:users) do |t
and line 47 end
Why doesn't this work, and how can I fix it?
Many thanks in advance!