Comments (3)
I don't know if this is of interest to @pawurb, but I'm going to extract a kernel from rails-pg-extras so that the same stuff can be used with raw Ruby+PG projects (like Eventide). I've set aside some time to hack on this today. It will be built with considerations for putting a Rails wrapper around it if wanted. Obviously, I'm bogarting this thread to talk about extraneous stuff, but figured it would be relevant.
I mentioned on Twitter that rails-pg-extras is such a nice, clean project that building stuff based on it is pretty straight forward. It's super nice to drop into a new codebase and not find a mess (or, i just suck at reading other people's stuff). It's so nice to see someone take real care with their open source code that it deserves praise and recognition!
from rails-pg-extras.
Keeping a rails-specific project makes it much easier to integrate into Rails apps that are vast majority of potential use cases, like you said with AR connection ready and rake tasks with preloaded environment integration. I agree the a good way to go forward would be to extract ruby/sql generic codes to a seperate ruby-pg-extras
gem and make it a dependency of this one. I'll work on it in the following days.
from rails-pg-extras.
I've extracted the core logic to https://github.com/pawurb/ruby-pg-extras and included it as a dependency. I am still not sure about the API so PRs to both projects are welcome :)
from rails-pg-extras.
Related Issues (20)
- cannot load such file -- colorize HOT 2
- Merge rails-pg-extras-web -> rails-pg-extras HOT 5
- PG::UndefinedFile: ERROR: could not open extensions control file HOT 3
- "ArgumentError: Unparseable filesize: 8192 bytes" HOT 1
- uninitialized constant RailsPgExtras::Web::QueriesController::ACTIONS HOT 2
- Psych::BadAlias: Unknown alias: default HOT 4
- Build in UI Dashboard HOT 5
- New version errors out - LoadError: cannot load such file -- rails_pg_extras HOT 2
- Multiple Databases HOT 1
- RailsPgExtras.diagnose taking too long and not finishing production. HOT 1
- ArgumentError: unknown keyword: :aliases HOT 2
- Allow to set "public dashboard" via configuration HOT 1
- Installing `pg_stat_statements` and rails' tasks HOT 3
- Documentation causes error HOT 1
- postgres durations should be humanized HOT 1
- Results for non-public schemas HOT 4
- Diagnose does not accept args options like elsewhere HOT 2
- ActiveRecord::StatementInvalid when pg_stat_statements is enabled HOT 2
- More ideas
- pg_extras:calls and pg_extras:outliers don't work HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rails-pg-extras.