SlideShare a Scribd company logo
What’s New In Rails 4.2
Creston Jamison
Ruby Tree Software
Active Job / ActionMailer
● Adapter layer on top of queuing systems
● Supports: Delayed Job, Resque, Sidekiq,
queue_classic, etc.
● ActionMailer now uses Active Job to support
the deliver_later method (also deliver_now)
● GlobalID library allows unique identification
of a model instance
Adequate Record
● Caching in ActiveRecord resulting in up to a
2X speed boost
● Applies to these types of queries:
o Post.find(id)
o Post.find_by_name(name)
o Post.find_by(name: name)
Web Console
Web based console right on an exception page
in the development environment.
Foreign Keys
● DB Foreign Key support in migrations
● Only supported by the postgresql and mysql
db adapters
● Less orphaned records!
respond_with / Class respond_to
● Moved out of rails and to the responders
gem
HTML Sanitizer
● New and based upon Loofah and Nokogiri
● Smoothest Rails migration yet
● Although, inserts are fairly slow . . .
● 5.5 msec response time to a 7.5 msec
response time (time spent in Ruby according
to New Relic)
My Experiences

More Related Content

PDF
Presto Testing Tools: Benchto & Tempto (Presto Boston Meetup 10062015)
Matt Fuller
 
PPTX
Linq To XML Overview
Dale Hawthorne
 
PPTX
Java Release Model (on Scala Matsuri)
なおき きしだ
 
PDF
Ndb cluster 80_requirements
mikaelronstrom
 
PDF
Ndb cluster 80_use_cases
mikaelronstrom
 
PPTX
Is It Fast? : Measuring MongoDB Performance
Tim Callaghan
 
PDF
Ndb cluster 80_ycsb_mem
mikaelronstrom
 
PPTX
ELK at LinkedIn - Kafka, scaling, lessons learned
Tin Le
 
Presto Testing Tools: Benchto & Tempto (Presto Boston Meetup 10062015)
Matt Fuller
 
Linq To XML Overview
Dale Hawthorne
 
Java Release Model (on Scala Matsuri)
なおき きしだ
 
Ndb cluster 80_requirements
mikaelronstrom
 
Ndb cluster 80_use_cases
mikaelronstrom
 
Is It Fast? : Measuring MongoDB Performance
Tim Callaghan
 
Ndb cluster 80_ycsb_mem
mikaelronstrom
 
ELK at LinkedIn - Kafka, scaling, lessons learned
Tin Le
 

What's hot (20)

PDF
JavaCro'14 - Using WildFly core to build high performance web server – Tomaž ...
HUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
 
PDF
Jakarta EE 8 on JDK17
Rudy De Busscher
 
PPT
File System On Steroids
Jukka Zitting
 
PPT
Design and architecture of Jackrabbit
Jukka Zitting
 
PPTX
Search and analyze your data with elasticsearch
Anton Udovychenko
 
PPTX
React Component in scala.js
Unfold UI
 
PDF
Basic terminologies for a developer
UC San Diego
 
PDF
Java10 and Java11 at JJUG CCC 2018 Spr
なおき きしだ
 
PPTX
Repository performance tuning
Jukka Zitting
 
ODP
A Step to programming with Apache Spark
Knoldus Inc.
 
PDF
Solr and ManifoldCF
Minoru Osuka
 
PDF
ELK Wrestling (Leeds DevOps)
Steve Elliott
 
PPTX
/path/to/content - the Apache Jackrabbit content repository
Jukka Zitting
 
PDF
Reactive Software Systems
Behrad Zari
 
PPTX
OSGifying the repository
Jukka Zitting
 
PDF
Migration from joc to jpc or choral
ChemAxon
 
PDF
JChem Microservices
ChemAxon
 
PDF
mogpres
Hiroshi Ono
 
PDF
M|18 How to use MyRocks with MariaDB Server
MariaDB plc
 
PDF
Logging in Scala
John Nestor
 
JavaCro'14 - Using WildFly core to build high performance web server – Tomaž ...
HUJAK - Hrvatska udruga Java korisnika / Croatian Java User Association
 
