# Top

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

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

---

## [Arrayfields-4.1.0](https://www.ruby-forum.com/t/arrayfields-4-1-0/114772)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 8\
**Last updated:** [September 25, 2007, 11:07pm UTC](https://www.ruby-forum.com/t/arrayfields-4-1-0/114772 "2007-09-25T23:07:14Z")

</div>

NAME arrayfields.rb URIS http://www.codeforpeople.com/lib/ruby/ http://rubyforge.org/projects/codeforpeople/ SYNOPSIS require ‘arrayfields’ a = Arrayfields.new :k, :v, :a, :b p a\[:k\] #=\> :v p a\[:a\] …

---

## [Difference between USRP RIO and Ettus USRP X310](https://www.ruby-forum.com/t/difference-between-usrp-rio-and-ettus-usrp-x310/234331)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [February 24, 2015, 7:30pm UTC](https://www.ruby-forum.com/t/difference-between-usrp-rio-and-ettus-usrp-x310/234331 "2015-02-24T19:30:39Z")

</div>

I am planning to test some of my physical layer algorithms on SDR. I compared these two USRPs , though Ettus is part of NI now and features of these devices are almost same, still there is huge variation almost doubl…

---

## [Seeing Novel Rails Hack Attempts](https://www.ruby-forum.com/t/seeing-novel-rails-hack-attempts/233720)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [January 6, 2015, 6:19pm UTC](https://www.ruby-forum.com/t/seeing-novel-rails-hack-attempts/233720 "2015-01-06T18:19:19Z")

</div>

Hi, We’re getting some weird exceptions that look like hack attempts, and I’m hoping someone can help us understand them. It looks like an intentionally malformed URL is somehow causing unexpected behavior. Here’s …

---

## [Big help needed Need to integrate Joomla site with Ruby on Rails site running on different servers](https://www.ruby-forum.com/t/big-help-needed-need-to-integrate-joomla-site-with-ruby-on-rails-site-running-on-different-servers/201372)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 29, 2013, 11:19am UTC](https://www.ruby-forum.com/t/big-help-needed-need-to-integrate-joomla-site-with-ruby-on-rails-site-running-on-different-servers/201372 "2013-05-29T11:19:24Z")

</div>

Topic: Big help needed… Integrating Joomla site With Ruby on rails web app.Hi guys, I have created a webisite as an internal product of our company where users login and do some stuff. It was done using XAMPP stack wi…

---

## [@model OR :model in a form\_for](https://www.ruby-forum.com/t/model-or-model-in-a-form-for/218090)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [March 23, 2012, 6:51pm UTC](https://www.ruby-forum.com/t/model-or-model-in-a-form-for/218090 "2012-03-23T18:51:33Z")

</div>

Hi Folks, I want a form in a rails 3.0.10 app with form\_for exactly I have 3 models @apple, @basket, @table class Apple belongs\_to :tables belongs\_to: baskets end class Basket belongs\_to :tables has\_many :appl…

---

## [Rails 3, How do I set an :onload for a link\_to :remote?](https://www.ruby-forum.com/t/rails-3-how-do-i-set-an-onload-for-a-link-to-remote/195930)

<div class="topic-metadata">

**Author:** [@jim](https://www.ruby-forum.com/u/jim)\
**Replies:** 7\
**Last updated:** [December 27, 2010, 9:48am UTC](https://www.ruby-forum.com/t/rails-3-how-do-i-set-an-onload-for-a-link-to-remote/195930 "2010-12-27T09:48:26Z")

</div>

With Rails 2 on a link\_to\_remote, I could set :onload, :oncomplete and other options. How do I handle those with Rails 3 since those options are no longer available? (I could go and use the legacy plugin, but I’d li…

---

## [YANQ (Yet Another Newbie Question): Ordered entries in a database](https://www.ruby-forum.com/t/yanq-yet-another-newbie-question-ordered-entries-in-a-database/176963)

<div class="topic-metadata">

**Author:** [@oldbug](https://www.ruby-forum.com/u/oldbug)\
**Replies:** 7\
**Last updated:** [October 9, 2009, 4:51pm UTC](https://www.ruby-forum.com/t/yanq-yet-another-newbie-question-ordered-entries-in-a-database/176963 "2009-10-09T16:51:47Z")

</div>

I know this is kinda basic, but who else could I ask besides you folks? Is there a standard SQL way to indicate that the records in a database should always be returned sorted by a particular column? Is there a standa…

---

## [Announcing a new Ruby journal](https://www.ruby-forum.com/t/announcing-a-new-ruby-journal/164580)

<div class="topic-metadata">

**Author:** [@msojka](https://www.ruby-forum.com/u/msojka)\
**Replies:** 7\
**Last updated:** [April 5, 2009, 1:09am UTC](https://www.ruby-forum.com/t/announcing-a-new-ruby-journal/164580 "2009-04-05T01:09:21Z")

</div>

2 April 2009 My name is Martin S… I am pleased to announce three new publications dedicated to web developers. Red: The Journal of Ruby Development Facade: The Journal of Front-end Development Tabula: The Journal of…

---

## [Do\_sqlite3 - how to acquire & install latest version?](https://www.ruby-forum.com/t/do-sqlite3-how-to-acquire-install-latest-version/157620)

<div class="topic-metadata">

**Author:** [@technology](https://www.ruby-forum.com/u/technology)\
**Replies:** 7\
**Last updated:** [January 15, 2009, 12:48am UTC](https://www.ruby-forum.com/t/do-sqlite3-how-to-acquire-install-latest-version/157620 "2009-01-15T00:48:23Z")

</div>

Apparently the reason I can’t use sqlite3 with Mac OS X is a bad version of do\_sqlite3. Could someone please spell out exactly what a newbie needs to do to grab & reinstall the latest version? Thanks, jim

---

## [How do I mock the Rails Logger with should\_receive?](https://www.ruby-forum.com/t/how-do-i-mock-the-rails-logger-with-should-receive/140333)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 1\
**Last updated:** [June 25, 2008, 8:57am UTC](https://www.ruby-forum.com/t/how-do-i-mock-the-rails-logger-with-should-receive/140333 "2008-06-25T08:57:03Z")

</div>

Hey Guys, I’m trying to mock the Rails Logger for the following code: … rescue TimeoutError =\> error $logger.error("#{self.name} Timeout for #{path}: #{error}") and return rescue SocketError =\> error $logger.error…

---

## [In\_place\_editor\_field for select tag](https://www.ruby-forum.com/t/in-place-editor-field-for-select-tag/82648)

<div class="topic-metadata">

**Author:** [@RaW](https://www.ruby-forum.com/u/RaW)\
**Replies:** 7\
**Last updated:** [October 19, 2007, 12:00am UTC](https://www.ruby-forum.com/t/in-place-editor-field-for-select-tag/82648 "2007-10-19T00:00:41Z")

</div>

I need to have a in\_place\_edit\_field for select tag. I’ve been looking in /public/javascripts/console.js source and found Ajax.InPlaceCollectionEditor JS class which seems to be the right one I need. But the problem …

---

## [How to crop and show external image with specific size?](https://www.ruby-forum.com/t/how-to-crop-and-show-external-image-with-specific-size/219809)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [June 7, 2013, 6:18am UTC](https://www.ruby-forum.com/t/how-to-crop-and-show-external-image-with-specific-size/219809 "2013-06-07T06:18:14Z")

</div>

I get image url via API. It usualy have 360x200 but sometimes 233x350 etc… I would like to crop them all to specific size 260x186. And show them using \<%= image\_tag image\_url if hotel.images.first %\> I dont want t…

---

## [USRP underruns when attempting simultaneous receive and transmit](https://www.ruby-forum.com/t/usrp-underruns-when-attempting-simultaneous-receive-and-transmit/127646)

<div class="topic-metadata">

**Author:** [@croxmeister](https://www.ruby-forum.com/u/croxmeister)\
**Replies:** 4\
**Last updated:** [January 31, 2008, 5:04am UTC](https://www.ruby-forum.com/t/usrp-underruns-when-attempting-simultaneous-receive-and-transmit/127646 "2008-01-31T05:04:50Z")

</div>

Hi All, summary: If I try and receive and transmit data from and to the USRP simultaneously at the same data rate (no matter what it is, even as low as 2MB/s each way) I always get usrp underruns. Background I have…

---

## [How to call a function in model and pass values in](https://www.ruby-forum.com/t/how-to-call-a-function-in-model-and-pass-values-in/92810)

<div class="topic-metadata">

**Author:** [@jon](https://www.ruby-forum.com/u/jon)\
**Replies:** 4\
**Last updated:** [April 29, 2007, 5:32am UTC](https://www.ruby-forum.com/t/how-to-call-a-function-in-model-and-pass-values-in/92810 "2007-04-29T05:32:13Z")

</div>

Hi, Is it possible to call a functon using callbacks, passing a number of attr\_names in? i.e. somthing like this before\_save :tst =\> :title, :content def test(\*attr\_names) attr\_names.each do |record, attr\_name, val…

---

## [Reading Keyboard state](https://www.ruby-forum.com/t/reading-keyboard-state/88139)

<div class="topic-metadata">

**Author:** [@dhstudio](https://www.ruby-forum.com/u/dhstudio)\
**Replies:** 4\
**Last updated:** [March 8, 2007, 5:55pm UTC](https://www.ruby-forum.com/t/reading-keyboard-state/88139 "2007-03-08T17:55:56Z")

</div>

Hi, I’m managing the selection of a list of widgets. During a button-pressed-event on the container I want to check whether SHIFT and/or CTRL are pressed to adjust how the selection changes. How can I read the keybo…

---

## [Best transmitter/receiver setup for large coverage](https://www.ruby-forum.com/t/best-transmitter-receiver-setup-for-large-coverage/236215)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [August 16, 2013, 8:16am UTC](https://www.ruby-forum.com/t/best-transmitter-receiver-setup-for-large-coverage/236215 "2013-08-16T08:16:23Z")

</div>

Hi, I am using usrp2 and gnuradio 3.3.0. I want to use benchmark\_tx.py as transmitter and benchmark\_rx.py as receiver. so that multiple receiver at distance of around 1 KM should get good signal strength. So could …

---

## [Heroku e file upload](https://www.ruby-forum.com/t/heroku-e-file-upload/219295)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [April 27, 2012, 3:10pm UTC](https://www.ruby-forum.com/t/heroku-e-file-upload/219295 "2012-04-27T15:10:30Z")

</div>

Ciao, qualcuno ha provato a gestire Heroku + upload di immagini. Ho trovato tanta documentazione per la gem Carrierware Home · carrierwaveuploader/carrierwave Wiki · GitHub ma ho qualche dubbio. Per esempio, se ho un’…

---

## [After\_create callback and update trigger syntax](https://www.ruby-forum.com/t/after-create-callback-and-update-trigger-syntax/209703)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [July 21, 2011, 12:05am UTC](https://www.ruby-forum.com/t/after-create-callback-and-update-trigger-syntax/209703 "2011-07-21T00:05:09Z")

</div>

Hi people I have a doubt. I have 2 tables (models) “Product” and “Purchase”. I want to use the callback after\_create to update the attribute Product.quantity every time a Purchase is created, so I think this should b…

---

## [Move MySQL database/app to different isp?](https://www.ruby-forum.com/t/move-mysql-database-app-to-different-isp/153149)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 5\
**Last updated:** [December 17, 2008, 6:48pm UTC](https://www.ruby-forum.com/t/move-mysql-database-app-to-different-isp/153149 "2008-12-17T18:48:40Z")

</div>

I have a deployed rails app that has been running for several months on one ISP. I’m moving everything to a different ISP in the next couple days. What is the easiest way to duplicate the production database on the ne…

---

## [Progress OpenEdge and rails](https://www.ruby-forum.com/t/progress-openedge-and-rails/128043)

<div class="topic-metadata">

**Author:** [@jimache](https://www.ruby-forum.com/u/jimache)\
**Replies:** 5\
**Last updated:** [August 28, 2008, 5:59pm UTC](https://www.ruby-forum.com/t/progress-openedge-and-rails/128043 "2008-08-28T17:59:10Z")

</div>

Hi everyone, I am starting a new project and the back-end database is a Progress OpenEdge db. Has anyone used ruby/rails with such a database. Are there any drivers that i can use to connect to OpenEdge? Any input i…

---

## [Gtkmozembed on 32 and 64 bit machines](https://www.ruby-forum.com/t/gtkmozembed-on-32-and-64-bit-machines/90100)

<div class="topic-metadata">

**Author:** [@alake](https://www.ruby-forum.com/u/alake)\
**Replies:** 5\
**Last updated:** [April 1, 2007, 11:24am UTC](https://www.ruby-forum.com/t/gtkmozembed-on-32-and-64-bit-machines/90100 "2007-04-01T11:24:01Z")

</div>

I need to use gtkmozembed. I was unsuccessful in getting it to compile on my Fedora Core 6 x86\_64 machine. I created a virtual 32-bit version of FC6 using the VMWare server. Same hardware. gtkmozembed compiles and…

---

## [Erb Regex?](https://www.ruby-forum.com/t/erb-regex/95575)

<div class="topic-metadata">

**Author:** [@chasconquest](https://www.ruby-forum.com/u/chasconquest)\
**Replies:** 5\
**Last updated:** [June 8, 2006, 4:10am UTC](https://www.ruby-forum.com/t/erb-regex/95575 "2006-06-08T04:10:05Z")

</div>

Hi Got a column named ‘sku’ in a table named ‘product’ \<%= product.sku %\> …looks like this… ‘1234\_56’ These last two chars (56) are an audio Track number. I ultimately want to display: Track \<%= product.sku %\> I …

---

## [Case insensitive urls OR url re-writing](https://www.ruby-forum.com/t/case-insensitive-urls-or-url-re-writing/47565)

<div class="topic-metadata">

**Author:** [@onurturgay](https://www.ruby-forum.com/u/onurturgay)\
**Replies:** 5\
**Last updated:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/case-insensitive-urls-or-url-re-writing/47565 "2005-11-12T12:49:44Z")

</div>

Hi, How can I make my urls case-insensitive? And where can I put the code that can rewrite some of the routes that I have been using. (not all of them) i.e. I want all options after /blog/ be kept as is but all optio…

---

## [Java 8 and Invoke Dynamic on Heroku](https://www.ruby-forum.com/t/java-8-and-invoke-dynamic-on-heroku/234624)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [March 18, 2015, 2:41pm UTC](https://www.ruby-forum.com/t/java-8-and-invoke-dynamic-on-heroku/234624 "2015-03-18T14:41:59Z")

</div>

My app on Heroku was previously on cedar with Java 7. I just updated to cedar-14 and Java 8. One thing I was wary of was big performance problems because of invoke dynamic being set to true when JRuby detected Java 8,…

---

## [Processing VITA signals](https://www.ruby-forum.com/t/processing-vita-signals/236045)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 2, 2013, 10:00pm UTC](https://www.ruby-forum.com/t/processing-vita-signals/236045 "2013-08-02T22:00:23Z")

</div>

I am a novice in the field of USRP & GNURadio. I have a USRP NT210 with WBX. I need to process (read) timestamps of received signal. I read that timestamps are included in the VITA format, that I can select in GRC as…

---

## [USRP2 Noise figure and Phase noise measurement methods](https://www.ruby-forum.com/t/usrp2-noise-figure-and-phase-noise-measurement-methods/195941)

<div class="topic-metadata">

**Author:** [@jorgegetafe](https://www.ruby-forum.com/u/jorgegetafe)\
**Replies:** 2\
**Last updated:** [October 4, 2010, 10:09am UTC](https://www.ruby-forum.com/t/usrp2-noise-figure-and-phase-noise-measurement-methods/195941 "2010-10-04T10:09:10Z")

</div>

Hi all!, I am going to measure both parameters, noise figure and phase noise of my USRP2+XCVR2450 transceiver. After some reading about different methods of measuring them I have some questions. Phase noise. I rea…

---

## [Fonction delete et espace](https://www.ruby-forum.com/t/fonction-delete-et-espace/164432)

<div class="topic-metadata">

**Author:** [@babiben](https://www.ruby-forum.com/u/babiben)\
**Replies:** 2\
**Last updated:** [April 1, 2009, 11:08am UTC](https://www.ruby-forum.com/t/fonction-delete-et-espace/164432 "2009-04-01T11:08:47Z")

</div>

Bonjour, Est ce qu’il est possible d’utiliser la fonction delete pour supprimer les espaces d’une chaines ? Apparemment le chaine.delete("") ne marche pas donc…

---

## [ActiveRecord::AssociationTypeMismatch (User(#54754560) expected, got User(#54510280))](https://www.ruby-forum.com/t/activerecord-associationtypemismatch-user-54754560-expected-got-user-54510280/159221)

<div class="topic-metadata">

**Author:** [@morgler](https://www.ruby-forum.com/u/morgler)\
**Replies:** 2\
**Last updated:** [February 2, 2009, 4:05pm UTC](https://www.ruby-forum.com/t/activerecord-associationtypemismatch-user-54754560-expected-got-user-54510280/159221 "2009-02-02T16:05:22Z")

</div>

i keep getting this AssociationTypeMismatch error. i think this could be a bug related to ruby/rails when using mixins. heres a short version of my code: user.rb require ‘friend\_invitation’ require ‘friendship’ clas…

---

## [Signal delay or replay](https://www.ruby-forum.com/t/signal-delay-or-replay/264086)

<div class="topic-metadata">

**Author:** [@azizkilic](https://www.ruby-forum.com/u/azizkilic)\
**Replies:** 0\
**Last updated:** [July 7, 2023, 11:27am UTC](https://www.ruby-forum.com/t/signal-delay-or-replay/264086 "2023-07-07T11:27:41Z")

</div>

I have 3 signals example 100MHz 300MHz and 500MHz. I want to read and record these 3 signals, provided that the signals and gaps are 1 second. How can I do that ? I used the delay diagram, but there was no delay as I wan…

---

## [Longest-word.rb Problem - Question is unclear to me](https://www.ruby-forum.com/t/longest-word-rb-problem-question-is-unclear-to-me/243971)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [January 30, 2016, 10:30pm UTC](https://www.ruby-forum.com/t/longest-word-rb-problem-question-is-unclear-to-me/243971 "2016-01-30T22:30:52Z")

</div>

Write a method that takes in a string. Return the longest word in the string. You may assume that the string contains only letters and spaces. You may use the String split method to aid you in your quest. Difficulty: e…

---

## [Possible to overwrite a fastcgi\_param "later", once a location block has already been closed?](https://www.ruby-forum.com/t/possible-to-overwrite-a-fastcgi-param-later-once-a-location-block-has-already-been-closed/235700)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [July 10, 2013, 11:21pm UTC](https://www.ruby-forum.com/t/possible-to-overwrite-a-fastcgi-param-later-once-a-location-block-has-already-been-closed/235700 "2013-07-10T23:21:32Z")

</div>

Hello, I am working with a server configuration that is partly outside of my control, and have a need to overwrite a fastcgi\_param “after” the directives that are outside of my control have already been included. The…

---

## [Selenium, secure connection failed, security certificate](https://www.ruby-forum.com/t/selenium-secure-connection-failed-security-certificate/171592)

<div class="topic-metadata">

**Author:** [@kga85](https://www.ruby-forum.com/u/kga85)\
**Replies:** 3\
**Last updated:** [February 25, 2010, 7:50pm UTC](https://www.ruby-forum.com/t/selenium-secure-connection-failed-security-certificate/171592 "2010-02-25T19:50:36Z")

</div>

I am doing some testing with Selenium, and i have a problem. The site I am testing is a secure site with username and password. And i have one problem. When i start Selenium tests from a ruby program then a new browse…

---

## [\[Bug: 1.9\] undefined method \`readpartial' for TestFileUtils::Stream](https://www.ruby-forum.com/t/bug-1-9-undefined-method-readpartial-for-testfileutils-stream/147582)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 3\
**Last updated:** [September 5, 2008, 11:47am UTC](https://www.ruby-forum.com/t/bug-1-9-undefined-method-readpartial-for-testfileutils-stream/147582 "2008-09-05T11:47:32Z")

</div>

e$B!!$5$5$@$G$9!%e(B e$B!!e(Btest-all e$B$G0J2\<$N$h$&$J\<:GT$K$J$j$^$9!%e(B Error: test\_copy\_stream(TestFileUtils): NoMethodError: undefined method readpartial' for #\<TestFileUtils::Stream:0x0000000503ccf8\> /home/ko1…

---

## [Sudo root, to make a chown](https://www.ruby-forum.com/t/sudo-root-to-make-a-chown/144433)

<div class="topic-metadata">

**Author:** [@vanight](https://www.ruby-forum.com/u/vanight)\
**Replies:** 3\
**Last updated:** [July 29, 2008, 10:40pm UTC](https://www.ruby-forum.com/t/sudo-root-to-make-a-chown/144433 "2008-07-29T22:40:52Z")

</div>

Hello, I’m trying to do a rsync on a folder generated by ruby on Rails. But the main problem is that every generated stuff is nobody nobody. So I’m trying to chown, but the ruby service through apache is not root. So…

---

## [ActiveRecord::Base#save! silently failing](https://www.ruby-forum.com/t/activerecord-base-save-silently-failing/126595)

<div class="topic-metadata">

**Author:** [@Ed\_Brannin](https://www.ruby-forum.com/u/Ed_Brannin)\
**Replies:** 3\
**Last updated:** [January 20, 2008, 2:55pm UTC](https://www.ruby-forum.com/t/activerecord-base-save-silently-failing/126595 "2008-01-20T14:55:27Z")

</div>

Hello, One of my AR models is failing to save (using rails 2.0.2 and sqlite3). Both #save and #save return \[\] (sometimes other values), but A) nothing ever hits the database, and B) #save! doesn’t throw an error, ev…

---

## [Ensure statement and signals](https://www.ruby-forum.com/t/ensure-statement-and-signals/97443)

<div class="topic-metadata">

**Author:** [@tsuraan](https://www.ruby-forum.com/u/tsuraan)\
**Replies:** 3\
**Last updated:** [January 26, 2006, 12:09pm UTC](https://www.ruby-forum.com/t/ensure-statement-and-signals/97443 "2006-01-26T12:09:58Z")

</div>

I have a program (currently written in python, but that could change :slight\_smile: that runs until it recieves a signal to exit. Before exiting, it needs to close a Lucene index, so the logical thing to do would be p…

---

## [Is it possible to reload all ActiveRecord objects](https://www.ruby-forum.com/t/is-it-possible-to-reload-all-activerecord-objects/98125)

<div class="topic-metadata">

**Author:** [@bmihelac](https://www.ruby-forum.com/u/bmihelac)\
**Replies:** 1\
**Last updated:** [July 13, 2006, 4:09am UTC](https://www.ruby-forum.com/t/is-it-possible-to-reload-all-activerecord-objects/98125 "2006-07-13T04:09:31Z")

</div>

Hi all, I wander if it is possible to force reload of all ActiveRecord object’s of some class that are already loaded, something like Book.reload\_all? I know that I am able to reload specific objects with reload metho…

---

## [Getting AST at Runtime](https://www.ruby-forum.com/t/getting-ast-at-runtime/213838)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [November 16, 2011, 2:43pm UTC](https://www.ruby-forum.com/t/getting-ast-at-runtime/213838 "2011-11-16T14:43:09Z")

</div>

Hi Guys, I wonder if there is a way to get an AST of a method? Also, it’d be really cool if that AST after some transformations could be compiled back to replace that original method (or at least could compiled back …

---

## [Jruby and jQuery don't play well together](https://www.ruby-forum.com/t/jruby-and-jquery-dont-play-well-together/203326)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [February 18, 2011, 1:28pm UTC](https://www.ruby-forum.com/t/jruby-and-jquery-dont-play-well-together/203326 "2011-02-18T13:28:57Z")

</div>

Hello Hello I am currently using: \* Mac Os X 10.6.5 \* Netbeans 6.9.1 (with embedded JRuby 1.5.1) \* JDK6u17 \* GlassFish Gem 1.0.2 \* Rails 3.0.3 I want to user jQuery and CKeditor in my project. After I install jquery-…

---

## [Newb: How do I debug a NameError?](https://www.ruby-forum.com/t/newb-how-do-i-debug-a-nameerror/192865)

<div class="topic-metadata">

**Author:** [@audreylee88](https://www.ruby-forum.com/u/audreylee88)\
**Replies:** 6\
**Last updated:** [August 12, 2010, 9:02pm UTC](https://www.ruby-forum.com/t/newb-how-do-i-debug-a-nameerror/192865 "2010-08-12T21:02:38Z")

</div>

Hello List. I am trying to port a simple Java demo to a JRuby file. The Java demo is listed here: gist:512429 · GitHub Currently I have written this: gist:512430 · GitHub Here is what I see when I run my JRuby file…

---

## [Mulder ! A l'aide!](https://www.ruby-forum.com/t/mulder-a-laide/159149)

<div class="topic-metadata">

**Author:** [@gbenoit79](https://www.ruby-forum.com/u/gbenoit79)\
**Replies:** 6\
**Last updated:** [February 2, 2009, 7:09am UTC](https://www.ruby-forum.com/t/mulder-a-laide/159149 "2009-02-02T07:09:06Z")

</div>

tu tuuuuu tu tu tu tuuuuuuuu (\*) j’ai un bug… heu… que j’arrive pas du tout Ã sollutionner. j’ai un modÃ¨le Consumption avec (entre autre) une mÃ©thode : def consume self.stock-=self.quantity self.save end mon so…

---

## [Virtual Machine for Radiant](https://www.ruby-forum.com/t/virtual-machine-for-radiant/108130)

<div class="topic-metadata">

**Author:** [@islepilot](https://www.ruby-forum.com/u/islepilot)\
**Replies:** 6\
**Last updated:** [June 29, 2007, 9:20am UTC](https://www.ruby-forum.com/t/virtual-machine-for-radiant/108130 "2007-06-29T09:20:45Z")

</div>

I have talked a customer into using Radiant for a small project, but they would like to remain with their server, who does not offer Rails. However, they offer virtual machines and have Rails apps running on those. So…

---

## [Problems with Ferret in RForum](https://www.ruby-forum.com/t/problems-with-ferret-in-rforum/56254)

<div class="topic-metadata">

**Author:** [@andreas](https://www.ruby-forum.com/u/andreas)\
**Replies:** 6\
**Last updated:** [January 7, 2006, 9:34pm UTC](https://www.ruby-forum.com/t/problems-with-ferret-in-rforum/56254 "2006-01-07T21:34:28Z")

</div>

Hi, I have been using Ferret on ruby-forum.com for a few days. While the searching works with reasonable performance, there are a lot of problems related to indexing. Sometimes the process hangs with 100% CPU usage, …

---

## [Get parameters from datetime\_select](https://www.ruby-forum.com/t/get-parameters-from-datetime-select/191636)

<div class="topic-metadata">

**Author:** [@anon\_comp](https://www.ruby-forum.com/u/anon_comp)\
**Replies:** 2\
**Last updated:** [July 15, 2010, 6:36pm UTC](https://www.ruby-forum.com/t/get-parameters-from-datetime-select/191636 "2010-07-15T18:36:54Z")

</div>

I am using datetime\_select to get the date and time from the user to execute a certain program (details unrelevant). What I need to do is to take certain parts from datetime\_select and manipulate/use them. In my view \<…

---

## [Ideal setting of "fastcgi\_buffers" with large files](https://www.ruby-forum.com/t/ideal-setting-of-fastcgi-buffers-with-large-files/169597)

<div class="topic-metadata">

**Author:** [@w3wsrmn](https://www.ruby-forum.com/u/w3wsrmn)\
**Replies:** 2\
**Last updated:** [December 3, 2009, 9:40am UTC](https://www.ruby-forum.com/t/ideal-setting-of-fastcgi-buffers-with-large-files/169597 "2009-12-03T09:40:46Z")

</div>

Howdy, For cases when large files are served via FastCGI, what might be the ideal settings for the “fastcgi\_buffers” directive, in order to prevent the warning: “an upstream response is buffered to a temporary file …

---

## [Ais-tools-gnuradio problem](https://www.ruby-forum.com/t/ais-tools-gnuradio-problem/134093)

<div class="topic-metadata">

**Author:** [@jason](https://www.ruby-forum.com/u/jason)\
**Replies:** 2\
**Last updated:** [April 8, 2008, 5:33am UTC](https://www.ruby-forum.com/t/ais-tools-gnuradio-problem/134093 "2008-04-08T05:33:25Z")

</div>

Sorry for the noise, my mailinglist alias was misspelled on this MTA, resulting in some 550 sender verification errors. So, Ruben probably has three copies of this… oops. :slight\_smile: Ruben et al, I’m attempting …

---

## [Creating a profile with after\_create](https://www.ruby-forum.com/t/creating-a-profile-with-after-create/127367)

<div class="topic-metadata">

**Author:** [@peter](https://www.ruby-forum.com/u/peter)\
**Replies:** 2\
**Last updated:** [January 28, 2008, 6:53pm UTC](https://www.ruby-forum.com/t/creating-a-profile-with-after-create/127367 "2008-01-28T18:53:29Z")

</div>

I have a User and a Profile model, and want to use the last one for storing some settings and preferences. I think i have the relationships right (User…has\_one :profile, Profile…belongs\_to :user) and a user\_id field i…

---

## [HTTP Post using Internet Explorer](https://www.ruby-forum.com/t/http-post-using-internet-explorer/109118)

<div class="topic-metadata">

**Author:** [@Charles\_Gillman](https://www.ruby-forum.com/u/Charles_Gillman)\
**Replies:** 2\
**Last updated:** [July 11, 2007, 4:39pm UTC](https://www.ruby-forum.com/t/http-post-using-internet-explorer/109118 "2007-07-11T16:39:06Z")

</div>

Hi I am using Win32ole to automate Internet Explorer and need to “post” the form variables. This is done by passing additional parameters to the IE Navigate method. I can nearly get the function to work by passing t…

---

## [Can't able to read all the Rows in CSV file:](https://www.ruby-forum.com/t/cant-able-to-read-all-the-rows-in-csv-file/244744)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [June 8, 2016, 3:54am UTC](https://www.ruby-forum.com/t/cant-able-to-read-all-the-rows-in-csv-file/244744 "2016-06-08T03:54:25Z")

</div>

Hi All, I am new to ruby and i am trying to read the data from CSV file. The CSv file has 240 rows and a single Column in it. I wanted to read the row by row data and process that and then fetch the next row. Can some…

---

## [Unable to do the barcode scanning for windows mobile platform](https://www.ruby-forum.com/t/unable-to-do-the-barcode-scanning-for-windows-mobile-platform/221245)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [September 12, 2013, 11:11am UTC](https://www.ruby-forum.com/t/unable-to-do-the-barcode-scanning-for-windows-mobile-platform/221245 "2013-09-12T11:11:13Z")

</div>

I am trying to do barcode scanning from the sample api given in MotorolaRhoMobileSuite2.0.5. I need to do this for Windows Mobile platfrom and Motorola SSB-MC9190G-30 device. Here is my build.yml file: app\_type: “rhoe…

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

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