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?
On Mon, Nov 9, 2009 at 3:28 PM, Paul Singh <spd1...@gmail.com> wrote:
> 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?
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:
> You're probably writing "= form_for" instead of "- form_for"
> On Mon, Nov 9, 2009 at 3:28 PM, Paul Singh <spd1...@gmail.com> wrote:
> > 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?
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...**
On Mon, Nov 9, 2009 at 3:36 PM, Paul Singh <spd1...@gmail.com> wrote:
> 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:
> > You're probably writing "= form_for" instead of "- form_for"
> > On Mon, Nov 9, 2009 at 3:28 PM, Paul Singh <spd1...@gmail.com> wrote:
> > > 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?
> 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...**
> On Mon, Nov 9, 2009 at 3:36 PM, Paul Singh <spd1...@gmail.com> wrote:
> > 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:
> > > You're probably writing "= form_for" instead of "- form_for"
> > > On Mon, Nov 9, 2009 at 3:28 PM, Paul Singh <spd1...@gmail.com> wrote:
> > > > 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?
> 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:
> > 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...**
> > On Mon, Nov 9, 2009 at 3:36 PM, Paul Singh <spd1...@gmail.com> wrote:
> > > 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:
> > > > You're probably writing "= form_for" instead of "- form_for"
> > > > On Mon, Nov 9, 2009 at 3:28 PM, Paul Singh <spd1...@gmail.com> wrote:
> > > > > 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?
On Mon, Nov 9, 2009 at 6:12 PM, Paul Singh <spd1...@gmail.com> wrote:
> 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:
> > 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:
> > > 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...**
> > > On Mon, Nov 9, 2009 at 3:36 PM, Paul Singh <spd1...@gmail.com> wrote:
> > > > 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:
> > > > > You're probably writing "= form_for" instead of "- form_for"
> > > > > On Mon, Nov 9, 2009 at 3:28 PM, Paul Singh <spd1...@gmail.com>
> wrote:
> > > > > > 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?