# Top

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

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

---

## [Recording I-Q stream with uhd\_rx\_cfile](https://www.ruby-forum.com/t/recording-i-q-stream-with-uhd-rx-cfile/220028)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [May 25, 2012, 7:41pm UTC](https://www.ruby-forum.com/t/recording-i-q-stream-with-uhd-rx-cfile/220028 "2012-05-25T19:41:14Z")

</div>

Hello, I want to transmit a continuous stream of 1’s or 0’s (with bpsk modulation) and record the received I-Q stream. I am trying to use the ‘digital\_bert\_tx.py’ code for transmission and the uhd\_rx\_cfile code (gr-…

---

## [Proxy\_ignore\_client\_abort ignored](https://www.ruby-forum.com/t/proxy-ignore-client-abort-ignored/202688)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [February 3, 2011, 6:56pm UTC](https://www.ruby-forum.com/t/proxy-ignore-client-abort-ignored/202688 "2011-02-03T18:56:07Z")

</div>

Is ‘proxy\_ignore\_client\_abort’ ignored when either ‘proxy\_cache’ or ‘proxy\_store’ is set? I have tried setting it to ‘on’ and ‘off’, but nginx/0.9.4 continues to download large files even after the requesting client h…

---

## [How to have to a filter in activescaffold list](https://www.ruby-forum.com/t/how-to-have-to-a-filter-in-activescaffold-list/193803)

<div class="topic-metadata">

**Author:** [@jakx12](https://www.ruby-forum.com/u/jakx12)\
**Replies:** 7\
**Last updated:** [August 25, 2010, 12:31pm UTC](https://www.ruby-forum.com/t/how-to-have-to-a-filter-in-activescaffold-list/193803 "2010-08-25T12:31:47Z")

</div>

What i want to do is allow only user created records to appear in the list and thus make them only able to edit their own. How would I do this? Many thanks, jakx12.

---

## [How could I get the routes namespace in the view?](https://www.ruby-forum.com/t/how-could-i-get-the-routes-namespace-in-the-view/192973)

<div class="topic-metadata">

**Author:** [@xuwenhao](https://www.ruby-forum.com/u/xuwenhao)\
**Replies:** 1\
**Last updated:** [August 9, 2010, 9:20pm UTC](https://www.ruby-forum.com/t/how-could-i-get-the-routes-namespace-in-the-view/192973 "2010-08-09T21:20:40Z")

</div>

I am currently working on an extension for spree. In this extension, we introduce more roles than the current user and admin role. For the new role, like a product supplier, we will only let them manage the products i…

---

## [MSpec fails to load dll](https://www.ruby-forum.com/t/mspec-fails-to-load-dll/164820)

<div class="topic-metadata">

**Author:** [@xerxesb](https://www.ruby-forum.com/u/xerxesb)\
**Replies:** 1\
**Last updated:** [April 6, 2009, 6:39pm UTC](https://www.ruby-forum.com/t/mspec-fails-to-load-dll/164820 "2009-04-06T18:39:43Z")

</div>

howdy all, i’m new to ruby and ironruby, and trying to get a simple mspec sample working on my machine. i’m using the 0.3 drop of IR. When i’m running IronRuby for anything OTHER than mspec, it works perfectly fine. …

---

## [Mi annoio: anonymizer in rails (anonyrails)](https://www.ruby-forum.com/t/mi-annoio-anonymizer-in-rails-anonyrails/155227)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [January 9, 2009, 8:40am UTC](https://www.ruby-forum.com/t/mi-annoio-anonymizer-in-rails-anonyrails/155227 "2009-01-09T08:40:28Z")

</div>

Ciao a tutti, visto che oggi non riesco a scrivere una riga una di tesi mi stavo cimentando in un programma in rails… ANONYRAILS Non sono un esperto, quindi vi sottopongo umilmente il mio codice alla ricerca di spunti…

---

## [Irb and ruby giving different results](https://www.ruby-forum.com/t/irb-and-ruby-giving-different-results/152555)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 7\
**Last updated:** [November 7, 2008, 11:12pm UTC](https://www.ruby-forum.com/t/irb-and-ruby-giving-different-results/152555 "2008-11-07T23:12:42Z")

</div>

in IRB, ASCII = (0…255).map{|c| c.chr } PRINTABLE = ASCII.grep(/\[\[:print:\]\]/) PRINTABLE.length 191 However, inside the ruby program PRINTABLE.length only gives 95 !! ??? #!/opt/local/bin/ruby ASCII =…

---

## [Define\_method with block](https://www.ruby-forum.com/t/define-method-with-block/141592)

<div class="topic-metadata">

**Author:** [@leslieviljoen](https://www.ruby-forum.com/u/leslieviljoen)\
**Replies:** 7\
**Last updated:** [June 27, 2008, 10:08pm UTC](https://www.ruby-forum.com/t/define-method-with-block/141592 "2008-06-27T22:08:22Z")

</div>

Hi! Is there a way that methods defined with define\_method can take a block? Here’s my fighting module: module Taikwando def self.add\_warrior(n) define\_method(n) do puts “#{n} fights!” yield end end def fight(\*…

---

## [Where should the responsibility for ACL be placed in MVC?](https://www.ruby-forum.com/t/where-should-the-responsibility-for-acl-be-placed-in-mvc/136774)

<div class="topic-metadata">

**Author:** [@tuktuk](https://www.ruby-forum.com/u/tuktuk)\
**Replies:** 7\
**Last updated:** [May 7, 2008, 3:05pm UTC](https://www.ruby-forum.com/t/where-should-the-responsibility-for-acl-be-placed-in-mvc/136774 "2008-05-07T15:05:59Z")

</div>

I am rebuilding one of my favorite intranet apps in Rails. I use a lot of access control - not just on model-level, but down to specific fields inside one model. For example: User A is allowed to modify the field “Me…

---

## [Ruby-sdl: How do you poll events?](https://www.ruby-forum.com/t/ruby-sdl-how-do-you-poll-events/89203)

<div class="topic-metadata">

**Author:** [@ChrisKaelin](https://www.ruby-forum.com/u/ChrisKaelin)\
**Replies:** 7\
**Last updated:** [March 19, 2007, 4:31pm UTC](https://www.ruby-forum.com/t/ruby-sdl-how-do-you-poll-events/89203 "2007-03-19T16:31:23Z")

</div>

The code of my raw main loop is below. I’m sure there are better ways to poll the event queue. Do you have better ideas? Also I’m not sure about the garbage collect thing at the bottom… loop { offset\_x = 0 offset\_y …

---

## [Hitting Files per Directory Limits with Ferret?](https://www.ruby-forum.com/t/hitting-files-per-directory-limits-with-ferret/81154)

<div class="topic-metadata">

**Author:** [@fez](https://www.ruby-forum.com/u/fez)\
**Replies:** 7\
**Last updated:** [January 19, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/hitting-files-per-directory-limits-with-ferret/81154 "2007-01-19T16:30:25Z")

</div>

Hey all! We’ve been using Ferret to great success these past six months. But recently we’ved tried adding many new ContentItems (only thing being index by Ferret at the moment), and things came crashing to a halt. f…

---

## [Can I access an object attribute dynamically using a variabl](https://www.ruby-forum.com/t/can-i-access-an-object-attribute-dynamically-using-a-variabl/69565)

<div class="topic-metadata">

**Author:** [@nathandelane](https://www.ruby-forum.com/u/nathandelane)\
**Replies:** 1\
**Last updated:** [September 21, 2006, 10:11pm UTC](https://www.ruby-forum.com/t/can-i-access-an-object-attribute-dynamically-using-a-variabl/69565 "2006-09-21T22:11:18Z")

</div>

Not sure exactly how to put this, but I want to assign a value to an attribute of an object (e.g. part.partnumber) using a dynamic name for the attribute (a variable of type String). It seems like I should be able to…

---

## ["Full stack" developers](https://www.ruby-forum.com/t/full-stack-developers/241443)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 4\
**Last updated:** [April 7, 2015, 2:52pm UTC](https://www.ruby-forum.com/t/full-stack-developers/241443 "2015-04-07T14:52:01Z")

</div>

Io queste cose manco le so. BASTA DISCRIMINAZIONE NEI CONFRONTI DEI PROGRAMMATORI SERVER SIDE! Non abbiamo una UI ma abbiamo un cuore! Dobbiamo fare il ‘reframing’ di ‘full stuck developer’ in qualocsa del tipo “sa…

---

## [Midpoint Displacement (#197)](https://www.ruby-forum.com/t/midpoint-displacement-197/163461)

<div class="topic-metadata">

**Author:** [@danmcb](https://www.ruby-forum.com/u/danmcb)\
**Replies:** 4\
**Last updated:** [March 30, 2009, 12:06am UTC](https://www.ruby-forum.com/t/midpoint-displacement-197/163461 "2009-03-30T00:06:11Z")

</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…

---

## [Using controller methods in rake tasks](https://www.ruby-forum.com/t/using-controller-methods-in-rake-tasks/147041)

<div class="topic-metadata">

**Author:** [@corstar](https://www.ruby-forum.com/u/corstar)\
**Replies:** 4\
**Last updated:** [August 28, 2008, 6:24am UTC](https://www.ruby-forum.com/t/using-controller-methods-in-rake-tasks/147041 "2008-08-28T06:24:32Z")

</div>

I am writing a rails task that needs to call a controller method. Does anyone know how I can do this? Thanks

---

## [Problem on compiling ruby in windows](https://www.ruby-forum.com/t/problem-on-compiling-ruby-in-windows/115420)

<div class="topic-metadata">

**Author:** [@shinwoo](https://www.ruby-forum.com/u/shinwoo)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 7:19am UTC](https://www.ruby-forum.com/t/problem-on-compiling-ruby-in-windows/115420 "2007-09-25T07:19:15Z")

</div>

Hi, I am using the ruby one click installer all the while. Recently, I tried to compile the latest ruby 1.8.6-p110 and I found it is quite painful to compile it in windows. I am able to compile it with VS2003. I can …

---

## [YAML.load\_file problems](https://www.ruby-forum.com/t/yaml-load-file-problems/88531)

<div class="topic-metadata">

**Author:** [@RebhanS\_Gilbert](https://www.ruby-forum.com/u/RebhanS_Gilbert)\
**Replies:** 4\
**Last updated:** [March 13, 2007, 9:16am UTC](https://www.ruby-forum.com/t/yaml-load-file-problems/88531 "2007-03-13T09:16:27Z")

</div>

Hi, i have a program where several things are hard coded for production i need a config file now, must be editable and readable by hand, so i decided to try with YAML program with hard coded stuff = require “highlin…

---

## [Exclude a property on a model from save operations?](https://www.ruby-forum.com/t/exclude-a-property-on-a-model-from-save-operations/88304)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 4\
**Last updated:** [March 12, 2007, 11:47am UTC](https://www.ruby-forum.com/t/exclude-a-property-on-a-model-from-save-operations/88304 "2007-03-12T11:47:11Z")

</div>

Hey guys :slight\_smile: I have some models that include computed fields, i.e. fields that aren’t data as such on a table, but are computed using other fields in the table, like author.printed\_name which is computed (o…

---

## [Mocking global variables in rspec](https://www.ruby-forum.com/t/mocking-global-variables-in-rspec/141910)

<div class="topic-metadata">

**Author:** [@Reggie\_on\_rails](https://www.ruby-forum.com/u/Reggie_on_rails)\
**Replies:** 0\
**Last updated:** [July 1, 2008, 6:10pm UTC](https://www.ruby-forum.com/t/mocking-global-variables-in-rspec/141910 "2008-07-01T18:10:06Z")

</div>

What’s the best way to mock global variables in rspec? For the model group I would like database interaction. For the controller group I would like to mock the behavior. However it’s failing in the ExampleGroup and d…

---

## [Json parser alternatives](https://www.ruby-forum.com/t/json-parser-alternatives/213685)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [November 9, 2011, 9:32am UTC](https://www.ruby-forum.com/t/json-parser-alternatives/213685 "2011-11-09T09:32:04Z")

</div>

We are hitting this bug sporadically. http://jira.codehaus.org/browse/JRUBY-5072 And we just started getting this error, haven’t had a chance to dig into it yet. undefined method \`merge’ for #JSON::Ext::Generator::St…

---

## [Constants already initialized warnings](https://www.ruby-forum.com/t/constants-already-initialized-warnings/125608)

<div class="topic-metadata">

**Author:** [@rubynuby](https://www.ruby-forum.com/u/rubynuby)\
**Replies:** 5\
**Last updated:** [January 11, 2008, 1:59am UTC](https://www.ruby-forum.com/t/constants-already-initialized-warnings/125608 "2008-01-11T01:59:25Z")

</div>

I have some constants defined in my application\_helper.rb and I keep getting these warning: already initialzed constant \_\_\_\_\_\_\_\_ I greped my project and made sure these constants are not defined or set elsewhere. is …

---

## [Flash vs session vs globale variable for storing referrer](https://www.ruby-forum.com/t/flash-vs-session-vs-globale-variable-for-storing-referrer/79874)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 5\
**Last updated:** [December 20, 2006, 10:28pm UTC](https://www.ruby-forum.com/t/flash-vs-session-vs-globale-variable-for-storing-referrer/79874 "2006-12-20T22:28:19Z")

</div>

In creating my app, Im trying to figure out the best way to save the page referrer information. So far I’ve been flashing the referrer information across pages using flash.keep. Im not using session because I heard th…

---

## [Help with MS ActiveDirectory access](https://www.ruby-forum.com/t/help-with-ms-activedirectory-access/70945)

<div class="topic-metadata">

**Author:** [@cparticle](https://www.ruby-forum.com/u/cparticle)\
**Replies:** 5\
**Last updated:** [November 7, 2006, 10:46am UTC](https://www.ruby-forum.com/t/help-with-ms-activedirectory-access/70945 "2006-11-07T10:46:42Z")

</div>

Hey All, I’m hoping to get some help connecting to Active directory to pull down a list of user objects from the entire domain(all ou’s). Let me say that while I need user objects now knowing how to get any objects f…

---

## [Exciting startup opportunity in Silicon Valley - FS Engineer](https://www.ruby-forum.com/t/exciting-startup-opportunity-in-silicon-valley-fs-engineer/251160)

<div class="topic-metadata">

**Author:** [@Lingan](https://www.ruby-forum.com/u/Lingan)\
**Replies:** 1\
**Last updated:** [November 24, 2018, 8:08pm UTC](https://www.ruby-forum.com/t/exciting-startup-opportunity-in-silicon-valley-fs-engineer/251160 "2018-11-24T20:08:21Z")

</div>

Join us in disrupting logistics and setting the new standard for last mile delivery, a multibillion dollar market. We are a b2b service, behind the scenes of 4000+ national omni-channel retailers, e-commerce players and …

---

## [FATAL: No supported device found](https://www.ruby-forum.com/t/fatal-no-supported-device-found/233803)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 13, 2015, 11:27pm UTC](https://www.ruby-forum.com/t/fatal-no-supported-device-found/233803 "2015-01-13T23:27:13Z")

</div>

Hi, Bananapi / LUbuntu After building GNURadio with the build-script and compiling / installing with success i can start gnuradio-companion or any gnuradio based py application but i get the following error messages. …

---

## [Strange error when running bundle exec rspec spec](https://www.ruby-forum.com/t/strange-error-when-running-bundle-exec-rspec-spec/218586)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [July 25, 2012, 9:31am UTC](https://www.ruby-forum.com/t/strange-error-when-running-bundle-exec-rspec-spec/218586 "2012-07-25T09:31:29Z")

</div>

Hi I have been following the online rails tutorial written by Micheal Hartl, can be found here: http://ruby.railstutorial.org/chapters/beginning#top As I have been going through the chapters, at first the rspec tests…

---

## [How to read csv file which has :quote\_char in data field](https://www.ruby-forum.com/t/how-to-read-csv-file-which-has-quote-char-in-data-field/161804)

<div class="topic-metadata">

**Author:** [@salil](https://www.ruby-forum.com/u/salil)\
**Replies:** 1\
**Last updated:** [March 2, 2009, 5:11pm UTC](https://www.ruby-forum.com/t/how-to-read-csv-file-which-has-quote-char-in-data-field/161804 "2009-03-02T17:11:27Z")

</div>

How to do this using fastercsv? i want to read data from a csv file and save it into the database. my file xyz.csv contains following line ,“xyz”, i want o/p of above row as follows nil,nil,nil,nil,"“xyz”", nil,nil…

---

## [Add another tab when opening file](https://www.ruby-forum.com/t/add-another-tab-when-opening-file/151786)

<div class="topic-metadata">

**Author:** [@wujciol](https://www.ruby-forum.com/u/wujciol)\
**Replies:** 1\
**Last updated:** [October 25, 2008, 6:10pm UTC](https://www.ruby-forum.com/t/add-another-tab-when-opening-file/151786 "2008-10-25T18:10:38Z")

</div>

I’m writing editor using FXRuby but I’ve got a problem. FXTabItems are only visible if i add them in initialize method of my class. How to connect add\_tab method with position in menu to show FXTabItem? This is code: …

---

## [What happened to my increment\_counter method?](https://www.ruby-forum.com/t/what-happened-to-my-increment-counter-method/58074)

<div class="topic-metadata">

**Author:** [@travis\_laduke](https://www.ruby-forum.com/u/travis_laduke)\
**Replies:** 1\
**Last updated:** [April 25, 2006, 8:15pm UTC](https://www.ruby-forum.com/t/what-happened-to-my-increment-counter-method/58074 "2006-04-25T20:15:57Z")

</div>

this used to work for me. i started re-writing my little app and now it doesn’t work. here’s my models: class Company \< ActiveRecord::Base has\_many :people end class Person \< ActiveRecord::Base belongs\_to :Company…

---

## [Limit\_req off?](https://www.ruby-forum.com/t/limit-req-off/243865)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [January 23, 2016, 12:23pm UTC](https://www.ruby-forum.com/t/limit-req-off/243865 "2016-01-23T12:23:40Z")

</div>

I have a location with limit\_req and would like to set up an inner path without the limit but with other settings same, e.g. location / { limit\_req …; proxy\_pass …; location /private/ { limit\_req off; } } How c…

---

## [Serve content from a wget mirror](https://www.ruby-forum.com/t/serve-content-from-a-wget-mirror/233206)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [November 25, 2014, 10:53pm UTC](https://www.ruby-forum.com/t/serve-content-from-a-wget-mirror/233206 "2014-11-25T22:53:25Z")

</div>

Hi, I’m trying to create an archive based on a current site which is due to be taken down, I’ve used “wget -m” to mirror the site and all seems well except I’m having trouble with what I think are arguments in the url…

---

## [What is wrong here](https://www.ruby-forum.com/t/what-is-wrong-here/234775)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 8\
**Last updated:** [May 28, 2014, 7:34pm UTC](https://www.ruby-forum.com/t/what-is-wrong-here/234775 "2014-05-28T19:34:40Z")

</div>

Hello, I want to sort a hash by first the value and after that the key. So I did this : def solution(array, key) array.sort\_by{ |key,array\[value\]| key} end But now I see a syntaxt error Roelof

---

## [Memcache and garbled text returned by Nginx](https://www.ruby-forum.com/t/memcache-and-garbled-text-returned-by-nginx/203206)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [February 16, 2011, 11:28am UTC](https://www.ruby-forum.com/t/memcache-and-garbled-text-returned-by-nginx/203206 "2011-02-16T11:28:41Z")

</div>

I have a php script that writes the whole page output (using output buffering and PECL memcache module) to memcache using keys such as: $host$request\_uri \<?php function memcache\_ob($output) { $time\_start = microtim…

---

## [Custom associations](https://www.ruby-forum.com/t/custom-associations/174115)

<div class="topic-metadata">

**Author:** [@paerez](https://www.ruby-forum.com/u/paerez)\
**Replies:** 8\
**Last updated:** [August 21, 2009, 9:26am UTC](https://www.ruby-forum.com/t/custom-associations/174115 "2009-08-21T09:26:10Z")

</div>

Hi, I was wondering if somebody has any pointer for me. Here is what I have and trying to do. Let’s say I have 2 models WorkOrder ( id, ref\_number, desc) ( and a bunch of other fields) OldRma ( id, ref\_number, cust…

---

## [Filters order in Controllers](https://www.ruby-forum.com/t/filters-order-in-controllers/147106)

<div class="topic-metadata">

**Author:** [@Antonio\_Tapiador\_de](https://www.ruby-forum.com/u/Antonio_Tapiador_de)\
**Replies:** 3\
**Last updated:** [August 29, 2008, 12:50pm UTC](https://www.ruby-forum.com/t/filters-order-in-controllers/147106 "2008-08-29T12:50:18Z")

</div>

Hi! I’m moving my CMSplugin to Rails Engines, as it’s a very nice framework for certain features. Thank you! However, I’ve a problem with filters in Controllers. In my plugin I have the following code: class PostsC…

---

## [Making Rails 2.0 reload engine controllers and models](https://www.ruby-forum.com/t/making-rails-2-0-reload-engine-controllers-and-models/129584)

<div class="topic-metadata">

**Author:** [@mateo\_murphy](https://www.ruby-forum.com/u/mateo_murphy)\
**Replies:** 0\
**Last updated:** [February 19, 2008, 9:26pm UTC](https://www.ruby-forum.com/t/making-rails-2-0-reload-engine-controllers-and-models/129584 "2008-02-19T21:26:43Z")

</div>

Hello, I’ve been working on a solution for making rails reload engine controllers and models. Initially, after a fair amount of googling, I came up with the following, in development.rb: config.after\_initialize { De…

---

## [Thread deadlock](https://www.ruby-forum.com/t/thread-deadlock/225969)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 8\
**Last updated:** [September 19, 2007, 6:16am UTC](https://www.ruby-forum.com/t/thread-deadlock/225969 "2007-09-19T06:16:34Z")

</div>

I wanted to create a thread pool. I know I could have used a SizedQueue in the thread pool, but I wanted to later on change the thread queue to a priority queue. With ruby 1.8.6 (2007-03-13 patchlevel 0) \[i386-cygwin…

---

## [Kiss your boring tasks goodbye: Everyday Scripting With Ruby](https://www.ruby-forum.com/t/kiss-your-boring-tasks-goodbye-everyday-scripting-with-ruby/105412)

<div class="topic-metadata">

**Author:** [@sharon](https://www.ruby-forum.com/u/sharon)\
**Replies:** 8\
**Last updated:** [May 30, 2007, 3:51pm UTC](https://www.ruby-forum.com/t/kiss-your-boring-tasks-goodbye-everyday-scripting-with-ruby/105412 "2007-05-30T15:51:03Z")

</div>

Chances are, you do some boring, repetitive data-related tasks at work – ones a computer could easily do, if only it was told how. “At one desk, a tester is entering test data into a database by hand. At another, a pr…

---

## [Rails 1.2 routes question](https://www.ruby-forum.com/t/rails-1-2-routes-question/85894)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 8\
**Last updated:** [February 19, 2007, 5:26pm UTC](https://www.ruby-forum.com/t/rails-1-2-routes-question/85894 "2007-02-19T17:26:13Z")

</div>

Hi, I am getting to grips with Raisl 1.2 and am using the new restfull features. I have my model article and used scaffold\_resource article to geive me the restfull default crud methods. So in the routes.rb i have m…

---

## [User\_Engine - rake engine\_migrate brings stack level too dee](https://www.ruby-forum.com/t/user-engine-rake-engine-migrate-brings-stack-level-too-dee/64474)

<div class="topic-metadata">

**Author:** [@manuel](https://www.ruby-forum.com/u/manuel)\
**Replies:** 3\
**Last updated:** [January 26, 2006, 11:06am UTC](https://www.ruby-forum.com/t/user-engine-rake-engine-migrate-brings-stack-level-too-dee/64474 "2006-01-26T11:06:42Z")

</div>

Hi, I ran into another problem when trying the user\_engine. I guess I do something wrong here and I hope somebody could help me with this. I installed the user\_engine from svn today and did all the steps until step 7…

---

## [A two blocks synchronizing problem](https://www.ruby-forum.com/t/a-two-blocks-synchronizing-problem/242513)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [July 2, 2015, 8:12am UTC](https://www.ruby-forum.com/t/a-two-blocks-synchronizing-problem/242513 "2015-07-02T08:12:39Z")

</div>

Hello I created 2 new blocks, one is an encoder and the other one a decoder. I needed the encoder block to had 8 input items (from a vector source) and 11 output items, so I set: consume each(8) and return(11). I did…

---

## [Complex sql query. How to do with has\_many and belongs\_to?](https://www.ruby-forum.com/t/complex-sql-query-how-to-do-with-has-many-and-belongs-to/184475)

<div class="topic-metadata">

**Author:** [@webdesignporto](https://www.ruby-forum.com/u/webdesignporto)\
**Replies:** 6\
**Last updated:** [March 3, 2010, 9:34pm UTC](https://www.ruby-forum.com/t/complex-sql-query-how-to-do-with-has-many-and-belongs-to/184475 "2010-03-03T21:34:34Z")

</div>

SELECT profiles.\*, friendships.updated\_at AS friendship\_updated\_at, friendships.profile\_id, friendships.friend\_id, friendships.accepted AS friendship\_accepted, friendships.rejected AS friendship\_rejected FROM profiles …

---

## [Hash with key and value from ActiveRecord?](https://www.ruby-forum.com/t/hash-with-key-and-value-from-activerecord/163843)

<div class="topic-metadata">

**Author:** [@cojones](https://www.ruby-forum.com/u/cojones)\
**Replies:** 6\
**Last updated:** [March 25, 2009, 2:19pm UTC](https://www.ruby-forum.com/t/hash-with-key-and-value-from-activerecord/163843 "2009-03-25T14:19:13Z")

</div>

Heya, I think I have thinking barrier. I just want a simple hash out of an ActiveRecord. @attributes = Attribute.find\_all\_by\_character\_id(@character).hash { |u| \[u.name, u.value\] } and I would like to access it like …

---

## [Help in AJAX page using partials](https://www.ruby-forum.com/t/help-in-ajax-page-using-partials/142249)

<div class="topic-metadata">

**Author:** [@rocknrollcar](https://www.ruby-forum.com/u/rocknrollcar)\
**Replies:** 6\
**Last updated:** [July 5, 2008, 2:29pm UTC](https://www.ruby-forum.com/t/help-in-ajax-page-using-partials/142249 "2008-07-05T14:29:43Z")

</div>

Hi. I am doing a web project for my school. I have models like Forum, Student, Event, Teacher, etc. Users are allowed to go to these models only after logging in so that they can view and update their details, create …

---

## [Implementing match-making with Ruby on Rails](https://www.ruby-forum.com/t/implementing-match-making-with-ruby-on-rails/232027)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 15, 2014, 4:49pm UTC](https://www.ruby-forum.com/t/implementing-match-making-with-ruby-on-rails/232027 "2014-09-15T16:49:02Z")

</div>

I’m using Ruby on Rails to build a real-time game web app. When a player taps “Play Now”, I want to match them up with another player that is looking for a game (match-making). With my basic understanding of RoR, one …

---

## [Scores in ferret](https://www.ruby-forum.com/t/scores-in-ferret/141586)

<div class="topic-metadata">

**Author:** [@icottee](https://www.ruby-forum.com/u/icottee)\
**Replies:** 2\
**Last updated:** [June 27, 2008, 4:10pm UTC](https://www.ruby-forum.com/t/scores-in-ferret/141586 "2008-06-27T16:10:11Z")

</div>

Hi, Are scores an absolute calculation or relative to what is in a given index? I ask because I wanted to look into distributing my index over a few servers. The idea being that I could get 10 results for a couple of…

---

## [Trending Ruby projects/gems](https://www.ruby-forum.com/t/trending-ruby-projects-gems/263712)

<div class="topic-metadata">

**Author:** [@igorkasyanchuk](https://www.ruby-forum.com/u/igorkasyanchuk)\
**Replies:** 0\
**Last updated:** [March 13, 2023, 9:56am UTC](https://www.ruby-forum.com/t/trending-ruby-projects-gems/263712 "2023-03-13T09:56:41Z")

</div>

list of trending Ruby/Rails projects:

---

## [Learning how to create and save .rbs](https://www.ruby-forum.com/t/learning-how-to-create-and-save-rbs/235968)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [July 26, 2013, 7:56pm UTC](https://www.ruby-forum.com/t/learning-how-to-create-and-save-rbs/235968 "2013-07-26T19:56:23Z")

</div>

So I am trying to create and run an .rb, a basic stepping stone. After I typed and saved my .rb it ran like this- irb(main):oo1:0) ruby 01hello.rb Syntax Error: (irb):2: syntax error, unexpected tIDENTIFIER, expecting …

---

## [Feature Request for proxy\_ignore\_headers](https://www.ruby-forum.com/t/feature-request-for-proxy-ignore-headers/180419)

<div class="topic-metadata">

**Author:** [@nerdgrind](https://www.ruby-forum.com/u/nerdgrind)\
**Replies:** 4\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/feature-request-for-proxy-ignore-headers/180419 "2009-12-19T15:25:33Z")

</div>

Would like to see proxy\_ignore\_headers have the option to set it to “any” header, or config specific like: Vary WP-Super-Cache X-Pingback All the best, Todd Posted at Nginx Forum:

---

## [Object scope and cleanup](https://www.ruby-forum.com/t/object-scope-and-cleanup/166839)

<div class="topic-metadata">

**Author:** [@jballanc](https://www.ruby-forum.com/u/jballanc)\
**Replies:** 4\
**Last updated:** [April 30, 2009, 1:49pm UTC](https://www.ruby-forum.com/t/object-scope-and-cleanup/166839 "2009-04-30T13:49:55Z")

</div>

I am having trouble understanding Ruby object cleanup wrt scope. In particular, I would think that an object is getting deleted, but it turns out that is not the case. I have an RSpec test below. The BinarySearchTree …

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

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