How to set Default format for activerecord fields of type string?
Here's an easy one:

How do I go about setting the default format for a string field in ActiveRecord?

I've tried the following:

    def phone_number_f
      "...#{phone_number}format_here..."
    end

But I'd like to keep the method name the same as the field name.
How to set Default format for activerecord fields of type string?
===

Here's an easy one:

How do I go about setting the default format for a string field in ActiveRecord?

I've tried the following:

    def phone_number_f
      "...#{phone_number}format_here..."
    end

But I'd like to keep the method name the same as the field name.