例えば、simple_formatとauto_linkを一つの要素に反映させたい場合。
simple_format(auto_link(@task.description, :html => { :target => "_blank" }))
のように括弧で区切ってあげると良い。
Go to list of users who liked
More than 5 years have passed since last update.
例えば、simple_formatとauto_linkを一つの要素に反映させたい場合。
simple_format(auto_link(@task.description, :html => { :target => "_blank" }))
のように括弧で区切ってあげると良い。
Register as a new user and use Qiita more conveniently
Go to list of users who liked