Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Models not using attr_accessible

View gist:1974819
1 2 3 4
#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
Something went wrong with that request. Please try again.