# \[ANN\] Transparent Message

**URL:** <https://www.ruby-forum.com/t/ann-transparent-message/72018>\
**Category:** Rails\
**Created:** [October 13, 2006, 5:15pm UTC](https://www.ruby-forum.com/t/ann-transparent-message/72018 "2006-10-13T17:15:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SSSSSbastien\_Gruhie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ee7513/32.png) [@SSSSSbastien\_Gruhie](https://www.ruby-forum.com/u/SSSSSbastien_Gruhie)\
**Post date:** [October 13, 2006, 5:15pm UTC](https://www.ruby-forum.com/t/ann-transparent-message/72018/1 "2006-10-13T17:15:24Z")

</div>

Hi

I have done a little JS class to display “transparent message” on a  
page.  
It’s a nice way to display flash[:error/:notice] messages (a rails  
helper is included) but you can do a lot of more things with it. It’s  
up to you 😉

URL: [http://transparent-message.xilinus.com/](http://transparent-message.xilinus.com/)  
Ajax demo: [http://transparent-message.xilinus.com/main/ajax](http://transparent-message.xilinus.com/main/ajax)

It’s under MIT-licence fill free to use it 🙂  
Seb

---

<div class="post-metadata">

**Author:** ![SSSSSbastien\_Gruhie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ee7513/32.png) [@SSSSSbastien\_Gruhie](https://www.ruby-forum.com/u/SSSSSbastien_Gruhie)\
**Post date:** [October 13, 2006, 5:35pm UTC](https://www.ruby-forum.com/t/ann-transparent-message/72018/2 "2006-10-13T17:35:34Z")

</div>

Sébastien Gruhier wrote:

> Ajax demo: [http://transparent-message.xilinus.com/main/ajax](http://transparent-message.xilinus.com/main/ajax)
> 
> It’s under MIT-licence fill free to use it 🙂  
> Seb

Cool! Is your JS code base on prototype.js?

---

<div class="post-metadata">

**Author:** ![SSSSSbastien\_Gruhie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ee7513/32.png) [@SSSSSbastien\_Gruhie](https://www.ruby-forum.com/u/SSSSSbastien_Gruhie)\
**Post date:** [October 13, 2006, 6:13pm UTC](https://www.ruby-forum.com/t/ann-transparent-message/72018/3 "2006-10-13T18:13:44Z")

</div>

Sure

---

<div class="post-metadata">

**Author:** ![SSSSSbastien\_Gruhie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ee7513/32.png) [@SSSSSbastien\_Gruhie](https://www.ruby-forum.com/u/SSSSSbastien_Gruhie)\
**Post date:** [October 13, 2006, 6:15pm UTC](https://www.ruby-forum.com/t/ann-transparent-message/72018/4 "2006-10-13T18:15:45Z")

</div>

Cool, Seb!

The neat thing about this approach, is that it can handle errors  
regardles of whether they occurred during an ajax request or a normal  
request.

Starr

---

<div class="post-metadata">

**Author:** ![SSSSSbastien\_Gruhie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ee7513/32.png) [@SSSSSbastien\_Gruhie](https://www.ruby-forum.com/u/SSSSSbastien_Gruhie)\
**Post date:** [October 13, 2006, 6:17pm UTC](https://www.ruby-forum.com/t/ann-transparent-message/72018/5 "2006-10-13T18:17:45Z")

</div>

Pretty cool.  
Stuart

On 10/13/06, Starr [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> >

–

> **[Dark ambient](https://en.wikipedia.org/wiki/Dark_ambient)**
>
> Dark ambient (referred to as ambient industrial especially in the 1980s) is a genre of post-industrial music that features an ominous, dark droning and often gloomy, monumental or catacombal atmosphere, partially with discordant overtones. It shows similarities with ambient music, a genre that has been cited as a main influence by many dark ambient artists, both conceptually and compositionally. Although mostly electronically generated, dark ambient also includes the sampling of hand-pla 
> The te...

---

<div class="post-metadata">

**Author:** ![SSSSSbastien\_Gruhie](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ee7513/32.png) [@SSSSSbastien\_Gruhie](https://www.ruby-forum.com/u/SSSSSbastien_Gruhie)\
**Post date:** [June 20, 2008, 12:56pm UTC](https://www.ruby-forum.com/t/ann-transparent-message/72018/6 "2008-06-20T12:56:30Z")

</div>

Hi  
I was trying to use Transparent message for my rails application

```
Here I put transparent_message_helper.rb in app/helpers and the 

```

javascript in public/javascript folder…And the test code in an rhtml  
file.But when i execute I am getting the error

undefined method `transparent\_flash\_message’ for  
#\<#Class:0xb74b0cc8:0xb74b0ca0\>

Is it because the file not included?Is app/helpers not the place to put  
transparent\_message\_helper.rb?

Please help  
Sijo
