Skip to content

Instantly share code, notes, and snippets.

@yholkamp
Created December 23, 2009 15:17
Show Gist options
  • Save yholkamp/262567 to your computer and use it in GitHub Desktop.
Save yholkamp/262567 to your computer and use it in GitHub Desktop.
nl:
formtastic:
actions:
create: "Add"
update: "Update"
user:
create: "Bla"
# Failing line:
# <%= form.commit_button %>
# trace:
#/home/np/.rvm/gems/ruby/1.9.1/gems/activesupport-2.3.5/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:103:in `[]'
#/home/np/.rvm/gems/ruby/1.9.1/gems/activesupport-2.3.5/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:103:in `block in lookup'
#/home/np/.rvm/gems/ruby/1.9.1/gems/activesupport-2.3.5/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:102:in `each'
#/home/np/.rvm/gems/ruby/1.9.1/gems/activesupport-2.3.5/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:102:in `inject'
#/home/np/.rvm/gems/ruby/1.9.1/gems/activesupport-2.3.5/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:102:in `lookup'
#/home/np/.rvm/gems/ruby/1.9.1/gems/activesupport-2.3.5/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:33:in `translate'
#/home/np/.rvm/gems/ruby/1.9.1/gems/activesupport-2.3.5/lib/active_support/vendor/i18n-0.1.3/lib/i18n.rb:165:in `translate'
#/home/np/.rvm/gems/ruby/1.9.1/gems/formtastic-0.9.7/lib/formtastic/i18n.rb:25:in `translate'
#/home/np/.rvm/gems/ruby/1.9.1/gems/formtastic-0.9.7/lib/formtastic.rb:1532:in `localized_string'
#/home/np/.rvm/gems/ruby/1.9.1/gems/formtastic-0.9.7/lib/formtastic.rb:321:in `commit_button'
#/home/np/work/soccer/app/views/users/new.html.erb:232:in `block (2 levels) in _run_erb_app47views47users47new46html46erb'
#/home/np/work/soccer/app/views/users/new.html.erb:230:in `block in _run_erb_app47views47users47new46html46erb'
#/home/np/work/soccer/app/views/users/new.html.erb:212:in `_run_erb_app47views47users47new46html46erb'
#/home/np/work/soccer/app/controllers/users_controller.rb:18:in `create'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment