Rails ActiveSupport has many features making it easier to confirm and adjust data. To_param is one such method.

[locale, resource_type, resource_id].to_param
# => 'en_US/log/256'

:)

Leave a Reply

Your email address will not be published. Required fields are marked *