method

with_workaround_for_notextile

rails latest stable - Class: RailsGuides::Generator

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

with_workaround_for_notextile(body)
private

For some reason the notextile tag does not always turn off textile. See LH ticket of the security guide (#7). As a temporary workaround we deal with code blocks by hand.