めぐさん

24 posts

めぐさん

めぐさん

@Megusan1108

Tokyo Katılım Eylül 2019
111 Takip Edilen26 Takipçiler
めぐさん
めぐさん@Megusan1108·
@Justice40882921 ありがとうございます😂 コロナが明けたら、いの一番にそちらに行きますね🏃‍♀️
日本語
0
0
2
0
Haru@Webデザイナー
Haru@Webデザイナー@haru_output·
ポートフォリオに載せるためのLP やっと完成! 🟠内容整理 🟠ワイヤーフレーム 🟠デザインカンプ 🟠画像加工 🟠コーディング 全部で60時間くらいかかりました😇 もっと早くできるよう考えます🔥 ↓よければ見ていただけると幸いです🙇‍♀️ halu-log.com/premium_white/… #駆け出しエンジニアと繋がりたい
日本語
22
4
235
0
めぐさん
めぐさん@Megusan1108·
Current_page is a method of the UrlHelper module, and it checks current page path. Methods in Rails’ inbuilt helper modules are available only in views, not in models or controllers. You can also access the current page’s URL via current_page.url.
めぐさん tweet media
English
0
0
4
0
めぐさん
めぐさん@Megusan1108·
!!current_user <ログインしている> current_user → true !current_user → false !!current_user → true🆗 <ログインしていない> current_user → nil !current_user → true !!current_user → false❌
日本語
0
0
1
0
めぐさん
めぐさん@Megusan1108·
@￰current_user ||= User.find_by(id: session[:user_id]) @￰current_userが存在していたらそれを使う。 が、もしなかったらUserモデルがfind_byメソッドを使ってDBへお問い合わせ。idの値がsessionのuser_idと一致しているレコードを取り出し、@￰current_userとして入れる。 #sessions_helper
日本語
0
0
2
0
めぐさん
めぐさん@Megusan1108·
On your <ul> or <ol>, add the .list-unstyled to remove any browser default list styles, and then apply .media to your <li>s. As always, use spacing utilities wherever needed to fine tune. #Bootstrap #medialist
めぐさん tweet mediaめぐさん tweet media
English
0
0
0
0
めぐさん
めぐさん@Megusan1108·
Userモデルのemailバリデーション、 before_save { self.email.downcase! } って、なんだか呪文みたいじゃないですか? 混乱してくると、リズムで覚えます。
めぐさん tweet media
日本語
0
0
0
0
めぐさん
めぐさん@Megusan1108·
A lightbox is a type of popup used to emphasize a piece of content including coupons, new products, and important announcements. It is superior to normal popups in that the user can click anywhere outside of the popup to close it. This leads to less user frustration.
English
0
0
3
0
めぐさん
めぐさん@Megusan1108·
navbar-brand class is applied to typical branding logo you see in the top navigation bar. It may just contain a typical image logo or text.
めぐさん tweet media
English
0
0
1
0
めぐさん
めぐさん@Megusan1108·
In general, git reset's function is to take the current branch and reset it to point somewhere else, and possibly bring the index and work tree along.
English
0
0
0
0
めぐさん
めぐさん@Megusan1108·
Rails controllers are basically files where actions (methods) are kept. Each time you access a Rails app, you're sending a request to the system. Your code can use the passed data through them to perform some sort of action (hence the name).
English
1
0
0
0
めぐさん
めぐさん@Megusan1108·
The Rails router recognizes URLs and dispatches them to a controller's action, (or to a *Rack application). It can also generate paths and URLs, avoiding the need to hardcode strings in your views. *Rack provides a minimal interface between webservers that support Ruby and Rails.
English
0
0
0
0
めぐさん
めぐさん@Megusan1108·
C: This operation would create a brand new entity. R: This operation would read something from the DB but would not make any permanent changes to the DB. U: This operation would change values of an already existing entity. D: This operation would delete an entity from the DB.
English
0
0
0
0
めぐさん
めぐさん@Megusan1108·
Bundler is the default gem dependency manager for Ruby projects. Bundler is the way to manage your gems. If your Ruby application won't start because of a missing gem, then you must install it locally using Bundler.
English
0
0
0
0
めぐさん
めぐさん@Megusan1108·
@type :インスタンス変数 ⭐️@@type:クラス変数:クラスの中でだけ使う変数 def hogehoge:インスタンスメソッド ⭐️def self.hogehoge:クラスメソッド:インスタンスが不要のメソッド メモリ領域節約のため、クラスメソッドでも構わなそうな時は⭐️を使う。 #Lesson7が難しい
日本語
0
0
0
0
めぐさん
めぐさん@Megusan1108·
この記事、きちんと情報を整理して、立場を(できるだけ)明確にして論じていて、ちゃんとしてる。 「自殺が正しいかどうかでなく、何故そうなったのか」 こんな当たり前で最低限のことすら出来ない人が多い世の中だから😭😭😭 #自殺配信 various-events.com/2020/02/18/min…
日本語
0
0
0
0
めぐさん
めぐさん@Megusan1108·
@kaino5454 カイノさん😊 おかげさまですよ! 私も頑張ります👍
日本語
0
0
1
0
カイノ𝕏マン
カイノ𝕏マン@kaino5454·
@Meggie43777435 自分に合うやり方が見つかったようですね!! 頑張っていきましょう!☺☺
日本語
1
0
0
0
めぐさん
めぐさん@Megusan1108·
headタグ内に <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> で、 とりあえず縮小しないスマホ対応ができる。 #viewportの設定
日本語
0
0
2
0