Monday, May 24, 2010

[Rails] Re: Where to start debugging

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
marnen@marnen.org
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate