ruby tag

542 questions


1 answers
39 views
0
This is a question about how to determine what values are in the array

I'm just learning rubies and want to check if there are specific values in the array.For example, [1,2,3,4,5] has 3 but not 6.In other languages, I used to find things like find and index, but I think...

2 years ago

1 answers
30 views
0
Ruby on Rails, is there a way to copy the contents of table A to table B?

Hello, everyone I am a student studying Ruby Onrails.As you can see below on the controller,Clear the contents of the code in Restaurant WeightI'd like to copy all the contents of any table to Restaur...

2 years ago

1 answers
141 views
0
Rails javascript parsing question!

Hello! I'm curling using nokogirigemI want to get values that only exist in JavaScript variables.I'm not making any progress knowing if there's a separate access statement or if I have to use Jem. ㅠ


1 answers
29 views
0
I want to know the difference between nil, empty, and black in Ruby on Rails

I'm looking at the difference between nil, empty, and black in Ruby on Rails.What we've learned so far isIs there anything else I need to add?

2 years ago

1 answers
30 views
0
Can I use Python Library at Ruby On Rail?

Can I use Comoran, which analyzes Korean morphemes in Python libraries, to use it in the Ruby On Rails project?

2 years ago

1 answers
26 views
0
Ruby data type verification method

Hi, how are you? I am a student who is learning Ruby these days.I'd like to ask you how to check the data type in Ruby. Python can be checked by typeRuby says the data type of the variable changes imp...

2 years ago

3 answers
32 views
0
Ruby On Rails Layout Application Question.

Hello, everyone I am a student studying Ruby Onrails.I have a question in the Layout section of the Ruby On-Rails web page.When you create a rails project, the View/layout/application.html.erb layout ...

2 years ago

1 answers
116 views
0
The difference between Kind_of? / instance_of? / is_a? in Ruby

I want to know how and when kind_of? / instance_of? / is_a? is different.

2 years ago

1 answers
39 views
0
What does %w do?

I was looking at the FileUtils data and saw this codeFileUtils.cp %w(cgi.rb complex.rb date.rb), '/usr/lib/ruby/1.6'I wonder what %w is doing here.

2 years ago

1 answers
29 views
0
Ruby, please help me with the introductory code error

I'm an introductory Ruby who wants to make Ruby in Google SketchupRuby is hard for beginners because there's not much dataI'm uploading the code (it's very short, so please watch it even if it's annoy...

2 years ago
« - 54 - »

© 2024 OneMinuteCode. All rights reserved.