# Deployed version acting different than desktop version?

**URL:** <https://www.ruby-forum.com/t/deployed-version-acting-different-than-desktop-version/134508>\
**Category:** Rails\
**Created:** [April 11, 2008, 3:29pm UTC](https://www.ruby-forum.com/t/deployed-version-acting-different-than-desktop-version/134508 "2008-04-11T15:29:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [April 11, 2008, 3:29pm UTC](https://www.ruby-forum.com/t/deployed-version-acting-different-than-desktop-version/134508/1 "2008-04-11T15:29:10Z")

</div>

I found the most scary and annoying symptom last night when I found a  
bug on my deployment application that was working correctly on my  
identical desktop version. It had to do with one parent integer field  
being updated through a CREATE controller action.  
Has anyone found a source that describes such anomolies so that I  
might try to guard against them.  
I am grateful for any reply.  
Kathleen

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [April 11, 2008, 4:27pm UTC](https://www.ruby-forum.com/t/deployed-version-acting-different-than-desktop-version/134508/2 "2008-04-11T16:27:43Z")

</div>

when we had issues like that it normaly came out to be a problem with  
either permissions (file uploads, storing stuff) or version conflicts  
with ruby, rails or most likely gems  
doesn’t sound like your problem, maybe you give us a more detailed  
explanation of your problem.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [April 13, 2008, 3:55am UTC](https://www.ruby-forum.com/t/deployed-version-acting-different-than-desktop-version/134508/3 "2008-04-13T03:55:43Z")

</div>

Thorsten,  
I have a forum.posts\_count integer field that was being incremented in  
the desktop version just fine, but being neglected in the server  
version running litespeed. I changed the routine to an  
increment\_counter in the Forum model and it works fine now. In the  
desktop code I was able to do a forums.posts\_count += 1 and that ran  
just fine but the server ignored it.  
Thank you,  
Kathleen

On Apr 11, 8:27 am, Thorsten M. \<rails-mailing-l…@andreas-
