what is difference between attr_accessible(*attributes) & attr_protected(*attributes)
Posted
by Salil
on Stack Overflow
See other posts from Stack Overflow
or by Salil
Published on 2010-04-16T12:32:16Z
Indexed on
2010/04/16
12:33 UTC
Read the original article
Hit count: 571
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.
© Stack Overflow or respective owner