Skip to content

Instantly share code, notes, and snippets.

@rcmoret
Created October 19, 2018 18:43
Show Gist options
  • Save rcmoret/b749c9e6fc48b1b47c8fdf10e06444de to your computer and use it in GitHub Desktop.
Save rcmoret/b749c9e6fc48b1b47c8fdf10e06444de to your computer and use it in GitHub Desktop.
find ./app/models -type f -exec sed -i '' -e "s/ActiveRecord\:\:Base/ApplicationRecord/g" {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment