542 questions
I made some apps with rails.I'm getting used to class, but I don't really understand the module.There seems to be no difference from the class, but what is the difference and how do you use it differe...
For example, when you want to do the PHP process, you open your browser and check the results every time.I know it can be done with $php-file.php, but sometimes I can't check it unless I give you para...
Currently, [Rails6] Create Slack-like chat app with Action Cable - Qiita article to create a chat room for asynchronous communication. I was able to create a chat room, but I get an error when I see A...
What do you want to doI want Rails to aggregate values by group (SUM) and each group's aggregate results to be defined as variables in the controller*After that, we plan to add the defined values to J...
CREATE TABLE users( id INT NOT NULL AUTO_INCREMENTEN name VARCHAR(32),);class User<ActiveRecord::Base attr_accessor:hoge default_hoge self.hoge=hogehoge endendOn the rails command line>user=User...
Ruby wanted to deal with the Map data structure implemented in the tree structure.Are there any classes that meet the following requirements?Do you have any libraries implemented?You can store values ...
How can ruby throw parameters to any URL with post, get, etc.?
I think it's normal for Ruby to do list processing. What should I do if I just want to get a CDR? I found out that there is a method called shift, but there are two problems with this.·There are side ...
A2=34.773381A3 = 135.542685A = 34.774974B = 34.774551C = 34.774323D = 34.774625A1 = 135.541896B1 = 135.542218C1 = 135.541641D1 = 135.541393# I would like to substitute W, X, Y, and Z for the maximum a...
I want to extend ruby's file class, but it doesn't work.The ruby version is 2.0.0p648.http://qiita.com/umanoda/items/33613b94ccabf7b1f851I tried using this article as a reference.I want 'extend' to be...
« | - 42 - | » |
© 2024 OneMinuteCode. All rights reserved.