Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/instructure/activerecord-pg-extensions
Useful Postgres-specific methods for ActiveRecord
https://github.com/instructure/activerecord-pg-extensions
Last synced: 7 days ago
JSON representation
Useful Postgres-specific methods for ActiveRecord
- Host: GitHub
- URL: https://github.com/instructure/activerecord-pg-extensions
- Owner: instructure
- License: mit
- Created: 2021-06-07T15:37:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-02T20:04:45.000Z (3 months ago)
- Last Synced: 2024-10-03T03:48:09.582Z (about 1 month ago)
- Language: Ruby
- Size: 73.2 KB
- Stars: 1
- Watchers: 7
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# ActiveRecord PG Extensions
This gem includes a number of extensions to Rails' regular PostgreSQLAdapter to enable access to
more Postgres specific features.## Installation
Add this line to your application's Gemfile:
```ruby
gem 'activerecord-pg-extensions'
```
## UsageSee individual classes for available methods.
## Development
Development requires Docker. After checking out the repo, run `docker compose build` to install dependencies.
`docker compose run --rm app rake` will run both tests and Rubocop.
If using Visual Studio Code, simply click "Reopen in Container" when it pops up.
To release a new version, update the version number in `version.rb`, and then run `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/instructure/activerecord-pg-extensions.
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).