Fix for rails 4

Rename method table_definition method