# Non theme images cause rails error

**URL:** <https://www.ruby-forum.com/t/non-theme-images-cause-rails-error/68930>\
**Category:** Typo\
**Created:** [September 16, 2006, 11:17pm UTC](https://www.ruby-forum.com/t/non-theme-images-cause-rails-error/68930 "2006-09-16T23:17:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![heromuto](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/278dde/32.png) [@heromuto](https://www.ruby-forum.com/u/heromuto)\
**Post date:** [September 16, 2006, 11:17pm UTC](https://www.ruby-forum.com/t/non-theme-images-cause-rails-error/68930/1 "2006-09-16T23:17:04Z")

</div>

Hello

My typo blog is not showing images from my /files/ folder basicly  
anything that is not part of my theme is returning a rails error.

The log files says:

NameError (uninitialized constant FilesController):  
/vendor/rails/activerecord/lib/…/…/activesupport/lib/active\_support/dependencies.rb:100:in  
`const_missing' /vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:131:in `const\_missing’  
generated/routing/recognition.rb:525:in `recognize_path' /vendor/rails/actionpack/lib/action_controller/routing.rb:511:in `recognize!’  
/vendor/rails/railties/lib/dispatcher.rb:38:in `dispatch' /vendor/rails/railties/lib/fcgi_handler.rb:150:in `process\_request’  
/vendor/rails/railties/lib/fcgi\_handler.rb:54:in `process!' /usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:600:in `each\_cgi’  
/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/./fcgi.rb:597:in  
`each_cgi' /vendor/rails/railties/lib/fcgi_handler.rb:53:in `process!’  
/vendor/rails/railties/lib/fcgi\_handler.rb:23:in `process!’  
/users/home/dalcross\_admin/domains/thumbsucker.info/web/public/dispatch.fcgi:24

I have run rake migrate, restarts everything, but to no avail.

Host: Typo  
SVN version: 1254:5127M  
Database: pgsql

Can anyone direct me further as to how to resolve this problem.

## Hermouto

heromuto  
removed\_email\_address@domain.invalid

–  
[http://www.fastmail.fm](http://www.fastmail.fm) - A no graphics, no pop-ups email service

---

<div class="post-metadata">

**Author:** ![heromuto](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/278dde/32.png) [@heromuto](https://www.ruby-forum.com/u/heromuto)\
**Post date:** [September 17, 2006, 12:07pm UTC](https://www.ruby-forum.com/t/non-theme-images-cause-rails-error/68930/2 "2006-09-17T12:07:39Z")

</div>

On 9/17/06, heromuto [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hello
> 
> My typo blog is not showing images from my /files/ folder basicly  
> anything that is not part of my theme is returning a rails error.
> 
> The log files says:

I remember Scott said sometime back…current SVN tree is not  
usable…its in  
midst of quite few changes…so you will have to either try a stable  
version  
or wait for the final release. Or fix the problem if you can.

Do, you have the controller that is being reported as missing in your  
app/controllers directory?

## –

The Road goes ever on and on  
Down from the door where it began.  
Now far ahead the Road has gone,  
And I must follow, if I can,  
Pursuing it with eager feet,  
Until it joins some larger way  
Where many paths and errands meet.  
And whither then? I cannot say.
