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
91
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
53
Aprendizados de um projeto Elixir OTP
amandasposito
4
480
SOLID - Dependency inversion principle
amandasposito
0
64
Como concorrência funciona em Elixir?
amandasposito
1
210
Programação Funcional & Elixir
amandasposito
3
110
Ecto, você sabe o que é ?
amandasposito
4
230
Rails Engines & RSpec
amandasposito
0
200
Elixir e Phoenix
amandasposito
3
540
Elixir em 5 minutos
amandasposito
1
81
Other Decks in Programming
See All in Programming
アクターシステムに頼らずEvent Sourcingする方法について
j5ik2o
4
260
コンテナをたくさん詰め込んだシステムとランタイムの変化
makihiro
1
130
menu基盤チームによるGoogle Cloudの活用事例~Application Integration, Cloud Tasks編~
yoshifumi_ishikura
0
110
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
250
range over funcの使い道と非同期N+1リゾルバーの夢 / about a range over func
mackee
0
110
Итераторы в Go 1.23: зачем они нужны, как использовать, и насколько они быстрые?
lamodatech
0
740
ソフトウェアの振る舞いに着目し 複雑な要件の開発に立ち向かう
rickyban
0
890
php-conference-japan-2024
tasuku43
0
250
return文におけるstd::moveについて
onihusube
1
1.1k
103 Early Hints
sugi_0000
1
230
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
200
LLM Supervised Fine-tuningの理論と実践
datanalyticslabo
4
1.1k
Featured
See All Featured
Thoughts on Productivity
jonyablonski
67
4.4k
Agile that works and the tools we love
rasmusluckow
328
21k
Designing Experiences People Love
moore
138
23k
The Invisible Side of Design
smashingmag
298
50k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.4k
A Modern Web Designer's Workflow
chriscoyier
693
190k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
95
17k
Six Lessons from altMBA
skipperchong
27
3.5k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
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/