Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What's the difference between active record and ActiveRecord ?

user-image
Question ajoutée par Adel Ezat Fawzy Ellozy , Webdeveloper. , Saudi Arabian Maritiem Sports Federation
Date de publication: 2017/01/28
Babar Rehman
par Babar Rehman , Student Job , Vertical Cloud Solutions

ActiveRecord Is ruby on rails module that is an interface to the database. Makes programmers life easy by giving functions like find instead of using sql where.

 

As for active record i think you mean the current database entity being worked on. There is no such specific terminology 'Active record' is associated with

Tendai Mutunhire
par Tendai Mutunhire , Big Data and Software Consultant , Hackishword Software

ActiveRecord is a Rails module for managing database entities in a programmer-friendly way. What you refer to as "active record" could be a particular record, say, in a database, that is currently "active", perhaps because a user has selected that record or some such way of selection.

Md Mahmudur  Rahman
par Md Mahmudur Rahman , Ruby Developer , Framgia Vietnam

In Ruby on Rails, ActiveRecord is an ORM framework. We use it to map real world object to database table without using the SQL directly. 

Amr Samir
par Amr Samir , Supervisor , Almokhtar

There are no difference

you might meant ActiveRecord and ActiveModel

ActiveRecord: Main function is associates a class to the database

while ActiveModel: includes things like validations

Best wishes

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?