# Where to start debugging

**URL:** <https://www.ruby-forum.com/t/where-to-start-debugging/189123>\
**Category:** Rails\
**Created:** [May 25, 2010, 3:28am UTC](https://www.ruby-forum.com/t/where-to-start-debugging/189123 "2010-05-25T03:28:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sso](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f07891/32.png) [@sso](https://www.ruby-forum.com/u/sso)\
**Post date:** [May 25, 2010, 3:28am UTC](https://www.ruby-forum.com/t/where-to-start-debugging/189123/1 "2010-05-25T03:28:30Z")

</div>

Hi,  
I’ve adopted a project that uses some rails features I’m not quite  
used to yet. (ie merb, haml)

There is a snippet below. I’m not even sure what other part of the  
code to include to help with this. I’m open to suggestions 🙂

$ merb  
…  
…  
…  
~ Compiling routes…  
app/views/stretches/show.html.haml:87:in `send’: compile error  
(SyntaxError)

Line 87

87 -throw\_content :footer do  
88 %a{:href=\>resource(:stretches)} all stretches

---

<div class="post-metadata">

**Author:** ![sso](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/f07891/32.png) [@sso](https://www.ruby-forum.com/u/sso)\
**Post date:** [May 25, 2010, 5:22am UTC](https://www.ruby-forum.com/t/where-to-start-debugging/189123/2 "2010-05-25T05:22:46Z")

</div>

sso wrote:

> Hi,  
> I’ve adopted a project that uses some rails features I’m not quite  
> used to yet. (ie merb, haml)

Those aren’t Rails features as such. Haml is a separate library – a  
template language that’s a superior alternative to ERb (and that you  
should learn…). Merb, though, is a completely separate framework from  
Rails (yes, Merb 2 will be merged into Rails 3, but that hasn’t been  
released yet). So…are you sure you have a Rails app, or is it a Merb  
app?

> There is a snippet below. I’m not even sure what other part of the  
> code to include to help with this. I’m open to suggestions 🙂
> 
> $ merb  
> …  
> …  
> …  
> ~ Compiling routes…  
> app/views/stretches/show.html.haml:87:in `send’: compile error  
> (SyntaxError)
> 
> Line 87
> 
> 87 -throw\_content :footer do  
> 88 %a{:href=\>resource(:stretches)} all stretches

Not enough to tell.

## Best,

Marnen Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid
