# Top

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

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

---

## [Undefined method \`seed'](https://www.ruby-forum.com/t/undefined-method-seed/213642)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [November 9, 2011, 7:07pm UTC](https://www.ruby-forum.com/t/undefined-method-seed/213642 "2011-11-09T19:07:55Z")

</div>

hello, I am trying to deploy a rails 3.1 app to Heroku and need to run db:seed My seeds file has this code User.seed do |s| s.email = “removed\_email\_address@domain.invalid” s.password = “bigsecret” s.password\_conf…

---

## [Newbie question](https://www.ruby-forum.com/t/newbie-question/207875)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [June 5, 2011, 4:47pm UTC](https://www.ruby-forum.com/t/newbie-question/207875 "2011-06-05T16:47:02Z")

</div>

Hi, I’m new on rails, and I would like like to know how I do for I get a link on title on a block of code (each), and do this link go to show function and show up. should be something like “link\_to article.title, a…

---

## [Does anybody have sucessfully installed GNU Radio on Windows](https://www.ruby-forum.com/t/does-anybody-have-sucessfully-installed-gnu-radio-on-windows/198339)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 4\
**Last updated:** [November 1, 2010, 2:29am UTC](https://www.ruby-forum.com/t/does-anybody-have-sucessfully-installed-gnu-radio-on-windows/198339 "2010-11-01T02:29:46Z")

</div>

Hi, OK, I really don’t know what to do with that GNU Radio. I tried to install it many times with CygWin and MinGW but no success, this is why I have this question: does anybody have sucessfully installed GNU Radio …

---

## [Problem with Solaris](https://www.ruby-forum.com/t/problem-with-solaris/198117)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 4\
**Last updated:** [October 26, 2010, 10:24pm UTC](https://www.ruby-forum.com/t/problem-with-solaris/198117 "2010-10-26T22:24:48Z")

</div>

Hello, I just came to this old problem : readv() failed (22: Invalid argument) while reading upstream Running nginx 0.8.52 on Solaris10 I have seen a message from 2008 that spoke about that, but it seems that the bu…

---

## [Reading from a PDF](https://www.ruby-forum.com/t/reading-from-a-pdf/180379)

<div class="topic-metadata">

**Author:** [@paragadosm](https://www.ruby-forum.com/u/paragadosm)\
**Replies:** 4\
**Last updated:** [September 8, 2010, 10:18pm UTC](https://www.ruby-forum.com/t/reading-from-a-pdf/180379 "2010-09-08T22:18:10Z")

</div>

I’m looking for a way to read text off of a PDF document in Windows. The catch is that this code will get packaged as an ocra executable and be run from a pc that does not have Ruby installed. I’ve google searched an…

---

## [What does \<\> mean in a sql query?](https://www.ruby-forum.com/t/what-does-mean-in-a-sql-query/194417)

<div class="topic-metadata">

**Author:** [@pitosalas](https://www.ruby-forum.com/u/pitosalas)\
**Replies:** 4\
**Last updated:** [September 6, 2010, 4:39pm UTC](https://www.ruby-forum.com/t/what-does-mean-in-a-sql-query/194417 "2010-09-06T16:39:39Z")

</div>

This is from the rails log: SELECT “district\_sets”.id FROM “district\_sets” WHERE (“district\_sets”.“ident” = ‘juris-60c8bcea56c0dfa02d121691e0e72152’ AND “district\_sets”.id \<\> 12) LIMIT 1 I am confused by the \<\> opera…

---

## [Problem with nginx-0.7.67 logs](https://www.ruby-forum.com/t/problem-with-nginx-0-7-67-logs/191124)

<div class="topic-metadata">

**Author:** [@Xin\_L](https://www.ruby-forum.com/u/Xin_L)\
**Replies:** 4\
**Last updated:** [July 6, 2010, 2:59pm UTC](https://www.ruby-forum.com/t/problem-with-nginx-0-7-67-logs/191124 "2010-07-06T14:59:04Z")

</div>

Hi all, My server is Debian. And I installed nginx (0.7.67-1) to host my webpage. The problem is that, everyday on 06:25PM (New York time), nginx will generate a new log file and rename the old log file nginx.log.1. …

---

## [If else condition in ruby not working](https://www.ruby-forum.com/t/if-else-condition-in-ruby-not-working/189446)

<div class="topic-metadata">

**Author:** [@sweetzubair](https://www.ruby-forum.com/u/sweetzubair)\
**Replies:** 4\
**Last updated:** [June 1, 2010, 10:02am UTC](https://www.ruby-forum.com/t/if-else-condition-in-ruby-not-working/189446 "2010-06-01T10:02:59Z")

</div>

i write simple code for button if button pressed than result is passed other wise failed. but every time condition goes to the Failed. i try may things but every time i face this problem. begin if(ie.button(:value,“…

---

## [Ruby array inside hash is nil](https://www.ruby-forum.com/t/ruby-array-inside-hash-is-nil/185322)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 4\
**Last updated:** [March 18, 2010, 8:59pm UTC](https://www.ruby-forum.com/t/ruby-array-inside-hash-is-nil/185322 "2010-03-18T20:59:33Z")

</div>

I assign an array to a hash value. When I inspect it shows the array but when I try to access the array by the hash index it is nil. Ideas? Here is the log output of the inspect hash: {:has\_key=\>0, :ext\_array=\>\[“Tex…

---

## [Latest USRP2 firmware binaries updated](https://www.ruby-forum.com/t/latest-usrp2-firmware-binaries-updated/184449)

<div class="topic-metadata">

**Author:** [@jconley](https://www.ruby-forum.com/u/jconley)\
**Replies:** 4\
**Last updated:** [March 3, 2010, 8:40am UTC](https://www.ruby-forum.com/t/latest-usrp2-firmware-binaries-updated/184449 "2010-03-03T08:40:13Z")

</div>

The most recent USRP2 binary firmware files based on 3.3git series have been posted. Changes: Addition of WBX daughterboard support in USRP2 (Jason A., Ettus Research) Addition of set\_antenna() call in libusrp2/…

---

## [FXRuby and Ruby 1.9](https://www.ruby-forum.com/t/fxruby-and-ruby-1-9/183665)

<div class="topic-metadata">

**Author:** [@alexd](https://www.ruby-forum.com/u/alexd)\
**Replies:** 4\
**Last updated:** [March 1, 2010, 1:32am UTC](https://www.ruby-forum.com/t/fxruby-and-ruby-1-9/183665 "2010-03-01T01:32:53Z")

</div>

Forgive the post to this forum. The FXRuby forum doesn’t seem to be very active. I’m running a script to open a file dialog window. The script works fine in Ruby 1.8. In 1.9 the dialog box still opens and works, bu…

---

## [Turning off access\_logs for Load Balancer TCP port checks](https://www.ruby-forum.com/t/turning-off-access-logs-for-load-balancer-tcp-port-checks/183889)

<div class="topic-metadata">

**Author:** [@Zev\_B](https://www.ruby-forum.com/u/Zev_B)\
**Replies:** 4\
**Last updated:** [February 23, 2010, 8:56am UTC](https://www.ruby-forum.com/t/turning-off-access-logs-for-load-balancer-tcp-port-checks/183889 "2010-02-23T08:56:05Z")

</div>

Hello, We have load balancers that are doing port checks on our NGINX servers. Each of these checks creates an entry in our log file like this: 10.0.0.58 - - \[22/Feb/2010:18:50:21 +0900\] “-” 400 0 “-” “-” 0.000 “-” “…

---

## [Redirecting output ruby and from stdout results in blank file](https://www.ruby-forum.com/t/redirecting-output-ruby-and-from-stdout-results-in-blank-file/181430)

<div class="topic-metadata">

**Author:** [@comp.lang.ruby](https://www.ruby-forum.com/u/comp.lang.ruby)\
**Replies:** 4\
**Last updated:** [January 12, 2010, 12:11am UTC](https://www.ruby-forum.com/t/redirecting-output-ruby-and-from-stdout-results-in-blank-file/181430 "2010-01-12T00:11:19Z")

</div>

Hi all, I’m executing a program from within my ruby script and attempting to capture the output of stderr and stdout. The relevant lines of code are below: def create\_cmd(count) $webkit\_path + ’ ’ + $url + " 1\>std\_ou…

---

## [\[Bug #2390\] Marshal.dump pass a hidden object](https://www.ruby-forum.com/t/bug-2390-marshal-dump-pass-a-hidden-object/179249)

<div class="topic-metadata">

**Author:** [@SSwanabe](https://www.ruby-forum.com/u/SSwanabe)\
**Replies:** 4\
**Last updated:** [November 24, 2009, 10:44am UTC](https://www.ruby-forum.com/t/bug-2390-marshal-dump-pass-a-hidden-object/179249 "2009-11-24T10:44:26Z")

</div>

Bug #2390: Marshal.dump pass a hidden object http://redmine.ruby-lang.org/issues/show/2390 e$B5/I\<\<Te(B: \_ wanabe e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Low e$B%+%F%4%je(B: core ruby -v: ruby 1.9.2dev (2009-11-20 tru…

---

## [Smart ruby](https://www.ruby-forum.com/t/smart-ruby/172712)

<div class="topic-metadata">

**Author:** [@jamba](https://www.ruby-forum.com/u/jamba)\
**Replies:** 4\
**Last updated:** [July 28, 2009, 11:43am UTC](https://www.ruby-forum.com/t/smart-ruby/172712 "2009-07-28T11:43:34Z")

</div>

ho trovato questo: http://www.develbook.com/document/smart-ruby cosa ne pensate?

---

## [Pass variables to arbitrary ruby script: ruby script.rb](https://www.ruby-forum.com/t/pass-variables-to-arbitrary-ruby-script-ruby-script-rb/171511)

<div class="topic-metadata">

**Author:** [@mgiorno](https://www.ruby-forum.com/u/mgiorno)\
**Replies:** 4\
**Last updated:** [July 4, 2009, 8:00am UTC](https://www.ruby-forum.com/t/pass-variables-to-arbitrary-ruby-script-ruby-script-rb/171511 "2009-07-04T08:00:24Z")

</div>

Does anyone know if there is a way to pass variables to a arbitrarily run script? I tried this with no luck. ruby script.rb VARIABLE=value Thanks!

---

## [HABTM - primary key problem](https://www.ruby-forum.com/t/habtm-primary-key-problem/171472)

<div class="topic-metadata">

**Author:** [@Xiahong\_G](https://www.ruby-forum.com/u/Xiahong_G)\
**Replies:** 4\
**Last updated:** [July 3, 2009, 2:27pm UTC](https://www.ruby-forum.com/t/habtm-primary-key-problem/171472 "2009-07-03T14:27:49Z")

</div>

Hi everyone, I ran into a serious problem when I was trying to do something similar to twitter follow mechanism. The thing is like this: First, I have a self-referential table, named “users” create\_table :users do |t…

---

## [Named\_scope and Time.zone](https://www.ruby-forum.com/t/named-scope-and-time-zone/166446)

<div class="topic-metadata">

**Author:** [@idrifter](https://www.ruby-forum.com/u/idrifter)\
**Replies:** 4\
**Last updated:** [April 25, 2009, 2:51pm UTC](https://www.ruby-forum.com/t/named-scope-and-time-zone/166446 "2009-04-25T14:51:21Z")

</div>

So I’m trying to use a named scope to show upcoming events like so: class Event named\_scope :upcoming, :conditions =\> \[“starts\_at \>= ?”, Time.zone.now.beginning\_of\_day\] end In my application controller I am setting …

---

## [Will\_paginate](https://www.ruby-forum.com/t/will-paginate/163651)

<div class="topic-metadata">

**Author:** [@tanker](https://www.ruby-forum.com/u/tanker)\
**Replies:** 4\
**Last updated:** [March 24, 2009, 6:37pm UTC](https://www.ruby-forum.com/t/will-paginate/163651 "2009-03-24T18:37:33Z")

</div>

salut tout le monde j’aimerai selectionnez toutes les donnees de la BD avec will\_paginate voici le controller @products = Product.paginate(:per\_page =\> 8, :order =\>‘position’, :conditions…

---

## [Rails: Rack + AOT --\> RackInitializationException: IO error](https://www.ruby-forum.com/t/rails-rack-aot-rackinitializationexception-io-error/152949)

<div class="topic-metadata">

**Author:** [@ray](https://www.ruby-forum.com/u/ray)\
**Replies:** 4\
**Last updated:** [November 12, 2008, 4:50pm UTC](https://www.ruby-forum.com/t/rails-rack-aot-rackinitializationexception-io-error/152949 "2008-11-12T16:50:15Z")

</div>

Hi, I’m trying to deploy a very simple RoR application into a Glassfish Server. The problem here is that I need to protect my source code somehow, so I’ve compiled all models and controllers with jrubyc, hacked acti…

---

## [Open-uri fetches outdated content vs. curl](https://www.ruby-forum.com/t/open-uri-fetches-outdated-content-vs-curl/148890)

<div class="topic-metadata">

**Author:** [@dcarneiro](https://www.ruby-forum.com/u/dcarneiro)\
**Replies:** 4\
**Last updated:** [September 24, 2008, 2:17am UTC](https://www.ruby-forum.com/t/open-uri-fetches-outdated-content-vs-curl/148890 "2008-09-24T02:17:18Z")

</div>

Try running the following program: ================ require ‘open-uri’ feed\_url = “Slate Magazine” result1 = open(feed\_url).read puts “Saving result1.xml:” File.open(“result1.xml”, “w”) {|f| f.write(result1)} resu…

---

## [Duda en button\_to](https://www.ruby-forum.com/t/duda-en-button-to/133577)

<div class="topic-metadata">

**Author:** [@maite](https://www.ruby-forum.com/u/maite)\
**Replies:** 4\
**Last updated:** [April 2, 2008, 1:18pm UTC](https://www.ruby-forum.com/t/duda-en-button-to/133577 "2008-04-02T13:18:45Z")

</div>

hola a todos, estoy mirando la documentacion de rails y en el caso del button\_to aparece algo parecido a esto \<%= button\_to “delete imagen”, { :action =\>“delete”, :id =\>@image}, :confirm =\>“estas seguro??”, :accion =\> …

---

## [Any options besides Zlib::GzipReader?](https://www.ruby-forum.com/t/any-options-besides-zlib-gzipreader/109089)

<div class="topic-metadata">

**Author:** [@simon1](https://www.ruby-forum.com/u/simon1)\
**Replies:** 4\
**Last updated:** [July 11, 2007, 4:55pm UTC](https://www.ruby-forum.com/t/any-options-besides-zlib-gzipreader/109089 "2007-07-11T16:55:10Z")

</div>

Hi, My application currently has files being sent to it fairly regularly, and I’d like these files to be sent in a compressed format. Besides the handling of gzip formatted compressed files (.gz) through the ZLib::G…

---

## [Help with table name pluralization](https://www.ruby-forum.com/t/help-with-table-name-pluralization/103641)

<div class="topic-metadata">

**Author:** [@sp00nyg](https://www.ruby-forum.com/u/sp00nyg)\
**Replies:** 4\
**Last updated:** [May 9, 2007, 6:21pm UTC](https://www.ruby-forum.com/t/help-with-table-name-pluralization/103641 "2007-05-09T18:21:56Z")

</div>

I want to turn off table name pluralization, so I’ve added ActiveRecord::Base.pluralize\_table\_names = false at the end on my config/environment.rb But I am getting an uninitialized constant error from paginator. unin…

---

## [Editing environment.rb files](https://www.ruby-forum.com/t/editing-environment-rb-files/85223)

<div class="topic-metadata">

**Author:** [@Rae](https://www.ruby-forum.com/u/Rae)\
**Replies:** 4\
**Last updated:** [February 13, 2007, 11:26pm UTC](https://www.ruby-forum.com/t/editing-environment-rb-files/85223 "2007-02-13T23:26:05Z")

</div>

I did a search on the internet to try to find a way to get rid of message: C:0:Warning: require\_gem is obsolete. Use gem instead. I found in an old archive, the following suggestion: "You can fix it in environment.rb…

---

## [Rcms-0.3.1](https://www.ruby-forum.com/t/rcms-0-3-1/84198)

<div class="topic-metadata">

**Author:** [@chandoo](https://www.ruby-forum.com/u/chandoo)\
**Replies:** 4\
**Last updated:** [February 5, 2007, 5:25am UTC](https://www.ruby-forum.com/t/rcms-0-3-1/84198 "2007-02-05T05:25:21Z")

</div>

HI i am new to ruby rails . I downloaded the project RCMS-0.3.1 and began working on it. I am getting the error like undefined method \`init\_gettext’ for ApplicationController:Class . And the application contoller is …

---

## [Hier\_block](https://www.ruby-forum.com/t/hier-block/75606)

<div class="topic-metadata">

**Author:** [@Erlend\_Barstad\_Stra](https://www.ruby-forum.com/u/Erlend_Barstad_Stra)\
**Replies:** 4\
**Last updated:** [November 12, 2006, 5:38pm UTC](https://www.ruby-forum.com/t/hier-block/75606 "2006-11-12T17:38:18Z")

</div>

Hi Im trying to implement a hier\_block, but when do a “sudo make install” I get the following error: " Byte-compiling python modules… qam\_corr\_demod.py File “/usr/local/lib/python2.4/site-packages/python/qam\_corr…

---

## [Error generating any scaffold](https://www.ruby-forum.com/t/error-generating-any-scaffold/70758)

<div class="topic-metadata">

**Author:** [@metrix](https://www.ruby-forum.com/u/metrix)\
**Replies:** 4\
**Last updated:** [October 3, 2006, 8:56pm UTC](https://www.ruby-forum.com/t/error-generating-any-scaffold/70758 "2006-10-03T20:56:36Z")

</div>

I have a problem with one Rails project and I can’t figure out why. I get the following error when any scaffold is generated: The name ‘\[model\_name\]’ is reserved by Ruby on Rails. So basically Rails complains that any…

---

## [Mongrel Cluster Compatibility](https://www.ruby-forum.com/t/mongrel-cluster-compatibility/101309)

<div class="topic-metadata">

**Author:** [@staypufd](https://www.ruby-forum.com/u/staypufd)\
**Replies:** 4\
**Last updated:** [August 5, 2006, 10:39am UTC](https://www.ruby-forum.com/t/mongrel-cluster-compatibility/101309 "2006-08-05T10:39:41Z")

</div>

Is anyone using ferret with Mongrel/Mongrel-cluster? The first one or two times I access the ferret index it works fine, but then it throws a write lock error StandardError (: Error occured at \<index\_rw.c\>:703 Error:…

---

## [Using Ant from Ruby](https://www.ruby-forum.com/t/using-ant-from-ruby/95536)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [June 5, 2006, 6:06pm UTC](https://www.ruby-forum.com/t/using-ant-from-ruby/95536 "2006-06-05T18:06:22Z")

</div>

Hi I am writing a Ruby script to automate some process. Part of it involves running an ant script ( the java build tool from apache). But, I am finding it difficult to make it work. I tried system(‘ant’) but it didn’…

---

## [Regular expression to parse out "host" part of URL string](https://www.ruby-forum.com/t/regular-expression-to-parse-out-host-part-of-url-string/57996)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 4\
**Last updated:** [April 22, 2006, 11:00pm UTC](https://www.ruby-forum.com/t/regular-expression-to-parse-out-host-part-of-url-string/57996 "2006-04-22T23:00:33Z")

</div>

All, I am trying to write a regex to parse out the “host” part of a potential URL. So if presented with I want to get If presented with I want to get If presented with www.cnn.com/some/other/stuff I want…

---

## [Dispatch.cgi Problem](https://www.ruby-forum.com/t/dispatch-cgi-problem/53236)

<div class="topic-metadata">

**Author:** [@eric](https://www.ruby-forum.com/u/eric)\
**Replies:** 4\
**Last updated:** [January 30, 2006, 5:46pm UTC](https://www.ruby-forum.com/t/dispatch-cgi-problem/53236 "2006-01-30T17:46:09Z")

</div>

Hey all, I’ve been battling with ruby configurations for days now…trying to get either SCGI or FCGI to work on my Apache 1.3/Linux Red Hat 3 server. I’ve pretty much gave up that battle since either of them will work …

---

## [How to use aggregates in a form](https://www.ruby-forum.com/t/how-to-use-aggregates-in-a-form/49289)

<div class="topic-metadata">

**Author:** [@Bohm](https://www.ruby-forum.com/u/Bohm)\
**Replies:** 4\
**Last updated:** [December 3, 2005, 7:47pm UTC](https://www.ruby-forum.com/t/how-to-use-aggregates-in-a-form/49289 "2005-12-03T19:47:01Z")

</div>

Hi, does anybody have a good way of handling aggregates in forms? I have an aggregate object Money that is holds the price of an item. So my Item would contain a reference to Money: composed\_of :price, …

---

## [Observers doesnt get registred in productize](https://www.ruby-forum.com/t/observers-doesnt-get-registred-in-productize/47840)

<div class="topic-metadata">

**Author:** [@kristian.lists](https://www.ruby-forum.com/u/kristian.lists)\
**Replies:** 4\
**Last updated:** [November 15, 2005, 8:55pm UTC](https://www.ruby-forum.com/t/observers-doesnt-get-registred-in-productize/47840 "2005-11-15T20:55:21Z")

</div>

Hi! My observers doesn’t get registred by active record. I’m doing a refactoring of a site into products by the framework productize (i love the concept). Currently all my observers are located in “lib” and loaded (i…

---

## [Nginx-1.9.14](https://www.ruby-forum.com/t/nginx-1-9-14/244404)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [April 7, 2016, 8:20am UTC](https://www.ruby-forum.com/t/nginx-1-9-14/244404 "2016-04-07T08:20:10Z")

</div>

Changes with nginx 1.9.14 05 Apr 2016 \*) Feature: OpenSSL 1.1.0 compatibility. \*) Feature: the "proxy\_request\_buffering", “fastcgi\_request\_buffering”, “scgi\_request\_buffering”…

---

## [Ruby on Rails Tutorial - test, reset password](https://www.ruby-forum.com/t/ruby-on-rails-tutorial-test-reset-password/243943)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [January 28, 2016, 9:17pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-tutorial-test-reset-password/243943 "2016-01-28T21:17:40Z")

</div>

I have problem with understanding one code in Michael H.'s tutorial. In class PasswordResetsTest, in test “password resets” we took our user from fixtures, we posted to password\_resets\_path with right mail and we asse…

---

## [Select in scope ActiveRecord e successiva sum](https://www.ruby-forum.com/t/select-in-scope-activerecord-e-successiva-sum/233940)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 25, 2015, 11:55am UTC](https://www.ruby-forum.com/t/select-in-scope-activerecord-e-successiva-sum/233940 "2015-01-25T11:55:12Z")

</div>

Ciao, nel precedente thread ho avuto l’occasione di provare questo codice class Product \< ActiveRecord::Base quantity:integer amount:decimal def self.with\_total\_amount select(’\*, quantity \* amount as total\_amount’) …

---

## [Vector inputs/outputs with GRExtras block interface](https://www.ruby-forum.com/t/vector-inputs-outputs-with-grextras-block-interface/224490)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [November 13, 2012, 11:42pm UTC](https://www.ruby-forum.com/t/vector-inputs-outputs-with-grextras-block-interface/224490 "2012-11-13T23:42:49Z")

</div>

Is it possible to use a vector input or output with a block that uses the GRExtras interface? All of the examples for specifying the I/O signature for a Python block only show using a numpy type to specify the data w…

---

## [Question regarding the combination of embedded JRuby and gems-in-a-jar](https://www.ruby-forum.com/t/question-regarding-the-combination-of-embedded-jruby-and-gems-in-a-jar/215646)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [January 13, 2012, 3:53pm UTC](https://www.ruby-forum.com/t/question-regarding-the-combination-of-embedded-jruby-and-gems-in-a-jar/215646 "2012-01-13T15:53:37Z")

</div>

Hello, I’m currently creating a plugin for dotCMS, a Java CMS, such that it is possible to use Sass/Compass stylesheets, and as such I’m trying to use JRuby to do this (this will require one or more Sass/Compass plugi…

---

## [Proper Location for AR Monkey-Patch (Rails 3)](https://www.ruby-forum.com/t/proper-location-for-ar-monkey-patch-rails-3/203921)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [March 1, 2011, 10:13pm UTC](https://www.ruby-forum.com/t/proper-location-for-ar-monkey-patch-rails-3/203921 "2011-03-01T22:13:09Z")

</div>

I’m trying to monkey patch active record (and more specifically the MySQL connection adapter) for a rails 3 app. Here is my attempt: https://gist.github.com/849849 It doesn’t work. When I try to “rake db:migrate” or …

---

## [Memory profiling with JRuby](https://www.ruby-forum.com/t/memory-profiling-with-jruby/191303)

<div class="topic-metadata">

**Author:** [@headius](https://www.ruby-forum.com/u/headius)\
**Replies:** 1\
**Last updated:** [July 22, 2010, 7:00pm UTC](https://www.ruby-forum.com/t/memory-profiling-with-jruby/191303 "2010-07-22T19:00:04Z")

</div>

Many of you have asked how to inspect a running JRuby instance’s memory layout, so I finally wrote up a blog post on the tools I use most often: jmap/jhat and VisualVM. I hope you’ll all play with the tools and writ…

---

## [Nailgun failed on Windows7](https://www.ruby-forum.com/t/nailgun-failed-on-windows7/180678)

<div class="topic-metadata">

**Author:** [@thebugslayer](https://www.ruby-forum.com/u/thebugslayer)\
**Replies:** 1\
**Last updated:** [December 25, 2009, 6:31pm UTC](https://www.ruby-forum.com/t/nailgun-failed-on-windows7/180678 "2009-12-25T18:31:46Z")

</div>

Hi there, I get errors when I tried jruby --ng-server on Windows7. I can start the server fine: C:\\Users\\Zemian\>C:\\apps\\jruby-1.4.0\\bin\\jruby --ng-server NGServer started on all interfaces, port 2113. But when I try…

---

## [Passing a dynamic class to translate](https://www.ruby-forum.com/t/passing-a-dynamic-class-to-translate/156617)

<div class="topic-metadata">

**Author:** [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Replies:** 1\
**Last updated:** [January 4, 2009, 8:56pm UTC](https://www.ruby-forum.com/t/passing-a-dynamic-class-to-translate/156617 "2009-01-04T20:56:49Z")

</div>

I have a single form that can be used for multiple models, in my view i origionally had “Add a New #{@element.class}” how can i write a dynamic i18n translate call? I want to do something like \<%= t ‘removed\_email\_ad…

---

## [ActiveRecord + Oracle stored procs](https://www.ruby-forum.com/t/activerecord-oracle-stored-procs/113257)

<div class="topic-metadata">

**Author:** [@stephen\_OSD](https://www.ruby-forum.com/u/stephen_OSD)\
**Replies:** 1\
**Last updated:** [August 29, 2007, 1:12pm UTC](https://www.ruby-forum.com/t/activerecord-oracle-stored-procs/113257 "2007-08-29T13:12:03Z")

</div>

Guys, I have googled and googled and cannot find anything on this. Basically I am using ActiveRecord outside of Rails as part of a test suite. I need to call an Oracle stored procedure, and then use standard Active …

---

## [\--disable-all-components --enable-gr-usrp doesn't built](https://www.ruby-forum.com/t/disable-all-components-enable-gr-usrp-doesnt-built/75596)

<div class="topic-metadata">

**Author:** [@Berndt\_Josef\_W](https://www.ruby-forum.com/u/Berndt_Josef_W)\
**Replies:** 1\
**Last updated:** [November 11, 2006, 8:54pm UTC](https://www.ruby-forum.com/t/disable-all-components-enable-gr-usrp-doesnt-built/75596 "2006-11-11T20:54:27Z")

</div>

G’day, ./configure --sysconfdir=/usr/pkg/share/examples –disable-all-components --without-libintl-prefix --prefix=/usr/pkg –host=i386–netbsdelf --mandi r=/usr/pkg/man doesn’t build due to usrp not being build. To r…

---

## [Help enhancing acts\_as\_nested\_set](https://www.ruby-forum.com/t/help-enhancing-acts-as-nested-set/62124)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [July 4, 2006, 10:55am UTC](https://www.ruby-forum.com/t/help-enhancing-acts-as-nested-set/62124 "2006-07-04T10:55:05Z")

</div>

I’m trying to enhance acts\_as\_nested\_set. Well actually I already have, but I’ve done a hack up job of it. I would like to contribute these enhancements back, but I need a little help. I’m a complete newbie to this …

---

## [Model. Find method doubt](https://www.ruby-forum.com/t/model-find-method-doubt/58627)

<div class="topic-metadata">

**Author:** [@sarala](https://www.ruby-forum.com/u/sarala)\
**Replies:** 1\
**Last updated:** [April 24, 2006, 10:08am UTC](https://www.ruby-forum.com/t/model-find-method-doubt/58627 "2006-04-24T10:08:00Z")

</div>

Hi Ruby Group! I am new to ROR I ahave one doubt on Active record methods find method of the model class(i.e subclass of Active Record). when the find method get or morecord based oon the condtion no problem i.e id…

---

## [Losing my mind over MySQL](https://www.ruby-forum.com/t/losing-my-mind-over-mysql/233793)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [January 19, 2015, 7:30pm UTC](https://www.ruby-forum.com/t/losing-my-mind-over-mysql/233793 "2015-01-19T19:30:10Z")

</div>

Hi everyone, I’ve been trying to get MySql running with Ruby and I’m losing my mind over it. I’ve tried on two different machines and no luck so far. Here’s what’s happening: I’ve installed Ruby 2.1.5 x64 I’ve insta…

---

## [Message queues - Inconsistent data problem](https://www.ruby-forum.com/t/message-queues-inconsistent-data-problem/230681)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 3\
**Last updated:** [July 6, 2014, 4:58pm UTC](https://www.ruby-forum.com/t/message-queues-inconsistent-data-problem/230681 "2014-07-06T16:58:17Z")

</div>

Hello, I’m using Gnuradio version: v3.7.2.1-62 and am facing a strange issue with message queuing. I wrote a testing “hier” block which holds 2 message blocks (source + sink). #create blocks msgq\_in = gr.msg\_queue…

---

## [Running code in nginx's master process](https://www.ruby-forum.com/t/running-code-in-nginxs-master-process/246469)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [October 24, 2013, 6:50pm UTC](https://www.ruby-forum.com/t/running-code-in-nginxs-master-process/246469 "2013-10-24T18:50:02Z")

</div>

Is it possible to have a module run code in nginx’s master process, i.e. not in a worker process? I know init\_master is just a stub for now. Are there any chances this gets implemented in the near future? Thanks in…

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

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