[Rails] Re: Error in production only: `method_missing': undefined method `has_attachment' for # (NoMethodError)

2009-06-07 Thread Alastair
Ok, Turns out when I comment out any references to attachment_fu and restful_authentication in my models, I can run the site in production mode. Obviously this doesn't help as I need both those plugins working :) --~--~-~--~~~---~--~~ You received this message beca

[Rails] Re: Error in production only: `method_missing': undefined method `has_attachment' for # (NoMethodError)

2009-06-07 Thread Alastair
On Jun 7, 10:01 pm, Alastair wrote: > > In lieu of any better suggestions you could change it back to > > production.rb one line at a time till you find the one causing the > > problem. > In lieu of any better suggestions you could change it back to > production.rb one line at a time till you

[Rails] Re: Error in production only: `method_missing': undefined method `has_attachment' for # (NoMethodError)

2009-06-07 Thread Alastair
> In lieu of any better suggestions you could change it back to > production.rb one line at a time till you find the one causing the > problem. I've been trying that also, without much success so far. I'll keep at it though! this is possibly the most bizarre thing ever. I'm wondering if I'm missi

[Rails] Re: Error in production only: `method_missing': undefined method `has_attachment' for # (NoMethodError)

2009-06-07 Thread Colin Law
2009/6/7 Alastair : > > > > On Jun 7, 9:08 pm, Frederick Cheung > wrote: >> On Jun 7, 8:18 pm, Alastair wrote: >> >> > Hello guys, >> >> > I'm having a problem with running an application in production. The >> > error I'm getting is as follows: >> >> Random guess: is there is a line at the botto

[Rails] Re: Error in production only: `method_missing': undefined method `has_attachment' for # (NoMethodError)

2009-06-07 Thread Alastair
On Jun 7, 9:08 pm, Frederick Cheung wrote: > On Jun 7, 8:18 pm, Alastair wrote: > > > Hello guys, > > > I'm having a problem with running an application in production. The > > error I'm getting is as follows: > > Random guess: is there is a line at the bottom of environment.rb that > requires

[Rails] Re: Error in production only: `method_missing': undefined method `has_attachment' for # (NoMethodError)

2009-06-07 Thread Frederick Cheung
On Jun 7, 8:18 pm, Alastair wrote: > Hello guys, > > I'm having a problem with running an application in production. The > error I'm getting is as follows: Random guess: is there is a line at the bottom of environment.rb that requires whatever it is that provides the has_attachment method? Fr