Comments (4)
Will look into it!
from acts_as_favoritor.
Should be fixed - please reopen if you're still getting this error.
from acts_as_favoritor.
Hi, i have now another error:
NoMethodError (undefined method '+' for nil:NilClass)
irb(main):040:0> begin
irb(main):041:1> User.first.favorite Product.last
irb(main):042:1> rescue => e
irb(main):043:1> puts e.backtrace
irb(main):044:1> raise e
irb(main):045:1> end
NoMethodError (undefined method `+' for nil:NilClass)
/Users/username/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/bundler/gems/acts_as_favoritor-b84d096e75c6/lib/acts_as_favoritor/favoritor.rb:125:in `favorite'
/Users/username/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/bundler/gems/acts_as_favoritor-b84d096e75c6/lib/acts_as_favoritor/favoritor_lib.rb:50:in `validate_scopes'
/Users/username/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/bundler/gems/acts_as_favoritor-b84d096e75c6/lib/acts_as_favoritor/favoritor.rb:105:in `favorite'
Regards
from acts_as_favoritor.
from acts_as_favoritor.
Related Issues (20)
- Recalculate caching value HOT 2
- Allow either a single `scope` or multiple `scopes` to be given
- Release 5.0.0
- Not working with Rails 5.2 HOT 2
- Setup dependabot
- Remove auto merge
- Update readme
- Add issue templates
- Add pull request template
- Add security policy
- Add contributing guidelines
- Add CodeQL
- Stop publishing to GPR
- Release 5.0.1
- Test on Ruby 3
- PG::UndefinedFunction: ERROR: operator does not exist: bigint = uuid HOT 2
- How to check the favorite on react?
- Mysql2::Error: Specified key was too long; max key length is 3072 bytes HOT 1
- favorited? method for a array? HOT 1
- The difference between favoritor_score vs favoritor_total?
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 acts_as_favoritor.