On Mon, 2009-07-27 at 18:26 -0700, Nicholas Henry wrote:
> Hello Craig:
> 
> <%= stylesheet_link_tag 'reports_print', :media => :all %>
> 
> will generate:
> 
> <link href="/stylesheets/reports_print.css" media="all"
> rel="stylesheet" type="text/css" />
> 
> See examples in the documentation:
> 
> http://railsapi.com/doc/rails-v2.3.3.1/classes/ActionView/Helpers/AssetTagHelper.html#M002343
> 
----
yes, thanks. I think the commented lines were my 1.2.x style and I had
already found that and for some strange reason, that particular report
formatted print the same as screen. But better to make it predictable
and follow the rules.

I think that I don't understand the differences between erb files and
rhtml files and before I write a bunch of view files, it would be nice
to understand the differences. Does anyone have a link to a page that
explains the differences between rhtml and erb?

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to