raw1z / amistad

Adds friendships management into a rails application
http://github.com/raw1z/amistad
MIT License
185 stars 71 forks source link

Mass-assignment problem fixed. #32

Closed skalee closed 11 years ago

skalee commented 12 years ago

Depending on ActiveRecord configuration, massive assignment might be disabled for models which do not specify explicit attr_accessible or attr_protected.

This pull request removes mass-assignments present in Friend#invite. Also, it ensures that ActiveRecord mass-assignment is disabled by default in whole specs.

nikoma commented 12 years ago

Very nice. Hope the fix get's implemented soon.