<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xoyip</author_name>
  <author_url>https://blog.hatena.ne.jp/xoyip/</author_url>
  <blog_title>ぴよログ</blog_title>
  <blog_url>https://xoyip.hatenablog.com/</blog_url>
  <categories>
    <anon>Rails</anon>
    <anon>Ruby</anon>
  </categories>
  <description>form_forで何が使えるのかって全然把握していなかったのですが、number_fieldってのがあるんですね。 Hamlで書くとこういう感じに。 = form_for @my_model, method: :put, role:&quot;form&quot;, remote:true, class:&quot;form-horizontal&quot; do |f| .form-group = f.label :my_value, &quot;値&quot;, class:&quot;control-label col-sm-2&quot; .col-sm-2 = f.number_field :my_value, class:&quot;form-control&quot;, req…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxoyip.hatenablog.com%2Fentry%2F2014%2F03%2F02%2F204503&quot; title=&quot;Rails: form_forでの数値用のコントロールとvalidates numericality - ぴよログ&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://www.evernote.com/shard/s15/sh/0bc3832e-d434-41f3-93c4-87f2ccfca506/3975e7c6828df8e4ccf90eabba60a043/deep/0/%E3%81%AF%E3%81%A6%E3%81%AA%E3%83%96%E3%83%AD%E3%82%B0%E4%BA%88%E7%B4%84%E6%8A%95%E7%A8%BF-%CE%B1-.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-03-02 20:45:03</published>
  <title>Rails: form_forでの数値用のコントロールとvalidates numericality</title>
  <type>rich</type>
  <url>https://xoyip.hatenablog.com/entry/2014/03/02/204503</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
