542 questions
I'm a beginner.This is a poor question, but could you please advise me?Current State/EnvironmentAttempt to install rails ver6.0.3 in VSCode, but Successfully installed rails-6.0.4 but rails-v is not i...
I'm a beginner engineer.Tell me about building a local environment.We are currently building Rails development environments (Rails, Ruby, PostgreSQL) using vagrant and virtualbox, but soon we will hav...
What do you want to doI want to set up a chat app that doesn't work in the production environment I want to identify the elements I need to improveRun EnvironmentRails 5.2.4.2nginx1.12.2unicorn 5.4.1A...
I would like to randomly display the record and column specified in the problem model in the view, enter the answer in the text area, and then match the answer column of the previously specified recor...
I'm thinking of implementing Ruby on Rails to run web APIs regularly, process data, and insert data into DB.The model cannot be called due to an unknown cause error listed below.lib/tasks/repository.r...
ruby 2.2.1p85rails 4.2.1 Implemented with the following model configuration:class Student after_initialize —set_profile has_one:student_profile, dependent::destroy default_profile self.student_profile...
I did bundle install and got a timeout error.Does rubygems.org fall at times like this?If you access it through a browser, it will be connected, but I don't know what the gem is, so please let me know...
I'd like to use ruby's parallel to separate objects for each thread. Is there a good way?Image Parallel.each(array, in_threads:10) {|val| obj [thisThread] <<val}
I am trying to build an environment with sinatra + unicorn + nginx.However, I am having trouble starting unicorn with an error.Please help me.Environment macosxvagrantcentos 6.6vagrantcentos 6.6Error ...
I found the following when I tried to wrapper Ruby's Exceptionhttps://gist.github.com/rks/2577339#gistcomment-1313963Quoteclass ClientError <StandardError def initialize(e=nil) super # Preserve the...
« | - 31 - | » |
© 2024 OneMinuteCode. All rights reserved.