adspace
Answer Posted / Ishwar Singh Gwal
ORM (Object-Relational Mapping) in Ruby on Rails is a layer that makes it easier to interact with databases by abstracting the SQL code and providing an intuitive API for developers. Active Record, which comes bundled with Rails, is one of the ORMs used in the framework. It allows you to work with database tables as if they were Ruby objects, making it simpler to write database queries and perform CRUD (Create, Read, Update, Delete) operations.nnActive Record automatically generates SQL queries based on your model classes and maps the query results to Ruby objects. This enables developers to focus on writing application logic rather than dealing with low-level database details.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers