Мой сайт работает нормально на моем локальном компьютере, но падает на heroku.
Вот мой журнал героку: http://pastie.org/private/ligfhv4tjqmodclkwxc21q
Соответствующий раздел журнала:
[36m2011-12-01T19: 42: 53 + 00: 00 app [web.1]: ← [0m
/app/.bundle/gems/ruby/1.8/gems/a
ctivesupport-3.0.3 / Библиотека / active_support / dependencies.rb: 239: в
`require ': / app / app /helpers/kategoris_helper.rb:2: синтаксическая ошибка,
неожиданный kEND, ожидающий $ end (S yntaxError)
Мой стек бамбуковый 1.8.7
Я думаю, что это связано с этим помощником, но не уверены:
module KategorisHelper
def sortkat(column, title = nil)
title ||= column.titleize
css_class = column == sort_column ? "current #{sort_direction}" : nil
direction = column == sort_column && sort_direction == "ASC" ? "DESC" : "ASC"
link_to title, params.merge(:sort => column, :direction => direction, :page => nil), {:class => css_class}
end
end