ryanb/cancan — pull request #585 by peterkovacs (2012-03-22 19:18:02+00:00)
Title: Rules that are defined with blocks should be callable with Class subjects

can :something, ClassName do |nil_or_subject| ... end
can? :something, ClassName # calls block with nil
can? :something, ClassName.new # calls block with object.