#rubyonrails - Fri 11 May 2007 between 00:02 and 00:10

NY Lost Funds



dust-puppyThe error occured while evaluating nil.+
what could that mean ?
this happens when I'm updating a row
by using update_attributes
I'm using the default update controller method from the scaffold
JasonKingdust-puppy: pastie us your code.
tpopewhy isn't "pastie us" caught by the bot
it catches "me", "that", and "it"
JasonKingtpope: what makes you think it's not?
tpopewhich I would never want to use
JasonKingtpope: pastie us that code.
tpopedid he finally add it?
finally
!!!
pastieJasonKing: http://pastie.caboo.se/60616 by dust-puppy.
JasonKingtpope: it's my recollection that it's always been in there.
tpope: pastie me|us|that
tpope: perhaps 'it' is the new one.
dust-puppyJasonKing, how do I figure out what is that nil object that it's complaining about ?
tpopeactually, it may be the missing one
JasonKing: pastie it right away!
eh?
JasonKingNup.
It's "it" that isn't there.
tpope: pastie it
tpope: that's the one I've always missed.
dust-puppyJasonKing, is there a way to "debug into" some code using the debugger ?
captprotonwhich pastie allows an attachment?
pastie, hit me
pastiecaptproton: are you sure, it might hurt?
captprotonpastie, yes
JasonKingdust-puppy: yeah, that's my one annoyance with Ruby errors actually, they should paste the symbol being sent the method.
dust-puppy: can you update that pastie and include your Ser model.
captprotonnm
dust-puppyJasonKing, here's the model: http://pastie.caboo.se/60616
JasonKing, I have foreign keys in there
maybe the way I'm doing the update is a little light ? Maybe I need to construct the foreign objects first ?
pastiehttp://pastie.caboo.se/60622 by captproton.
mytrueherogem list shows mongrel 1.0.1 installed, but "mongrel_rails" says "command not found". any obvious reasons why that would be happening?
JasonKingdust-puppy: can you update that pastie to put '##'s in front of the first line - you've messed up all the syntax highlighting.

Page: 2 9 16 23 30 37 44 51 58 65 72 79 86 93 100 

IrcArchive

NY Lost Funds