# Integrating YUI & Ruby on Rails

**URL:** <https://www.ruby-forum.com/t/integrating-yui-ruby-on-rails/123722>\
**Category:** Rails\
**Created:** [December 20, 2007, 1:02am UTC](https://www.ruby-forum.com/t/integrating-yui-ruby-on-rails/123722 "2007-12-20T01:02:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stubbsuk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e56c9b/32.png) [@stubbsuk](https://www.ruby-forum.com/u/stubbsuk)\
**Post date:** [December 20, 2007, 1:02am UTC](https://www.ruby-forum.com/t/integrating-yui-ruby-on-rails/123722/1 "2007-12-20T01:02:24Z")

</div>

One of the problems I’ve always had using YUI with Rails is that I  
could never find a way of including the YUI components that I was  
comfortable with, but using the YUILoader, I can do just that …

> **[Integrating YUI with Ruby on Rails.](https://stubblog.wordpress.com/2007/12/19/integrating-yui-with-ruby-on-rails/)**
>
> Very often, different controllers require different javascript, and while you could just put all your javascript in your application.js file, this doesn’t doesn’t lend itself to anythin…

-S
