ruby tag

542 questions


1 answers
87 views
0
Ruby on Rails// Excel File Export Error// Axlsx Gem Please help me

Ruby on Rails// Excel File Export Error// Axlsx Gem Please help me if you have tried it If you run the ruby file itself, an Excel file is createdIf you run it inside the controller Uninitialized const...


1 answers
31 views
0
It's a Ruby server-related problem.

I am currently studying Ruby On-Rails.I have installed the latest version of Ruby 2.3.0 and Rails on my Mac OS terminalIf you do ruby-v, the latest version will come out. Strangely, when I do rails se...

2 years ago

1 answers
71 views
0
Is there no continue keyword for Ruby?

Is there no continue keyword for Ruby?I created a code that just passes the number less than 2 out of the numbers from 0 to 5, but I'm embarrassed that there's no continue here.for i in 0..5 If i <...

2 years ago

1 answers
93 views
0
Differences between equals?, eql?, ===, and ==

Find out the differences between equals?, eql?, ===, and ==.What we've found so far isI haven't figured out what eql? is doing with default yet, and I'm not sure I just looked through it.Ruby has many...

2 years ago

1 answers
56 views
0
To run from shell to background

I think you're asking a lot of questionsI'm leaving a question because I'm curious about what other people usually do!On Ubuntu Server (Typical Linux Environment)When I played node.js, when I turned t...

2 years ago

2 answers
56 views
0
Where can I learn ruby on rails?

As far as I know, django installs sqlite3 automatically Do rails need to have an Apache (server) installed separately? There are not many ruby on rails courses, so there is a book called Perfect Ruby ...

2 years ago

1 answers
89 views
0
Is it correct to use 'alias' or 'alias_method'?

I'm going to use the method alias within the same class, which one should I use?I think it's right to use alias_method just by looking at the name, but there's no problem using alias, so why did you d...

2 years ago

1 answers
71 views
0
Why can't we say 'recue exception => e'?

Why can't we do resue exception=> e?Once the server is turned, I want to keep it running without stopping, but when I looked it up, there was no explanation in the data. Don’t rescue Exception. EVE...

2 years ago

1 answers
26 views
0
I want to use the switch-case in Ruby

I want to use the switch-case in Ruby.I don't think there was a swich, but I'm asking here because I thought it was called another name

2 years ago

1 answers
141 views
0
Ruby-on-Rails nokogiri Local Scraping Question.

#.rbrequire 'open-uri'require 'Nokogiri'...#@data_url = http://localhost/#@data_url = http://localhost:3000/@data_url = http://127.0.0.1/ @page = Nokogiri::HTML((@data_url),nil,'euc-kr')@send = @page....

« - 53 - »

© 2024 OneMinuteCode. All rights reserved.