Comments (4)
@brchristian please provide the information we ask for in the Contributing Guidelines.
Thanks!
from spree_wishlist.
@radar Sorry for not being more specific! In fact, I referenced the wrong branch, as this is happening in 2-2, not in 2-1.
The difference seems to be that there is this commit 56f1f23 from @joneslee85 in the 2-1 branch that (among some other changes) changed the deprecated wishlist finder syntax from self.wishlists.first(:conditions => ["is_default = ?", true])
to self.wishlists.where(is_default: true).first
.
In the master branch, we have this commit ef2a4ee from @futhr that (among other changes) fixes that very same deprecation as well.
Not sure how we ended up with two different fixes to the same thing, one for 2-1 and one for master, and neither for 2-2!
I'd suggest perhaps cherry picking one of those commits as you see fit onto the 2-2 branch.
from spree_wishlist.
Thanks @brchristian. I've (finally) applied the patches to the 2-2-stable branch.
from spree_wishlist.
👍
from spree_wishlist.
Related Issues (20)
- DEPRECATION WARNING: Passing a class to the `class_name` is deprecated and will raise an ArgumentError in Rails 5.2. HOT 1
- Specs fail on spree master because of required belongs_to HOT 3
- Variant image get a error in show page. HOT 2
- Ensure Spree.user_class is defined before doing .class_eval
- Unknown action in wishlists when trying to add item to cart HOT 2
- Testing the gem with spree 4 failed HOT 3
- Spree 4.1 add to cart from wishlist not working HOT 3
- NoMethodError in Spree::Wishlists#show
- Dependabot can't resolve your Ruby dependency files
- Dependabot can't resolve your Ruby dependency files
- Dependabot can't resolve your Ruby dependency files
- Dependabot can't resolve your Ruby dependency files
- Add wishlists_count to Spree::user_class and products_count to wishlists HOT 1
- Add to Wishlist is adding the items to my cart HOT 1
- Session unmarshalling issue with Rails 4.1 HOT 1
- spree_core dependency problem HOT 3
- WishlistsController has no access control. Allows public editing of everything. HOT 1
- ArgumentError in Spree::UserSessions#new
- wishlist destroying after removing wishied_product
- Creating a separate /wishlist page for the wishlists 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 spree_wishlist.