Note that there are some explanatory texts on larger screens.

plurals
  1. POHeroku rails-problems ((syntax error, unexpected ',', expecting ')' in textarea-form-helper)
    primarykey
    data
    text
    <p>I'm trying to push my rails application on the heroku cedar-stack. Everything works fine on my local machine (Ruby Version 1.9.3 and rails version 3.2.6)</p> <p>When i push my app to heroku, i get the following error in my _post_form-partial (see code below):</p> <pre><code>/app/app/views/posts/_post_form.html.erb:9: syntax error, unexpected ',', expecting ')' 2012-07-18T11:25:36+00:00 app[web.1]: ...:id =&gt;"textarea", :cols =&gt; "5", :rows =&gt; "8", :class =&gt; "inp... 2012-07-18T11:25:36+00:00 app[web.1]: ... ^ 2012-07-18T11:25:36+00:00 app[web.1]: /app/app/views/posts/_post_form.html.erb:9: syntax error, unexpected ',', expecting ')' 2012-07-18T11:25:36+00:00 app[web.1]: ...a", :cols =&gt; "5", :rows =&gt; "8", :class =&gt; "inputx-large boxs... 2012-07-18T11:25:36+00:00 app[web.1]: ... ^ 2012-07-18T11:25:36+00:00 app[web.1]: /app/app/views/posts/_post_form.html.erb:9: syntax error, unexpected ')', expecting keyword_end 2012-07-18T11:25:36+00:00 app[web.1]: ... =&gt; "inputx-large boxsizing") );@output_buffer.safe_concat(' 2012-07-18T11:25:36+00:00 app[web.1]: ... ^): </code></pre> <p>I really don't get the problem here. What am I doing wrong?</p> <pre><code>&lt;div id="inputfield_visible_wrapper"&gt; &lt;div class="well"&gt; &lt;input type="text" id="inputfield_visible" class="input-xlarge boxsizing" value="Create Posting here"&gt; &lt;/div&gt; &lt;/div&gt; &lt;div id="form_hidden_wrapper"&gt; &lt;%= form_for Post.new, :html =&gt; { :class =&gt; "well" } do |f| %&gt; &lt;%= render "shared/posting_information" %&gt; &lt;%= f.text_area (:content, :id =&gt;"textarea", :cols =&gt; "5", :rows =&gt; "8", :class =&gt; "inputx-large boxsizing") %&gt; &lt;%= f.submit "Post", :disabled =&gt; true, :id =&gt; "submit_button", :class =&gt; "btn btn-primary" %&gt; &lt;%= submit_tag "Cancel", :class =&gt; "btn", :id =&gt; "cancel_button", :type =&gt; "button" %&gt; &lt;div class="characters_left_wrapper"&gt; &lt;span id="characters_left"&gt;100&lt;/span&gt; &lt;span class="hidden-phone"&gt;Characters left&lt;/span&gt; &lt;/div&gt; &lt;div class="clear"&gt;&lt;/div&gt; &lt;% end %&gt; &lt;/div&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload