Hi,

I have a model "Script" can be convert to css with #to_css. But "format.css { 
render css: @script }" in an action's #respond_to will cause an 
ActionView::MissingTemplate. I think it wants I put a template in view. How can 
I avoid that? Thanks.

Best regards,
Zhi-Qiang Lei
[email protected]

-- 
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