Tell us what are benefits of using Active Record as opposed to raw SQL queries?
Submitted by: MuhammadHere are the benefits:
☛ it's really easy to go wrong during writing SQL queries
☛ each different type of database usually has a slightly different flavour of SQL, so it could be really painful if, during work on a big app, you decide to switch to a different database
☛ using Active Record reduces code significantly and makes it easier to read
☛ using Active Record makes common operations simpler and easier than writing your own SQL statements
Submitted by: Muhammad
☛ it's really easy to go wrong during writing SQL queries
☛ each different type of database usually has a slightly different flavour of SQL, so it could be really painful if, during work on a big app, you decide to switch to a different database
☛ using Active Record reduces code significantly and makes it easier to read
☛ using Active Record makes common operations simpler and easier than writing your own SQL statements
Submitted by: Muhammad
Read Online Ruby on Rails Developer Job Interview Questions And Answers
Top Ruby on Rails Developer Questions
☺ | What is RVM? |
☺ | What is Rails Scaffolding? |
☺ | Explain me what Are The Components Defined In The Model From Mvc Architecture? |
☺ | Please explain request/response cycle? |
☺ | Explain what’s different between ActiveRecord::Relation’s count, length and size methods? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |