tabledefinition fix for rails 4.1

just a quick fix, works for me :)