<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cevid_cpp</author_name>
  <author_url>https://blog.hatena.ne.jp/cevid_cpp/</author_url>
  <blog_title>ボクココ</blog_title>
  <blog_url>https://bokukoko.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby on Rails</anon>
    <anon>JavaScript</anon>
  </categories>
  <description>ども、@kimihom です。 Rails 5.0 までは jquery-rails を使ってフォームやリンクの Ajax 通信を可能にしていたけど、Rails 5.1 からは rails-ujs として切り出され、晴れて jQuery からの脱却を可能にした。 そこで、本記事ではこの rails-ujs と関連深い form_with の使い方や注意点についてまとめる。 rails-ujs rails-ujs は、Ajax の送受信の &quot;送&quot; の部分を JavaScript で実装せずに、よしなにやってくれるライブラリだ。私たちは Rails 5.1 から導入された form_with を使…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbokukoko.hatenablog.com%2Fentry%2F2017%2F12%2F22%2F194327&quot; title=&quot;rails-ujs と form_with の使い方 - ボクココ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/c/cevid_cpp/20220528/20220528145900.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-12-22 19:43:27</published>
  <title>rails-ujs と form_with の使い方</title>
  <type>rich</type>
  <url>https://bokukoko.hatenablog.com/entry/2017/12/22/194327</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
