# Uncategorized

**URL:** https://www.ruby-forum.com/c/uncategorized/1.md?page=3

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

**Page:** 4

---

## [Help with Permutation](https://www.ruby-forum.com/t/help-with-permutation/261788)

<div class="topic-metadata">

**Author:** [@thelmalu](https://www.ruby-forum.com/u/thelmalu)\
**Replies:** 3\
**Last updated:** [September 4, 2021, 5:26pm UTC](https://www.ruby-forum.com/t/help-with-permutation/261788 "2021-09-04T17:26:09Z")

</div>

I’m using the Ruby permutation method on the digits (0…9) taken n at a time, for n determined when called. I can easily skip using the next permutation for further computation for each one that begins with a pre-specifie…

---

## [Method variable that retains value between calls?](https://www.ruby-forum.com/t/method-variable-that-retains-value-between-calls/261722)

<div class="topic-metadata">

**Author:** [@thelmalu](https://www.ruby-forum.com/u/thelmalu)\
**Replies:** 9\
**Last updated:** [September 2, 2021, 7:58pm UTC](https://www.ruby-forum.com/t/method-variable-that-retains-value-between-calls/261722 "2021-09-02T19:58:24Z")

</div>

I’ve been unable to find this in searching. If it doesn’t exist, how do I approximate it?

---

## [Sort array of hashes by a hash value AND internally sort array that is another hash value](https://www.ruby-forum.com/t/sort-array-of-hashes-by-a-hash-value-and-internally-sort-array-that-is-another-hash-value/261620)

<div class="topic-metadata">

**Author:** [@thelmalu](https://www.ruby-forum.com/u/thelmalu)\
**Replies:** 1\
**Last updated:** [July 30, 2021, 3:55am UTC](https://www.ruby-forum.com/t/sort-array-of-hashes-by-a-hash-value-and-internally-sort-array-that-is-another-hash-value/261620 "2021-07-30T03:55:21Z")

</div>

I have an array of hashes, say aray. I want to sort aray so that the :a hash values are in ascending order and the :c hash value arrays are sorted in ascending order aray = \[{a: 7, b: 22, c:\[12,4,-1\]}, {a: -3, b: 2, c…

---

## [Who are the Moderators and how to contact them?](https://www.ruby-forum.com/t/who-are-the-moderators-and-how-to-contact-them/261611)

<div class="topic-metadata">

**Author:** [@jgomo3](https://www.ruby-forum.com/u/jgomo3)\
**Replies:** 1\
**Last updated:** [July 28, 2021, 3:51pm UTC](https://www.ruby-forum.com/t/who-are-the-moderators-and-how-to-contact-them/261611 "2021-07-28T15:51:03Z")

</div>

That’s it: Who are the Moderators and how to contact them?

---

## [Opening for a Senior Ruby Engineer in Bangalore](https://www.ruby-forum.com/t/opening-for-a-senior-ruby-engineer-in-bangalore/261599)

<div class="topic-metadata">

**Author:** [@Raoj](https://www.ruby-forum.com/u/Raoj)\
**Replies:** 0\
**Last updated:** [July 26, 2021, 7:38am UTC](https://www.ruby-forum.com/t/opening-for-a-senior-ruby-engineer-in-bangalore/261599 "2021-07-26T07:38:57Z")

</div>

Senior Ruby-on-Rails Developer Role: We are looking for people who have a good grasp on deploying Ruby on Rails and managing custom environments. Experience deploying the following technologies a MUST: Ruby on Rails P…

---

## [Chef ruby code - .rb cookbook - If statement to check config\['variable'\] exists](https://www.ruby-forum.com/t/chef-ruby-code-rb-cookbook-if-statement-to-check-config-variable-exists/261581)

<div class="topic-metadata">

**Author:** [@greavette](https://www.ruby-forum.com/u/greavette)\
**Replies:** 2\
**Last updated:** [July 24, 2021, 6:10pm UTC](https://www.ruby-forum.com/t/chef-ruby-code-rb-cookbook-if-statement-to-check-config-variable-exists/261581 "2021-07-24T18:10:21Z")

</div>

I have the following bit of code in my cookbook: if File.file?('/etc/test.yml') config = YAML.load(File.read('/etc/test.yml')) else config = Hash.new end config\['key'\] = node\['test'\]\['license'\] config\['verbose'\]…

---

## [Can Procs or Lambdas receive blocks?](https://www.ruby-forum.com/t/can-procs-or-lambdas-receive-blocks/261547)

<div class="topic-metadata">

**Author:** [@jgomo3](https://www.ruby-forum.com/u/jgomo3)\
**Replies:** 4\
**Last updated:** [July 19, 2021, 3:37pm UTC](https://www.ruby-forum.com/t/can-procs-or-lambdas-receive-blocks/261547 "2021-07-19T15:37:56Z")

</div>

I’m trying this simple idea: l = lambda { yield + 1 } l.call { 2 } # I was expecting 3 Expecting the result to be 3, but I get LocalJumpError: no block given (yield). So I can’t pass a block ({ 2 } in the example) to …

---

## [How to iterate an array in ruby](https://www.ruby-forum.com/t/how-to-iterate-an-array-in-ruby/261542)

<div class="topic-metadata">

**Author:** [@docky12](https://www.ruby-forum.com/u/docky12)\
**Replies:** 2\
**Last updated:** [July 16, 2021, 12:28pm UTC](https://www.ruby-forum.com/t/how-to-iterate-an-array-in-ruby/261542 "2021-07-16T12:28:08Z")

</div>

array = \[1, 2, 3, 4, 5, 6\] array.each { |x| puts x } Do we have any other way to iterate?

---

## [Which below metacharacters will fit for below expression?](https://www.ruby-forum.com/t/which-below-metacharacters-will-fit-for-below-expression/261541)

<div class="topic-metadata">

**Author:** [@docky12](https://www.ruby-forum.com/u/docky12)\
**Replies:** 2\
**Last updated:** [July 16, 2021, 12:02pm UTC](https://www.ruby-forum.com/t/which-below-metacharacters-will-fit-for-below-expression/261541 "2021-07-16T12:02:59Z")

</div>

/26 \\-30 \\\*260 \\+382 = \\?/.match('Result is 30\*260')

---

## [How do I setup x.to\_amethod where x is an integer?](https://www.ruby-forum.com/t/how-do-i-setup-x-to-amethod-where-x-is-an-integer/261497)

<div class="topic-metadata">

**Author:** [@thelmalu](https://www.ruby-forum.com/u/thelmalu)\
**Replies:** 3\
**Last updated:** [July 7, 2021, 11:49pm UTC](https://www.ruby-forum.com/t/how-do-i-setup-x-to-amethod-where-x-is-an-integer/261497 "2021-07-07T23:49:41Z")

</div>

I’m going through the Ruby Track on Exercism and the exercise for converting arabic to roman numerals makes assertions on x.to\_roman where x is an integer and to\_roman is the translation method. I can tackle the translat…

---

## [Issue of Ruby while installing](https://www.ruby-forum.com/t/issue-of-ruby-while-installing/261461)

<div class="topic-metadata">

**Author:** [@zaidmd](https://www.ruby-forum.com/u/zaidmd)\
**Replies:** 0\
**Last updated:** [July 1, 2021, 12:30pm UTC](https://www.ruby-forum.com/t/issue-of-ruby-while-installing/261461 "2021-07-01T12:30:19Z")

</div>

Hi I have IBM AIX 7.1 and I would like to install Ruby. I tried on the internet but can’t find installable packages. It would be better for me if you can find me a solution able link. Thank you

---

## [Sort a hash whose values are all 5-element arrays on the i-th element of the array](https://www.ruby-forum.com/t/sort-a-hash-whose-values-are-all-5-element-arrays-on-the-i-th-element-of-the-array/261433)

<div class="topic-metadata">

**Author:** [@thelmalu](https://www.ruby-forum.com/u/thelmalu)\
**Replies:** 6\
**Last updated:** [June 22, 2021, 8:04pm UTC](https://www.ruby-forum.com/t/sort-a-hash-whose-values-are-all-5-element-arrays-on-the-i-th-element-of-the-array/261433 "2021-06-22T20:04:59Z")

</div>

I have a hash with keys == text phrases, and values == five element arrays, eg thishash = ( asi: \[1,2,3,4,5\], kvr: \[60,11,24 1,0\], bitt: \[0,0,3,-2,5\]} I’d like to sort it in descending order on the ith (right now …

---

## [Comment les listes inversées de téléphones portables vous donnent beaucoup d'informations personnelles sur un propriétaire de téléphone portable](https://www.ruby-forum.com/t/comment-les-listes-inversees-de-telephones-portables-vous-donnent-beaucoup-dinformations-personnelles-sur-un-proprietaire-de-telephone-portable/261436)

<div class="topic-metadata">

**Author:** [@Tanmoy45](https://www.ruby-forum.com/u/Tanmoy45)\
**Replies:** 0\
**Last updated:** [June 22, 2021, 5:16am UTC](https://www.ruby-forum.com/t/comment-les-listes-inversees-de-telephones-portables-vous-donnent-beaucoup-dinformations-personnelles-sur-un-proprietaire-de-telephone-portable/261436 "2021-06-22T05:16:28Z")

</div>

This subscription fee is deducted and recorded. Liste de numéros de téléphone One must agree to the terms on agreement so is to forbid illegal use of databases. Liste de numéros de téléphone Once you pay the subscription…

---

## [OmniAuth: What is exactly meant by secret or digest ? How to obtain it?](https://www.ruby-forum.com/t/omniauth-what-is-exactly-meant-by-secret-or-digest-how-to-obtain-it/261360)

<div class="topic-metadata">

**Author:** [@von\_spotz](https://www.ruby-forum.com/u/von_spotz)\
**Replies:** 0\
**Last updated:** [May 26, 2021, 12:34pm UTC](https://www.ruby-forum.com/t/omniauth-what-is-exactly-meant-by-secret-or-digest-how-to-obtain-it/261360 "2021-05-26T12:34:29Z")

</div>

Hello, OmniAuth uses “secrets” but the concept is nowhere explained. It’s obviously too trivial. I guess it is, if you are once just being told what it means. I also know some talk about a users “secret” in the contex…

---

## [Hi, there , is there anyone willing to create a custom program using ruby gem and gosu. any game will do](https://www.ruby-forum.com/t/hi-there-is-there-anyone-willing-to-create-a-custom-program-using-ruby-gem-and-gosu-any-game-will-do/261328)

<div class="topic-metadata">

**Author:** [@marcopolo\_lop](https://www.ruby-forum.com/u/marcopolo_lop)\
**Replies:** 0\
**Last updated:** [May 12, 2021, 5:35pm UTC](https://www.ruby-forum.com/t/hi-there-is-there-anyone-willing-to-create-a-custom-program-using-ruby-gem-and-gosu-any-game-will-do/261328 "2021-05-12T17:35:12Z")

</div>

required ruby gem and gosu

---

## [Hey can someone please help me out with this ruby program](https://www.ruby-forum.com/t/hey-can-someone-please-help-me-out-with-this-ruby-program/261327)

<div class="topic-metadata">

**Author:** [@marcopolo\_lop](https://www.ruby-forum.com/u/marcopolo_lop)\
**Replies:** 0\
**Last updated:** [May 12, 2021, 5:29pm UTC](https://www.ruby-forum.com/t/hey-can-someone-please-help-me-out-with-this-ruby-program/261327 "2021-05-12T17:29:31Z")

</div>

https://www.chegg.com/homework-help/questions-and-answers/task-provided-ruby-source-code-version-food-hunter-program-required-extend-program-impleme-q50219394

---

## [Need a value from the db, not sure how to get it](https://www.ruby-forum.com/t/need-a-value-from-the-db-not-sure-how-to-get-it/261182)

<div class="topic-metadata">

**Author:** [@merlin2049er](https://www.ruby-forum.com/u/merlin2049er)\
**Replies:** 1\
**Last updated:** [April 6, 2021, 2:09pm UTC](https://www.ruby-forum.com/t/need-a-value-from-the-db-not-sure-how-to-get-it/261182 "2021-04-06T14:09:51Z")

</div>

I have a table called poll\_options, and the column ‘count’ I need the sum of that for a specific poll id. Not quite sure how to get that. Thanks, Joe

---

## [Ppc training in noida](https://www.ruby-forum.com/t/ppc-training-in-noida/261249)

<div class="topic-metadata">

**Author:** [@akshusingh](https://www.ruby-forum.com/u/akshusingh)\
**Replies:** 0\
**Last updated:** [April 20, 2021, 9:52am UTC](https://www.ruby-forum.com/t/ppc-training-in-noida/261249 "2021-04-20T09:52:40Z")

</div>

PPC Stands for Pay Per Click, it’s one of the premier significant Modules of Digital Marketing. Essentially, it’s a paid kind of an announcement on Google, some huge scope organizations spend Lakhs and Lakhs rupees. to u…

---

## [Ruby PTY and fibers](https://www.ruby-forum.com/t/ruby-pty-and-fibers/261244)

<div class="topic-metadata">

**Author:** [@pebauer68](https://www.ruby-forum.com/u/pebauer68)\
**Replies:** 0\
**Last updated:** [April 17, 2021, 9:02am UTC](https://www.ruby-forum.com/t/ruby-pty-and-fibers/261244 "2021-04-17T09:02:39Z")

</div>

---

## [How can I fix this error please. Your Ruby version is 3.0.0 but your Gemfile specified 2.4.1. I need to work on Ruby 3.0.0 so i need to upgrade gemfiles](https://www.ruby-forum.com/t/how-can-i-fix-this-error-please-your-ruby-version-is-3-0-0-but-your-gemfile-specified-2-4-1-i-need-to-work-on-ruby-3-0-0-so-i-need-to-upgrade-gemfiles/261236)

<div class="topic-metadata">

**Author:** [@Arew](https://www.ruby-forum.com/u/Arew)\
**Replies:** 1\
**Last updated:** [April 17, 2021, 6:05am UTC](https://www.ruby-forum.com/t/how-can-i-fix-this-error-please-your-ruby-version-is-3-0-0-but-your-gemfile-specified-2-4-1-i-need-to-work-on-ruby-3-0-0-so-i-need-to-upgrade-gemfiles/261236 "2021-04-17T06:05:28Z")

</div>

How can I fix this error please. Your Ruby version is 3.0.0 but your Gemfile specified 2.4.1. I need to work on Ruby 3.0.0 so i need to upgrade gemfiles.

---

## [What is GIL in Python?](https://www.ruby-forum.com/t/what-is-gil-in-python/261148)

<div class="topic-metadata">

**Author:** [@richards12](https://www.ruby-forum.com/u/richards12)\
**Replies:** 2\
**Last updated:** [April 1, 2021, 2:14am UTC](https://www.ruby-forum.com/t/what-is-gil-in-python/261148 "2021-04-01T02:14:59Z")

</div>

Hi, I need to know What is GIL in Python

---

## [Gnu radio gr-radar toolbox](https://www.ruby-forum.com/t/gnu-radio-gr-radar-toolbox/261143)

<div class="topic-metadata">

**Author:** [@SallyIdhis](https://www.ruby-forum.com/u/SallyIdhis)\
**Replies:** 0\
**Last updated:** [March 21, 2021, 12:51pm UTC](https://www.ruby-forum.com/t/gnu-radio-gr-radar-toolbox/261143 "2021-03-21T12:51:22Z")

</div>

I have been working with your gr-radar toolbox, and I’ve been stuck on using the OS-CFAR block for multi peak detection. I believe I have read every documentation, but still can’t figure out the problem. If you have an…

---

## [Difference Between CSV & Excel?](https://www.ruby-forum.com/t/difference-between-csv-excel/261129)

<div class="topic-metadata">

**Author:** [@richards12](https://www.ruby-forum.com/u/richards12)\
**Replies:** 0\
**Last updated:** [March 18, 2021, 5:14am UTC](https://www.ruby-forum.com/t/difference-between-csv-excel/261129 "2021-03-18T05:14:17Z")

</div>

Hi, I want to know about Difference Between CSV & Excel

---

## [(More) helpful run-time error messages](https://www.ruby-forum.com/t/more-helpful-run-time-error-messages/261050)

<div class="topic-metadata">

**Author:** [@innersund](https://www.ruby-forum.com/u/innersund)\
**Replies:** 1\
**Last updated:** [March 2, 2021, 4:06pm UTC](https://www.ruby-forum.com/t/more-helpful-run-time-error-messages/261050 "2021-03-02T16:06:46Z")

</div>

I love Ruby, but the run-time error messages could be more helpful. An example: I have an array in 3 levels, and use map to transform the inner elements. Basically something like ary=\[1,2,3\] # but actually 3 levels new…

---

## [Abuhost - Brute/PortScan friendly servers with 1-10Gbps(unlimited unshared)](https://www.ruby-forum.com/t/abuhost-brute-portscan-friendly-servers-with-1-10gbps-unlimited-unshared/261033)

<div class="topic-metadata">

**Author:** [@Semuel78887](https://www.ruby-forum.com/u/Semuel78887)\
**Replies:** 0\
**Last updated:** [February 26, 2021, 8:15am UTC](https://www.ruby-forum.com/t/abuhost-brute-portscan-friendly-servers-with-1-10gbps-unlimited-unshared/261033 "2021-02-26T08:15:10Z")

</div>

Abuhost - Brute/PortScan friendly servers with 1-10Gbps(unlimited unshared) We want to offer you dedicated servers and VPS for brute / scan. Servers are suitable for brute RDP, SSH, VNC, etc. Fast activation. Port 1-…

---

## [How allow editing in fields](https://www.ruby-forum.com/t/how-allow-editing-in-fields/261019)

<div class="topic-metadata">

**Author:** [@pedro.desantis](https://www.ruby-forum.com/u/pedro.desantis)\
**Replies:** 1\
**Last updated:** [February 23, 2021, 4:03pm UTC](https://www.ruby-forum.com/t/how-allow-editing-in-fields/261019 "2021-02-23T16:03:29Z")

</div>

Good morning , I need to allow editing in fields in ruby. how do I do that ?

---

## [Underfine method group\_by\_day](https://www.ruby-forum.com/t/underfine-method-group-by-day/261014)

<div class="topic-metadata">

**Author:** [@yusoff](https://www.ruby-forum.com/u/yusoff)\
**Replies:** 0\
**Last updated:** [February 23, 2021, 2:27am UTC](https://www.ruby-forum.com/t/underfine-method-group-by-day/261014 "2021-02-23T02:27:04Z")

</div>

how to solve undefined method group\_by\_day.. I already use gem groupdate on my rails

---

## [Help: IRB not run](https://www.ruby-forum.com/t/help-irb-not-run/260925)

<div class="topic-metadata">

**Author:** [@lxyang](https://www.ruby-forum.com/u/lxyang)\
**Replies:** 4\
**Last updated:** [February 8, 2021, 10:16pm UTC](https://www.ruby-forum.com/t/help-irb-not-run/260925 "2021-02-08T22:16:23Z")

</div>

My PC is Windows 10 64-bit professional. I installed IRB 3.0.0-1 x64 without development software. When I clicked interactive ruby, the shell was displayed. In a couple of seconds, it disappeared. Then I tried to open C…

---

## [Stripe checkout image](https://www.ruby-forum.com/t/stripe-checkout-image/259335)

<div class="topic-metadata">

**Author:** [@merlin2049er](https://www.ruby-forum.com/u/merlin2049er)\
**Replies:** 2\
**Last updated:** [June 8, 2020, 11:58am UTC](https://www.ruby-forum.com/t/stripe-checkout-image/259335 "2020-06-08T11:58:53Z")

</div>

I’m having issues now that I’m using webpacker for assets. I used to pass the url to the image to my stripe checkout no problem. but now it can’t find it. # cart\_image = asset\_pack\_path + “media/images/#{product.picur…

---

## [Bulk email services](https://www.ruby-forum.com/t/bulk-email-services/260933)

<div class="topic-metadata">

**Author:** [@akshusingh](https://www.ruby-forum.com/u/akshusingh)\
**Replies:** 0\
**Last updated:** [February 6, 2021, 11:21am UTC](https://www.ruby-forum.com/t/bulk-email-services/260933 "2021-02-06T11:21:08Z")

</div>

At idealSMTP, you are rest assured of obtaining the bulk email services at highly competitive prices. With a team of highly knowledgeable and skilled professionals, you will be able to explore many benefits of bulk email…

[Previous page](https://www.ruby-forum.com/c/uncategorized/1.md?page=2)

[Next page](https://www.ruby-forum.com/c/uncategorized/1.md?page=4)
