Closed anoldguy closed 8 years ago
Rails 5 deprecates render :text in favor of render :plain. However, since it was only introduced in 4.1.0, we can't do a blanket change. This introduces some sugar methods to handle feature definitions as long as we can peg them to a version.
render :text
render :plain
Rails 5 deprecates
render :text
in favor ofrender :plain
. However, since it was only introduced in 4.1.0, we can't do a blanket change. This introduces some sugar methods to handle feature definitions as long as we can peg them to a version.