Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Meguro.rb #15 LT資料
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
tsutomu chikuba
May 24, 2018
Programming
0
31
Meguro.rb #15 LT資料
Rails(プログラミング)初心者
FAQから学ぶ何か
tsutomu chikuba
May 24, 2018
Tweet
Share
More Decks by tsutomu chikuba
See All by tsutomu chikuba
いよいよPHPerもリーンで行こう(再)
tchikuba
0
2.2k
Other Decks in Programming
See All in Programming
AI 開発合宿を通して得た学び
niftycorp
PRO
0
130
Goの型安全性で実現する複数プロダクトの権限管理
ishikawa_pro
2
360
Windows on Ryzen and I
seosoft
0
300
AHC061解説
shun_pi
0
380
TipKitTips
ktcryomm
0
170
Understanding Apache Lucene - More than just full-text search
spinscale
0
120
Agentic AI: Evolution oder Revolution
mobilelarson
PRO
0
180
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
150
OTP を自動で入力する裏技
megabitsenmzq
0
110
オブザーバビリティ駆動開発って実際どうなの?
yohfee
3
860
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
2.4k
LangChain4jとは一味違うLangChain4j-CDI
kazumura
1
190
Featured
See All Featured
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
140
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
680
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
130
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
83
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
130
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
170
Building the Perfect Custom Keyboard
takai
2
710
Mobile First: as difficult as doing things right
swwweet
225
10k
GraphQLの誤解/rethinking-graphql
sonatard
75
11k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
220
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
67
37k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
790
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