<% content_for :page_specific_css do %> <%= stylesheet_link_tag "gallery" %> <% end %> <% content_for :page_specific_javascript do %> <%= javascript_include_tag "lib/jquery-ui-1.10.0.custom.min" %> <%= javascript_include_tag "jquery.masonry.min.js" %> <%= javascript_include_tag "jquery.lite.image.resize.js" %> <%= javascript_include_tag "gallery" %> <% end %>