Hi to all, I''m very new with this technology and i already have problems. I have to change something into a "haml" file but when i upload the changes, site goes down (it display something like "site is undergoing maitenance"). everything that i should do is add 2 (two) line of code: .htext1 Management Assistant Can anyone tell me what should i do? Thank you for your time. -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi-- On Apr 7, 2008, at 1:38 PM, Si St wrote:> > Hi to all, > > I''m very new with this technology and i already have problems. I > have > to change something into a "haml" file but when i upload the changes, > site goes down (it display something like "site is undergoing > maitenance"). everything that i should do is add 2 (two) line of code: > > .htext1 > Management Assistant > > Can anyone tell me what should i do? > > Thank you for your time.Haml wants you to indent your contained elements by two spaces, so you need something more like: .htext1 Management Assistant You can also do that inline for short things like this: .htext1 Management Assistant --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I have another question... I''m trying to run that project on my computer, but it shows me the default index.html page. what do i have to install to run it? i already installed gems but still not working. Thank you for your help. -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Si St wrote:> I have another question... > I''m trying to run that project on my computer, but it shows me the > default index.html page. what do i have to install to run it? > i already installed gems but still not working. > > Thank you for your help.I assume that you have an index.html.haml file in the same folder? I just rename the index.html.erb to index.html.unused and the haml version gets picked up. When I''m totally happy with my haml, I delete the .unused file. -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---