Try using raw(somePost.content)
. Alternatively, somePost.content.html_safe
.
More Related Contents:
- Rails 3 render action from another controller
- rails error, couldn’t parse YAML
- Share database between 2 apps in Heroku
- Undefined method ‘task’ using Rake 0.9.0
- How to empty a Heroku database
- Turn off CSRF token in rails 3
- rails – “WARNING: Can’t verify CSRF token authenticity” for json devise requests
- Separate REST JSON API server and client? [closed]
- Adding a column to an existing table in a Rails migration
- default_url_options and rails 3
- rmagick gem install “Can’t find Magick-config”
- Thin web server: `start_tcp_server’: no acceptor (RuntimeError) after git branch checkout
- Rails Engine – Gems dependencies, how to load them into the application?
- Rails 3 library not loading until require
- Clarification on how to use “thumbs_up” voting gem with Rails 3
- using Liquid variables inside of a liquid tag call
- Rails 3 paperclip vs carrierwave vs dragonfly vs attachment_fu [closed]
- What does do in rails erb?
- HABTM Polymorphic Relationship
- rails 3 activerecord order – what is the proper sql injection work around?
- Error “…cannot load such file — mysql2/2.0/mysql2 (LoadError)”. On Windows XP with Ruby 2.0.0
- How to rename rails 4 app?
- Rails 3 – how do I avoid database altogether?
- Setting up a polymorphic has_many :through relationship
- rails:3 Devise signup Filter chain halted as :require_no_authentication rendered or redirected
- Rails 3 – upload files to public directory
- ActiveRecord Find All not sorting by ID?
- Character encoding issue exporting rails data to CSV
- Does accepts_nested_attributes_for work with belongs_to?
- Default_url in Paperclip Broke with Asset Pipeline Upgrade