There aren't any. Not sure why the differences either. But the condition
made sense for all helpers.

On Friday, November 8, 2013, Yves Senn wrote:

> In actionview/lib/action_view/helpers/number_helper.rb:
>
> > @@ -399,15 +377,20 @@ def number_to_human_size(number, options = {})
> >        #  number_to_human(0.34, units: :distance)                # => "34 centimeters"
> >        #
> >        def number_to_human(number, options = {})
> > +        delegate_number_helper_method(number, options, :number_to_human)
> > +      end
> > +
> > +      private
> > +
> > +      def delegate_number_helper_method(number, options, method)
> > +        return unless number
>
> this return actually changes the behavior. Is there a reason that not
> every method used to have that return? Are there test-cases?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/rails/rails/pull/12806/files#r7528097>
> .
>


-- 
Vipul A.M.
+91-8149-204995