Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: boy-jer
Many thanks @Scott for clarifying that.
A new-bee here. Can someone kindly explain what the 'resource' argument refers to. I am reading the code and I know what 'controller' and 'action' are referring to, but I am clueless about the 'resource' being passed as an argument stands for.
A link to the code on railscast repo: http://bit.ly/TceGen
def allow?(controller, action, resource = nil)
def allow_param(resources, attributes)