Where to start debugging

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

$ 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

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

$ 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
[email protected]