ruby tag

542 questions


1 answers
38 views
0
Understanding Comparison Operators Used to Determine Group_by Equivalence

How to display aliases for specific methodsWhen I asked you a question, I found that group_by's equivalence decision was not == or eql? but I couldn't find the document when I looked for what was bein...

2 years ago

2 answers
108 views
0
I want to get the number of folders in S3

Is it possible to retrieve the number of folders in S3?For example, jazz/chill/chord_01/xxx.wavjazz/chill/chord_01/xxx.wavjazz/chill/chord_01/xxx.wavjazz/chill/chord_02/xxx.wavjazz/chill/chord_03/xxx....


1 answers
75 views
0
Understanding Extracting After Combining Rails 3 Tables

I'm a beginner at Rails and SQL, so I'm sorry if there are any expressions that are difficult to understand.First, we have the following models: class City<ActiveRecord::Base has_many —favorites ha...


1 answers
46 views
0
How do I store date data in DB after aggregating it in SQL (with SQL in this part)?

RubyonRails implements the process of aggregating (by time) articles.Currently, I would like to run SQL such as the following, save the aggregated results to DB, and display them on the web screen.SQL...

2 years ago

1 answers
45 views
0
Unable to access by domain name after web site deployment

I am writing to ask you a question because my site (and domain purchase) that I deployed using EC2 of AWS from Ruby(ruby on rails) is no longer displayed!The EC site was deployed as above, but it was ...

2 years ago

1 answers
81 views
0
How to display what is entered in the text area on the results screen

I am using ERB, params.I am creating a submission form, but an error occurs when I display the submission contents.The syntax of the method to be printed is wrong, but I don't know how it is wrong.If ...

2 years ago

1 answers
92 views
0
The rails app cannot be deployed to heroku

What do you want to doI want to deploy the rails app to herokuenvironmentRuby 2.4.0Ruby on Rails 5.1.6bundler 2.0.1Javascript runtime:node.jsRuby 2.4.0 Ruby on Rails 5.1.6 bundleer 2.0.1 Javascript ru...


1 answers
40 views
0
Unable to run rails server

The environment is ruby 3.1rails 7.0That's it. rails new RailsAppand the command to navigate into the RailsApp folder, and then rails serverEnter C:\Users\proton\Desktop\RailsApp> rails serverUsage...

2 years ago

1 answers
36 views
0
Questions for displaying aggregated results (batch processing) on the screen

Currently, we have created a ranking model similar to the following, and we are saving the ranking of each user's games.(Rails 4 Series) Based on this ranking, we write a program that uses crontab to ...

2 years ago

1 answers
49 views
0
Could not find rake-12.0.0 in any of the sources error when rails-v occurs

I am making an app for rails.When I try to check the rails version, I get the following error::/var/www/myapp/development/current$rails-vCould not findrake-12.0.0 in any of the sourcesRun `bundle inst...

2 years ago
« - 35 - »

© 2024 OneMinuteCode. All rights reserved.