{"blog_url":"https://uchinoinu.hatenablog.jp/","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fuchinoinu.hatenablog.jp%2Fentry%2F2015%2F04%2F01%2F154744\" title=\"annotate gem: write schema or routing on model file, routes file - \u3046\u3061\u306e\u3044\u306c Tech Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u3046\u3061\u306e\u3044\u306c Tech Blog","provider_name":"Hatena Blog","title":"annotate gem: write schema or routing on model file, routes file","height":"190","published":"2015-04-01 15:47:44","author_name":"susanne","provider_url":"https://hatena.blog","width":"100%","author_url":"https://blog.hatena.ne.jp/susanne/","url":"https://uchinoinu.hatenablog.jp/entry/2015/04/01/154744","image_url":"http://whyzat.com/wp-content/uploads/2014/04/Useful-Dog.jpg","description":"(source: http://whyzat.com/wp-content/uploads/2014/04/Useful-Dog.jpg) Version Ruby # 2.2.1 Rails # 4.2.0 Install $ vi Gemfile -------- # add gem 'annotate' -------- $ bundle install Make Config File(Task File) $ bundle exec rails g annotate:install $ vi lib/tasks/auto_annotate_models.rake --- # NOTE\u2026","categories":["Rails","Gem"],"version":"1.0"}