Another very good option is to learn to use a debugger (that can help you a
lot until you learn Ruby / Rails better, but it can be useful then as
well), is to have a look at Pry
https://github.com/deivid-rodriguez/pry-byebug or for ruby 1.9.3
https://github.com/nixme/pry-debugger.

You will need maybe 1-2 hours to set it up and learn to use it, but after
that you will get answer to questions like the above in a few seconds or
minutes depending on the problem.

Cheers

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAL37D8En0x5zBszJnmCOUx%3Dmez5ZzfVWEs5d56wdHPT7%2BPgZWA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to