Boolean arguments are really cryptic in most cases.
Perhaps you should add an options hash instead?
E.g:
humanize("employee_salary", capitalize: false)
On Wed, Nov 6, 2013 at 7:57 PM, Chad Woolley <[email protected]>wrote:
> +1, I was just wishing for this last week :)
>
>
> On Wed, Nov 6, 2013 at 10:45 AM, Xavier Noria <[email protected]> wrote:
>
>> Sounds good to me.
>>
>> The documentation would say "if +capitalize+ is true", with "true" in
>> regular font. Please update the AS guide as well if you are so kind.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ruby on Rails: Core" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/rubyonrails-core.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/rubyonrails-core.
> For more options, visit https://groups.google.com/groups/opt_out.
>
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/groups/opt_out.