Create a gist now

Instantly share code, notes, and snippets.

Models not using attr_accessible
#To see how many models in a Rails project are not using attr_accessible:
$find app/models -type f -name \*.rb | wc -l
$grep -r -m1 "attr_accessible app/models | wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment