Created
February 7, 2013 14:32
-
-
Save trak3r/4731261 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this works: | |
%script= raw render 'show.js.coffee' | |
but it throws this warning: | |
DEPRECATION WARNING: Passing the format in the template name is deprecated. Please pass render with :formats => [:js] instead. | |
-- | |
this doesn't work: | |
%script= raw(render('show', formats: [:js])) | |
because of this error: | |
Missing partial ... with {... :formats=>[:html], ... | |
-- | |
WTF is it ignoring the "formats" parameter it told me to use!? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment