On May 10, 8:04 pm, Tam Kbe <[email protected]> wrote:
>
> I'm finding very hard to make sense from this output. It's displaying
> different error messages and I can tell it's not it's not the
> ./config/global_constants.conf issues because I don't call it inside the
> daemon file. Plus I don't think it's a memory issues as my Mac has 2GB
> of memory and not many programs running. as for the SmsMessage I'm
> calling it normally using:
>
Are you requiring the rails environment ?
Fred
> scheduledMessagesParent = SmsMessage.valid.find(:all, :conditions =>
> {:status => $SCHEDULED_MESSAGE})
>
> which works elsewhere in my website!! I noticed that the logger is
> called using
>
> ActiveRecord::Base.logger.info "....
>
> Is it possible I have to specify my model's path in another way? I
> normally call the logger using logger.info without the need for
> ActiveRecord::Base. If so how to do that?
>
> Any ideas how to go about debugging this problem? is there a way to
> display stack trace or better error messages?
>
> Thanks,
>
> Tam
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---