Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

tommyadey's Profile

GitHub User: tommyadey

Comments by

Avatar

I don't understand this line in the allow? method.

allowed && (allowed == true || resource && allowed.call(resource))

Could someone break it down for me please?