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 6840913
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:54:08+00:00 2026-05-26T23:54:08+00:00

I am using ckeditor for rails 3 and I have it set up already

  • 0

I am using ckeditor for rails 3 and I have it set up already in form, works nice except the view part, when I go to the model show page I tags that I used for text formatting but there is no bold font or any other modifications I did to the text. Where is the problem? Do I have to put something next to the field that is rendering this text like I did in form?

code for form that works just fine

<div class="field">
  <%= f.cktext_area :comments, :cols => 80, :rows => 20 %>
</div>

and in show.html.erb

<p style="margin-left:5px;text-align:justify;padding:5px;"><%= @car.comments %></p>


    <p> <em>The 2011 Cadillac Escalade ranks 1 out of 9 Luxury Large SUVs. This ranking is 
based on our analysis of 86 published reviews and test drives of the Cadillac Escalade, and 
our analysis of reliability and safety data.The 2011 Cadillac Escalade is not for shrinking 
violets. It&rsquo;s an SUV for buyers who like to be noticed, but who also need the 
capabilities of a full-sized truck-based SUV &ndash; and are willing to pay to get them. 
</em>

That is the result, as you see there are tags around the text but they are escaped.
Thanks for your time.

  • 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-05-26T23:54:08+00:00Added an answer on May 26, 2026 at 11:54 pm

    OK. I got it. I just needed the raw before the field. for example <%= raw@car.comments %> or

    <%= raw(car.comments) %> depending where you need them. Thanks to Google :).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am using ckeditor for my rails app. After i save the page, it
I am using CKEditor on my page. It is working fine except when I
I am using CKEditor/CKFinder as wysiwyg editor on my MVC.NET site. I have set
I'm using CKEditor. I am saving the form values with ajax using page methods.
Using online interfaces to a version control system is a nice way to have
I am using CKEditor, jQuery and jQuery form plugin and I would like to
Using ckeditor users can add a description to their listing. Some descriptions have a
I have a Post and Tag model. I would like to show the first
I'm new to rails and I recently discovered rails_admin. I added CKEditor using the
I have a Problem conecerning FOP. I am using CKEditor to create an XSL-Fo

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.