Re: [Rails] Given I know where a method is defined, I want to know where its called (at runtime)

2011-05-05 Thread Colin Law
On 5 May 2011 02:39, John Merlino wrote: > Hey all, application completely breaks down in production mode. I > followed the execution file by file line by line and yet I cannot figure > out where an instance variable is being generated from. But I have a > suspicion. This method right here: > >  #

Re: [Rails] Given I know where a method is defined, I want to know where its called (at runtime)

2011-05-04 Thread Philip Hallstrom
On May 4, 2011, at 6:39 PM, John Merlino wrote: > Hey all, application completely breaks down in production mode. I > followed the execution file by file line by line and yet I cannot figure > out where an instance variable is being generated from. But I have a > suspicion. This method right here

[Rails] Given I know where a method is defined, I want to know where its called (at runtime)

2011-05-04 Thread John Merlino
Hey all, application completely breaks down in production mode. I followed the execution file by file line by line and yet I cannot figure out where an instance variable is being generated from. But I have a suspicion. This method right here: # neeeded becasuse of a rails bug def to_s "#{s