Skip to content

Conversation

@ArturT
Copy link
Member

@ArturT ArturT commented Mar 6, 2025

No description provided.

Copy link
Contributor

@3v0k4 3v0k4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a few sections in this page that make noise:

  • "NameError: uninitialized constant MyModule::MyModelName" does not seem Knapsack Pro related
  • "ActiveRecord::SubclassNotFound" same
  • "Rake tasks under tests are run more than once in Queue Mode" prolly not a problem anymore since 7.0?

Any chance we can remove any of those?

@ArturT
Copy link
Member Author

ArturT commented Mar 6, 2025

There are a few sections in this page that make noise:

  • "NameError: uninitialized constant MyModule::MyModelName" does not seem Knapsack Pro related

I think this one we could remove.

  • "ActiveRecord::SubclassNotFound" same

This one we can keep it. Someone reported this issue and it was also in Regular Mode.

  • "Rake tasks under tests are run more than once in Queue Mode" prolly not a problem anymore since 7.0?

I've tested it, and tests fail with Knapsack Pro (top left pane) if you load the rake task yourself in a spec (bottom right pane). But they pass if you run it directly via RSpec (bottom left pane).

image

I'd like to keep this so we have a reference with an example to show users if someone struggles with the rake tasks.

Any chance we can remove any of those?

The 1st one could be removed. I'll do it.

@ArturT ArturT merged commit 3cd08f9 into main Mar 6, 2025
1 check passed
@ArturT ArturT deleted the faq-minitest branch March 6, 2025 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants