ruby tag

542 questions


1 answers
438 views
0
Cannot contain specific cocoapods versions

I wanted to make the current cocoapods version 1.11.2, so See this article$gem install cocoapods-v1.11.2I typed the command in the terminal.Ignoring bigdecimal-2.0.0 because it extensions are not buil...


1 answers
389 views
0
I want to be able to display the images in the partial template outside of the top page.

You want to be able to display the images in the header no matter which page you transition to.Creating web applications in Ruby.After creating _header.html.erb using a partial template, the image doe...

2 years ago

1 answers
373 views
0
require'rspec/core/rake_task' I don't know what file I'm loading

In order for rake to run RSpec automatically, it was necessary to load require'rspec/core/rake_task', but when I went to see rspec's github, there was no such path.I'd like to solve this problem becau...

2 years ago

1 answers
424 views
0
How to Switch Between Ruby Versions of Gem

The Ruby version I want to deal with is old and Installing Gem individually.when a Gem dependency is installed.Existing Gems may overlap.Toggle while leaving both duplicated GemsI want to do it. Pleas...

2 years ago

1 answers
311 views
0
I want to display the select box in enum and save the index number to DB.

macOS 10.15.6Ruby 2.5.7Rails 5.2.3[Rails] enum tutorial[Rails] What is enum?Tried creating a select box using enum -Qiita[Rails] Implementation of select boxes using enum and saving to DB - Qiita [Rai...


1 answers
399 views
0
Update action does not update data

The value of the update action has not been changed, and there are no errors.Create works fine.views/searches/edit.html.erb<%=form_with(model:@search,local:true)do|f|%> <%=f.label:postal_code...


1 answers
387 views
0
The rake command does not work.

We are building an environment using Git Bush.What I want to do is launch the mock.I entered this command because I wanted to create a database before that.I'm very sorry, but I'm an amateur programmi...


1 answers
416 views
0
RSpec Cannot Resolve 'Failed to find Chrome binary.' Error

I was creating a test using RSpec during portfolio creation, but I got the following error:Development Environment:Ruby 2.5.1Rails 5.2.4.3Mac OS 1.1) Failure/Error: visit login_path Webdrivers::Brows...


1 answers
483 views
0
ActionMailer starts Preview and gets in trouble if the argument is wrong ( wrong number of arguments (given0, expected1)), so I want to resolve it.

I would like to use HerokuScheduler to run the rake task at the specified time, but there is an error in the preview (test/mailers/previews/alert_mailer_preview.rb) of the mail sending function that I...

2 years ago

1 answers
385 views
0
Rspec Does Not Test Confirm Dialog

I am currently creating a test under spec/system as follows, but it does not work.Only the following articles are up to date on Rspec confirm.I don't know how to solve it.I would appreciate it if you ...

« - 3 - »

© 2024 OneMinuteCode. All rights reserved.