Hi you all, I am trying to put some statements out to console in my Rails app, for debugging purposes, especially in the model classes. However, they do not work at all. I am trying with p, puts, print, but nothing. I just get it working when this statements are in a controller, but not in model classes.
I've also tried with Rails.logger.debug("whatever") but nothing, this also works only in the controller. What can I do? :( I'm working with Jruby 1.1.6 and Rails 2.1.2 in a Webrick server. -- Posted via http://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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---