#partial
2 posts tagged partial. Clear filter
-
Execute Javascript When Using Link_to_function To Include a Partial in Rails
If you use the link\to\function to replace content in a div with content from a partial, any javascript that you include in the partial will not be executed. It is instead included, but will do...
-
Render Partial if File Exists
If you ever want to render a partial but don't want an error thrown you can either check for the existence of the file first or you can catch the error that Rails throws