This is a draft cheat sheet. It is a work in progress and is not finished yet.
Console
helper.method(:truncate).source_location |
helper.pluralize(3, "mouse") |
lib/action_view/helpers/date_helper.rb
distance_of_time_in_words |
time_ago_in_words |
time_tag |
lib/action_view/helpers/number_helper.rb {{{3
number_to_phone |
number_to_currency |
number_to_percentage |
number_with_delimeter |
number_with_precision |
number_to_human_size |
number_to_human |
lib/action_view/helpers/text_helper.rb
truncate |
highlight |
excerpt |
pluralize |
word_wrap |
simple_format |
cycle |
current_cycle |
reset_cycle |
lib/action_view/helpers/asset_helper.rb (head)
lib/action_view/helpers/csrf_helper.rb (head)
csrf_meta_tags (!helper in console) |
lib/action_view/helpers/csp_helper.rb (head)
csp_meta_tags (!helper in console) |
|
|
|