<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>spitfire_tree</author_name>
  <author_url>https://blog.hatena.ne.jp/spitfire_tree/</author_url>
  <blog_title>happy lie, happy life</blog_title>
  <blog_url>https://spitfire-tree.hatenadiary.org/</blog_url>
  <categories>
    <anon>Rails</anon>
    <anon>jQuery</anon>
  </categories>
  <description>acts_as_taggable_on は便利なプラグインですが、デフォルトでは「tag1,tag2,tag3」のようにタグを半角カンマで区切った入力を行うため、一般のユーザ向けとは言えません。そこで jQuery を使って入力補助を行います。Rails 4.0 + Ruby 2.0 で検証しました。 準備 まずは acts_as_taggable_on を使う準備をします。まずは Gemfile を編集。 gem 'acts-as-taggable-on'終わったら次の手順でデータベース側の準備をします。 bundle install bundle exec rails g acts_as_…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fspitfire-tree.hatenadiary.org%2Fentry%2F20131202%2F1385963675&quot; title=&quot;acts_as_taggable_on で jQuery を使った入力補助を行う - happy lie, happy life&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/s/spitfire_tree/20131202/20131202145238.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-12-02 14:54:35</published>
  <title>acts_as_taggable_on で jQuery を使った入力補助を行う</title>
  <type>rich</type>
  <url>https://spitfire-tree.hatenadiary.org/entry/20131202/1385963675</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
