Well, there are a few different ways to debug your app.  What are you 
trying to find out?

In the model you can put:

class ModelName < ActiveRecord::Base
  puts caller

..
..
end

That will give you the call stack everytime the model is hit.

If you want to debug params within your views you can place:

<%= debug params %>

Which will list all of the params in your views...

The list goes on and on..

What do you need to check?


-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to