what is difference between attr_accessible(*attributes) & attr_protected(*attributes)
- by Salil
Hi All,
I want to know what is difference between attr_accessible(*attributes) & attr_protected(*attributes) with example if any.
I see many developers used it in there model.
i google around it but i don't get exactly what is the importance of that so i like if someone explain me the importance 7 it's neccesity in different scenario's.
Thanks in Advance.