# Safebuffer with rails 2.3.8

**URL:** <https://www.ruby-forum.com/t/safebuffer-with-rails-2-3-8/189186>\
**Category:** Rails\
**Created:** [May 26, 2010, 11:23am UTC](https://www.ruby-forum.com/t/safebuffer-with-rails-2-3-8/189186 "2010-05-26T11:23:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LoSSSSc\_Guitaut](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/3ec8ea/32.png) [@LoSSSSc\_Guitaut](https://www.ruby-forum.com/u/LoSSSSc_Guitaut)\
**Post date:** [May 26, 2010, 11:23am UTC](https://www.ruby-forum.com/t/safebuffer-with-rails-2-3-8/189186/1 "2010-05-26T11:23:15Z")

</div>

Hi there!

I’ve just migrated from rails 2.3.5 to 2.3.8 and now I have a lot (and I  
mean  
a lot!) of deprecation warnings like this one: “DEPRECATION WARNING:  
ActionView::SafeBuffer is deprecated! Use ActiveSupport::SafeBuffer  
instead.”

But I don’t understand how to remove this. I searched through installed  
plugins, and there is no reference to SafeBuffer ☹

Any help would be appreciated please.

Thanks!

---

<div class="post-metadata">

**Author:** ![LoSSSSc\_Guitaut](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/3ec8ea/32.png) [@LoSSSSc\_Guitaut](https://www.ruby-forum.com/u/LoSSSSc_Guitaut)\
**Post date:** [May 27, 2010, 2:35pm UTC](https://www.ruby-forum.com/t/safebuffer-with-rails-2-3-8/189186/2 "2010-05-27T14:35:22Z")

</div>

Found it! It was a problem with fckeditor plugin.

Le mercredi 26 mai 2010 11:21:41, LoÃ¯c Guitaut a Ã©crit :

---

<div class="post-metadata">

**Author:** ![LoSSSSc\_Guitaut](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/3ec8ea/32.png) [@LoSSSSc\_Guitaut](https://www.ruby-forum.com/u/LoSSSSc_Guitaut)\
**Post date:** [May 27, 2010, 8:06pm UTC](https://www.ruby-forum.com/t/safebuffer-with-rails-2-3-8/189186/3 "2010-05-27T20:06:10Z")

</div>

And what was the problem? I’m having the same issue.

Best,

Rafael

On Thu, May 27, 2010 at 9:33 AM, LoÃ¯c Guitaut [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> > But I don’t understand how to remove this. I searched through installed  
> > \_/ GnuPG KeyID : 0xA78CD85D

–  
Rafael Strecker Coelho de Souza  
[http://www.cnxs.com.br](http://www.cnxs.com.br)

---

<div class="post-metadata">

**Author:** ![LoSSSSc\_Guitaut](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/3ec8ea/32.png) [@LoSSSSc\_Guitaut](https://www.ruby-forum.com/u/LoSSSSc_Guitaut)\
**Post date:** [May 28, 2010, 12:30am UTC](https://www.ruby-forum.com/t/safebuffer-with-rails-2-3-8/189186/4 "2010-05-28T00:30:15Z")

</div>

It’s with the javascript include in lib/fckeditor.rb. Just comment out  
all the  
“module ActionView::Helpers::AssetTagHelper” block and include  
fckeditor.js as  
you do with another JS file.  
You’ll get rid of those deprecation warnings 🙂

Le jeudi 27 mai 2010 20:05:06, Rafael Coelho de Souza a Ã©crit :
