Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8736705
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T10:21:39+00:00 2026-06-13T10:21:39+00:00

I generated a scaffold so that i can post blog entries into my site.

  • 0

I generated a scaffold so that i can post blog entries into my site.

I already made one for articles which works the way i wanted…

However i generated another one for reviews but when i post my reviews only a couple of sentences show and not the whole review. When i go back to edit the review most of my review is gone and only a couple of sentences shows up…..

I can’t seem to add more than a couple of sentences for some reason…..

It has nothing to do with the CSS since i turned all styles off and i still get the same results

Heres the Show Page

   <div class="container">
 <div class="row">
<div class="span4">
  <%= image_tag @comic_review.photo %>
</div>

<div class="span8 comic_review_content">
  <h3>
    <b><%= @comic_review.title %></b>
  </h3>
<br />

<p>
  <b>Synopsis:</b>
  <%= @comic_review.content %>
</p>

<p>
  <b>Credits:</b>
  <%= @comic_review.credits %>
</p>

<h3>Review</h3>
<div class="line_section"></div>
<p><%= simple_format @comic_review.review %></p>

<%= link_to 'Edit', edit_comic_review_path(@comic_review) %> |
<%= link_to 'Back', comic_reviews_path %>

<div class="comment_count">
  All Comments (<%= @comic_review.comments.count %>) 
</div>
<%= render "comments/comments" %>

<%= render "comments/form" %>
</div>

Heres the actual form

        <%= form_for @comic_review, :html => { :multipart => true } do |f| %>
   <% if @comic_review.errors.any? %>
  <div id="error_explanation">
    <h2><%= pluralize(@comic_review.errors.count, "error") %> prohibited this article from         being  saved:</h2>

  <ul>
  <% @comic_review.errors.full_messages.each do |msg| %>
    <li><%= msg %></li>
  <% end %>
  </ul>
</div>
<% end %>

<div class="field">
<b>Title</b>
<br />
<%= f.text_field :title, class: 'form_field1' %>
</div>
<br />
<div class="field">
<b>Author</b>
<br />
<%= f.text_field :credits, class: 'form_field1'  %>
</div>  
 <br />
<div class="field">
<b>Date</b>
<br />
<%= f.text_field :content, class: 'form_field1'  %>
</div>  
<br />
<%= f.file_field :photo, class: "photo_upload" %>
<br />
<br />
<div class="field">
<b>Content</b>
<br />
<%= f.text_field :review, rows: 25, class: 'form_field' %>
</div>
<div class="actions">
  <%= f.submit %>
 </div>
<% end %>

I dont know whats going on any help would be appreciated thank you in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T10:21:40+00:00Added an answer on June 13, 2026 at 10:21 am

    In your database, is the type of the review column VARCHAR(255)? If so, that would be because you did review:string when you generated the scaffold; string gets converted to VARCHAR(255), and at least with MySQL, if you insert a string with more than 255 characters into a column of that type, it truncates everything after the first 255 characters.

    The fix is to change the column type. Log in to the mysql console unser your database, and run:

    ALTER TABLE comic_reviews CHANGE review review TEXT;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm wondering if i can generate a scaffold without getting that annyoing s after
ASP.NET MVC 3 can generate scaffold code for us(controllers and views). The generated views
I've got a simple test, pretty much what the scaffold generated, although I can't
When I generated a scaffold for a model class named menuitem, it generates a
I have two scaffold-generated Models, student and class . They have a many-to-many relationship
I generated a scaffold and put in the type:value but now I need to
I have 2 controllers that I created using scaffold generator of rails. I wanted
On looking for a solution for a two-domain-classes-in-one-view problem, I ran into the scaffolding
I have a Page scaffold that I created through rails generate scaffold. I ran
I just ran into a little error in my MVC application. Administrators can edit

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.