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.
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.