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
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Novidades no Rails 5
Novidades no Rails 5
Amanda
July 02, 2016
More Decks by Amanda
See All by Amanda
Lessons Learned From an Elixir OTP Project
amandasposito
2
100
Aprendizados de um projeto Elixir OTP
amandasposito
4
640
SOLID - Dependency inversion principle
amandasposito
0
94
Como concorrência funciona em Elixir?
amandasposito
1
240
Programação Funcional & Elixir
amandasposito
3
130
Ecto, você sabe o que é ?
amandasposito
4
250
Rails Engines & RSpec
amandasposito
0
240
Elixir e Phoenix
amandasposito
3
600
Elixir em 5 minutos
amandasposito
1
100
Other Decks in Programming
See All in Programming
『コードを書く以外の』エンジニアリング〜課金基盤移行プロジェクト推進のためのTips4選
yuriko1211
0
530
SREの積み重ねがAI駆動開発のガードレールになった ― 7つの実践/SRE Guardrails The 7
tomoyakitaura
8
5k
Claude Team Plan導入・ガイド
tk3fftk
0
220
ローカルLLMでどこまでコードが書けるか -縮小版 / How much code can be written on a local LLM Shortened
kishida
2
200
任せる範囲はこう広がった / How the Scope of AI Delegation Has Expanded
nrslib
1
270
「正の参照」と 「負の導出」で組む ハーネスエンジニアリング
cottpan
1
150
【やさしく解説 設計編 #1】「ドメイン駆動」と「実装駆動」ってなに? 〜設計の考え方を、たとえ話で学ぼう〜
panda728
PRO
1
120
act1-costs.pdf
sumedhbala
0
240
SREは、MCPとSRE Agentをこう使え!
kazumax55
0
150
Laravel Boostに学ぶ、AIにPHPを書かせる技術 〜OSSの実装から蒸留するエージェント制御の王道〜
kentaroutakeda
3
510
【やさしく解説 設計編・中級 #4】ルールの寿命と、システムの年輪
panda728
PRO
2
160
PHP Application における Kubernetes 内 gRPC 通信
ganchiku
0
520
Featured
See All Featured
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.5k
How to build a perfect <img>
jonoalderson
1
5.8k
Test your architecture with Archunit
thirion
1
2.3k
Writing Fast Ruby
sferik
630
63k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
350
Visualization
eitanlees
152
17k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Fireside Chat
paigeccino
42
4k
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/