Hi, I have a set of help pages that I want to put in the asset pipeline, because I want to compile them once and apply some erb changes to them.
I have them in a directory structure like this: app/assets/helppages and have only one file, named h22.html.erb When I try to precompile the assets, I get this error: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rake assets:precompile rake aborted! undefined local variable or method `params' for #<#<Class:0x9590e58>: 0x95f2478> (in /home//web/app/assets/helppages/h22.html.erb) Tasks: TOP => assets:precompile:primary (See full trace by running task with --trace) rake aborted! Tasks: TOP => assets:precompile (See full trace by running task with --trace) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ My h22.html.erb file has this in it: <html> <head> <%= stylesheet_link_tag "stylesheet", :media => "all" %> </head> <body> Any ideas what is going wrong? Thanks! David -- 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.

