Difference between Active Model, Active Record and Active Resource
Rails 3 is designed with modularity in mind. Each module has its own purpose and functionality. ActiveModel: This component was created in Rails 3. They took all the model related parts that did not have a database requirement of Rails 2 ActiveRecord and moved it into ActiveModel. So ActiveModel includes things like validations. More information: … Read more