542 questions
Is ensure in Ruby = finally the same in C#?I don't know exactly when sense will run, so I don't know when to close the file.file = File.open(myFile.txt, w)begin file << #{content} \nrescue #hand...
I saw this code in RailsCast and I don't know what map(&:name) is like (&:name).def tag_names @tag_names || tags.map(&:name).join(' ')end
You want to read the file from the DB and save it in the .txt file.Please tell me how to type in the file in Ruby
<title>Sns</title><%= csrf_meta_tags %><link href=https://fonts.googleapis.com/icon?family=Material+Icons rel=stylesheet><%= stylesheet_link_tag 'application', media: 'all',...
That warning has been in the log since I upgraded Rails WARN Could not determine content-length of response body. Set content-length of the response or set Response#chunked = trueWhat does this mean a...
When writing gem in the command line, what flag should I use to specify a specific version?
Hello, everyoneI want to get a tuple with a specific string from the rails. When I do the sql door, LIKE '% specific string%' could be searched.Rails has several functions that use dbI'd like to know ...
From the first image,Why is that sign coming out? I don't think it recognizes the code, so please tell me how to solve it ㅜ
I'm studying Ruby on Rails. I'm trying to scratch four titles of Naver news articles, but it didn't work out as I thought, so I'm posting a question.In the code I made, if you turn 0002713773, 0002713...
Is there a difference between a large molecular variable and a $,$ variable in Ruby on Rails?I'm trying to save and write the values I'm going to use globally for the file under rails' config/initials...
« | - 51 - | » |
© 2024 OneMinuteCode. All rights reserved.