サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
中東情勢
bryankawa.hatenablog.com
hey guy:) 前回から引き続きstackoverflowの記事を共有したいなと思ったので和訳してみた。 こちらの記事は質問者に697、回答者に1691の"いいね"されている。基本的な質問かもしれないけど読みたくなるよね! –質問– I am having a hard time understanding attr_accessor in Ruby. Can someone explain this to me? I have done tons of Google searches. I just can’t understand it fully. 訳)Rubyのattr_accessorってなんやねん。誰か説明してくれへんか?ググってもみつからへんわ〜。理解できへん。 –回答– Let’s say you have a class Person. Personクラスがあったとし
Hi:) When it’t time to blog, I translate and learn. ということで今日もStack over flowの記事から抜粋。 記事表題は「How to rename rails controller and model in a project (railsのプロジェクトでとうやったらコントローラ名とモデル名を変更するのか)」 です。 それでは記事を翻訳してみよう。 質問 I would like to rename a controller and the associated model: コントローラー名と関連するモデル名を変更したい。 I wanted to change the Corps controller to Stores and the same (without final s) for the model. Corpsコン
このページを最初にブックマークしてみませんか?
『bryankawa.hatenablog.com』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く