A giant nevermind, found a thread that talks about this problem.
Morale of the story, don't include sweepers in overriden controllers,
it would be bad.

On Feb 28, 12:30 pm, jostheim <[email protected]> wrote:
> So I have CE setup to use S3 on both localhost and heroku.  I got to
> add photos to an album on localhost and it works fine.  I go to do it
> on heroku and I get the following:
>
> Processing PhotosController#create (for 76.113.215.2 at 2010-02-28
> 10:04:28) [POST]
>   Parameters: {"photo"=>{"name"=>"Screen1", "uploaded_data"=>#<File:/
> tmp/RackMultipart27304-1>, "description"=>"Main screen of homebrew,
> with stats."}, "commit"=>"Create", "album_id"=>"1",
> "authenticity_token"=>"MNXs4Io3ur+LWAsqrt9IsgzgLdF7HoEEglc7SW7B8Nk=",
> "tag_list"=>"homebrew, temperature controller, main screen",
> "user_id"=>"2"}
> Redirected tohttp://www.bbqbuds.com/jostheim/photo_manager/albums/1
>
> NoMethodError (undefined method `controller_name' for nil:NilClass):
>   haml (2.2.3) lib/sass/plugin/rails.rb:19:in `process'
>   /home/heroku_rack/lib/static_assets.rb:9:in `call'
>   /home/heroku_rack/lib/last_access.rb:25:in `call'
>   /home/heroku_rack/lib/date_header.rb:14:in `call'
>   thin (1.0.1) lib/thin/connection.rb:80:in `pre_process'
>   thin (1.0.1) lib/thin/connection.rb:78:in `catch'
>   thin (1.0.1) lib/thin/connection.rb:78:in `pre_process'
>   thin (1.0.1) lib/thin/connection.rb:57:in `process'
>   thin (1.0.1) lib/thin/connection.rb:42:in `receive_data'
>   eventmachine (0.12.6) lib/eventmachine.rb:240:in `run_machine'
>   eventmachine (0.12.6) lib/eventmachine.rb:240:in `run'
>   thin (1.0.1) lib/thin/backends/base.rb:57:in `start'
>   thin (1.0.1) lib/thin/server.rb:150:in `start'
>   thin (1.0.1) lib/thin/controllers/controller.rb:80:in `start'
>   thin (1.0.1) lib/thin/runner.rb:173:in `send'
>   thin (1.0.1) lib/thin/runner.rb:173:in `run_command'
>   thin (1.0.1) lib/thin/runner.rb:139:in `run!'
>   thin (1.0.1) bin/thin:6
>   /usr/local/bin/thin:20:in `load'
>   /usr/local/bin/thin:20
>
> Rendering /disk1/home/slugs/139700_eb3bdd6_37a1/mnt/public/500.html
> (500 Internal Server Error)
>
> I end up on an error page at url:http://www.bbqbuds.com/2/photos?album_id=1
>
> Now the post of the picture has succeeded, if I manually go to the
> photo_manager url above the pictures are there, but for some reason
> heroku is unable to redirect me to that url, while my localhost can.
>
> Is it a problem with the haml?
>
> Help appreciated.
>
> James

-- 
You received this message because you are subscribed to the Google Groups 
"CommunityEngine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/communityengine?hl=en.

Reply via email to