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
try rails 4
Search
Takayuki Matsubara
May 22, 2013
Programming
2.6k
5
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
try rails 4
M3 Tech Talk #1 2013/05/24
Takayuki Matsubara
May 22, 2013
Transcript
38 slides
!NBHF 5SZ3BJMT
(JU)VCNBHFEFW 5XJUUFS!NBHF
None
ճ͔͠ߦͬͯͳ͍͚Ͳ
ผ݅Ͱ͕͢ 3VCZ)JSPCBͰ-5͢Δ͜ͱʹͳΓ·͠ ͨ ΈΜͳԠื͢Ε͍͍ͱࢥ͏
ຊ
·ͩϦϦʔε͞Εͯ ͍ͳ͍ʂʂ̍ http://www.flickr.com/photos/anandham/4952020586/
͋ͱ͏গ͠ IUUQXFCMPHSVCZPOSBJMTPSH
3BJMTSD 3BJMTCFUBਓபײߴ͔ͬͨ
ରԠͨ͜͠ͱ SBJMTVQEBUFίϚϯυ࣮ߦɹ ৽ػೳͷҠߦ 4UBHJOHڥ
SBJMTVQEBUF
(FNpMF gem 'rails', '4.0.0.rc1' $ gem install -v 1.3.0 bundler
$ bundle update rails
SBJMTVQEBUF ͜ΕΛ࣮ߦͯ͠ͻͨ͢ΒࠩͱʹΒΊ ͬ͜ ඞཁͳͱ͜ΖΛϚʔδ͍ͯ͘͠ $ rake rails:update
DPPLJF 3BJMTॺ໊ վ͟ΜͰ͖ͳ͍͕؆୯ʹதΛݟ ΕΔ 3BJMT҉߸Խ EFGBVMU த؆୯ʹݟΔ͜ͱ͕Ͱ͖ͳ͍
DPPLJF DPOpHJOJUJBMJ[FSTTFDSFU@UPLFOSC 3BJMT .ZBQQ"QQMJDBUJPODPOpHTFDSFU@UPLFO 3BJMT .ZBQQ"QQMJDBUJPODPOpHTFDSFU@LFZ@CBTF
DPPLJF TFDSFU@UPLFOΛͭͭ͠ɺ TFDSFU@LFZ@CBTFΛఆٛ͢Δ͜ͱͰ 3BJMTͷDPPLJFʹࣗಈΞοϓάϨʔυ ͰݩʹΕͳ͍ͷͰΔલʹ֬ೝ see also: http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#action-pack
UVSCPMJOLT HFNΛίϝϯτΞτʂʂ ΞοϓάϨʔυ৻ॏʹ BMMMJOLTBSFUVSCPPOEFGBVMU ৽نϓϩδΣΫτͳΒɻɻɻ
৽ػೳҠߦ
4USPOH1BSBNFUFS BUUS@BDDFTTJCMF4USPOH1BSBNUFST Ϟσϧʹ༩͑Δύϥϝʔλͷ͕ί ϯτϩʔϥ
"DUJWF.PEFM.PEFM # Rails3 class SampleForm include ActiveModel::Conversion include ActiveModel::Validations extend
ActiveModel::Naming # লུ def persisted? return false end end
"DUJWF.PEFM.PEFM # Rails3 class SampleForm include ActiveModel::Conversion include ActiveModel::Validations extend
ActiveModel::Naming # লུ def persisted? return false end end # Rails4 Simple!! class SampleForm include ActiveModel::Model # লུ end
CFGPSFBGUFS@BDUJPO CFGPSF@pMUFSCFGPSF@BDUJPO BGUFS@pMUFSBGUFS@BDUJPO
͜͜·Ͱൺֱతॱௐ
4UBHJOHڥ
͋ͬͯΑ͔ͬͨ 4UBHJOH
͕̎ͭى͖ͨ
ಈ͔ͳ͍ ※ΩϟϓνϟΕͨͷͰ͕͢ɺ͜Μͳը໘ͩͬͨ
1BTTFOHFS ݪҼ3BJMT#BTF63*Λ͍ͬͯͨ͜ͱ 1BTTFOHFS͕ݹ͍"1*Λݺͼग़͠མͪ Δ ରࡦ3BDL#BTF63*Λ͏
ͭղܾ
"TTFUTυί͍ͬͨʁ http://www.flickr.com/photos/peterc8800/3394652160
"TTFUT͕࡞ΒΕ͍ͯͳ͍ ݪҼೋͭ Ұ༷ͭมߋ ͏ҰͭόάɻɻɻPS[
"TTFUTͷ༷มߋ WFOEPSBTTFUT MJCBTTFUTԼΛࢀর͠ ͳ͘ͳͬͨ ղܾࡦ্هʹஔ͍ͯͨ͠ϑΝΠϧ ΛBQQBTTFUTҠಈ͢Δ͜ͱ ·ͨDPOpHBTTFUTQSFDPNQJMFΛઃ ఆ See Also:
https://github.com/rails/rails/pull/7968
"TTFUTͷQSFDPNQJMFόά BQQBTTFUTͱ DPOpHBTTFUTQSFDPNQJMFͰରॲͨ͠ ͍ʂ ͕ɺDPOpHBTTFUTQSFDPNQJMF͕ແࢹ ͞ΕΔόά͕ɻɻɻ·͍ͩͬͯͳ͍ See Also:https://github.com/rails/sprockets-rails/pull/36
QSFDPNQJMF٧Μͩ
"TTFUT࡞ΒΕͳ͍ͷରॲ QSFDPNQJMFΘͳ͍ʂʂʂ ͕ٻΊΒΕΔڥͰͳ͔ͬͨͷͰ ͻͱ·ͣ͜ΕͰ ϦϦʔε·ͰʹΔͱ͍͍ͳ ଞਓͤ
ॴײ 3BJMTҎ߱ͳΒରԠͦ͜·Ͱ͠ ͘ͳ͍ ੵۃతʹਓபΛͱΓʹ͍͘͜ͱͰݟ͑ Δͷ͕͋Δ ͋ͬͯΑ͔ͬͨ4UBHJOH
ࢀߟ 8&# %#13&447PM 6QHSBEJOHUP3BJMT3BJMT$BTUT ެࣜɿ"(VJEFGPS6QHSBEJOH3VCZPO3BJMT 3BJMT;PNCJF0VUMBXT 6QHSBEJOHUP3BJMT
FOOOE
More Decks by Takayuki Matsubara
See All by Takayuki Matsubara
Rails Web Development with AWS Lambda
ma2gedev
0
370
Coding Challenge Advent of Code 2019
ma2gedev
0
190
Developer Experience in GraphQL Schema-first Development
ma2gedev
0
2.5k
Dependency Inversion Principle in Keyboard Firmware
ma2gedev
0
590
OSSの歩き方 / Walking with OSS
ma2gedev
10
2.7k
GraphQL 開発で必要になったこと / What we needed for GraphQL development
ma2gedev
0
1.3k
キーボードをカスタムしてプログラミング環境を良くした話 / Improved programming environment with customizing keybords
ma2gedev
0
1.4k
Translating "Erlang in Anger" with Erlang & Elixir community members
ma2gedev
0
3k
Dive into Elixir v1.6 Code Formatter
ma2gedev
1
220
Other Decks in Programming
See All in Programming
ローカルLLMの基本と近況 2611 / Local LLM basics and recent situation 2611
kishida
0
160
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
2
260
DroidKnights 2026 Android A2UI Jetpack Compose 기반의 안전한 AI UI 렌더링 - 박제창
itsmedreamwalker
1
230
私なりのハーネスエンジニアリング ~独自の言語処理系の開発を通して~
seosoft
0
200
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
310
学びを記事・スライド・Xへ高速展開する― AI-assisted Learning Loopで回すコンテンツ生成術
ochtum
0
210
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
290
Spec-Driven Development - Why Vaadin Is the Perfect Fit
simas
PRO
0
250
複数ドメインを一つのアプリに統合するFlutterの設計と運用_FlutterKaigi2026登壇資料(須永高弘)
takahirosunaga
0
180
Kawaiicon: Kubernetes, it's no longer cool, but let's secure it anyway!
barnbarn
0
130
AI Augmentation Techniques with Liberty
ivargrimstad
1
460
Python Lambdaにおけるテストしやすい設計とAI支援の活用 / Designing Testable Python Lambda Functions with AI
kitano_yuichi
1
320
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
72
12k
Code Review Best Practice
trishagee
74
20k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
The agentic SEO stack - context over prompts
schlessera
0
1k
Practical Orchestrator
shlominoach
192
12k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
630
Skip the Path - Find Your Career Trail
mkilby
1
290
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
560
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.8k
Odyssey Design
rkendrick25
PRO
3
940
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k