# Top

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

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

---

## [More string encodings](https://www.ruby-forum.com/t/more-string-encodings/196174)

<div class="topic-metadata">

**Author:** [@blueprint](https://www.ruby-forum.com/u/blueprint)\
**Replies:** 8\
**Last updated:** [October 10, 2010, 3:56am UTC](https://www.ruby-forum.com/t/more-string-encodings/196174 "2010-10-10T03:56:05Z")

</div>

the attached patch fixes more string encodings in places currently using rb\_str\_new\* or StringValuePtr. i have reviewed glib2, pango, gdkpixbuf and gtk2. i know too little other modules to review them for the same thi…

---

## [Case and class](https://www.ruby-forum.com/t/case-and-class/193648)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 8\
**Last updated:** [August 24, 2010, 12:12am UTC](https://www.ruby-forum.com/t/case-and-class/193648 "2010-08-24T00:12:11Z")

</div>

Why does “YYY” get printed out here? class XXX end x = XXX.new case x.class when XXX puts “XXX” else puts “YYY” # surprise! end

---

## [Windows progress](https://www.ruby-forum.com/t/windows-progress/62182)

<div class="topic-metadata">

**Author:** [@regularfry](https://www.ruby-forum.com/u/regularfry)\
**Replies:** 8\
**Last updated:** [June 5, 2006, 5:19pm UTC](https://www.ruby-forum.com/t/windows-progress/62182 "2006-06-05T17:19:28Z")

</div>

Hi there, What’s the current status of the Windows port? I may be in a position to lend a hand over the next couple of weeks - where should I start looking? And what’s the best way to get SVN HEAD? This happens: $…

---

## [Recommendation: Unique Name for Typo (perhaps an Alias)](https://www.ruby-forum.com/t/recommendation-unique-name-for-typo-perhaps-an-alias/203873)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [March 2, 2011, 3:25pm UTC](https://www.ruby-forum.com/t/recommendation-unique-name-for-typo-perhaps-an-alias/203873 "2011-03-02T15:25:19Z")

</div>

I’m a long time user of Typo and one of the biggest issues I have is searching for things related to the blogging software. For example - if I want to do a search on Twitter integration with the Typo 6 I get a rando…

---

## [Nginx accept set-cookie but hide it from the client?](https://www.ruby-forum.com/t/nginx-accept-set-cookie-but-hide-it-from-the-client/228725)

<div class="topic-metadata">

**Author:** [@nano](https://www.ruby-forum.com/u/nano)\
**Replies:** 6\
**Last updated:** [May 5, 2013, 10:44pm UTC](https://www.ruby-forum.com/t/nginx-accept-set-cookie-but-hide-it-from-the-client/228725 "2013-05-05T22:44:23Z")

</div>

Hello, I have a reverse proxy setup on a website and I’m proxying logged in pages. Everything works except there is a vulnerability in my setup. I login to the site and I can cache the pages. I share these pages with …

---

## [Setting the Image of a Button](https://www.ruby-forum.com/t/setting-the-image-of-a-button/183089)

<div class="topic-metadata">

**Author:** [@idrysdale](https://www.ruby-forum.com/u/idrysdale)\
**Replies:** 4\
**Last updated:** [February 8, 2010, 7:55am UTC](https://www.ruby-forum.com/t/setting-the-image-of-a-button/183089 "2010-02-08T07:55:43Z")

</div>

Hello everyone, I’m pretty new to both Ruby and Ruby-Gnome2. I am trying to create a GUI for TicTacToe and I’m running into some problems. I would like to be able to set the image of a button and then have it change i…

---

## [How to find out autoincrement id?](https://www.ruby-forum.com/t/how-to-find-out-autoincrement-id/138422)

<div class="topic-metadata">

**Author:** [@KTU](https://www.ruby-forum.com/u/KTU)\
**Replies:** 4\
**Last updated:** [May 22, 2008, 9:52pm UTC](https://www.ruby-forum.com/t/how-to-find-out-autoincrement-id/138422 "2008-05-22T21:52:41Z")

</div>

Hi I need to push newly created item id to file. (ie. its autoincrement value) I tried this on controller but it wont work, it cant find id value for the newly created item. def create @imitem = Imitem.new(params\[:…

---

## [Manual Garbage Collection](https://www.ruby-forum.com/t/manual-garbage-collection/106746)

<div class="topic-metadata">

**Author:** [@conan](https://www.ruby-forum.com/u/conan)\
**Replies:** 4\
**Last updated:** [June 13, 2007, 11:22pm UTC](https://www.ruby-forum.com/t/manual-garbage-collection/106746 "2007-06-13T23:22:12Z")

</div>

Hi. I’m having a problem with a Ruby-Gnome2 application I’ve been building. For some reason(which I haven’t identified but I suspect is ruby-gnome problem) my program randomly segfaults. I fixed this by disabling g…

---

## [Glimmer DSL for Web Ruby Integration with JavaScript Libraries](https://www.ruby-forum.com/t/glimmer-dsl-for-web-ruby-integration-with-javascript-libraries/264804)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [May 17, 2024, 6:10pm UTC](https://www.ruby-forum.com/t/glimmer-dsl-for-web-ruby-integration-with-javascript-libraries/264804 "2024-05-17T18:10:22Z")

</div>

Glimmer DSL for Web is a Ruby-in-the-Browser Web Frontend Framework that enables Rubyists to finally have Ruby productivity and happiness in the Frontend via a simpler, more intuitive, more straightforward, and more prod…

---

## [RSpec question about catching expected exception in class .new](https://www.ruby-forum.com/t/rspec-question-about-catching-expected-exception-in-class-new/224383)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [November 10, 2012, 3:04am UTC](https://www.ruby-forum.com/t/rspec-question-about-catching-expected-exception-in-class-new/224383 "2012-11-10T03:04:48Z")

</div>

I have the following I’m trying to test: class Marker def initialize(secret, guess) raise ArgumentError, “secret and guess must be the same length”, caller if guess.length != secret.length @secret, @guess = secret, …

---

## [Sending email from rails app to Postfix remote mail server](https://www.ruby-forum.com/t/sending-email-from-rails-app-to-postfix-remote-mail-server/168152)

<div class="topic-metadata">

**Author:** [@balishaggy](https://www.ruby-forum.com/u/balishaggy)\
**Replies:** 1\
**Last updated:** [January 28, 2011, 12:53am UTC](https://www.ruby-forum.com/t/sending-email-from-rails-app-to-postfix-remote-mail-server/168152 "2011-01-28T00:53:59Z")

</div>

Hi, I am running a rails app on my local development machine testing email delivery with a remote mail server running Postfix at Slicehost. I haven’t been able to configure ActionMailer to connect to the mail server w…

---

## [Strict conversion of strings to ints?](https://www.ruby-forum.com/t/strict-conversion-of-strings-to-ints/113016)

<div class="topic-metadata">

**Author:** [@Kenneth\_McDonald](https://www.ruby-forum.com/u/Kenneth_McDonald)\
**Replies:** 7\
**Last updated:** [August 26, 2007, 11:43pm UTC](https://www.ruby-forum.com/t/strict-conversion-of-strings-to-ints/113016 "2007-08-26T23:43:14Z")

</div>

Is there an easy way to parse a string to an integer that will throw an error of some sort if the string is not actually a properly formatted integer? “to\_i” of course is very non-strict, which is no good for what I w…

---

## [Active Record out of rails: still assumes id?](https://www.ruby-forum.com/t/active-record-out-of-rails-still-assumes-id/76816)

<div class="topic-metadata">

**Author:** [@farfignugen](https://www.ruby-forum.com/u/farfignugen)\
**Replies:** 7\
**Last updated:** [November 22, 2006, 1:05am UTC](https://www.ruby-forum.com/t/active-record-out-of-rails-still-assumes-id/76816 "2006-11-22T01:05:30Z")

</div>

Hi, Im currently writing a ruby script that will connect to a database using active record and then insert data that has been scraped from certain websites. A problem that I have run into is that when i try to use th…

---

## [Camping 1.3, the Microframework](https://www.ruby-forum.com/t/camping-1-3-the-microframework/53518)

<div class="topic-metadata">

**Author:** [@why\_the\_lucky\_stiff](https://www.ruby-forum.com/u/why_the_lucky_stiff)\
**Replies:** 7\
**Last updated:** [February 9, 2006, 1:06am UTC](https://www.ruby-forum.com/t/camping-1-3-the-microframework/53518 "2006-02-09T01:06:12Z")

</div>

Good people of the town: Maybe some of you are interesting in the continuing story of Camping. If not, I understand, these are sensitive matters, best wishes. Camping is a small framework designed to mimick Rails, bu…

---

## [IronRuby and Cucumber](https://www.ruby-forum.com/t/ironruby-and-cucumber/194436)

<div class="topic-metadata">

**Author:** [@kavitha](https://www.ruby-forum.com/u/kavitha)\
**Replies:** 3\
**Last updated:** [September 7, 2010, 4:59pm UTC](https://www.ruby-forum.com/t/ironruby-and-cucumber/194436 "2010-09-07T16:59:54Z")

</div>

Hi, While I was trying to integrate Iron Ruby and Cucumber the installation succeeded without any problems. But when I wanted to execute some examples for CS folder I found the folder to be missing. Can anyone pleas…

---

## [Sumar parametros](https://www.ruby-forum.com/t/sumar-parametros/89324)

<div class="topic-metadata">

**Author:** [@metalpancho](https://www.ruby-forum.com/u/metalpancho)\
**Replies:** 3\
**Last updated:** [March 19, 2007, 9:37pm UTC](https://www.ruby-forum.com/t/sumar-parametros/89324 "2007-03-19T21:37:10Z")

</div>

hola a todos, bueno este mensaje es para hacer una simple pregunta: Tengo un def list donde lista todos los registros de una base de datos, ya sea con un @formulario = Formulario.find(:all) y otros con @formulario = F…

---

## [AJAX drag and drop sorting with pagination](https://www.ruby-forum.com/t/ajax-drag-and-drop-sorting-with-pagination/94177)

<div class="topic-metadata">

**Author:** [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Replies:** 3\
**Last updated:** [April 24, 2006, 6:52pm UTC](https://www.ruby-forum.com/t/ajax-drag-and-drop-sorting-with-pagination/94177 "2006-04-24T18:52:06Z")

</div>

Drag and drop sorting is great but if you had a list of, say, 100 items, you’d probably want to show only 10 per page. Has anyone seen any way to use the a drag and drop style sorting method over a number of pages? I…

---

## [Global denial for certain IPs or agents?](https://www.ruby-forum.com/t/global-denial-for-certain-ips-or-agents/244595)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [May 10, 2016, 4:44pm UTC](https://www.ruby-forum.com/t/global-denial-for-certain-ips-or-agents/244595 "2016-05-10T16:44:35Z")

</div>

Hi all, I’ve got Nginx on a Debian server, hosting two sites (two subdomains of my work’s website). I want to limit both, and any future subdomains, to only intranet addresses. I also saw access logs this morning fr…

---

## [Oddball\_sum Help Request](https://www.ruby-forum.com/t/oddball-sum-help-request/242867)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [August 7, 2015, 12:03am UTC](https://www.ruby-forum.com/t/oddball-sum-help-request/242867 "2015-08-07T00:03:52Z")

</div>

Hi, I am new to Ruby on Rails. I am practicing problems to better understand coding. I understand the logic but I am not able to put in proper codes. Could someone please solve the following problem for me? oddbal…

---

## [How can a class call a class method that is defined on a singleton class?](https://www.ruby-forum.com/t/how-can-a-class-call-a-class-method-that-is-defined-on-a-singleton-class/239046)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [February 13, 2014, 4:26pm UTC](https://www.ruby-forum.com/t/how-can-a-class-call-a-class-method-that-is-defined-on-a-singleton-class/239046 "2014-02-13T16:26:17Z")

</div>

Hello guys. I’m new here and on Ruby, so bear with me on this one. I know that when we define a class method on a class, it’s created a singleton class that gets the definition of that method, and from then on, that m…

---

## [Code re-use in blocks / C++ inheritance with gr::sync\_block](https://www.ruby-forum.com/t/code-re-use-in-blocks-c-inheritance-with-gr-sync-block/246478)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [October 23, 2013, 2:36am UTC](https://www.ruby-forum.com/t/code-re-use-in-blocks-c-inheritance-with-gr-sync-block/246478 "2013-10-23T02:36:48Z")

</div>

Hi, So what I’m trying to achieve is to share a lot of code (including the gr::sync\_block implementation for work/start/stop) and a common interface between several gnuradio blocks. What I have currently come up with…

---

## [Tuning the Java to Ruby method name translator](https://www.ruby-forum.com/t/tuning-the-java-to-ruby-method-name-translator/236867)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [October 10, 2013, 5:51pm UTC](https://www.ruby-forum.com/t/tuning-the-java-to-ruby-method-name-translator/236867 "2013-10-10T17:51:06Z")

</div>

Is there any way to tune the translator that turns Java-formatted method names into Ruby-formatted method names? I’m using JAXB-generated classes for an XML schema to create Ruby bindings and am encountering cases whe…

---

## [What happened to periodically\_call\_remote?](https://www.ruby-forum.com/t/what-happened-to-periodically-call-remote/201780)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [January 14, 2011, 3:19pm UTC](https://www.ruby-forum.com/t/what-happened-to-periodically-call-remote/201780 "2011-01-14T15:19:51Z")

</div>

Hello there. Im trying to update date by using the helper periodically\_call\_remote but seems like it doesnt exist anymore on Rails 3. So is there any other way i could do that?

---

## [Session timeout using prototype](https://www.ruby-forum.com/t/session-timeout-using-prototype/170842)

<div class="topic-metadata">

**Author:** [@on9west](https://www.ruby-forum.com/u/on9west)\
**Replies:** 5\
**Last updated:** [June 23, 2009, 5:37pm UTC](https://www.ruby-forum.com/t/session-timeout-using-prototype/170842 "2009-06-23T17:37:28Z")

</div>

Dear all I want my rails web application include a timeout function using prototype… say, if the browser is idle for 15 mins, then it automatically redirect to the admin/logout, where admin is my controller name, log…

---

## [Interop with Excel](https://www.ruby-forum.com/t/interop-with-excel/165041)

<div class="topic-metadata">

**Author:** [@sprsquish](https://www.ruby-forum.com/u/sprsquish)\
**Replies:** 5\
**Last updated:** [April 22, 2009, 10:28pm UTC](https://www.ruby-forum.com/t/interop-with-excel/165041 "2009-04-22T22:28:22Z")

</div>

The following code runs fine: require ‘Microsoft.Office.Interop.Excel, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’ Excel = Microsoft::office::Interop::Excel but when I try to get the Applicati…

---

## [Using IO.popen to capture stderr?](https://www.ruby-forum.com/t/using-io-popen-to-capture-stderr/82155)

<div class="topic-metadata">

**Author:** [@mvargo](https://www.ruby-forum.com/u/mvargo)\
**Replies:** 2\
**Last updated:** [January 5, 2008, 1:10pm UTC](https://www.ruby-forum.com/t/using-io-popen-to-capture-stderr/82155 "2008-01-05T13:10:10Z")

</div>

Hello, I’m trying to write a utility to run an external process and capture it’s stderr. It seems that IO.popen only lets me read the stdout. Any tips for how to read stderr? Mike snippet of code… def process\_fil…

---

## [ActiveResource authorization](https://www.ruby-forum.com/t/activeresource-authorization/107754)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [June 27, 2007, 5:48am UTC](https://www.ruby-forum.com/t/activeresource-authorization/107754 "2007-06-27T05:48:11Z")

</div>

Hi all! I have been using AR to access a restful API. Users are authorized over http to get information that is restricted. Everything has been working until I realized that the request to the API must be a valid URL…

---

## [Dedupping Has\_many through, :unique=\>true](https://www.ruby-forum.com/t/dedupping-has-many-through-unique-true/79867)

<div class="topic-metadata">

**Author:** [@3nd3r](https://www.ruby-forum.com/u/3nd3r)\
**Replies:** 2\
**Last updated:** [December 21, 2006, 12:02am UTC](https://www.ruby-forum.com/t/dedupping-has-many-through-unique-true/79867 "2006-12-21T00:02:51Z")

</div>

Hi, In the Agile book, it is told that by putting a :unique =\> true will dedup the row with ActiveRecord. But it’s not working out for me. Do I need edge rails for this? I simply want to dedup any join model associati…

---

## [Free USRP (has a new home)](https://www.ruby-forum.com/t/free-usrp-has-a-new-home/183142)

<div class="topic-metadata">

**Author:** [@jamie](https://www.ruby-forum.com/u/jamie)\
**Replies:** 4\
**Last updated:** [February 10, 2010, 4:00pm UTC](https://www.ruby-forum.com/t/free-usrp-has-a-new-home/183142 "2010-02-10T16:00:02Z")

</div>

Hi, Congratulations Jerry KD6JDJ as we discussed you will be receiving my USRP for your NOAA satellite project! To all those 30+ people who wrote me an email, thanks for sharing your project proposals, it was very …

---

## [I just can't get rubygems to work. Can anyone help?](https://www.ruby-forum.com/t/i-just-cant-get-rubygems-to-work-can-anyone-help/164084)

<div class="topic-metadata">

**Author:** [@7stud](https://www.ruby-forum.com/u/7stud)\
**Replies:** 4\
**Last updated:** [March 27, 2009, 11:11pm UTC](https://www.ruby-forum.com/t/i-just-cant-get-rubygems-to-work-can-anyone-help/164084 "2009-03-27T23:11:53Z")

</div>

My problems started with a wxruby gem, but the whole gem system on my mac is now one big cluster#$#$!. rubygems .9x was giving me problems–I have a pre-installed ruby 1.8.2 on my mac–so I tried to upgrade to rubygems…

---

## [Utilizar jrails y el render rjs de prototypeH](https://www.ruby-forum.com/t/utilizar-jrails-y-el-render-rjs-de-prototypeh/147665)

<div class="topic-metadata">

**Author:** [@carakan](https://www.ruby-forum.com/u/carakan)\
**Replies:** 8\
**Last updated:** [September 15, 2008, 4:34pm UTC](https://www.ruby-forum.com/t/utilizar-jrails-y-el-render-rjs-de-prototypeh/147665 "2008-09-15T16:34:09Z")

</div>

Hola Lista. Tengo un lio un tanto ingrato, estoy realizando un cms todo bien, para mejorar los tiempos de carga opte por utilizar el plugin de jquery para rails: jrails \[1\], magnifico plugin para jquery. El problema …

---

## [Compartir sesiones entre subdominios](https://www.ruby-forum.com/t/compartir-sesiones-entre-subdominios/127457)

<div class="topic-metadata">

**Author:** [@aitor](https://www.ruby-forum.com/u/aitor)\
**Replies:** 8\
**Last updated:** [January 29, 2008, 10:02pm UTC](https://www.ruby-forum.com/t/compartir-sesiones-entre-subdominios/127457 "2008-01-29T22:02:35Z")

</div>

Hola querÃ­a consultarles para ver si me pueden orientar y saber cual puede ser la forma mas idÃ³nea de compartir sesiones entre subdominios. por lo que habÃ­a leÃ­do en el wiki de rails bastaba con poner en config/d…

---

## [Write Fortran in Ruby](https://www.ruby-forum.com/t/write-fortran-in-ruby/75686)

<div class="topic-metadata">

**Author:** [@Bil\_K](https://www.ruby-forum.com/u/Bil_K)\
**Replies:** 8\
**Last updated:** [March 3, 2006, 1:06am UTC](https://www.ruby-forum.com/t/write-fortran-in-ruby/75686 "2006-03-03T01:06:24Z")

</div>

A fun, but ultimately pointless exercise from the “Python for Fortran Programmers” thread in news:comp.lang.fortran: Try to write the following Fortran 77 program (note the 6 space indentation) in Ruby so that it look…

---

## [Ferret search engine as a daemon?](https://www.ruby-forum.com/t/ferret-search-engine-as-a-daemon/188992)

<div class="topic-metadata">

**Author:** [@Zakay\_Danial](https://www.ruby-forum.com/u/Zakay_Danial)\
**Replies:** 1\
**Last updated:** [May 21, 2010, 7:00pm UTC](https://www.ruby-forum.com/t/ferret-search-engine-as-a-daemon/188992 "2010-05-21T19:00:06Z")

</div>

Hello, I just found out about Ferret. I am searching for good/capable/fast search engine, but I also would want to talk to the search engine using TCP. Is there a way to run the search engine as a daemon so that it h…

---

## [What is the entry-point for a rails app?](https://www.ruby-forum.com/t/what-is-the-entry-point-for-a-rails-app/56362)

<div class="topic-metadata">

**Author:** [@yash](https://www.ruby-forum.com/u/yash)\
**Replies:** 1\
**Last updated:** [March 30, 2006, 3:58pm UTC](https://www.ruby-forum.com/t/what-is-the-entry-point-for-a-rails-app/56362 "2006-03-30T15:58:31Z")

</div>

Hi, I would like to run a DOS command such as “net send …” when I start the rails application using script\\server. Can you please tell me where I need to put the call? Is it environment.rb by any chance? -Yash

---

## [RE: helper to switch java versions](https://www.ruby-forum.com/t/re-helper-to-switch-java-versions/235533)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [June 27, 2013, 10:11pm UTC](https://www.ruby-forum.com/t/re-helper-to-switch-java-versions/235533 "2013-06-27T22:11:33Z")

</div>

Do you guys have any tips on being able to switch between java versions, namely 1.6 to 1.7? I remember seeing a nice bash script that did this, it actually listed all the javaverions installed and let you choose whic…

---

## [Gruff send\_data](https://www.ruby-forum.com/t/gruff-send-data/91489)

<div class="topic-metadata">

**Author:** [@oliver](https://www.ruby-forum.com/u/oliver)\
**Replies:** 6\
**Last updated:** [April 10, 2007, 4:16am UTC](https://www.ruby-forum.com/t/gruff-send-data/91489 "2007-04-10T04:16:21Z")

</div>

Hi, for those with experience of Gruff module: suppose I want to send image from server straight to the browser (as example on gruff web site): send\_data(g.to\_blob, :disposition =\> ‘inline’, :type =\> ‘image/png’, …

---

## [Using rails to migrate between databases](https://www.ruby-forum.com/t/using-rails-to-migrate-between-databases/86051)

<div class="topic-metadata">

**Author:** [@nyxx](https://www.ruby-forum.com/u/nyxx)\
**Replies:** 6\
**Last updated:** [February 19, 2007, 10:27pm UTC](https://www.ruby-forum.com/t/using-rails-to-migrate-between-databases/86051 "2007-02-19T22:27:57Z")

</div>

Hey people, I have the following question to present to you all. I need some basic information about how to use rails to migrate the dataset of my project between two types of database systems. First, the live data n…

---

## [Extract numbers from an alpha numeric string](https://www.ruby-forum.com/t/extract-numbers-from-an-alpha-numeric-string/223449)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 7, 2012, 9:38am UTC](https://www.ruby-forum.com/t/extract-numbers-from-an-alpha-numeric-string/223449 "2012-10-07T09:38:01Z")

</div>

Hi All. I’m doing a program in which you have to enter a series of numbers like this: 1-3-4-11-15-8, I extract the numbers, and then transfer to a hash, the program does is that given 2 arrays with shirt numbers, and …

---

## [Junior Ruby](https://www.ruby-forum.com/t/junior-ruby/222877)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [October 2, 2012, 9:52am UTC](https://www.ruby-forum.com/t/junior-ruby/222877 "2012-10-02T09:52:55Z")

</div>

Ciao, mi servirebbe su Milano un rubysta junior full time per sportboom (http://sportboom.it, quella roba li e’ ancora in PHP, lo sto “reinventando” io in Ruby). Il range retributivo e’ 1100/1700, dipende dalla senior…

---

## [Different date format in sqlite and mysql](https://www.ruby-forum.com/t/different-date-format-in-sqlite-and-mysql/205761)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [April 16, 2011, 9:55am UTC](https://www.ruby-forum.com/t/different-date-format-in-sqlite-and-mysql/205761 "2011-04-16T09:55:08Z")

</div>

created\_at is stored differently in mysql then in sqlite. sqlite stores the dates like: 2011-04-14 22:52:52.758612 and mysql stores the date like: 2011-04-14 22:52:52 (possible rounded) When I output the date with jso…

---

## [Require not working correctly?](https://www.ruby-forum.com/t/require-not-working-correctly/168448)

<div class="topic-metadata">

**Author:** [@Adlai](https://www.ruby-forum.com/u/Adlai)\
**Replies:** 7\
**Last updated:** [May 23, 2009, 4:48am UTC](https://www.ruby-forum.com/t/require-not-working-correctly/168448 "2009-05-23T04:48:01Z")

</div>

I’m just starting out in Ruby, and I used the one-click installer. The version on my computer seems to be Ruby 1.8.6-27. I’m working through some of the examples in Why’s Poignant Guide, and things seem to have broken…

---

## [Standardizing FFI based wrappers](https://www.ruby-forum.com/t/standardizing-ffi-based-wrappers/155298)

<div class="topic-metadata">

**Author:** [@luchp](https://www.ruby-forum.com/u/luchp)\
**Replies:** 7\
**Last updated:** [December 15, 2008, 4:49pm UTC](https://www.ruby-forum.com/t/standardizing-ffi-based-wrappers/155298 "2008-12-15T16:49:01Z")

</div>

Greetings, Back in november, when FFI 0.1.1 was released, there was a beginning of an interesting discussion about “standardizing” the way FFI based wrappers should be named, organized and packaged, in order to create…

---

## [Issues calling method from another class](https://www.ruby-forum.com/t/issues-calling-method-from-another-class/244466)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [April 15, 2016, 11:23pm UTC](https://www.ruby-forum.com/t/issues-calling-method-from-another-class/244466 "2016-04-15T23:23:26Z")

</div>

Hello, I’m a newbie and having some issues calling a method from another class. I keep getting an error saying undefined method. The method I’m trying to call is in the employees.rb file and I’m trying to run it in m…

---

## [Finding max index in a vector](https://www.ruby-forum.com/t/finding-max-index-in-a-vector/240674)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [April 25, 2014, 6:16pm UTC](https://www.ruby-forum.com/t/finding-max-index-in-a-vector/240674 "2014-04-25T18:16:55Z")

</div>

How do I find the index of the max value in a vector from GRC? The max\_xx block outputs the max value, but not its index, despite what it’s documentation says: “Data is passed in as a vector of length from multiple i…

---

## [Ofdm snr](https://www.ruby-forum.com/t/ofdm-snr/240162)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 12, 2014, 5:02am UTC](https://www.ruby-forum.com/t/ofdm-snr/240162 "2014-04-12T05:02:32Z")

</div>

Hi all, I am trying to estimate SNR in OFDM system using USRP 2. I am using two URSP’s (XVCR 2450). To do that I am using Gnu radio 3.7.2 with slightly modify OFDM\_benchmark\_receiver (see img Rx\_snr) and transmitter (…

---

## [Rails.logger is nil when invoking rake tasks](https://www.ruby-forum.com/t/rails-logger-is-nil-when-invoking-rake-tasks/239230)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [February 18, 2014, 12:00pm UTC](https://www.ruby-forum.com/t/rails-logger-is-nil-when-invoking-rake-tasks/239230 "2014-02-18T12:00:00Z")

</div>

Good morning everybody, is it expected for the Rails.logger to be left uninitialized before executing a rake task? These are the steps to reproduce my test: Thanks

---

## [Before\_update/after\_update debate](https://www.ruby-forum.com/t/before-update-after-update-debate/85960)

<div class="topic-metadata">

**Author:** [@blakeage](https://www.ruby-forum.com/u/blakeage)\
**Replies:** 2\
**Last updated:** [February 19, 2007, 3:57am UTC](https://www.ruby-forum.com/t/before-update-after-update-debate/85960 "2007-02-19T03:57:44Z")

</div>

It seems as though there is no way to get the value of an attribute in before\_update, BEFORE the update occurs. What exactly does before\_update mean then? Is before\_save called before before\_update? Are they differe…

---

## [Marshal after load callback](https://www.ruby-forum.com/t/marshal-after-load-callback/233958)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [January 26, 2015, 8:47pm UTC](https://www.ruby-forum.com/t/marshal-after-load-callback/233958 "2015-01-26T20:47:12Z")

</div>

Hi! ActiveRecord lazily defines attribute methods when .new or .allocate is called. When Marshal loads object it doesn’t call any of this methods. So if attribute methods were not defined before, restored object wont …

---

## [Rails threadsafety, mysterious silence\_stream error](https://www.ruby-forum.com/t/rails-threadsafety-mysterious-silence-stream-error/239842)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [March 17, 2014, 6:32pm UTC](https://www.ruby-forum.com/t/rails-threadsafety-mysterious-silence-stream-error/239842 "2014-03-17T18:32:37Z")

</div>

In this question I posed to stack overflow, an answerer claims that rails is only threadsafe when using MRI: ruby on rails - ActiveRecord "IOError: could not reopen: null" - Stack Overflow Anyone have any thoughts on…

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

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