Module: Archon::PowerOverwhelming

Extended by:
ActiveSupport::Concern
Defined in:
lib/archon/power_overwhelming.rb

Overview

PowerOverwhelming

Packs several powerful convenient methods for ActiveRecord models. You can add them like this:

ActiveRecord >= 5.x

```
# app/models/application_record.rb
class ApplicationRecord < ActiveRecord::Base
  self.abstract_class = true
  include Archon::PowerOverwhelming
end

“‘

ActiveRecord >= 4.2.x, < 5.x

```
# initializers/archon.rb
ActiveRecord::Base.send :include, Archon::PowerOverwhelming
```

Defined Under Namespace

Modules: ClassMethods