<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>challenger_soft</author_name>
  <author_url>https://blog.hatena.ne.jp/challenger_soft/</author_url>
  <blog_title>Ken's Challenger-Soft Blog</blog_title>
  <blog_url>https://challenger-soft.hatenablog.com/</blog_url>
  <categories>
    <anon>Rails</anon>
  </categories>
  <description>本日は、Rails記事投稿の一部を学習しました。 ポイント モデルの情報は、コントローラーのアクションへ@変数で代入する。 （ビューには直接書かない） params[:id]はURL側の数値を代入する。 find_byはモデルから情報取得する。 params+find_byの組み合わせでURLとモデルを紐付ける。 url:@@@xxxx/1 #route.rb get 'xxxx/:id' =&gt; 'zzz#yyy' # get 'xxxx/1' =&gt; 'zzz#yyy' # zzz_controller.rb def yyy params[:id] # {id:1}のハッシュが代入される en…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchallenger-soft.hatenablog.com%2Fentry%2Farticle25&quot; title=&quot;Rails:MVCの流れについて - Ken&amp;#39;s Challenger-Soft Blog&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>2020-05-20 23:40:02</published>
  <title>Rails:MVCの流れについて</title>
  <type>rich</type>
  <url>https://challenger-soft.hatenablog.com/entry/article25</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
