I am following One Month Rails screen cast tutorial. Since they use Rails 3 in the video, the attr_accessible attribute no longer works in rails 4. In the video they added a name parameter to attr_accessible
attr_accessible :email, :password, :password_confirmation, :name
In my attempt to follow the tutorial, I simply ignore this line completely since there was no attr_accessible for me to begin with. Magically, it works perfectly. How is this working, or is it only working on the surface but not really if I continue on with the project ?
In this question asked by someone else, the answer says attr_accessible is now redefined as strong parameters and everything is now in the controller. But I also did not mess with any controller (in fact I havn't generated a new controller since I started the project). Should I be worrying or is this all part of rails magic?