add Rails 4 compatibility when there are no migrations pending