app/helpers/profiles_helper.rb
# Take the value stored in the database and decode the domaain and username
Take the value stored in the database and decode the domaain and username
Take the value stored in the database and decode the domaain and username
def decode(profile)
    profile
  end
def decode ( profile ) profile end
Take the value stored in the database and decode the domaain and username
Take the value stored in the database and decode the domaain and username
# case profile #   when profile.twitter #     if profile.twitter =~ /.*twitter.com\/(.*)$/ #       profile.twitter = $1 #     end #   when profile.instagram #     if profile.instagram =~ /.*instagram.com\/(.*)$/ #       profile.instagram = $1 #     end #   when profile.facebook #     if profile.facebook =~ /.*facebook.com\/(.*)$/ #       profile.facebook = $1 #     end #   when profile.linkedin #     if profile.linkedin =~ /.*linkedin.com\/(.*)$/ #       profile.linkedin = $1 #     end #   else #   end
profile