I have updated ruby to 1.8.5 and now get a lot of syntax error in my
views.
I removed the tabs from my rbtml files but I can not solve this one.
This was working completely fine before:
SyntaxError in Study#show_study
Showing app/views/study/show_study.rhtml where line #150 raised:
compile error
./script/…/config/…/app/views/study/show_study.rhtml:150: syntax error
:action => :show_notes, :id => study.id}, :title =>
pluralize(study.public_note_count, “note”) ).to_s); _erbout.concat “\n”
^
./script/…/config/…/app/views/study/show_study.rhtml:150: syntax error
:action => :show_notes, :id => study.id}, :title =>
pluralize(study.public_note_count, “note”) ).to_s); _erbout.concat “\n”
^
Extracted source (around line #150):
147:
148: <% if @annotated %>
149: <%= link_to “all notes”, {:controller => ‘study’
150: :action => :show_notes, :id => study.id}, :title =>
pluralize(study.public_note_count, “note”) %>
151: <%end%>
152: <% if @annotated_by %>
153: <% @note_count = @member_study.public_note_count +
@member_study.private_note_count %>
any help is greatly appreciated.
Thanks,
-Albert