# File\_column path problem grouping controllers in to modules

**URL:** <https://www.ruby-forum.com/t/file-column-path-problem-grouping-controllers-in-to-modules/53411>\
**Category:** Rails\
**Created:** [February 4, 2006, 9:21am UTC](https://www.ruby-forum.com/t/file-column-path-problem-grouping-controllers-in-to-modules/53411 "2006-02-04T09:21:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eno](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/f1d935/32.png) [@eno](https://www.ruby-forum.com/u/eno)\
**Post date:** [February 4, 2006, 9:21am UTC](https://www.ruby-forum.com/t/file-column-path-problem-grouping-controllers-in-to-modules/53411/1 "2006-02-04T09:21:31Z")

</div>

Hey there,  
good job with the file\_column thing, but I’m experiencing a problem I  
didn’t found about.  
I’m grouping controllers in to modules (like Admin::Category Admin:Item)  
and:  
url\_for\_file\_column(“dettaglio”, “picture\_url”)  
return this search path:  
src="/detail/picture\_url/development/5/dark.jpg"  
there’s a development coming from nowhere… well probably it does  
come from somewhere but I didn’t get why and how… 🙂 I’m trying to  
find a way around so if you have some suggestions any help is  
apreciated.  
Thank you very much.  
Enrico

–  
“The only thing necessary for the triumph of evil  
is for good men to do nothing”  
Edmund Burke

---

<div class="post-metadata">

**Author:** ![eno](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/f1d935/32.png) [@eno](https://www.ruby-forum.com/u/eno)\
**Post date:** [February 4, 2006, 3:08pm UTC](https://www.ruby-forum.com/t/file-column-path-problem-grouping-controllers-in-to-modules/53411/2 "2006-02-04T15:08:53Z")

</div>

Hey I’ve tried creating a brand new project where I was creating the  
same environment (a scaffold on a table controlled my a controller  
like Admin::Handler accesed trough salted\_login\_generator).  
I’ve tried wondering what were the problem on the other side… I’ve  
burned a .NET reference manual and from the cinders I’ve read… try  
to remove the  
before\_filter :login\_required  
from the faulty controller… you know what? It worked!  
After then I’ve reinserted it cause I needed it and it worked. I’ve  
resetted the session many times before this last move but nothing ever  
solved.

here’s two routes I’m using for entering in another controller (item)  
placed within admin.  
map.connect ‘admin’,  
:controller =\> “admin/item”,  
:action =\> “index”  
map.connect ‘admin/user/:action’,  
:controller =\> “user”  
I’ve removed them too… and reinsterted… I’m really clueless.  
Enrico

–  
“The only thing necessary for the triumph of evil  
is for good men to do nothing”  
Edmund Burke

---

<div class="post-metadata">

**Author:** ![eno](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/f1d935/32.png) [@eno](https://www.ruby-forum.com/u/eno)\
**Post date:** [February 4, 2006, 5:28pm UTC](https://www.ruby-forum.com/t/file-column-path-problem-grouping-controllers-in-to-modules/53411/3 "2006-02-04T17:28:55Z")

</div>

Hi Enrico,

On 2/4/06, Enrico T. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> good job with the file\_column thing, but I’m experiencing a problem I  
> didn’t found about.  
> I’m grouping controllers in to modules (like Admin::Category Admin:Item) and:  
> url\_for\_file\_column(“dettaglio”, “picture\_url”)  
> return this search path:  
> src=“/detail/picture\_url/development/5/dark.jpg”  
> there’s a development coming from nowhere… well probably it does  
> come from somewhere but I didn’t get why and how… 🙂 I’m trying to  
> find a way around so if you have some suggestions any help is  
> apreciated.

I believe your are using an old version of file\_column (from Kyle’s  
branch, to be more exact) that exhibited this behaviour. If you use  
the latest release or the version from the trunk, “development”  
shouldn’t show up in your URL.

Sebastian
