Comments (2)
Thanks for submitting. Which version of Rails are you using? It's possible that Arel has changed enough since the most recent release that this isn't necessary, or there could be some other edge case that you're not hitting.
If you want to disable QuotedPrimaryKeyExtension in your project, you might consider doing something like:
require 'arjdbc/jdbc/quoted_primary_key'
module ArJdbc::QuotedPrimaryKeyExtension; def self.extended(*); end; end
in a Rails initializer and see if that monkey-patches it off.
from activerecord-jdbc-adapter.
I'm using Rails 3.0.7. I did create a custom monkey-patch with a loop around every primary key column, like you did it for a single primary key.
from activerecord-jdbc-adapter.
Related Issues (20)
- H2 2.0
- Unusual exception while running GitHub Action
- Error 'uninitialized constant ... ::PG' when trying to use activerecord-jdbc-adapter with Postgres
- activerecord-jdbcsqlite3-adapter v61.1 is not working with activerecord v6.1.5 HOT 12
- Error starting rails 6.1.5 server & creating database on ARM64 Mac in JRuby 9.3.4.0 HOT 2
- Mac ARM64 "Error opening connection" with activerecord-jdbcsqlite3-adapter HOT 5
- Error running db:migrate on JRuby 9.4.0 and rails 7.0.4 HOT 14
- make release for activerecord-jdbcpostgresql-adapter 70.x HOT 6
- Missing File arjdbc/oracle/column HOT 1
- SQLite3 No suitable driver HOT 7
- Updates for JDBC drivers HOT 4
- mysql-connector-java deprecated for new namespace
- require 'activerecord-jdbc-adapter' seemes like crash Puppet7 server
- `ArgumentError: wrong number of arguments (given 4, expected 1..3)` for `activerecord-jdbcsqlite3-adapter` HOT 4
- undefined method `execute' for nil:NilClass HOT 1
- Performance regression in checking out connections between Rails 4.2 and 6.1 HOT 1
- Cannot connect to database: `ArgumentError: wrong number of arguments (given 4, expected 1..3)` HOT 3
- CVE against connector/j 8.0.30
- Rails 7.1 support
- PostgreSQL, Serial and/or primary key with trigger does not get populated in model on insert, Active Record 7.1 HOT 1
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 activerecord-jdbc-adapter.