title: What is the difference between attr_accessible(*attributes) & attr_protected(*attributes)?
body: <p>What is the difference between <code>attr_accessible(*attributes)</code> &amp; <code>attr_protected(*attributes)</code>? Examples would be nice.</p>
  
  <p>I see many developers use these in their models. I googled for the differences, but I don't get exactly what they are. What is the importance and its necessity in different scenarios?</p>