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
87
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
48
Aprendizados de um projeto Elixir OTP
amandasposito
4
440
SOLID - Dependency inversion principle
amandasposito
0
60
Como concorrência funciona em Elixir?
amandasposito
1
210
Programação Funcional & Elixir
amandasposito
3
110
Ecto, você sabe o que é ?
amandasposito
4
220
Rails Engines & RSpec
amandasposito
0
200
Elixir e Phoenix
amandasposito
3
530
Elixir em 5 minutos
amandasposito
1
80
Other Decks in Programming
See All in Programming
GoのIteratorに詳しくなってしまう
inatonix
1
210
Developer Joy == Developer Productivity (really!)
hollycummins
1
230
Rubyのobject_id
qnighy
6
1.3k
Hermes: Better Performance with Bytecode Translation (React Universe 2024)
tmikov2023
0
100
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
0
130
Scala におけるコンパイラエラーとの付き合い方
chencmd
2
430
上手に付き合うコンポーネントテスト
quramy
1
230
Rubyとクリエイティブコーディングの輪の広がり / The Growing Circle of Ruby and Creative Coding
chobishiba
1
270
What is Parser
yui_knk
9
4.2k
Crafting Cross-Platform Adventures: Building a Game Engine with Kotlin Multiplatform
dwursteisen
0
220
Ebitengineの1vs1ゲーム WebRTCの活用
ponyo877
0
380
Shinjuku.rb#95:心の技術書紹介
free_world21
1
110
Featured
See All Featured
Bash Introduction
62gerente
608
210k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
32k
The Straight Up "How To Draw Better" Workshop
denniskardys
230
130k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
1
55
Code Reviewing Like a Champion
maltzj
517
39k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
29
2.6k
Building Better People: How to give real-time feedback that sticks.
wjessup
359
19k
A Philosophy of Restraint
colly
202
16k
KATA
mclloyd
27
13k
[RailsConf 2023] Rails as a piece of cake
palkan
48
4.6k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
26
1.9k
Why Our Code Smells
bkeepers
PRO
334
56k
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/