ruby tag

542 questions


1 answers
46 views
0
Unknown encoding name is displayed

Installing Ruby from rubyinstaller-devkit-2.7.2-1-x64 and running ruby-v displays the following: ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x64-mingw32]However, if you try to do anything else (s...

2 years ago

1 answers
87 views
0
How do I prevent gemspec from pushing anywhere?

Usually, when I develop it on ruby, I develop it by cutting out what can be made into OSS to the public gem, and the common processing across personal projects to the private gem.With this development...

2 years ago

1 answers
118 views
0
Device Mail Authentication Not Enabled

I am using Device for user authentication.I want to enable mail authentication (:confirmable), but for some reason I can't.At the moment, I can sign up and log in, but I can't just authenticate by ema...

2 years ago

1 answers
81 views
0
Error Running Trema (0.10.1) in CentOS

OpenFlow Programming in TremaAfter completing the installation of Trema with reference to the above site, I received the following error:I have tried various things with command.rb, but I still don't ...

2 years ago

1 answers
51 views
0
Does not every member variable definition in the class have a self?

I'm a beginner at Ruby.We're going through chapter 9 of the Rails tutorial.I wonder why the following code members do not become User.remember.I thought that all member functions inside the class shou...

2 years ago

1 answers
122 views
0
About linking user information to posts in Ruby on Rails

■Prerequisites/What you want to realizein Ruby on RailsWe create a simple blog that allows multiple users to post articles.Anyone can log in using email and password and I'm making it possible to post...

2 years ago

1 answers
60 views
0
Error Message: How to Resolve No Ransack::Search object was provided to search_form_for!

Prerequisites/What you want to achieveWe are creating a system where Ruby on rails displays a list of events. In order to implement the function of searching for the event, we are trying to introduce ...

2 years ago

2 answers
57 views
0
Asynchronous communication introduces conversation functionality, but data cannot be displayed without reloading the page.

I am thinking of introducing a conversation function through asynchronous communication.Data can be displayed without page movement, but it cannot be displayed without page movement or reloading.If an...


1 answers
48 views
0
Procedure for uploading images to AWS S3 using carrierwave in Rails

Thank you for your help.I was trying to upload the image to AWS S3 using carrierwave in Rails, but I would like to ask you to let me know.https://qiita.com/junara/items/1899f23c091bcee3b058#s3%E3%83%9...

2 years ago

1 answers
51 views
0
Error Message: How to Resolve No Ransack::Search object was provided to search_form_for!

Prerequisites/What you want to achieveWe are creating a system where Ruby on rails displays a list of events. In order to implement the function of searching for the event, we are trying to introduce ...

2 years ago
« - 16 - »

© 2024 OneMinuteCode. All rights reserved.