■
app/layouts/hoges.rhtml に 、
<%= javascript_include_tag :defaults %>
を、つけ加えただけで rake test がエラーになる。
1) Error: test_list(HogesControllerTest): ActionView::TemplateError: undefined method `gettext' for 143382160:Fixnum On line #6 of app/views/hoges/list.rhtml 3: <table> 4: <tr> 5: <%- for column in Hoge.content_columns -%> 6: <th><%= column.human_name %></th> 7: <%- end -%> 8: </tr> 9:
なぜに gettext? うむむ。