# Top

**URL:** https://www.ruby-forum.com/top.md?page=561

[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:** 562

---

## [Save and save! fail but no errors are created](https://www.ruby-forum.com/t/save-and-save-fail-but-no-errors-are-created/50327)

<div class="topic-metadata">

**Author:** [@rue](https://www.ruby-forum.com/u/rue)\
**Replies:** 2\
**Last updated:** [December 15, 2005, 9:26am UTC](https://www.ruby-forum.com/t/save-and-save-fail-but-no-errors-are-created/50327 "2005-12-15T09:26:51Z")

</div>

Hi I will provide code if needed but I am wondering if there might be a standard cause for this: a Model I am trying to save seems to fail miserably at either a #save or #save! call. In the latter case, a RecordInva…

---

## [Gems should \*not be case sensitive.. or should they?](https://www.ruby-forum.com/t/gems-should-not-be-case-sensitive-or-should-they/195962)

<div class="topic-metadata">

**Author:** [@botp](https://www.ruby-forum.com/u/botp)\
**Replies:** 6\
**Last updated:** [October 5, 2010, 12:20am UTC](https://www.ruby-forum.com/t/gems-should-not-be-case-sensitive-or-should-they/195962 "2010-10-05T00:20:49Z")

</div>

why are gem names case sensitive? ie, gem rubyinline != gem RubyInline ?? if it’s an os/arch limitation, then i’d suggest they’d be all downcased :slight\_smile: eg, $ gem list --remote | grep -i rubyinline rogerdp…

---

## [Marshal\_load, marshal\_dump](https://www.ruby-forum.com/t/marshal-load-marshal-dump/155583)

<div class="topic-metadata">

**Author:** [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Replies:** 6\
**Last updated:** [December 16, 2008, 8:04pm UTC](https://www.ruby-forum.com/t/marshal-load-marshal-dump/155583 "2008-12-16T20:04:05Z")

</div>

Currently RMagick uses the old \_dump and \_load methods to marshal/unmarshal images. I’d like to start using the new marshal\_load and marshal\_dump methods. What is the impact of switching? Can I just replace \_dump and …

---

## [\[ANN\] Typo 5.0.3](https://www.ruby-forum.com/t/ann-typo-5-0-3/130033)

<div class="topic-metadata">

**Author:** [@Frederic\_de\_Villami](https://www.ruby-forum.com/u/Frederic_de_Villami)\
**Replies:** 6\
**Last updated:** [February 24, 2008, 7:12pm UTC](https://www.ruby-forum.com/t/ann-typo-5-0-3/130033 "2008-02-24T19:12:43Z")

</div>

Hello, Typo 5.0.3 “Don Mc Cullin” released on February 2008 the 24th is mostly a bugfix and refactoring release, going along with some improvements, everything leading slowly but surely to 5.1. \*\*\* Less bugs, more sp…

---

## [Class variables in templates/layouts](https://www.ruby-forum.com/t/class-variables-in-templates-layouts/97288)

<div class="topic-metadata">

**Author:** [@gabriel](https://www.ruby-forum.com/u/gabriel)\
**Replies:** 6\
**Last updated:** [July 6, 2006, 11:15pm UTC](https://www.ruby-forum.com/t/class-variables-in-templates-layouts/97288 "2006-07-06T23:15:10Z")

</div>

I’m having problems with class variables… I have a class: class Content::ApplicantsController \< ApplicationController layout “mylayout” @@tab = “mystring” \[… the rest is standard scaffold-created stuff …\] and a layo…

---

## [Gem install ruby-serialport in windows](https://www.ruby-forum.com/t/gem-install-ruby-serialport-in-windows/201464)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 8, 2011, 1:30am UTC](https://www.ruby-forum.com/t/gem-install-ruby-serialport-in-windows/201464 "2011-01-08T01:30:52Z")

</div>

I am having trouble doing gem installs, and I am getting the following message. Any ideas on what I should try to do. C:\\Ruby19\>gem install ruby-serialport Building native extensions. This could take a while… ERROR…

---

## [Getting green\_shoes up and running](https://www.ruby-forum.com/t/getting-green-shoes-up-and-running/241162)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [May 31, 2014, 6:08pm UTC](https://www.ruby-forum.com/t/getting-green-shoes-up-and-running/241162 "2014-05-31T18:08:18Z")

</div>

I am trying to write a GUI application using the green\_shoes gem and am encountering an error when trying to require the gem. The contents of my file are simply: require ‘green\_shoes’ And this is the error that is …

---

## [Please help install DBI on a Windows systems](https://www.ruby-forum.com/t/please-help-install-dbi-on-a-windows-systems/99413)

<div class="topic-metadata">

**Author:** [@maz](https://www.ruby-forum.com/u/maz)\
**Replies:** 5\
**Last updated:** [July 30, 2006, 3:54pm UTC](https://www.ruby-forum.com/t/please-help-install-dbi-on-a-windows-systems/99413 "2006-07-30T15:54:05Z")

</div>

I’m very frustrated because I’ve just spent the past few hours in the middle of the night (the sun is already up) trying to figure out how to install DBI for MySQL for Ruby on a Windows system and just failing horribl…

---

## [Segmentation fault using ruby gtk cairo on windows](https://www.ruby-forum.com/t/segmentation-fault-using-ruby-gtk-cairo-on-windows/57039)

<div class="topic-metadata">

**Author:** [@Vincenzo\_P](https://www.ruby-forum.com/u/Vincenzo_P)\
**Replies:** 5\
**Last updated:** [April 11, 2006, 10:20pm UTC](https://www.ruby-forum.com/t/segmentation-fault-using-ruby-gtk-cairo-on-windows/57039 "2006-04-11T22:20:04Z")

</div>

Hello All, I’m writing an ruby Gtk app which uses the new cairo features. It runs well on linux but crashes after a few redraws when executed on Windows (segmentation fault). I noticed that the same happens with the …

---

## [Howto install gstreamer gem on windows](https://www.ruby-forum.com/t/howto-install-gstreamer-gem-on-windows/212584)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [October 10, 2011, 3:56am UTC](https://www.ruby-forum.com/t/howto-install-gstreamer-gem-on-windows/212584 "2011-10-10T03:56:51Z")

</div>

Hello, I would like to run the Satoshi test of gst+gtk on Windows. But what is the procedure for install gstreamer+gem gstreamer ? I have already ruby 1.9.2p180 devkit ossbuid GStreamer-WinBuilds-GPL-x86.msi GStre…

---

## [Paperclip](https://www.ruby-forum.com/t/paperclip/168221)

<div class="topic-metadata">

**Author:** [@railscamper](https://www.ruby-forum.com/u/railscamper)\
**Replies:** 4\
**Last updated:** [May 18, 2009, 5:26pm UTC](https://www.ruby-forum.com/t/paperclip/168221 "2009-05-18T17:26:22Z")

</div>

Ich versuche gerade mit Paperclip ein Profil Foto upload hinzubekommen, irgendwie scheint auch erstmal alles zu klappen, aber auf Show Seite werden nur Platzhalter angezeigt Was habe ich getan. Erstmal habe ich script…

---

## [Problems mocking controller helpers with the last version](https://www.ruby-forum.com/t/problems-mocking-controller-helpers-with-the-last-version/149750)

<div class="topic-metadata">

**Author:** [@jmcervera](https://www.ruby-forum.com/u/jmcervera)\
**Replies:** 4\
**Last updated:** [September 29, 2008, 1:55pm UTC](https://www.ruby-forum.com/t/problems-mocking-controller-helpers-with-the-last-version/149750 "2008-09-29T13:55:26Z")

</div>

I have just installed the edge version of rspec and rspec-rails and some of my specs related to views now fail. I use the helper current\_user in my views, to access the user that is actually logged in. I was simply u…

---

## [Filesystem as a Model?](https://www.ruby-forum.com/t/filesystem-as-a-model/92837)

<div class="topic-metadata">

**Author:** [@jonathan](https://www.ruby-forum.com/u/jonathan)\
**Replies:** 4\
**Last updated:** [April 25, 2007, 9:04pm UTC](https://www.ruby-forum.com/t/filesystem-as-a-model/92837 "2007-04-25T21:04:13Z")

</div>

One of the projects that I’m working on creates and twiddles with a lot of directories. In version 1, I did this all in the controllers, but I’m beginning to think that the whole design would be cleaner in v2 if I ma…

---

## [How to execute create table on fly](https://www.ruby-forum.com/t/how-to-execute-create-table-on-fly/91291)

<div class="topic-metadata">

**Author:** [@feng](https://www.ruby-forum.com/u/feng)\
**Replies:** 4\
**Last updated:** [April 6, 2007, 3:42pm UTC](https://www.ruby-forum.com/t/how-to-execute-create-table-on-fly/91291 "2007-04-06T15:42:04Z")

</div>

dear all, I’m a Rails newbie and i have some problem. I’m using MySQL. I want to excute some complexity query, and I need to create some table to hold temp query result. I want to know how to execute some SQL query …

---

## [Finding anagram of words](https://www.ruby-forum.com/t/finding-anagram-of-words/167062)

<div class="topic-metadata">

**Author:** [@peterkemp](https://www.ruby-forum.com/u/peterkemp)\
**Replies:** 2\
**Last updated:** [May 3, 2009, 8:30am UTC](https://www.ruby-forum.com/t/finding-anagram-of-words/167062 "2009-05-03T08:30:30Z")

</div>

Hey, Please help me to solve this problem with an example. Thanks in advance. Find anagrams of words e.g. rinse, reins, siren, resin are all anagrams one of another. use this file of words (you can use any words) We…

---

## [Open source code files from the browser with one click](https://www.ruby-forum.com/t/open-source-code-files-from-the-browser-with-one-click/267809)

<div class="topic-metadata">

**Author:** [@igorkasyanchuk](https://www.ruby-forum.com/u/igorkasyanchuk)\
**Replies:** 0\
**Last updated:** [July 4, 2025, 8:46pm UTC](https://www.ruby-forum.com/t/open-source-code-files-from-the-browser-with-one-click/267809 "2025-07-04T20:46:06Z")

</div>

GitHub - igorkasyanchuk/editor\_opener: Open the source file with bug from the browser · GitHub my new gem to open source code files in your editor from the browser with one click. Quick demo:

---

## [Ruby C extension returns report\_on\_exception is true](https://www.ruby-forum.com/t/ruby-c-extension-returns-report-on-exception-is-true/253682)

<div class="topic-metadata">

**Author:** [@akhilravuri1](https://www.ruby-forum.com/u/akhilravuri1)\
**Replies:** 3\
**Last updated:** [February 4, 2020, 5:47am UTC](https://www.ruby-forum.com/t/ruby-c-extension-returns-report-on-exception-is-true/253682 "2020-02-04T05:47:39Z")

</div>

I was trying to import server\_info api in the ibm\_db extension. It worked well in windows but in Linux, it returns tread sleep error. #\<Thread:0x000055c9febc5ca0 sleep\> terminated with exception (report\_on\_exception is …

---

## [Intr process on freebsd](https://www.ruby-forum.com/t/intr-process-on-freebsd/209077)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [July 5, 2011, 12:47pm UTC](https://www.ruby-forum.com/t/intr-process-on-freebsd/209077 "2011-07-05T12:47:39Z")

</div>

Hi I am currently investigating moving our platform from linux to freebsd On my test server I can see an increase in cpu usage compared to linux (specifically system cpu% rather than user%) On further investigation, …

---

## [Cygwin Rails issues "/dev/urandom" not found](https://www.ruby-forum.com/t/cygwin-rails-issues-dev-urandom-not-found/122974)

<div class="topic-metadata">

**Author:** [@jjburka](https://www.ruby-forum.com/u/jjburka)\
**Replies:** 3\
**Last updated:** [October 27, 2010, 9:42pm UTC](https://www.ruby-forum.com/t/cygwin-rails-issues-dev-urandom-not-found/122974 "2010-10-27T21:42:18Z")

</div>

Hey, I’m trying to install ruby on rails on windows xp with cygwin. I installed the rails gem but when I go to create an application I get the following : “No such file or directory - /dev/urandom” the error seems t…

---

## [SOCKSSocket working?](https://www.ruby-forum.com/t/sockssocket-working/184900)

<div class="topic-metadata">

**Author:** [@Ricardo\_Amorim](https://www.ruby-forum.com/u/Ricardo_Amorim)\
**Replies:** 3\
**Last updated:** [March 11, 2010, 9:35pm UTC](https://www.ruby-forum.com/t/sockssocket-working/184900 "2010-03-11T21:35:54Z")

</div>

Hello, I compiled ruby-1.8.7-p249 with --enable-socks and package libsocks4 installed in Debian lenny. Well, i’m trying to get SOCKS working with Net::FTP. I started “ssh -N -D 8000 user@otherhostip” and configured S…

---

## [RDE 1.1.1 released](https://www.ruby-forum.com/t/rde-1-1-1-released/108805)

<div class="topic-metadata">

**Author:** [@sakazuki](https://www.ruby-forum.com/u/sakazuki)\
**Replies:** 3\
**Last updated:** [July 25, 2007, 9:55pm UTC](https://www.ruby-forum.com/t/rde-1-1-1-released/108805 "2007-07-25T21:55:13Z")

</div>

Hi. I released RDE 1.1.1. RDE is a Ruby IDE and Ruby editor on Windows. You can edit, run and debug your scripts quickly and easily. RDE debugger is the GUI wrapper of debug.rb. RDE editor has functions that syntax …

---

## [Running ruby-gnome 3.1.0 on win10/ruby 2.2](https://www.ruby-forum.com/t/running-ruby-gnome-3-1-0-on-win10-ruby-2-2/245144)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [November 16, 2016, 8:46pm UTC](https://www.ruby-forum.com/t/running-ruby-gnome-3-1-0-on-win10-ruby-2-2/245144 "2016-11-16T20:46:48Z")

</div>

Hello, Happy to have a new version :slight\_smile: Trying new version, I get some issues: gdk3 sample : C:\\Ruby22\\lib\\ruby\\gems\\2.2.0\\gems\\gdk\_pixbuf2-3.1.0-x86-mingw32\\sample\>ruby composite.rb C:/Ruby22/lib/ruby/2.…

---

## [Faster primality testing and factorization methods in Ruby](https://www.ruby-forum.com/t/faster-primality-testing-and-factorization-methods-in-ruby/235519)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 7\
**Last updated:** [August 28, 2013, 6:46pm UTC](https://www.ruby-forum.com/t/faster-primality-testing-and-factorization-methods-in-ruby/235519 "2013-08-28T18:46:45Z")

</div>

I have created various implementations of methods to replace prime? and prime\_division (from the standard lib file prime.rb) based on a class of mathematical operators I’ve developed called prime generators (PG).Using …

---

## [Controller Spec & DataMapper Chaining](https://www.ruby-forum.com/t/controller-spec-datamapper-chaining/204684)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [March 20, 2011, 12:27am UTC](https://www.ruby-forum.com/t/controller-spec-datamapper-chaining/204684 "2011-03-20T00:27:53Z")

</div>

Hi there, I’m fairly new to RSpec, and DataMapper and I’m trying to write a controller spec for an index action that will include DM query chaining. Here is a very simplified version of the Controller#index I’m worki…

---

## [Radio button tag checked conditon](https://www.ruby-forum.com/t/radio-button-tag-checked-conditon/107412)

<div class="topic-metadata">

**Author:** [@pablo](https://www.ruby-forum.com/u/pablo)\
**Replies:** 1\
**Last updated:** [June 21, 2007, 7:08pm UTC](https://www.ruby-forum.com/t/radio-button-tag-checked-conditon/107412 "2007-06-21T19:08:56Z")

</div>

Hello Is it possible to pass a condition to radio\_button\_tag helper to check if smth is true or not? \<%for brand in @brands%\> \<%=radio\_button\_tag "product\[brand\_id\]", brand.id, :checked =\> true%\> \<%= brand.name %\> \<…

---

## [Issue with Selenium-webdriver](https://www.ruby-forum.com/t/issue-with-selenium-webdriver/228585)

<div class="topic-metadata">

**Author:** [@my-ruby](https://www.ruby-forum.com/u/my-ruby)\
**Replies:** 8\
**Last updated:** [May 2, 2013, 2:34pm UTC](https://www.ruby-forum.com/t/issue-with-selenium-webdriver/228585 "2013-05-02T14:34:46Z")

</div>

Hi, I wrote a script and it was running fine. But from today it stopped working. This is the part of the script: ======================================== require ‘selenium-webdriver’ require ‘win32ole’ driver = Se…

---

## [Enumerable ObjectSpace (#222)](https://www.ruby-forum.com/t/enumerable-objectspace-222/177827)

<div class="topic-metadata">

**Author:** [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Replies:** 8\
**Last updated:** [December 4, 2009, 8:01am UTC](https://www.ruby-forum.com/t/enumerable-objectspace-222/177827 "2009-12-04T08:01:42Z")

</div>

\-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have elapsed from the time this m…

---

## [Route par defaut et path\_prefix](https://www.ruby-forum.com/t/route-par-defaut-et-path-prefix/150531)

<div class="topic-metadata">

**Author:** [@giom](https://www.ruby-forum.com/u/giom)\
**Replies:** 8\
**Last updated:** [October 10, 2008, 8:56am UTC](https://www.ruby-forum.com/t/route-par-defaut-et-path-prefix/150531 "2008-10-10T08:56:54Z")

</div>

Bonjour, J’ai un petit problÃ¨me avec mon routes.rb. Le fichier ressemble Ã Ã§a : map.resources :manufacturers, :path\_prefix =\> “settings” … Install the default routes as the lowest priority. Note: These default ro…

---

## [Simple display sink in wx](https://www.ruby-forum.com/t/simple-display-sink-in-wx/85334)

<div class="topic-metadata">

**Author:** [@Achilleas\_A](https://www.ruby-forum.com/u/Achilleas_A)\
**Replies:** 8\
**Last updated:** [February 19, 2007, 12:08am UTC](https://www.ruby-forum.com/t/simple-display-sink-in-wx/85334 "2007-02-19T00:08:25Z")

</div>

Hi, it would be very useful to have a wx sink that displays the value of its input. This way we can check in real time values that change slowly (eg, snr, bit error rate, etc.) Unfortunately there is no how\_to\_write…

---

## [LoginEngine questions](https://www.ruby-forum.com/t/loginengine-questions/78224)

<div class="topic-metadata">

**Author:** [@idrifter](https://www.ruby-forum.com/u/idrifter)\
**Replies:** 8\
**Last updated:** [July 27, 2006, 3:33pm UTC](https://www.ruby-forum.com/t/loginengine-questions/78224 "2006-07-27T15:33:52Z")

</div>

Hi all, I have a few questions regarding the LoginEngine. What is the best way of extending the User model without starting to make changes to the actual files? I need to add some additional functionality but pref…

---

## [NGINX: Set/use requests with fully qualified domain name (= FQDN)](https://www.ruby-forum.com/t/nginx-set-use-requests-with-fully-qualified-domain-name-fqdn/244603)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [May 13, 2016, 10:30am UTC](https://www.ruby-forum.com/t/nginx-set-use-requests-with-fully-qualified-domain-name-fqdn/244603 "2016-05-13T10:30:38Z")

</div>

Hi @ all. NGINX proxy\_pass works great with our internal servers. Thanks for the good work. Now I want to proxy\_pass an external server and I have to use our proxy for this to get an external connection. I checked …

---

## [System Stats from Ruby?](https://www.ruby-forum.com/t/system-stats-from-ruby/184599)

<div class="topic-metadata">

**Author:** [@nickh](https://www.ruby-forum.com/u/nickh)\
**Replies:** 2\
**Last updated:** [March 5, 2010, 3:28pm UTC](https://www.ruby-forum.com/t/system-stats-from-ruby/184599 "2010-03-05T15:28:30Z")

</div>

I am new to ruby but am working hard to learn all i can. Is there a way to get system information from ruby on windows? I am looking to get some data to make a system monitor type of thing. Data like conky or samurize…

---

## [Story / Redirection to static html within public](https://www.ruby-forum.com/t/story-redirection-to-static-html-within-public/138382)

<div class="topic-metadata">

**Author:** [@joesniff](https://www.ruby-forum.com/u/joesniff)\
**Replies:** 2\
**Last updated:** [March 6, 2009, 7:52am UTC](https://www.ruby-forum.com/t/story-redirection-to-static-html-within-public/138382 "2009-03-06T07:52:11Z")

</div>

With a rails application I’m trying to access the public/ folder from within a rspec story. I have a controller which redirects to: /public/static\_html\_page.html I have a story written using webat. This story uses t…

---

## [Overwrite a File (rexml)](https://www.ruby-forum.com/t/overwrite-a-file-rexml/139864)

<div class="topic-metadata">

**Author:** [@robtotheb](https://www.ruby-forum.com/u/robtotheb)\
**Replies:** 2\
**Last updated:** [June 9, 2008, 3:21pm UTC](https://www.ruby-forum.com/t/overwrite-a-file-rexml/139864 "2008-06-09T15:21:41Z")

</div>

Hello, I am trying to get some simple create/update/delete xml-element to work with REXML, but I run into trouble when writing to file. Here’s a code example: def save file = File.open(@@filePath, “r+”) doc = Docum…

---

## [\[ANN\] Ruby-GNOME2 0.19.4](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-19-4/187107)

<div class="topic-metadata">

**Author:** [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Replies:** 6\
**Last updated:** [April 22, 2010, 2:26pm UTC](https://www.ruby-forum.com/t/ann-ruby-gnome2-0-19-4/187107 "2010-04-22T14:26:04Z")

</div>

Hi, The Ruby-GNOME2 project released Ruby-GNOME2 0.19.4: Download ruby-gtk2-0.19.4.tar.gz (Ruby-GNOME 2) Download ruby-gnome2-all-0.19.4.tar.gz (Ruby-GNOME 2) This release has many bug fixes and some improvements. Th…

---

## [How do ASP Response.Write in RoR?](https://www.ruby-forum.com/t/how-do-asp-response-write-in-ror/152875)

<div class="topic-metadata">

**Author:** [@mrpete](https://www.ruby-forum.com/u/mrpete)\
**Replies:** 6\
**Last updated:** [November 9, 2008, 8:50pm UTC](https://www.ruby-forum.com/t/how-do-asp-response-write-in-ror/152875 "2008-11-09T20:50:49Z")

</div>

With Microsnot technology you an do this: \<% Response.Write “Hello, World” %\> How do you output text to the browser with Ruby? Pete

---

## [Damn you cmd.exe!](https://www.ruby-forum.com/t/damn-you-cmd-exe/151115)

<div class="topic-metadata">

**Author:** [@asetzler](https://www.ruby-forum.com/u/asetzler)\
**Replies:** 6\
**Last updated:** [October 17, 2008, 11:50am UTC](https://www.ruby-forum.com/t/damn-you-cmd-exe/151115 "2008-10-17T11:50:44Z")

</div>

Hi, As an exercise in metaprogramming I decided to write a DSL shell. One of the requirements was that it should be working on both - win32 and unix platforms. I quickly encountered some problems with cmd.exe. My fi…

---

## [GMSK: GSM initial phase for a burst](https://www.ruby-forum.com/t/gmsk-gsm-initial-phase-for-a-burst/107173)

<div class="topic-metadata">

**Author:** [@Jeffrey\_K](https://www.ruby-forum.com/u/Jeffrey_K)\
**Replies:** 6\
**Last updated:** [June 20, 2007, 1:00am UTC](https://www.ruby-forum.com/t/gmsk-gsm-initial-phase-for-a-burst/107173 "2007-06-20T01:00:08Z")

</div>

Hello everyone. I am looking at the frequency correction burst of a GSM signal. According to spec the original data defines 148 bits of 0 that are differentially encoded and GMSK modulated. After the data goes throu…

---

## [Linking two tables using a lookup table](https://www.ruby-forum.com/t/linking-two-tables-using-a-lookup-table/62593)

<div class="topic-metadata">

**Author:** [@hariraj](https://www.ruby-forum.com/u/hariraj)\
**Replies:** 6\
**Last updated:** [June 7, 2006, 2:23pm UTC](https://www.ruby-forum.com/t/linking-two-tables-using-a-lookup-table/62593 "2006-06-07T14:23:35Z")

</div>

Hi, How do I associate two different tables which have a lookup id (table) as common. I tried the has\_many :table2, :through =\> look\_up\_table in my table1 model. Any hints? Thanks, Hari

---

## [How to do Daily Database Maintenance in a Rails Way?](https://www.ruby-forum.com/t/how-to-do-daily-database-maintenance-in-a-rails-way/105769)

<div class="topic-metadata">

**Author:** [@newbie](https://www.ruby-forum.com/u/newbie)\
**Replies:** 4\
**Last updated:** [June 3, 2007, 1:27am UTC](https://www.ruby-forum.com/t/how-to-do-daily-database-maintenance-in-a-rails-way/105769 "2007-06-03T01:27:56Z")

</div>

I am learning Rails and came across the following problem. I need to do some daily maintenance to the MySQL database. By maintenance, I mean reading data from one table, do some calculation, and put the result in anot…

---

## [Using gsub to remove embedded newlines in HTML file](https://www.ruby-forum.com/t/using-gsub-to-remove-embedded-newlines-in-html-file/101030)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 4\
**Last updated:** [August 3, 2006, 10:49pm UTC](https://www.ruby-forum.com/t/using-gsub-to-remove-embedded-newlines-in-html-file/101030 "2006-08-03T22:49:12Z")

</div>

I have an HTML file that is in a string. I want to use gsub! to recursively remove any embedded newlines and whitespace within two known delimeters. Given a string that includes this kind of string: ~^LNK:http://slas…

---

## [Schema dump not working when using sql schema prefixes](https://www.ruby-forum.com/t/schema-dump-not-working-when-using-sql-schema-prefixes/243938)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [November 4, 2019, 5:57pm UTC](https://www.ruby-forum.com/t/schema-dump-not-working-when-using-sql-schema-prefixes/243938 "2019-11-04T17:57:41Z")

</div>

I am running ruby 2.0.0p247 (2013-06-27) \[i386-mingw32\] / rails 4.2.5 Because of the way we will be doing things, I am using one sql database on the server with schema prefixes. i.e. a joblist app would use jl. as th…

---

## [Scraping amazon pages with nokogiri](https://www.ruby-forum.com/t/scraping-amazon-pages-with-nokogiri/231817)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 1, 2014, 11:17pm UTC](https://www.ruby-forum.com/t/scraping-amazon-pages-with-nokogiri/231817 "2014-09-01T23:17:39Z")

</div>

ruby latest nokogiri 1.6.3.1 I am trying to get title and price from Amazon product pages like, require ‘open-uri’ require ‘nokogiri’ url = ‘Amazon.co.jp’ charset = nil html = open(url) do |f| charset = f.charse…

---

## [Mobile support?](https://www.ruby-forum.com/t/mobile-support/225706)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [January 11, 2014, 10:29am UTC](https://www.ruby-forum.com/t/mobile-support/225706 "2014-01-11T10:29:50Z")

</div>

Is it possible to use IronRuby to write apps for Windows Phone, Surface, and/or Windows 8 Metro? Are there sample programs for this? – Cheers, Andrew Pennebaker www.yellosoft.us

---

## [Can we have a MacRuby forum please?](https://www.ruby-forum.com/t/can-we-have-a-macruby-forum-please/207330)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 24, 2011, 6:25pm UTC](https://www.ruby-forum.com/t/can-we-have-a-macruby-forum-please/207330 "2011-05-24T18:25:55Z")

</div>

Any chance we could get a MacRuby forum here please?

---

## [Regex Non Greedy Match](https://www.ruby-forum.com/t/regex-non-greedy-match/222457)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 29, 2012, 4:22pm UTC](https://www.ruby-forum.com/t/regex-non-greedy-match/222457 "2012-08-29T16:22:41Z")

</div>

Hello, I am trying to get a non-greedy match, but am unable to do so. What may I be doing wrong? Please help. ====== Code: puts str1 = “Hi, @\[Subject:13|My\_Subject\]” str2 = “Hi, @\[Subject:13|My\_Subject\], and @\[Su…

---

## [Controller method/action being called twice (once POST and once GET) for file upload - why?](https://www.ruby-forum.com/t/controller-method-action-being-called-twice-once-post-and-once-get-for-file-upload-why/153178)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [November 13, 2008, 3:08am UTC](https://www.ruby-forum.com/t/controller-method-action-being-called-twice-once-post-and-once-get-for-file-upload-why/153178 "2008-11-13T03:08:58Z")

</div>

I’m uploading a file via the user’s browser. The index method in my controller is: \<%= form\_tag({:action=\>‘receive\_file’}, :multipart =\> true)%\> I get a form with a ‘browse’ button and an ‘upload’ button. I …

---

## [Ungenerate / remove scaffold command?](https://www.ruby-forum.com/t/ungenerate-remove-scaffold-command/53521)

<div class="topic-metadata">

**Author:** [@aftershock](https://www.ruby-forum.com/u/aftershock)\
**Replies:** 3\
**Last updated:** [February 8, 2006, 9:17am UTC](https://www.ruby-forum.com/t/ungenerate-remove-scaffold-command/53521 "2006-02-08T09:17:50Z")

</div>

I have seen this somewhere and can’t find it now. Is there an ungenerate or remove command for the scaffold generator. It would be easier than removing all the files by hand. I have tried ./script/ungenerate but no lu…

---

## [Passing variable to partial failure](https://www.ruby-forum.com/t/passing-variable-to-partial-failure/242493)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [June 28, 2015, 11:08pm UTC](https://www.ruby-forum.com/t/passing-variable-to-partial-failure/242493 "2015-06-28T23:08:30Z")

</div>

In the view.html.erb: \<%= render @posts %\> In each \_post.html.erb: \<%= render partial: ‘shared/block’, locals: { blockedcallsign: post. callsign } %\> In each \_block.html.erb: \<%= button\_to blockrelationships\_path, …

---

## [Initial implementation of The Update Framework (TUF) for RubyGems](https://www.ruby-forum.com/t/initial-implementation-of-the-update-framework-tuf-for-rubygems/237663)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [November 26, 2013, 6:09am UTC](https://www.ruby-forum.com/t/initial-implementation-of-the-update-framework-tuf-for-rubygems/237663 "2013-11-26T06:09:10Z")

</div>

Hello there everyone! Here at Square we’ve been doing a Hack Week project to improve the security of RubyGems. We have been basing our efforts off a software update framework called The Update Framework (TUF) which i…

[Previous page](https://www.ruby-forum.com/top.md?page=560&per_page=50)

[Next page](https://www.ruby-forum.com/top.md?page=562&per_page=50)