Jakarta EE 8 on JDK17
Rudy De Busscher
 
File System On Steroids
Jukka Zitting
 
Design and architecture of Jackrabbit
Jukka Zitting
 
Search and analyze your data with elasticsearch
Anton Udovychenko
 
React Component in scala.js
Unfold UI
 
Basic terminologies for a developer
UC San Diego
 
Java10 and Java11 at JJUG CCC 2018 Spr
なおき きしだ
 
Repository performance tuning
Jukka Zitting
 
A Step to programming with Apache Spark
Knoldus Inc.
 
Solr and ManifoldCF
Minoru Osuka
 
ELK Wrestling (Leeds DevOps)
Steve Elliott
 
/path/to/content - the Apache Jackrabbit content repository
Jukka Zitting
 
Reactive Software Systems
Behrad Zari
 
OSGifying the repository
Jukka Zitting
 
Migration from joc to jpc or choral
ChemAxon
 
JChem Microservices
ChemAxon
 
mogpres
Hiroshi Ono
 
M|18 How to use MyRocks with MariaDB Server
MariaDB plc
 
Logging in Scala
John Nestor
 
Ad

Similar to What's New In Rails 4.2 (20)

PDF
Rails 5 subjective overview
Jan Berdajs
 
PPT
[Srijan Wednesday Webinar] Rails 5: What's in It for Me?
Srijan Technologies
 
PPTX
Exploring Ruby on Rails and PostgreSQL
Barry Jones
 
PPT
Ruby On Rails
Gautam Rege
 
PDF
What’s New in Rails 5.0?
Unboxed
 
PDF
The Current State of Asynchronous Processing With Ruby
mattmatt
 
PDF
Rails 3 : Cool New Things
Y. Thong Kuah
 
PDF
New features in Rails 6 - Nihad Abbasov (RUS) | Ruby Meditation 26
Ruby Meditation
 
PDF
Rails 5 – most effective features for apps upgradation
Andolasoft Inc
 
PPTX
Ruby On Rails Intro
Sarah Allen
 
PDF
What's new in ruby on rails 4
Silvio Relli
 
PDF
Lessons Learnt in 2009
pratiknaik
 
ZIP
Message Queues in Ruby - An Overview
Pradeep Elankumaran
 
PDF
TorqueBox for Rubyists
bobmcwhirter
 
PDF
What's new in Rails 4
Lucas Caton
 
PDF
RubyEnRails2007 - Dr Nic Williams - Keynote
Dr Nic Williams
 
DOC
Rails interview questions
Durgesh Tripathi
 
PDF
Ruby 4.0 To Infinity and Beyond at Ruby Conference Kenya 2017 by Bozhidar Batsov
Michael Kimathi
 
PPTX
12 Introduction to Rails
Deepak Hagadur Bheemaraju
 
PDF
Ruby On Rails
Balint Erdi
 
Rails 5 subjective overview
Jan Berdajs
 
[Srijan Wednesday Webinar] Rails 5: What's in It for Me?
Srijan Technologies
 
Exploring Ruby on Rails and PostgreSQL
Barry Jones
 
Ruby On Rails
Gautam Rege
 
What’s New in Rails 5.0?
Unboxed
 
The Current State of Asynchronous Processing With Ruby
mattmatt
 
Rails 3 : Cool New Things
Y. Thong Kuah
 
New features in Rails 6 - Nihad Abbasov (RUS) | Ruby Meditation 26
Ruby Meditation
 
Rails 5 – most effective features for apps upgradation
Andolasoft Inc
 
Ruby On Rails Intro
Sarah Allen
 
What's new in ruby on rails 4
Silvio Relli
 
Lessons Learnt in 2009
pratiknaik
 
Message Queues in Ruby - An Overview
Pradeep Elankumaran
 
TorqueBox for Rubyists
bobmcwhirter
 
What's new in Rails 4
Lucas Caton
 
RubyEnRails2007 - Dr Nic Williams - Keynote
Dr Nic Williams
 
Rails interview questions
Durgesh Tripathi
 
Ruby 4.0 To Infinity and Beyond at Ruby Conference Kenya 2017 by Bozhidar Batsov
Michael Kimathi
 
