# Problems w/ Ruby on Rails and datagrid images and css style sheets

**URL:** <https://forum.kirupa.com/t/problems-w-ruby-on-rails-and-datagrid-images-and-css-style-sheets/247727>\
**Category:** Uncategorized\
**Created:** [December 28, 2007, 7:25pm UTC](https://forum.kirupa.com/t/problems-w-ruby-on-rails-and-datagrid-images-and-css-style-sheets/247727 "2007-12-28T19:25:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![clem\_c\_rock](https://avatars.discourse-cdn.com/v4/letter/c/c6cbf5/32.png) [@clem\_c\_rock](https://forum.kirupa.com/u/clem_c_rock)\
**Post date:** [December 28, 2007, 7:25pm UTC](https://forum.kirupa.com/t/problems-w-ruby-on-rails-and-datagrid-images-and-css-style-sheets/247727/1 "2007-12-28T19:25:20Z")

</div>

Hello,  
I’m developing some flash programs that use datagrids w/ HtmlCellRenderer that allows for embedded images w/in datagrid cells and also  
calls an external css stylesheet w/in a rails environment

The problem is that every call to the image in the datagrid is registered as a GET call w/in the rails environment and the image path is registered  
as an id param as such:

Processing ArtistController#tune\_widget\_popup (for 71.120.222.79 at 2007-12-28 13:50:58 by 14585) [GET]  
Session ID: 59ede4facabee1ac6f36fb3ca9aa1685  
Parameters: {“action”=\>“tune\_widget\_popup”, “id”=\>“about.jpg”, “controller”=\>“artist”}

The image never gets rendered in the datagrid

The same happens w/ the .css file - it gets registered as a GET call, the css attributes don’t show up, and the name is attributed to the id param as such:

Parameters: {“action”=\>“tune\_widget\_popup”, “id”=\>“feed\_widget.css”, “controller”=\>“artist”}

Any ideas how to work around this?

Thanks,  
Clem C
