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
100
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
94
Aprendizados de um projeto Elixir OTP
amandasposito
4
620
SOLID - Dependency inversion principle
amandasposito
0
86
Como concorrência funciona em Elixir?
amandasposito
1
230
Programação Funcional & Elixir
amandasposito
3
130
Ecto, você sabe o que é ?
amandasposito
4
240
Rails Engines & RSpec
amandasposito
0
230
Elixir e Phoenix
amandasposito
3
580
Elixir em 5 minutos
amandasposito
1
97
Other Decks in Programming
See All in Programming
受け入れテスト駆動開発(ATDD)×AI駆動開発 AI時代のATDDの取り組み方を考える
kztakasaki
2
550
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
880
ポーリング処理廃止によるイベント駆動アーキテクチャへの移行
seitarof
3
940
CSC307 Lecture 15
javiergs
PRO
0
240
GC言語のWasm化とComponent Modelサポートの実践と課題 - Scalaの場合
tanishiking
0
110
AI時代のソフトウェア開発でも「人が仕様を書く」から始めよう-医療IT現場での実践とこれから
koukimiura
0
140
「抽象に依存せよ」が分からなかった新卒1年目の私が Goのインターフェースと和解するまで
kurogenki
0
100
CDIの誤解しがちな仕様とその対処TIPS
futokiyo
0
200
Cyrius ーLinux非依存にコンテナをネイティブ実行する専用OSー
n4mlz
0
130
Unity6.3 AudioUpdate
cova8bitdots
0
120
AI活用のコスパを最大化する方法
ochtum
0
130
米国のサイバーセキュリティタイムラインと見る Goの暗号パッケージの進化
tomtwinkle
2
550
Featured
See All Featured
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.1k
Paper Plane
katiecoart
PRO
0
48k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
67
37k
How to make the Groovebox
asonas
2
2k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
290
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Bash Introduction
62gerente
615
210k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
150
Navigating Team Friction
lara
192
16k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
300
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
68
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
630
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/