Skip to content

Instantly share code, notes, and snippets.

@walter
Created September 14, 2010 04:22
Show Gist options
  • Save walter/578542 to your computer and use it in GitHub Desktop.
Save walter/578542 to your computer and use it in GitHub Desktop.
>> ef1 = ExtendedField.find_by_label("اراء الاخرين")
ef1 = ExtendedField.find_by_label("اراء الاخرين")
=> #<ExtendedField id: 23, label: "اراء الاخرين ", xml_element_name: "dc:subject", xsi_type: nil, multiple: false, description: nil, created_at: "2010-08-18 17:45:08", updated_at: "2010-08-18 17:45:14", import_synonyms: nil, example: nil, ftype: "text", user_choice_addition: nil, dont_link_choice_values: nil>
>> ef1.label_for_params
ef1.label_for_params
=> "اراء_الاخرين_"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment