Comments (6)
The relevant code in this gem is here: https://github.com/brianhempel/active_record_union/blob/master/lib/active_record_union/active_record/relation/union.rb#L50-L54
So see what not_my_free_areas.includes_values
is and what all_my_areas.includes_values
is and that should give you a clue to what's going on.
from active_record_union.
@c80609a did you gain any more information about what's going on in your app?
from active_record_union.
I run into this issues because I include properties in activeadmin controller
from active_record_union.
Can you provide more detailed information?
from active_record_union.
@brianhempel Not sure if this is the right issue to comment upon, but am coming from the Readme where you asked folks to make a noise around supporting 'eager-loading'. Is that still on the radar? In my case, almost all scopes have eager-loading and includes, and I'd love to clean up my code using this!
from active_record_union.
@oyeanuj Can you quick open a separate issue for that? The problem that spawned this particular thread is unclear.
from active_record_union.
Related Issues (20)
- Support for sinatra-activerecord HOT 1
- There are different results of UNION subqueries depending on mysql version HOT 1
- Eager-loading and support for includes, joins and references HOT 2
- nil.union(something_not_nil) HOT 1
- Feature request: union relations and SQL strings HOT 1
- Associated scopes – Major security issue HOT 3
- Interested in supporting intersect and except? HOT 4
- Problem with (empty result).update_all
- union doesn't work for union of fields
- Union of multiple columns on 2 tables with no relationship
- Feature request: Test on Rails 6.0
- PG::SyntaxError: ERROR: syntax error at or near "desc"
- How can I get the UNION of 2 different tables HOT 1
- `union` ignored if used in a merge
- gem does not work with SQLServer
- Not binding polymorphic relation HOT 3
- Is flat union chaining possible? Is it preferable to nested? HOT 3
- Fails on Rails 4.1 + PostgreSQL: bind supplies 2 parameters, but prepared statement requires 1 HOT 6
- Fails on Rails 5.0.0.beta3: undefined method `visitor' for ActiveRecord::Relation HOT 5
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 active_record_union.