Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Meguro.rb #15 LT資料
Search
tsutomu chikuba
May 24, 2018
Programming
35
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Meguro.rb #15 LT資料
Rails(プログラミング)初心者
FAQから学ぶ何か
tsutomu chikuba
May 24, 2018
More Decks by tsutomu chikuba
See All by tsutomu chikuba
いよいよPHPerもリーンで行こう(再)
tchikuba
0
2.2k
Other Decks in Programming
See All in Programming
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
0
510
dotNET_vulnclicker_intro.pdf
deka_morita
0
140
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2.2k
sbt 2.0: takeoff
eed3si9n
0
160
最近”作らせてる” ローカルAIアプリの話
akit37
0
470
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8.5k
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
1
440
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
170
パスワード再設定メールのURLについて知っておこう
uyuki234
0
160
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
280
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
28
33k
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
630
Featured
See All Featured
Designing for Timeless Needs
cassininazir
1
530
Prompt Engineering for Job Search
mfonobong
0
520
The Curse of the Amulet
leimatthew05
3
16k
Facilitating Awesome Meetings
lara
57
7.2k
Google's AI Overviews - The New Search
badams
0
1.6k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
Faster Mobile Websites
deanohume
310
32k
Statistics for Hackers
jakevdp
799
230k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
520
Transcript
Meguro.rb#15 LT Railsʢϓϩάϥϛϯάʣॳ৺ऀ FAQ͔ΒֶͿԿ͔ 2018/05/24() tchikuba
Profile SNS: tchikuba Blog: https:// tchikuba.github.io/ Company: Livesense Ruby: 5.years.ago
None
None
None
ॳॻ੶ ແࣄग़൛ 2018/01/26ൃച
2 ແࣄग़൛ 2018/03/09ൃച
None
gemใ͍ͩ͘͞m(_ _)m
ΈΜͳେ͖ ϙΠϯτɾΞϯυɾϑΟΪϡΞ
None
ຯʹਓੜॳgem ※FIXME: Ϋιίʔυ
ຊ
None
ϓϩάϥϛϯάߨࢣ ͡Ί·ͨ͠
ಘΒΕֶͨͼΛڞ༗ ※͋Μ·Γίʔυग़͖ͯ·ͤΜm(_ _)m
࣭ͷछྨ
Q. git diffΔͱͨΒ͕ࠩ…
A. σΟϨΫτϦ͕ҧ͍·͢Ͷɻ LinuxγεςϜʹ͓͍ͯͲͷσΟϨΫτϦͰ࡞ۀ ͢Δ͔ॏཁͰ͢ͷͰ(ry
Q. error͕ग़ΔΜͰ͚͢Ͳ…
None
None
None
[1] pry(main)> buildings = Building.find(1) [2] pry(main)> building.rooms NameError: undefined
local variable or method `building' for main:Object
A. (ry
Q. partialݺͼग़͠ݩΞϯείͳ͍ ͷʹɺϑΝΠϧ໊͋ΔͷԿނʁ ▪ݺͼग़͠ݩ render ‘footer’ ▪ϑΝΠϧ໊ app/views/layouts/_footer.html.erb
A. This is the Rails way.
Q. ΦϦδφϧαʔϏε։ൃதͳΜͰ͕͢ɺ HerokuͰϧʔτυϝΠϯ͍͍ͨΜͰ͚͢Ͳ ՄೳͰ͠ΐ͏͔ʁ
A. SSLߟྀͱ͔౿·͑Δͱجຊwwwαϒυϝӡ༻ָ͕ɻ SSLͩͱ༗ྉdynoʢ࠷݄҆$7ʣݶఆɻ ҰԠCloudflare͑શແྉͰ ϧʔτυϝΠϯʴSSLͰ͑·͢ɻ ʲFYIʳ https://qiita.com/serinuntius/items/f7f08b2221f5ad068f5d
Q. CGMαʔϏε։ൃதͰ͢ɻ Ϣʔβʔͷ࣭ʢquestionsʣʹ ճʢanswersʣ͕Ͱ͖ɺ ࣗҎ֎ͷճʹථʢvotesʣ͕ Ͱ͖ΔγεςϜͰ͢ɻ ճͷථϥϯΩϯάΛ ूܭ͢ΔʹActiveRecordͰͲͷΑ͏ʹ දݱͰ͖·͔͢ʁ
A. ͜Μͳײ͡ (ଟ) User.joins(answers: votes) .group(‘users.id’) .order(‘count_all desc’).count
࣭Λྨͯ͠ΈΔ ୯७ͳΤϥʔܥɻݟΕେ͙͢ʹ͔Δɻ ཧղΛਂΊΔܥɻϋοͱ͢Δ࣭͋Δɻ ΑΓ࣮ફܥɻճ͕͍͕͋͠Δɻ
ͬ͘͟Γ͜Μͳൺ ※ࣾൺ Τϥʔܥ ࣮ફܥ ཧղܥ
·ͱΊ ʮڭ͑Δʯߦҝͷ͏ͪɺਓ͕Δ͖͜ͱͱਓ͕Βͳͯ͘ ࡁΉ͜ͱʢΈͰղܾͰ͖Δ͜ͱʣͷΈ͚͕ඞཁ ຊ࣭ΛΑΓཧղ͢Δ͜ͱ͕ඞཁͳͷͰɺͦ͜ΛͲ͏͑Δ͔ ڭ͑ΔଆͷεΩϧʹґଘ͢Δͱ͜Ζ͕େ͖͍ ʮڭҭʯͬͯۀͷׂʹʢܦࡁతʹʣใΘΕͳ͍ࣄʢͰ χʔζ͋Δʣ RubyͷΛ͛Δ׆ಈେม͚ͩͲҙٛ͋ΔΜ͡Όͳ͍ ͔
https://speakerdeck.com/kakakakakku/tips- for-teaching-rails
Meguro.rb#15 LT Railsʢϓϩάϥϛϯάʣॳ৺ऀ FAQ͔ΒֶͿԿ͔ 2018/05/24() tchikuba