removed duplication in ability.rb