Sha256: b426ef49194eeb230d9047ce4543f4447275e08b3b9187a30f894aff8317d43f

Contents?: true

Size: 605 Bytes

Versions: 2

Compression:

Stored size: 605 Bytes

Contents

# ActiveRecordScopingWithAssoc

Merge scoping to associations in the same way as activerecord5.

## Dependencies

* ruby 2.5+
* activerecord 6.0

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'activerecord_scoping_with_assoc'
```

Then execute:

    $ bundle

## Usage

```ruby
Klass.where(...).scoping_with_assoc do
  ...
end
```

## Contributing

Bug reports and pull requests are welcome at https://github.com/kanety/activerecord_scoping_with_assoc.

## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activerecord_scoping_with_assoc-0.1.1 README.md
activerecord_scoping_with_assoc-0.1.0 README.md