Test Account
10/08/2022, 1:36 AMChirag Jain
10/09/2022, 6:58 AMChirag Jain
10/09/2022, 12:25 PMNaoki Mi
10/10/2022, 7:11 AMKonstantin Nechepurenko
10/10/2022, 12:35 PMJay
10/10/2022, 2:37 PM[413e2389-76e2-46b8-b384-75a5cf9f8d94] ActionView::Template::Error (No route matches {:action=>"show", :controller=>"spree/demo", :page=>"2"}):
[413e2389-76e2-46b8-b384-75a5cf9f8d94] 6:
[413e2389-76e2-46b8-b384-75a5cf9f8d94] 7: <% content_for :head do %>
[413e2389-76e2-46b8-b384-75a5cf9f8d94] 8: <% if paginated_products.respond_to?(:total_pages) %>
[413e2389-76e2-46b8-b384-75a5cf9f8d94] 9: <%= rel_next_prev_link_tags paginated_products %>
[413e2389-76e2-46b8-b384-75a5cf9f8d94] 10: <% end %>
[413e2389-76e2-46b8-b384-75a5cf9f8d94] 11: <% end %>
[413e2389-76e2-46b8-b384-75a5cf9f8d94] 12:
Thanks in advance.Test Account
10/12/2022, 4:28 PMsolidus_auth_devise
working if I have an existing User
class?
Spree::Auth::Engine.load_seed if defined?(Spree::Auth)
from db/seeds.rb
results in:
Create the admin user (press enter for defaults).
Email [admin@example.com]:
Password [test123]:
rails aborted!
NameError: undefined local variable or method `spree_api_key' for #<Spree::User id: nil, email: nil, persistence_token: nil, perishable_token: nil, last_request_at: nil, login: nil, ship_address_id: nil, bill_address_id: nil, created_at: nil, updated_at: nil, authentication_token: nil, deleted_at: nil>
I tried rails generate spree:custom_user User
and then re-running rails db:seed
but to no avail. I also found https://github.com/solidusio/solidus/issues/681 from 2016 but it remains unsolved.Jay Davis
10/12/2022, 8:34 PMSpree::Relation
records have a position field that is nil by default; they have to be reordered before the position number gets assigned (it doesn't appear to use acts_as_list
-- the assignment occurs in Spree::Admin::RelationsController
). Is there a better way of changing this behavior than overriding the controller/view?Rasna Shakya
10/13/2022, 7:37 PMJared Norman
Gustavo Alvarado
10/13/2022, 9:01 PMNaoki Mi
10/14/2022, 12:34 AMWladjmir
10/15/2022, 6:43 PMAND âspree_products_taxonsâ.âtaxon_idâ = $2 AND âspree_products_taxonsâ.âtaxon_idâ = 4
there is a way to manage this? maybe using a subquery with arel?
ThanksTest Account
10/16/2022, 4:35 PMUser
to RootUser
(root_user.rb) so it won't clash with Spree::User
when attempting to install the starter frontendđ¤ It would be so nice with just User
and Spree::User
but from what I understand that would require some massive refactoring of the core?
You guys also mentioned I could install the starter frontend without authentication and then manually mix and mash the two Devises -- is that something you guys would prefer to do personally?Given Reed
10/17/2022, 1:30 PM.readme
, but I must be missing some context because I'm trying to write tests that intentionally fail (to make sure I get how the logic works), and what I'm getting back from bundle exec rake
is
Running via Spring preloader in process 5271
Run options: --seed 16060
# Running:
Finished in 1.732592s, 0.0000 runs/s, 0.0000 assertions/s.
0 runs, 0 assertions, 0 failures, 0 errors, 0 skips
So it looks like I'm either just not getting how tests should be written or how they should be run. Or both, I guess. Can anybody point me in a direction for how to make sure I get a test written and tested? Especially if I promise that once we figure it out we'll start doing it more often? đTest Account
10/19/2022, 3:32 PMsolidus_starter_frontend
, namespace and cleanly separate everything, commit the changes, then rebase and re-install Solidus but this time without the frontend. Because it forces your app to use Sprockets, so if you're using modern-day Propshaft, it will cause all kinds of difficulties.Test Account
10/19/2022, 3:33 PMTest Account
10/19/2022, 3:35 PMTest Account
10/19/2022, 3:38 PMTest Account
10/19/2022, 3:39 PMsolidus_starter_frontend
needs to be massively simplified.Jared Norman
Test Account
10/19/2022, 3:43 PMJared Norman
Test Account
10/19/2022, 3:44 PMTest Account
10/19/2022, 3:44 PMTest Account
10/19/2022, 3:44 PMalessandro
Test Account
10/19/2022, 3:46 PMalessandro
Test Account
10/19/2022, 3:47 PM