Comments (3)
Finally, I figure out the issue. We have to require the below into application.rb
require "active_record_extended"
But it should be mentioned in ReadMe for better clarity.
from activerecordextended.
Same problem. I have added it "require "active_record_extended" but still not working.
config/application.rb
require_relative 'boot'
require 'rails/all'
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
# CUSTOM
require "active_record_extended"
from activerecordextended.
odd, I've worked on many projects with this gem. Not once have I ever had to explicitly require it.
It might be related to how your project's are setup and more so autoloaders.
from activerecordextended.
Related Issues (20)
- How to get the UNION of 2 different tables HOT 2
- union_all as value for with.recursive results in an error HOT 3
- Double query execution for relation HOT 1
- use this with simple_form_for HOT 1
- need support for rails 6.1 HOT 2
- Undefined method with for Model HOT 22
- Arel::Nodes::Contains Warnings with Rails 6.1 HOT 5
- Undefined method 'union' on test environment HOT 2
- Question: Can't Figure Out Manager Tree HOT 6
- Rails 6.1.1 throws warning - already initialized constant Arel::Nodes::Contains
- SELECT FROM THE CTE table name HOT 1
- `ar_outer_joins` dependency? HOT 2
- How to query for records that don't include a specific value in an array? HOT 1
- Merging union queries leads to conditionless queries HOT 3
- contains visitor breaks rails native Arel::Nodes::Contains for irregular table names HOT 3
- CTE with values does not work
- Weird behavior with column name "notifications" HOT 4
- Need the ability to specify `MATERIALIZED`/`NOT MATERIALIZED` on CTE HOT 1
- SystemStackError (Infinite Loop) when using .with 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 activerecordextended.