Rails 5

Rails 5

Rails 5 Active Record attributes API

Rails 5 makes the attribute API public to converts the attribute value to an appropriate Ruby type.

Read
Rails 5

What happened to ActiveRecord::Base in Rails 5?

In Rails 5, ActiveRecord models no longer inherit from ActiveRecord::Base. ActiveRecord models now inherit from Application Record.

Read