Comments (4)
Hello @daBee
Could you share the version of Rails you are running? (ActiveRecord is defined in rails)
Or are you just including ActiveSupport and ActiveRecord?
What are you doing to produce this problem?
[master] active_hash $ ruby --version
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin22]
[master] active_hash $ bundle exec rake
/Users/kbrock/.rubies/ruby-3.2.2/bin/ruby -I/Users/kbrock/.gem/ruby/3.2.2/gems/rspec-core-3.12.1/lib:/Users/kbrock/.gem/ruby/3.2.2/gems/rspec-support-3.12.0/lib /Users/kbrock/.gem/ruby/3.2.2/gems/rspec-core-3.12.1/exe/rspec --pattern spec/\*\*/\*_spec.rb
...........................................................................................................................................................................................................................................................................................................................................................
Finished in 0.36826 seconds (files took 0.80767 seconds to load)
347 examples, 0 failures
[master] active_hash $ grep rails Gemfile.lock
[master] active_hash $ grep active Gemfile.lock
active_hash (3.2.0)
activesupport (>= 5.0.0)
activemodel (7.0.4.2)
activesupport (= 7.0.4.2)
activerecord (7.0.4.2)
activemodel (= 7.0.4.2)
activesupport (= 7.0.4.2)
activesupport (7.0.4.2)
active_hash!
activerecord (>= 5.0.0)
activerecord-jdbcsqlite3-adapter (>= 1.3.6)
Hopefully we should be able to get you up and running quickly.
from active_hash.
No Rails
. Ruby
only. I'm running a script that has Bundle.require
up front.
Gemfile
does not have this, but Gemfile.lock
has it as a spec
, and is called by canada_eh
.
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin22]
from active_hash.
- Has this been solved by alphagov/contacts-admin#1167 ?
- Could you provide a reproducer or more details about what you are doing to get this error? Could you provide a pointer to gem
canada_eh
? This is not available on ruby gems
from active_hash.
I can't find it either. I've been looking for it for some time. I guess it's gone.
from active_hash.
Related Issues (20)
- Is it time to redefine the purpose of ActiveHash? HOT 9
- ActiveRecordExtensions.belongs_to with extra arguments is not working HOT 3
- Using ActiveHash::Associations and JSONAPISerializer at the same time will result NoMethodError. HOT 1
- Can a class that inherits from ActiveHash::Base be associated with another class that inherits from ActiveHash::Base? HOT 1
- The has_many :through Association does not get record HOT 6
- QUESTION: What's the performance of "find_by"? HOT 2
- Scopes are not chainable HOT 1
- Rails 7 finding a valid model association. HOT 6
- Rails 7 Compatibility HOT 4
- Make releases more often? HOT 3
- ActiveHash scope affecting self HOT 3
- 3.2.0: Regression in `.where`? HOT 7
- No Method Error for find_by and find HOT 1
- `ActiveHash::Relation` returned by `ActiveHash#where` should be reported like as an array of `ActiveHash` items selected by `where` method, in Rails Console. HOT 3
- ActiveHash::Relation can not use respond_to? method HOT 3
- find_by with nil value will return an object with an empty string
- undefined method `find_by_key' for ActiveYamlBaseClass:Class Did you mean? find_by_id HOT 3
- Accessing belongs_to association without a key creates a useless query HOT 4
- "`has_many': wrong number of arguments (given 2, expected 1) (ArgumentError)" error is raised since 3.3.0 HOT 4
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_hash.