Yuri Bocharov
Yuri Bocharov
@gaurijo go for it!
@cielf to clarify you mean something like: I log in a partner and go to `http://localhost:3000/reports/annual_reports/2023` and get hit with  ?
Hey @felicia22! Thanks for the interest, this particular issue is actually probably going to be closed by an existing PR https://github.com/rubyforgood/casa/pull/6048 whenever we get that reviewed and merge so I...
Same deal on this issue as the previous one unfortunately :frowning:
> Is there a way for to tell that the list of possible volunteers is the correct list? In what sense? How to test that the content of the dropdown...
> Yeah. I just want to make sure that the dropdown is actually showing the correct volunteers. That would depend on the type of spec that you are using in...
> So obviously a volunteer assignment will fail if a case fails to be created but what if the volunteer assignment fails? Should the case still be created? don't worry...
You should be able to pass that all in within the request params. The assignment itself should happen as part of either an update or create request sorta like this...
I wanna give it another week. I'm thinking start of August to merge. It has looked good so far tho.
so this https://github.com/rubyforgood/casa/blob/11d3e28d22d3104071c3507a96d7eaae40db58bb/app/controllers/learning_hours_controller.rb#L7 is where `@learning_hours` comes from. And is used here: https://github.com/rubyforgood/casa/blob/11d3e28d22d3104071c3507a96d7eaae40db58bb/app/policies/learning_hour_policy.rb#L32 That means that you would want to have the newly changed learning hours scope on the `LearningHour`...