Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
How does HAML get compiled?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
webbieguy  
View profile  
 More options Nov 7, 5:17 pm
From: webbieguy <justin.dean.griff...@gmail.com>
Date: Sat, 7 Nov 2009 14:17:49 -0800 (PST)
Local: Sat, Nov 7 2009 5:17 pm
Subject: How does HAML get compiled?
Hi,

I am a Ruby on Rails newbie and am trying to use Haml. I love the
different aspects of and would love to use it for everything. One
simple problem which I can't seem to find the answer to. How does it
get compiled?

I have haml files in a Ruby on Rails project in Aptana and I made the
assumption that when you start the server, the files are compiled to
html, but I think I am incorrect in that assumption. I have yet to see
a compiled haml file in a browser. I know this is probably super
simple, but if someone could please tell me what to do I would greatly
appreciate it.

Regards,
Justin


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan Weizenbaum  
View profile  
 More options Nov 7, 6:13 pm
From: Nathan Weizenbaum <nex...@gmail.com>
Date: Sat, 7 Nov 2009 15:13:20 -0800
Local: Sat, Nov 7 2009 6:13 pm
Subject: Re: [haml] How does HAML get compiled?

If you're using Haml with Rails, it'll work just like ERB (once you have the
plugin installed, that is): you write your views with the extension
".html.haml" and then when you go to view them in your browser, it's
automatically compiled behind-the-scenes.

Does that help?

On Sat, Nov 7, 2009 at 2:17 PM, webbieguy <justin.dean.griff...@gmail.com>wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
webbieguy  
View profile  
 More options Nov 7, 11:23 pm
From: webbieguy <justin.dean.griff...@gmail.com>
Date: Sat, 7 Nov 2009 20:23:59 -0800 (PST)
Local: Sat, Nov 7 2009 11:23 pm
Subject: Re: How does HAML get compiled?
Yes it does. Now however, I am getting a pagination error. Is there an
easy to install gem available for this?

Thanks in advance!!

On Nov 7, 5:13 pm, Nathan Weizenbaum <nex...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
webbieguy  
View profile  
 More options Nov 7, 11:24 pm
From: webbieguy <justin.dean.griff...@gmail.com>
Date: Sat, 7 Nov 2009 20:24:28 -0800 (PST)
Local: Sat, Nov 7 2009 11:24 pm
Subject: Re: How does HAML get compiled?
I forgot to say that I am using haml_scaffold to generate my haml
files.

On Nov 7, 5:13 pm, Nathan Weizenbaum <nex...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nathan Weizenbaum  
View profile  
 More options Nov 8, 3:12 pm
From: Nathan Weizenbaum <nex...@gmail.com>
Date: Sun, 8 Nov 2009 12:12:13 -0800
Local: Sun, Nov 8 2009 3:12 pm
Subject: Re: [haml] Re: How does HAML get compiled?

I'm not sure what you mean by a "pagination error".

On Sat, Nov 7, 2009 at 8:24 PM, webbieguy <justin.dean.griff...@gmail.com>wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Norman Clarke  
View profile  
 More options Nov 9, 7:54 am
From: Norman Clarke <com...@gmail.com>
Date: Mon, 9 Nov 2009 09:54:00 -0300
Subject: Re: [haml] Re: How does HAML get compiled?
I am guessing you that you haven't set up will_paginate? Haml_scaffold
by default adds code that depends on will_paginate, but doesn't
install the gem nor does it configure it in environment.rb.

So make sure you have a line like

gem "will_paginage"

in your environment.rb, and it should work "out of the box."

Regards,

Norman


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google