class User < ApplicationRecord
acts_as_scope
end
Add this line to your application's Gemfile:
gem 'acts_as_scope'
And then execute:
$ bundle
Or install it yourself as:
$ gem install acts_as_scope
Bug reports and pull requests are welcome on GitHub at https://github.com/invisiblehats/invisible_standards. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the ClassName project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.
- Myk Klemme - @mklemme Lead developer and maintainer for this project.
- Invisible Hat Ventures - @invisiblehats A California-based idea incubator