Occational methoderror started to appear AFTER runiing correctly the first time


#1

I have an issue where some code for a program worked just fine to start out with, But now it dosent with no change to the code.

<% content_for :title, ‘Edit methodology’ %>

<%= simple_form_for [current_project, @methodology], { url: project_methodology_path(current_project, @methodology), method: :put, html: { class: 'form-vertical' } } do |f| %> <%= f.error_notification %> <%= f.input :content, as: :text, input_html: { data: { preview: preview_project_methodologies_path(current_project) }, rows: 30, style: 'width:100%' } %>

For the life of me, I just cant seem to find where the error is coming from or how to fix it. Hopefully another set of eyes will see what I overlooked.


#2

Hello Faolan,

Would you provide the error message at least?