Rake Migrate failing - but can't find syntax errors

This looks strange => t.lock_version, :integer

Is the comma needed?

I’m learning too and have never used t.lock_version.

-Mel

These are tokens from the parser: kSOMETHING usually means that a token that looks like something is involved, in this case kEND is the "end" of some block/loop/if construct. The $ (or $END) often means the end of the file. They're not literally "$END" or "kEND" in the source so your editor will do just fine.

-Rob

Rob Biedenharn http://agileconsultingllc.com Rob@AgileConsultingLLC.com