Hello,

i want to profile my rails-application with ruby prof.
i started to create a test.rb including:

get "/"
say "GET / => #{path}"

---
then i want to acces it via plugin by:
ruby-prof path/to/test/test.rb

but all i get is:
undifinfed methor "get" for main:Object (NoMethodError)

can someone tell me what`s going wrong?

Thanks for your responses.
Hans

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