Skip to content

Instantly share code, notes, and snippets.

@liangzan
Created September 7, 2010 03:41
Show Gist options
  • Save liangzan/567834 to your computer and use it in GitHub Desktop.
Save liangzan/567834 to your computer and use it in GitHub Desktop.
# lib/formtastic/i18n.rb
SCOPES = [
'{{model}}.{{nested_model}}.{{action}}.{{attribute}}',
'{{model}}.{{action}}.{{attribute}}',
'{{model}}.{{nested_model}}.{{attribute}}',
'{{model}}.{{attribute}}',
'{{nested_model}}.{{attribute}}',
'{{attribute}}'
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment