LoginSignup
0
0

More than 1 year has passed since last update.

【Rails】paramsについて

Posted at

paramsとは?

→データの入れ物

どんなデータが入ってるのか?

基本的には以下の2種類の方法で収集されたデータが入ってる。
・投稿フォームなどからPOSTで送信されたデータ
・getのクエリパラメータ

【クエリパラメータとは?】
例えば、基本のURLが「https:// ○△×□.jp/」だとして、基本のURLにクエリ文字列(URLパラメーター)を加えると「https:// ○△×□.jp/?●=▲×■&○=△×□」となります。
「?●=▲×■&○=△×□」の部分が、クエリパラメーター(URLパラメーター)です。
引用:https://online.dhw.co.jp/kuritama/query-string/

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0