Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Weird production issue
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Paul Singh  
View profile  
 More options Nov 9, 6:28 pm
From: Paul Singh <spd1...@gmail.com>
Date: Mon, 9 Nov 2009 15:28:09 -0800 (PST)
Local: Mon, Nov 9 2009 6:28 pm
Subject: Weird production issue
While using HAML in development mode, everything appears to be fine.
Oddly enough, when I switch over to production mode, I notice that my
form_for seems to repeat itself 3 or 4 times... have any thoughts on
what I might be doing wrong?

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Eppstein  
View profile  
 More options Nov 9, 6:33 pm
From: Chris Eppstein <ch...@eppsteins.net>
Date: Mon, 9 Nov 2009 15:33:51 -0800
Local: Mon, Nov 9 2009 6:33 pm
Subject: Re: [haml] Weird production issue

You're probably writing "= form_for" instead of "- form_for"


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Singh  
View profile  
 More options Nov 9, 6:36 pm
From: Paul Singh <spd1...@gmail.com>
Date: Mon, 9 Nov 2009 15:36:15 -0800 (PST)
Local: Mon, Nov 9 2009 6:36 pm
Subject: Re: Weird production issue
Unfortunately, I don't think that's the problem -- I'm definitely
using "- form_for" here.

What's particularly odd is that the form appears to compile just fine
in development... once I switch to production, it just seems to be
repeating the form at random places inside the original form. If
you're interested, I can privately send you a link to the production
area so you can take a look for yourself.

On Nov 9, 6:33 pm, Chris Eppstein <ch...@eppsteins.net> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan Weizenbaum  
View profile  
 More options Nov 9, 6:57 pm
From: Nathan Weizenbaum <nex...@gmail.com>
Date: Mon, 9 Nov 2009 15:57:41 -0800
Local: Mon, Nov 9 2009 6:57 pm
Subject: Re: [haml] Re: Weird production issue

If you give me a link to your code, I'll take a look at it. There are some
compilation differences between development and production (due to ugly mode
being enabled in default in production), and that could be causing something
like this...**


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Singh  
View profile  
 More options Nov 9, 7:38 pm
From: Paul Singh <spd1...@gmail.com>
Date: Mon, 9 Nov 2009 16:38:57 -0800 (PST)
Local: Mon, Nov 9 2009 7:38 pm
Subject: Re: Weird production issue
Sure thing, here's all of the raw stuff: http://gist.github.com/230489

I can point you to a production version running on heroku if you want
to see it in action.

On Nov 9, 6:57 pm, Nathan Weizenbaum <nex...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Singh  
View profile  
 More options Nov 9, 9:12 pm
From: Paul Singh <spd1...@gmail.com>
Date: Mon, 9 Nov 2009 18:12:15 -0800 (PST)
Local: Mon, Nov 9 2009 9:12 pm
Subject: Re: Weird production issue
Yep, disabling ugly mode in production seems to have resolved the
issue for me. I'll keep debugging and let you know if I figure
anything else.

On Nov 9, 7:38 pm, Paul Singh <spd1...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan Weizenbaum  
View profile  
 More options Nov 9, 9:47 pm
From: Nathan Weizenbaum <nex...@gmail.com>
Date: Mon, 9 Nov 2009 18:47:09 -0800
Local: Mon, Nov 9 2009 9:47 pm
Subject: Re: [haml] Re: Weird production issue

I'd appreciate some more debugging, if possible - I'd like to resolve this
issue. Ugly mode shouldn't ever cause behavioral changes.

Could you try taking the raw Haml and removing code to find the minimal file
that still demonstrates the issue?


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google