12 Introduction to Rails
Deepak Hagadur Bheemaraju
 
Ruby On Rails
Balint Erdi
 
Ad

Recently uploaded (20)

PDF
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
PDF
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
PDF
lesson-2-rules-of-netiquette.pdf.bshhsjdj
jasmenrojas249
 
PPTX
GALILEO CRS SYSTEM | GALILEO TRAVEL SOFTWARE
philipnathen82
 
PPTX
TRAVEL APIs | WHITE LABEL TRAVEL API | TOP TRAVEL APIs
philipnathen82
 
PPTX
Presentation about Database and Database Administrator
abhishekchauhan86963
 
PPTX
The-Dawn-of-AI-Reshaping-Our-World.pptxx
parthbhanushali307
 
PPTX
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
PDF
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
PDF
49785682629390197565_LRN3014_Migrating_the_Beast.pdf
Abilash868456
 
PPTX
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
PDF
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
PDF
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
DOCX
Can You Build Dashboards Using Open Source Visualization Tool.docx
Varsha Nayak
 
PDF
ChatPharo: an Open Architecture for Understanding How to Talk Live to LLMs
ESUG
 
PPTX
Presentation about variables and constant.pptx
safalsingh810
 
PDF
Applitools Platform Pulse: What's New and What's Coming - July 2025
Applitools
 
PDF
Bandai Playdia The Book - David Glotz
BluePanther6
 
PPTX
AI-Ready Handoff: Auto-Summaries & Draft Emails from MQL to Slack in One Flow
bbedford2
 
PDF
Exploring AI Agents in Process Industries
amoreira6
 
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
lesson-2-rules-of-netiquette.pdf.bshhsjdj
jasmenrojas249
 
GALILEO CRS SYSTEM | GALILEO TRAVEL SOFTWARE
philipnathen82
 
TRAVEL APIs | WHITE LABEL TRAVEL API | TOP TRAVEL APIs
philipnathen82
 
Presentation about Database and Database Administrator
abhishekchauhan86963
 
The-Dawn-of-AI-Reshaping-Our-World.pptxx
parthbhanushali307
 
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
49785682629390197565_LRN3014_Migrating_the_Beast.pdf
Abilash868456
 
Contractor Management Platform and Software Solution for Compliance
SHEQ Network Limited
 
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
Can You Build Dashboards Using Open Source Visualization Tool.docx
Varsha Nayak
 
ChatPharo: an Open Architecture for Understanding How to Talk Live to LLMs
ESUG
 
Presentation about variables and constant.pptx
safalsingh810
 
Applitools Platform Pulse: What's New and What's Coming - July 2025
Applitools
 
Bandai Playdia The Book - David Glotz
BluePanther6
 
AI-Ready Handoff: Auto-Summaries & Draft Emails from MQL to Slack in One Flow
bbedford2
 
Exploring AI Agents in Process Industries
amoreira6
 

What's New In Rails 4.2

  • 1. What’s New In Rails 4.2 Creston Jamison Ruby Tree Software
  • 2. Active Job / ActionMailer ● Adapter layer on top of queuing systems ● Supports: Delayed Job, Resque, Sidekiq, queue_classic, etc. ● ActionMailer now uses Active Job to support the deliver_later method (also deliver_now) ● GlobalID library allows unique identification of a model instance
  • 3. Adequate Record ● Caching in ActiveRecord resulting in up to a 2X speed boost ● Applies to these types of queries: o Post.find(id) o Post.find_by_name(name) o Post.find_by(name: name)
  • 4. Web Console Web based console right on an exception page in the development environment.
  • 5. Foreign Keys ● DB Foreign Key support in migrations ● Only supported by the postgresql and mysql db adapters ● Less orphaned records!
  • 6. respond_with / Class respond_to ● Moved out of rails and to the responders gem
  • 7. HTML Sanitizer ● New and based upon Loofah and Nokogiri
  • 8. ● Smoothest Rails migration yet ● Although, inserts are fairly slow . . . ● 5.5 msec response time to a 7.5 msec response time (time spent in Ruby according to New Relic) My Experiences