Below application.html.haml gives me
>From the Haml reference my code should appear to be correct except
there was no else statement example in the haml reference
so not shure about that part.
I really dont see it anyone knows how to fix this?
application.html.haml:35: syntax error, unexpected kE
That,
And the extra newline was causing the error.
Just for future reference = case should not have a blank line before
it
On Jun 3, 5:14 pm, Chris Eppstein wrote:
> try:
>
> - case @controller.controller_name
>
> instead of =.
>
>
>
> On Thu, Jun 3, 2010 at 4:18 AM, r
I have a strange issue with haml which costs me hours to debug to no
result so far
ActionView::TemplateError (undefined method `show' for
#) in app/views/home/
index.html.haml:
haml (3.0.9) [v] lib/haml/precompiler.rb:178:in `precompile'
haml (3.0.9) [v] lib/haml/engine.rb:121:in `initiali
last resort :(
On Jul 22, 10:52 pm, rubytastic wrote:
> I have a strange issue with haml which costs me hours to debug to no
> result so far
>
> ActionView::TemplateError (undefined method `show' for
> #) in app/views/home/
> index.html.haml:
> haml (3.0.9) [v] lib/
ave something else installed that's
> somehow monkeypatching Haml and causing it to break. What other gems/plugins
> are you using?
>
>
>
> On Thu, Jul 22, 2010 at 1:56 PM, rubytastic wrote:
> > I totally reinstalled OSX (slow performance) in the hope this error
> > w
s/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
/Library/Ruby/Gems/1.8/gems/rack-1.1.0/lib/rack/handler/mongrel.rb:
38:in `run'
/Library/Ruby/Gems/1.8/gems/rai
Nobody some clues?
On Jul 23, 7:55 am, rubytastic wrote:
> NoMethodError in Home#index
>
> Showing app/views/home/index.html.haml where line # raised:
>
> undefined method `show' for #
> This is the full trace,
> Perhaps Its an idea if caused by haml to have more me
ed that
> seems to be causing it, then tar up the smallest application you can make
> that still has the issue and send it to me.
>
>
>
> On Fri, Jul 23, 2010 at 9:46 AM, rubytastic wrote:
> > Nobody some clues?
>
> > On Jul 23, 7:55 am, rubytastic wrote:
> >
Hi Everyone,
Because I develop for a php CMS I have converted all my html stuff to
HAML ( of course ;))
Now Only I have a problem ,
Currently I copy and paste the html generated from my app in the
correct php templates, I try to automate this so I can
generate correct workign files for my CMS from