ruby tag

542 questions


1 answers
40 views
0
I would like to hear about the database design when there are multiple posting pages.

This is probably an elementary question, but I appreciate your cooperation.Currently, we are creating a service that allows users to register and post comments on each page with multiple pages exist.A...

2 years ago

2 answers
92 views
0
Configuration in rbenv global does not switch to the configuration

Look at all the steps to build a Rails environment on a Mac - Qiita and aim to build Ruby 2.5.7, Rails 5.2.3.Once it was built, it is now being rebuilt for some reason.rbenv (Ruby's version control to...

2 years ago

2 answers
83 views
0
When writing object-oriented, the receiver is not a subject, but an object? Which is correct, rails tutorial?

I have a question about object orientation.Here's a quote from the article:About naming methods for the Rails modelA good example is that the receiver and instance method are transitive and object rel...

2 years ago

1 answers
97 views
0
I want to communicate cross-origin in Ruby on Rails api mode.

I'm studying ruby on rails, and I don't know much about it, but I'd appreciate it if someone could tell me.Thank you in advance.StatusWe are trying to introduce a contact form to a website that we hav...


1 answers
57 views
0
I want to send only the elements of the child hierarchy form when submitting the child hierarchy and display them in the same view.

Currently, Rails4 is developing user-posted applications, and we would like to create a feature that combines blocks of content such as Naver summary to create articles.Therefore, the table configurat...

2 years ago

2 answers
90 views
0
If you load more than once with irb, it will fail.

If you load ruby's code more than once on ruby's irb, it will fail.Why is that?Python is import mymoduleimport import libimportlib.reload(mymodule)# Changes take effectThis will reflect changes to the...

2 years ago

1 answers
100 views
0
Rails Gets Errors in Saving to Intermediate Tables and Retrieving Data from Other Tables

We are creating a displaying when your next purchase will be system in Rails.·User table: Purchaser information registered→ Column: id, number, name ·Product table: Product information registered→ Col...

2 years ago

1 answers
123 views
0
Rspec is unable to configure the audio file and ActiveStorage::IntegrityError: cannot be resolved.

What do you want to solveI am a programming beginner currently working on my portfolio.I thought I'd use Rspec to write tests, so I'm using Rspec to create tests.However, an error occurred while writi...

2 years ago

1 answers
51 views
0
Please rate the recursive code of the binary search written in ruby.

I tried implementing binary search/half search code in Ruby's own way using recursive.Could you give me an evaluation rather than a grade? It works correctly, but I was worried about how it was writte...

2 years ago

1 answers
42 views
0
How to overwrite url's get parameter

Ruby on rails is creating a simple list page.For paging purposes, I have passed the get parameter offset and limit at the URL.If the parameter is blank or string on the controller, the default value i...

2 years ago
« - 38 - »

© 2024 OneMinuteCode. All rights reserved.