Delegating ActiveRecord scopes

In Ruby on Rails, access to the database is by default controlled through the ActiveRecord ORM. ActiveRecord operates on Relation objects that contain the configuration for an SQL query that will be executed at a later time. Relation objects have the ability to copy their internal configuration over to a new Relation object with new options in order to further customize those queries.
Delegating ActiveRecord scopes #ruby #rubydeveloper #rubyonrails #activerecord https://rubyonrails.ba/single/delegating-activerecord-scopes

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles