what are benefits of using active record as opposed to raw sql queries?



what are benefits of using active record as opposed to raw sql queries?..

Answer / Laxmi Kant

Active Record provides an ORM (Object Relational Mapper) that abstracts the database interactions, making it easier to work with data. It also offers features like validation, associations, and transaction management that are not available when using raw SQL queries.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby on Rails Interview Questions

what are the positive aspects of Rails?

1 Answers  


how you can run Rails application without creating databases?

1 Answers  


What are generators in ruby on rails?

1 Answers  


Tell me what is rails migration?

1 Answers  


Explain me what is the role of rails controller?

1 Answers  


Explain me what is the function of orm in ruby on rails?

1 Answers  


List out the few features of Ruby?

1 Answers  


What are rails validation used for?

1 Answers  


How to serialize data with yaml?

1 Answers  


what are some advantages of using ruby on rails?

1 Answers  


Difference between argument and parameter in ruby on rails ?

1 Answers  


How you run your rails application without creating databases?

1 Answers  


Categories