how to use action_view in console rails

# Step 1: Open Rails console
rails console

# Step 2: Include ActionView::Helpers
include ActionView::Helpers

# Step 3: Use ActionView methods
# Example 1: Using the number_to_currency helper
number_to_currency(1234.56)

# Example 2: Using the link_to helper
link_to('Click me', '/path/to/page')

# Example 3: Using the content_tag helper
content_tag(:div, 'Hello, World!', class: 'greeting')