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
More Decks by Takayuki Matsubara
See All by Takayuki Matsubara
Rails Web Development with AWS Lambda
ma2gedev
0
360
Coding Challenge Advent of Code 2019
ma2gedev
0
180
Developer Experience in GraphQL Schema-first Development
ma2gedev
0
2.4k
Dependency Inversion Principle in Keyboard Firmware
ma2gedev
0
580
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
210
Other Decks in Programming
See All in Programming
thread_parallel_with_free-threaded_Python_and_NumPy.pdf
riku_sakamoto
0
370
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
410
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.6k
WebRTC映像をAirPlayに対応させる挑戦.pdf
monolithic_adam
0
330
テストを司るデーモンに会いに行く 〜隔離した仮想マシンでテストを通すまで〜
h1d3mun3
1
600
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
8
5.2k
iOSDCのペンライトを自動制御したい!
akkeylab
0
240
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
200
Streamlitで実現する自然言語データアプリ開発
ayumu_yamaguchi
1
330
ゲームコントローラやキーボードのファームウェアをSwiftで書く
kishikawakatsumi
1
270
mrbgem 三角測量 開発
ogom
0
150
JRuby: Past, Present, and Future
headius
0
210
Featured
See All Featured
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
250
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
290
WENDY [Excerpt]
tessaabrams
14
40k
Raft: Consensus for Rubyists
vanstee
142
7.7k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
290
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
510
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
3
4.3k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
410
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
Abbi's Birthday
coloredviolet
4
10k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Transcript
!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