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
Novidades no Rails 5
Search
Amanda
July 02, 2016
Programming
0
96
Novidades no Rails 5
Novidades no Rails 5
Amanda
July 02, 2016
Tweet
Share
More Decks by Amanda
See All by Amanda
Lessons Learned From an Elixir OTP Project
amandasposito
2
69
Aprendizados de um projeto Elixir OTP
amandasposito
4
580
SOLID - Dependency inversion principle
amandasposito
0
74
Como concorrência funciona em Elixir?
amandasposito
1
220
Programação Funcional & Elixir
amandasposito
3
120
Ecto, você sabe o que é ?
amandasposito
4
240
Rails Engines & RSpec
amandasposito
0
220
Elixir e Phoenix
amandasposito
3
560
Elixir em 5 minutos
amandasposito
1
91
Other Decks in Programming
See All in Programming
Introducing RemoteCompose: break your UI out of the app sandbox.
camaelon
2
160
Vueのバリデーション、結局どれを選べばいい? ― 自作バリデーションの限界と、脱却までの道のり ― / Which Vue Validation Library Should We Really Use? The Limits of Self-Made Validation and How I Finally Moved On
neginasu
3
1.7k
Kotlinで実装するCPU/GPU 「協調的」パフォーマンス管理
matuyuhi
0
110
外接に惑わされない自システムの処理時間SLIをOpenTelemetryで実現した話
kotaro7750
0
130
Amazon Verified Permissions実践入門 〜Cedar活用とAppSync導入事例/Practical Introduction to Amazon Verified Permissions
fossamagna
2
110
フロントエンド開発のためのブラウザ組み込みAI入門
masashi
7
3.6k
Reactive Thinking with Signals and the Resource API
manfredsteyer
PRO
0
120
AIと人間の共創開発!OSSで試行錯誤した開発スタイル
mae616
2
830
pnpm に provenance のダウングレード を検出する PR を出してみた
ryo_manba
1
170
iOSでSVG画像を扱う
kishikawakatsumi
0
180
TransformerからMCPまで(現代AIを理解するための羅針盤)
mickey_kubo
7
5.8k
AsyncSequenceとAsyncStreamのプロポーザルを全部読む!!
s_shimotori
1
100
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
38
2.9k
The Cult of Friendly URLs
andyhume
79
6.6k
Building Applications with DynamoDB
mza
96
6.7k
The Pragmatic Product Professional
lauravandoore
36
7k
A better future with KSS
kneath
239
18k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Java REST API Framework Comparison - PWX 2021
mraible
34
8.9k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
Building a Scalable Design System with Sketch
lauravandoore
463
33k
Six Lessons from altMBA
skipperchong
29
4k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Leading Effective Engineering Teams in the AI Era
addyosmani
7
680
Transcript
RAILS 5 @ A M A N D A S
P O S I T O N O V I D A D E S N O
SUPORTE PA RA RUBY 2. 2. 2 OU +
INCREMENTA L GC Garbage Collector agora coleta symbols & reduz
o consumo de memória
DEPRECA TION A ND CLEA NUP Removida muita coisa marcada
como deprecated em versões anteriores do Rails
A CTIONMA ILER #deliver e #deliver! foram removidos
# OR Book.where('status = 1').or(Book.where('status = 3')) # => SELECT
* FROM books WHERE (status = 1) OR (status = 3)
# LEFT_ OUTER_ JOINS Author.left_outer_joins(:posts) Author.left_joins :posts, :comments SELECT "authors".*
FROM "authors" LEFT OUTER JOIN "posts" ON "posts"."author_id" = "authors"."id" LEFT OUTER JOIN "comments" ON "comments"."author_id" = "authors"."id"
BELONGS_ TO OBRIGA TÓRIO POR PA DRÃO
UUID COMO PRIMA RY KEY
None
EXECUÇÃO DE COMA NDOS DE RA KE COM RA ILS
RA ILS 5. 0 TA MBÉM VEM COM TURBOLINKS 5
RA ILS A PI $ rails new bluesoft-api --api
A CTIONCA BLE WebSockets com Rails "You must have redis
installed and running on the default port:6379 (or configure it in config/redis/cable.yml)." Default development server mudou de Webrick para Puma.
OBRIGA DA!
REFERÊNCIA S http://guides.rubyonrails.org/5_0_release_notes.html http://blog.michelada.io/whats-new-in-rails-5 http://weblog.rubyonrails.org/2016/6/30/Rails-5-0-final/ http://blog.bigbinary.com/categories/Rails-5 https://github.com/rails/actioncable-examples https://visualhunt.com/photo/10973/ https://visualhunt.com/photo/74023/