https://github.com/coderberry/arel_assist
ArelAssist is to ArelHelpers as Robin is to Batman
https://github.com/coderberry/arel_assist
arel sql
Last synced: 5 months ago
JSON representation
ArelAssist is to ArelHelpers as Robin is to Batman
- Host: GitHub
- URL: https://github.com/coderberry/arel_assist
- Owner: coderberry
- License: mit
- Created: 2022-09-30T20:50:43.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-30T23:01:03.000Z (almost 3 years ago)
- Last Synced: 2025-02-12T17:53:21.511Z (5 months ago)
- Topics: arel, sql
- Language: Ruby
- Homepage:
- Size: 23.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Arel Assist
[](https://badge.fury.io/rb/arel_assist)
[](https://gitpod.io/#https://github.com/coderberry/arel_assist)
[](https://codeclimate.com/github/coderberry/arel_assist/maintainability)
[](https://codecov.io/gh/coderberry/arel_assist)
[](https://github.com/coderberry/arel_assist/actions/workflows/tests.yml)
[](https://github.com/coderberry/arel_assist/actions/workflows/codeql-analysis.yml)
[](https://github.com/coderberry/arel_assist/actions/workflows/standardrb.yml)
[](https://rubygems.org/gems/arel_assist)
[](https://rubygems.org/gems/arel_assist)
[](https://github.com/testdouble/standard)
[](https://twitter.com/coderberry)Arel helper methods to assist in creating clean, sexy database queries using ActiveRecord and Arel.
## Installation
Install the gem and add to the application's Gemfile by executing:
```bash
$ bundle add arel_assist
```If bundler is not being used to manage dependencies, install the gem by executing:
```bash
$ gem install arel_assist
```## Usage
```ruby
require "arel_assist"
```TODO: Coming soon
## Requirements
Requires ActiveRecord >= 6, < 8
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/arel_assist. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/arel_assist/blob/main/CODE_OF_CONDUCT.md).
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
## Code of Conduct
Everyone interacting in the ArelAssist project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/arel_assist/blob/main/CODE_OF_CONDUCT.md).