Or maybe it's just me... ;-) I am going through the examples in the book Rails for PHP Developers, and have reached page 160. Everything went perfect so far on my local machine.
Uploaded the thing to Heroku and encountered a couple of problems. Worked through the first one, which was just a difference between PostgreSQL and MySQL - need to research that to see if there's a way to fully abstract that bit of code. But the one that has me stumped is this: In my /app/views/layouts/application.html.erb file, I have the following stitch of code: <body class="<%= controller.controller_name -%>"> The output I get in the HTML is: <body class=" meetings<span class="heroku_marker heroku_start" style="display: none">app/views/layouts/application.html.erb</span> "> If I try inserting this into say a <div> element, I get correct output. So it appears just the <body> element is not liking the dynamic attributes. So I think I know what the short answer is here: I can't use Rails to create attributes in the <body> tag. Which would mean I'd have to refactor my CSS practices and maybe use the container <div> for my page identity stuff. I can however insert a hard-coded class attribute in the HTML, which of course isn't what I want to do. Is this a known bug? I did a quick search in this group and didn't find much in this area. Cheers, Joe Lewis --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~----------~----~----~----~------~----~------~--~---
