<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mom0tomo</author_name>
  <author_url>https://blog.hatena.ne.jp/mom0tomo/</author_url>
  <blog_title>dev/mom0tomo</blog_title>
  <blog_url>https://mom0tomo.hateblo.jp/</blog_url>
  <categories>
    <anon>Ruby on Rails</anon>
  </categories>
  <description>読んだもの railsguides.jp 学んだこと 結論 基本的にPOSTやPUTでリソースに変更を加えるときに使う。 ストロングパラメータの目的は、Active Modelに不適切な値が入れられ、それを公開してしまうのを防ぐこと。 そのため、POSTやPUT以外はまず使わない。 ストロングパラメータを使うことで、多くの属性を一度に更新したいときに、許可する属性を開発者が明示的に指定できる（ホワイトリスト）。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmom0tomo.hateblo.jp%2Fentry%2F2018%2F10%2F12%2F150554&quot; title=&quot;【メモ】ストロングパラメータを使うのはどういうときか - dev/mom0tomo&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-10-12 15:05:54</published>
  <title>【メモ】ストロングパラメータを使うのはどういうときか</title>
  <type>rich</type>
  <url>https://mom0tomo.hateblo.jp/entry/2018/10/12/150554</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
