I want to test controller's action and flash messages presence with rspec. action: def create user = Users::User.find_by_email(params[:email]) if user
I am having trouble with coding a calculator that asks the user to enter the starting and ending values. The program must use nested for loops. Including row an
I am converting some projects that used webpack to vite. I'm having a weird issue where rollup doesn't seem to recognize exported namespaces. Had no issues befo
I am trying to put together what I had hoped would be a simple macro that would take a string of text with 4 different values that need to change between lines,
I tested function which is called with this button and it works fine. But when I try to call it throw linkbutton, nothing happened. And in debug I have this err
I have a simple login system and when a user logs in in I store the users data in sessionStorage as "currentUser". But I discovered that it can be edited. I use
I'm stuck here. I got multiple rows with class rowcontent. I get them like that: const rows = await page.$$('.row-content'); Almost every row in rows got many
I have a function foo which makes an asynchronous request. How can I return the response/result from foo? I am trying to return the value from the callback, as
@app.route("/apikey/", methods=["POST"]) def apikeyget(): key = "dfssddsafdsfadsfds" data = { "name": "User name", "api_key": key }