Explain what is Rails Active Record in Ruby on Rails?

Technology CommunityCategory: Ruby on RailsExplain what is Rails Active Record in Ruby on Rails?
VietMX Staff asked 3 years ago

Rails active record is the Object/Relational Mapping (ORM) layer supplied with Rails. It follows the standard ORM model as

  • Table map to classes
  • Rows map to objects
  • Columns map to object attributes