[CommunityEngine] Re: Error when deleting a private message

2009-04-01 Thread LostyJai
Could you paste the entire log? On Apr 1, 11:52 am, Stephen step...@startmeetingpeople.com wrote: I have enabled messaging with my application that uses CE. When I select a message to delete I receive the following error: ActionController::RoutingError (user_message_url failed to generate

[CommunityEngine] Re: Error when deleting a private message

2009-04-01 Thread sprite
Shouldn't that say redirect_to_user_messages_path(@user, @messages) ? On Mar 31, 5:52 pm, Stephen step...@startmeetingpeople.com wrote: I have enabled messaging with my application that uses CE. When I select a message to delete I receive the following error: ActionController::RoutingError

[CommunityEngine] Re: Looking for advice - broke polymorphic_url behavior

2009-04-01 Thread sprite
This is probably not the best way to do it, but I ended up copying and pasting all the routes for User for each of my subclassed user types. On Mar 31, 1:39 pm, moritz a5s...@yahoo.com wrote: I've subclassed the CE User type using single-table inheritance and it all seemed to work fine. Now

[CommunityEngine] Boritz: Suggested improvement to photos_controller#show

2009-04-01 Thread sprite
Just a recommendation. I noticed the behavior on TennisMetro.com is the same. Since for each picture you upload it generates 3 thumbnails, if you try to view those through show it causes a server error. (Crashes on @photo.previous_photo) I ended up doing this def show @photo =

[CommunityEngine] Re: Error when deleting a private message

2009-04-01 Thread Stephen
Thanks! That did the trick. I wonder if this has been corrected in the main branch of CE? The code base I am using is from March 10th. I have not pulled any code changes since but I did look through the changes and did not see anything related to this fix. Stephen On Apr 1, 9:37 am, sprite