542 questions
When json takes a value, substitutes a variable, and compares it with an uninitialized constant, an error occurs.I would like to display yes when a==BUY.Thank you for your cooperation.require net/http...
obj.fn(x)What is the name of the function that changes the value of the argument x before and after calling?Ruby is obj.reverse!The one whose state of obj changes in is called a destructive method.It'...
We are solving the problem of modularizing ruby.If you have trouble solving the error statement and you know the solution, please let me know.when run in rubymain.rbThe error description is as follows...
Rails and other Rails~-related commands, such as rails show the Cannot load database configuration:(NoMethodError) undefined method[]'for nil:NilClassI want to be able to boot up properly because it s...
Let me ask you a question.I am having trouble understanding the error below.environmental framework:sinatraworking with:ActiverecordDB:mysql[database.yml]development: adapter —mysql2 database —sinatra...
I'm a beginner at ruby.Rails development no longer works rake routes.I don't understand even if I google it, so let me ask you a question.>Macbook:PetsHuggy UserName$rake routesrake aborted!cannot ...
If you test it on your browser, it will succeed, but if you test it on capybara, it will fail.If you submit it on the edit screen as shown below, update it.def update # When the post button is pressed...
For example, suppose you have UsersController and you set it in config/routes.rb as follows: I want root 'users#index'#root to be a list of usersresources —usersThen the routing configuration should b...
Always I am indebted.Ruby was able to output as expected, but it doesn't work out as expected in C language.Created in Ruby and C language.I am attaching it as follows, so please check it.------------...
I'd like to test the modal display when I press the user delete button The following error will be displayed:it Can delete other users do visit user_path(I18n.locale, other_user) page.dismiss_confirm(...
« | - 33 - | » |
© 2024 OneMinuteCode. All rights reserved.