Before Wazer came along, “water jet cutting” and “affordable” didn’t belong in the same sentence. That changed in 2016, when the company launched the world’s first desktop water jet cutter,…
![TechCrunch | Startup and Technology News](https://cdn-ak-scissors.b.st-hatena.com/image/square/92584d6251feb0822f349cf0211361b2833c9939/height=288;version=1;width=512/https%3A%2F%2Ftechcrunch.com%2Fwp-content%2Fuploads%2F2018%2F04%2Ftc-logo-2018-square-reverse2x.png)
tl;dr content_tagを連結していく処理で、一時変数の初期化をするときは空文字をhtml_safeしよう content_string = ''.html_safe content_string << link_to('Hogeページヘ', hoge_path) if hoge? content_string << link_to('Fugaページヘ', huga_path) if huga? # 利用者を判別してメニューを作成する # @return [String] メニューのHTML def user_menu content_string = '' content_string << link_to('管理ページ', admin_path) if current_user.try(:admin?) content_string << if topics_exists?
コンテンツブロックが有効であることを検知しました。 このサイトを利用するには、コンテンツブロック機能(広告ブロック機能を持つ拡張機能等)を無効にしてページを再読み込みしてください。 ✕
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く