Re: app fails to do job, when I don't change then save applicationController

2011-01-08 Thread Gabriel
Response inline: On Jan 7, 11:14 am, Michael Baldock wrote: > > "you're running in > > development mode locally.  This generally means that all of your > > ApplicationController code is reloaded on every request" > > I can see how this might cause a different behaviour between local > app, and he

Re: app fails to do job, when I don't change then save applicationController

2011-01-07 Thread Michael Baldock
@kerri - Thanks for your advice, I'll give restart a try if I don't find a stable solution. @Gabriel - " there's no need for most > of the code you've written so far to be in ApplicationController " I see now, you're absolutely right, it was just my first attempt at putting something together, an

Re: app fails to do job, when I don't change then save applicationController

2011-01-04 Thread Gabriel
Well, in terms of good Rails coding practice there's no need for most of the code you've written so far to be in ApplicationController or a Controller at all. It looks like functionality that should live in app/models or in classes and modules in lib/. But that's not what's causing your problem.

Re: app fails to do job, when I don't change then save applicationController

2011-01-03 Thread kerri miller
Without reading your code line by line.. sometimes I've found I need to do a "heroku restart" to get it to pick up some categories of changes. I don't really have any good info on what circumstances or types of changes require it, but give it a try? On Mon, Jan 3, 2011 at 2:31 AM, Michael Baldo

app fails to do job, when I don't change then save applicationController

2011-01-03 Thread Michael Baldock
Dear All, Fairly new to rails and Heroku, so could be doing something wacky - do let me know if you think my code practice is off, even if unrelated to this error, I'd like to learn! I'm using Rails 3.0.0, ruby 1.8.7, and 'sqlite3-ruby', '1.2.5', :require => 'sqlite3'. I've got an application th