fixed circular argument reference - action in ruby 2.2.0

Check out the issue https://bugs.ruby-lang.org/issues/10314.