David Kjelkerud
2006-Sep-08 12:02 UTC
Strange bug when moving from development to production
Hello! I have just deployed a rails application on a server, and everything seems to be working fine, except one thing. I might just be missing something obvious. My problem is this: My app has configurations to which the user can add a machine. As is it now the user can create as many configurations as they want, but there is only possible to connect one machine to one configuration in the whole system. So the first user can make a configuration and add a machine (via an AJAX:ed radiobutton) to that configuration, and it all works as it should. After that though, nobody can add machines to their configurations, although nothing hangs or anything, it just won''t add the machine. On my local development machine everything works as expected, and I use lighttpd as the server on both. Any ideas that might cause this? Thanks. /David -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
David Kjelkerud
2006-Sep-08 12:11 UTC
Re: Strange bug when moving from development to production
Oops I solved it! I had a connection table accessories_configurations that mapped the connection between the machines accessories and configurations, and somehow it had an id column! Silly me :) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---