raw1z / amistad

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

Fix for issue with attr_accessible #30

Closed killthekitten closed 12 years ago

killthekitten commented 12 years ago

I was not able to use invite method because of ActiveModel::MassAssignmentSecurity::Error: Can't mass-assign protected attributes: friendable_id, friend_id

I think it's because of changes in rails 3.2.3, which been done after github's fail with attr_accessible.

raw1z commented 12 years ago

fixed by f436251bf906a1fc97628aa93a4d14cada5a7e51