Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The hidden features of ActiveRecord

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.

The hidden features of ActiveRecord

Intro to some of the lesser known features in activerecord and new features in Rails 5 activerecord. A Tuesday-talk at Cybrilla Technologies.

Avatar for Tejas Bubane

Tejas Bubane

October 20, 2015
Tweet

More Decks by Tejas Bubane

Other Decks in Programming

Transcript

  1. REFERENCES 1. ENUM: http://edgeapi.rubyonrails.org/classes/ActiveRecord/Enum.html 2. Optimistic Locking: http://api.rubyonrails.org/classes/ActiveRecord/Locking/ Optimistic.html 3.

    Dirty Tracking: http://api.rubyonrails.org/classes/ActiveModel/Dirty.html 4. Future Rails 5: https://medium.com/evil-martians/the-rails-5-post-9c76dbac8fc