ruby tag

542 questions


1 answers
127 views
0
About deployed rails app fonts

I deployed it with aws, but the font of the displayed app is different than before.I was using a quail font, but when I deployed it and looked at the browser, it was a normal font and the font was not...


1 answers
73 views
0
rails db —Migrate

When I tried rails db:migrate, I got an error.What should I do?Please let me know.==20180629092541 AddActivationToUsers:migrating=============================-- add_column(:users,:activation_digest,:s...

2 years ago

1 answers
118 views
0
Error creating virtual host in Trema(ruby)

I could do up to 6 chapters referring to the site of TREMA(https://yasuhito.github.io/trema-book/), but when I tried to do it with the git command clone(https://github.com/trema/patch_panel.git), the ...

2 years ago

1 answers
166 views
0
Is there a way to handle s3bucket as a place to store rubygems?

The docker can have the docker repository backend s3 bucket. https://docs.docker.com/registry/storage-drivers/s3Suddenly, I thought rubygems could do the same thing.QuestionIs there any way, library, ...

2 years ago

1 answers
70 views
0
the meaning of [ ] in a regular expression [- ] ?

in Regular Expression (Ruby)^ISBN[-]?[ dd|-]+For ^ISBN-?[ dd|-]+But I think the result will be the same In this case, [] means [] to match any of the characters specified in [] and is different from [...

2 years ago

1 answers
66 views
0
Rails test results in undefined method `id' for nil: NilClass error and cannot be resolved

symptomsThe rails test results in an undefined method `id' for nil: NilClass error. I couldn't solve it with the name below, so please let me know.Error: UsersProfileTest#test_profile_display:ActionVi...

2 years ago

1 answers
133 views
0
Understanding the Implementation of the Curl Command Ruby

I am trying to realize the curl contents below in ruby.There are 400 errors and it doesn't work. curl-F grant_type=refresh_token-Frefresh_token=<refresh token>client_id=<client id>-F clien...

2 years ago

1 answers
108 views
0
certificate verify failed error in HTTPS communication

I implemented the following code to communicate with Ruby between servers, but I get the following error:If there is anything missing, could you please advise me?SSL_connect returned=1 errno=0 state=S...

2 years ago

1 answers
134 views
0
Ajax-enabled description

I am writing an ec site, but Ajax support is not going as well as I would like, so I would like to ask you a question.I would like to use Ajax to switch between favorites and favorites, but I am curre...


1 answers
112 views
0
a method of extracting the best score from each subject

@english=Point.where(subject:English).order(subject_point:DESC).first@japanese=Point.where(subject:Japanese).order(subject_point:DESC).firstAll I can think of is to sort each subject in order of the h...

2 years ago
« - 7 - »

© 2024 OneMinuteCode. All rights reserved.