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
99
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
81
Aprendizados de um projeto Elixir OTP
amandasposito
4
590
SOLID - Dependency inversion principle
amandasposito
0
81
Como concorrência funciona em Elixir?
amandasposito
1
230
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
570
Elixir em 5 minutos
amandasposito
1
93
Other Decks in Programming
See All in Programming
Deno Tunnel を使ってみた話
kamekyame
0
270
Jetpack XR SDKから紐解くAndroid XR開発と技術選定のヒント / about-androidxr-and-jetpack-xr-sdk
drumath2237
1
200
Claude Codeの「Compacting Conversation」を体感50%減! CLAUDE.md + 8 Skills で挑むコンテキスト管理術
kmurahama
1
670
TerraformとStrands AgentsでAmazon Bedrock AgentCoreのSSO認証付きエージェントを量産しよう!
neruneruo
4
2k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
470
Python札幌 LT資料
t3tra
7
1.1k
愛される翻訳の秘訣
kishikawakatsumi
3
350
gunshi
kazupon
1
120
PC-6001でPSG曲を鳴らすまでを全部NetBSD上の Makefile に押し込んでみた / osc2025hiroshima
tsutsui
0
200
perlをWebAssembly上で動かすと何が嬉しいの??? / Where does Perl-on-Wasm actually make sense?
mackee
0
230
Kotlin Multiplatform Meetup - Compose Multiplatform 외부 의존성 아키텍처 설계부터 운영까지
wisemuji
0
140
はじめてのカスタムエージェント【GitHub Copilot Agent Mode編】
satoshi256kbyte
0
110
Featured
See All Featured
Ruling the World: When Life Gets Gamed
codingconduct
0
110
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
First, design no harm
axbom
PRO
1
1.1k
Automating Front-end Workflow
addyosmani
1371
200k
Site-Speed That Sticks
csswizardry
13
1k
Building Applications with DynamoDB
mza
96
6.9k
Darren the Foodie - Storyboard
khoart
PRO
0
2k
Believing is Seeing
oripsolob
0
16
The Art of Programming - Codeland 2020
erikaheidi
56
14k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.7k
Highjacked: Video Game Concept Design
rkendrick25
PRO
0
260
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/