This post originated from an RSS feed registered with Ruby Buzz
by Huw Collingbourne.
Original Post: How To Debug Ruby Inside RHTML
Feed Title: SapphireSteel Software
Feed URL: http://www.sapphiresteel.com/spip.php?page=backend&id_rubrique=1
Feed Description: Discussion of Ruby, Flex and the Ruby In Steel and Amethyst/Flex IDEs for Visual Studio.
Watch the screencast When you are developing Rails applications you really want to be able to debug code embedded in RHTML templates as well as the code in ‘pure Ruby' files such as controllers. Well, that's no problem. Ruby in Steel lets you put breakpoints on embedded Ruby code in exactly the same way as on standard Ruby code. When you hit that breakpoint, you can trace into code and drill down into objects in the usual way. Here's a short example using a simple (...)