Skip to content

Instantly share code, notes, and snippets.

@PhilippeVienne
Created October 31, 2012 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PhilippeVienne/3990266 to your computer and use it in GitHub Desktop.
Save PhilippeVienne/3990266 to your computer and use it in GitHub Desktop.
Rails error 1
I18n::MissingTranslationData in Subjects#index
Showing /home/philien/AudioClassroom/app/views/subjects/index.html.haml where line #20 raised:
translation missing: en.date.formats.default
Extracted source (around line #20):
17: - @subjects.each do |subject|
18: %tr
19: %td=subject.title
20: %td=localize subject.due_for
21: %td
22: = link_to translate("show"), subject, :class => %w{btn}
23: - if current_user==subject.teacher
Rails.root: /home/philien/AudioClassroom
Application Trace | Framework Trace | Full Trace
app/views/subjects/index.html.haml:20:in `block in _app_views_subjects_index_html_haml__2583652852872560416_69982768943180'
app/views/subjects/index.html.haml:17:in `_app_views_subjects_index_html_haml__2583652852872560416_69982768943180'
app/controllers/subjects_controller.rb:11:in `index'
Request
Parameters:
None
Show session dump
Show env dump
Response
Headers:
None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment