# Redbox question

**URL:** <https://www.ruby-forum.com/t/redbox-question/84278>\
**Category:** Ruby\
**Created:** [February 2, 2007, 9:29pm UTC](https://www.ruby-forum.com/t/redbox-question/84278 "2007-02-02T21:29:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerryjj](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9d8465/32.png) [@jerryjj](https://www.ruby-forum.com/u/jerryjj)\
**Post date:** [February 2, 2007, 9:29pm UTC](https://www.ruby-forum.com/t/redbox-question/84278/1 "2007-02-02T21:29:20Z")

</div>

This may come acrossed as a really dumb question. I am wanting to  
setup redbox on a website. I can get lightbox to work on a non-ruby  
website.  
Anyhow, here is one line they say to do.  
\<%= stylesheet\_link\_tag ‘redbox’ %\> \<%= javascript\_include\_tag  
:defaults %\> \<%= javascript\_include\_tag ‘redbox’ %\>

My question is this. javascript\_include\_tag is this exactly what  
should be in the line, or is it a means of saying, you need to put the  
include statement for your JS here.  
I have not started working on it yet. I am a novice, and have seen  
things in Ruby that tell me that this line, as pasted, should be in  
the code.

---

<div class="post-metadata">

**Author:** ![jerryjj](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9d8465/32.png) [@jerryjj](https://www.ruby-forum.com/u/jerryjj)\
**Post date:** [February 2, 2007, 9:47pm UTC](https://www.ruby-forum.com/t/redbox-question/84278/2 "2007-02-02T21:47:22Z")

</div>

> I have not started working on it yet. I am a novice, and have seen  
> things in Ruby that tell me that this line, as pasted, should be in  
> the code.

javascript\_include\_tag is the name of a method… so what you have above  
is what you want in your view.

[http://api.rubyonrails.com/classes/ActionView/Helpers/AssetTagHelper.html#M000588](http://api.rubyonrails.com/classes/ActionView/Helpers/AssetTagHelper.html#M000588)
