# Top

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

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

---

## [USRP2 benchmark\_rx.py, benchmark\_tx.py, transmit\_path\_usrp2.py, receive\_path\_usrp2.py, pick\_bitrate](https://www.ruby-forum.com/t/usrp2-benchmark-rx-py-benchmark-tx-py-transmit-path-usrp2-py-receive-path-usrp2-py-pick-bitrate/246522)

<div class="topic-metadata">

**Author:** [@Smith\_L](https://www.ruby-forum.com/u/Smith_L)\
**Replies:** 0\
**Last updated:** [April 14, 2009, 10:50pm UTC](https://www.ruby-forum.com/t/usrp2-benchmark-rx-py-benchmark-tx-py-transmit-path-usrp2-py-receive-path-usrp2-py-pick-bitrate/246522 "2009-04-14T22:50:54Z")

</div>

Hi, I am trying to establish communication between USRP2 and USRP1. I am using RFX2400 daughterboard. I am using Ubuntu 8.10. I am using the svn version of GNU Radio. I dont know the revision number. I am not able t…

---

## [Hash table](https://www.ruby-forum.com/t/hash-table/243665)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [December 17, 2015, 3:20am UTC](https://www.ruby-forum.com/t/hash-table/243665 "2015-12-17T03:20:50Z")

</div>

Hi all, I am a newbie in Ruby, and I am having a small question with the hash table. If anyone could give me some suggestions that would be great! Considering creating a hash table like this: a\_Min a\_Max b\_Min …

---

## [Rewrite rules in nginx config](https://www.ruby-forum.com/t/rewrite-rules-in-nginx-config/242760)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [July 17, 2015, 6:04pm UTC](https://www.ruby-forum.com/t/rewrite-rules-in-nginx-config/242760 "2015-07-17T18:04:21Z")

</div>

Hi all, thank’s to accept me in this forum. I’m a newbie… I have a problem with a rewrite rules that I imported from apache This is my code index home.php index.php; location / { rewrite ^/(.)?$ /categories.php?c…

---

## [Need clarification on rails routes created when a controller is generated](https://www.ruby-forum.com/t/need-clarification-on-rails-routes-created-when-a-controller-is-generated/242548)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [July 2, 2015, 12:19pm UTC](https://www.ruby-forum.com/t/need-clarification-on-rails-routes-created-when-a-controller-is-generated/242548 "2015-07-02T12:19:11Z")

</div>

Hello all, When a controller is generated, rails adds an entry in routes.rb for that controller and action like this. get ‘monthly\_reciept/new’ But it don’t create helper for this route as in this eg: get ‘login…

---

## [How to conevert an array to hashes](https://www.ruby-forum.com/t/how-to-conevert-an-array-to-hashes/242398)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [June 22, 2015, 7:02pm UTC](https://www.ruby-forum.com/t/how-to-conevert-an-array-to-hashes/242398 "2015-06-22T19:02:01Z")

</div>

hi, i would like to know about if any method available in ruby to convert the array into a hash in ruby with regards, anoob bava

---

## [How write at access log only part of $request?](https://www.ruby-forum.com/t/how-write-at-access-log-only-part-of-request/234396)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [March 2, 2015, 2:10pm UTC](https://www.ruby-forum.com/t/how-write-at-access-log-only-part-of-request/234396 "2015-03-02T14:10:54Z")

</div>

Hi All, I have next question: is it possible at nginx access log file decrease stored $request to smaller size? We have very big traffic, and $request part is significant for us only at some start substring of $re…

---

## [Help - using getting started with rails guide](https://www.ruby-forum.com/t/help-using-getting-started-with-rails-guide/232145)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 22, 2014, 5:33pm UTC](https://www.ruby-forum.com/t/help-using-getting-started-with-rails-guide/232145 "2014-09-22T17:33:55Z")

</div>

Hey guys I am using the getting started with rails guide and i am stuck at a certain point. I am up to creating a new html.erb file within the app/views/articles. However how do i actually create the new file. Do u …

---

## [HEAD with mp4 runs in timeout](https://www.ruby-forum.com/t/head-with-mp4-runs-in-timeout/231098)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [July 21, 2014, 2:02pm UTC](https://www.ruby-forum.com/t/head-with-mp4-runs-in-timeout/231098 "2014-07-21T14:02:16Z")

</div>

Hallo. When I make a GET request I get the file as expected, but the HEAD Request runs in a time out. curl -v ‘http://vhost/cams/44/zoom.mp4?\_=1405930346082’ -X HEAD I use the following version. /home/nginx/server/s…

---

## [Ruby gem with C extension](https://www.ruby-forum.com/t/ruby-gem-with-c-extension/240516)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [April 20, 2014, 9:16pm UTC](https://www.ruby-forum.com/t/ruby-gem-with-c-extension/240516 "2014-04-20T21:16:56Z")

</div>

Last week I built my first Ruby gem with a C extension. It lets you display the temperature for your computer’s CPU and some info about the fan. The gem is a Ruby wrapper for a small C library that interacts with Appl…

---

## [Re: Mixing two signals for Radar application](https://www.ruby-forum.com/t/re-mixing-two-signals-for-radar-application/240096)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [March 27, 2014, 2:17pm UTC](https://www.ruby-forum.com/t/re-mixing-two-signals-for-radar-application/240096 "2014-03-27T14:17:59Z")

</div>

Hi Marcus,here is the flow graph and the output signals with movement across the antennae and without.http://tinypic.com/r/a5et5k/8 (GRC flow)http://tinypic.com/r/nbeq0k/8 (without movement)http://tinypic.com/r/2s7d…

---

## [Ruby 1.8.7 Accessing files with non-latin names](https://www.ruby-forum.com/t/ruby-1-8-7-accessing-files-with-non-latin-names/227064)

<div class="topic-metadata">

**Author:** [@bartels](https://www.ruby-forum.com/u/bartels)\
**Replies:** 2\
**Last updated:** [March 2, 2013, 10:21pm UTC](https://www.ruby-forum.com/t/ruby-1-8-7-accessing-files-with-non-latin-names/227064 "2013-03-02T22:21:01Z")

</div>

Hello Forum, The newer ruby 193 has no problem with non-latin file names $ c:/Ruby193/bin/ruby -e ‘Dir.glob(“folder/\*”).each{|f| puts f }’ folder/человеку медведь $ c:/Ruby193/bin/ruby -e ‘Dir.glob(“folder//”).each{|…

---

## [Test di un worker con rspec](https://www.ruby-forum.com/t/test-di-un-worker-con-rspec/225603)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [January 25, 2013, 9:59am UTC](https://www.ruby-forum.com/t/test-di-un-worker-con-rspec/225603 "2013-01-25T09:59:51Z")

</div>

Ciao lista, sto utilizzando sidekiq, rspec e rails 3.2.11. Vorrei fare un test di integrazione con un worker che fa un upload di un file su SoundCloud Devo essere incappato in qualche magia di rails che non colgo :sli…

---

## [Fw: Fw: Error Is OpenBTS going to support USRP2?](https://www.ruby-forum.com/t/fw-fw-error-is-openbts-going-to-support-usrp2/220626)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [June 16, 2012, 8:58pm UTC](https://www.ruby-forum.com/t/fw-fw-error-is-openbts-going-to-support-usrp2/220626 "2012-06-16T20:58:49Z")

</div>

muhammadjunaid@ubuntu:~/OpenBts/openbts-uhd/public-trunk/apps$ killall transceiver transceiver: no process found muhammadjunaid@ubuntu:~/OpenBts/openbts-uhd/public-trunk/apps$ ps PID TTY TIME CMD 2383 pts/0 00:…

---

## [Programming FPGA](https://www.ruby-forum.com/t/programming-fpga/220207)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [June 7, 2012, 2:49pm UTC](https://www.ruby-forum.com/t/programming-fpga/220207 "2012-06-07T14:49:49Z")

</div>

Hello I am currently working on the USRP N210. I am trying to modify the VHDL code for the FPGA in order to gain acccess to some of the unused pins. I am unsure of how to do this, and I was wondering if anyone had an…

---

## [How to include package name while compiling ".rb" to ".java" using jrubyc](https://www.ruby-forum.com/t/how-to-include-package-name-while-compiling-rb-to-java-using-jrubyc/216403)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [March 13, 2012, 6:51am UTC](https://www.ruby-forum.com/t/how-to-include-package-name-while-compiling-rb-to-java-using-jrubyc/216403 "2012-03-13T06:51:25Z")

</div>

Hi, I am compiling my .rb files to .java files in Windows using the command “jrubyc --java \*.rb”. This produces .java files but all the files comes with default package (no package declaration) is there a way to inclu…

---

## [String scan or regex to extract word between patterns](https://www.ruby-forum.com/t/string-scan-or-regex-to-extract-word-between-patterns/207563)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 29, 2011, 11:33pm UTC](https://www.ruby-forum.com/t/string-scan-or-regex-to-extract-word-between-patterns/207563 "2011-05-29T23:33:54Z")

</div>

Hello - The following text is stored in a String variable called a: “\\n\\n\\n\\nID=1\\n\\nName=Application Server\\n\\nParentID=0\\n\\n\\n\\n\\n\\nID=36\\n\\nName=.NET Framework 3.5.1 Features\\n\\nParentID=0\\n\\n\\n\\n\\n\\nID=41\\n\\nName…

---

## [Any working translation framework available for Ruby](https://www.ruby-forum.com/t/any-working-translation-framework-available-for-ruby/206952)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [May 14, 2011, 12:43pm UTC](https://www.ruby-forum.com/t/any-working-translation-framework-available-for-ruby/206952 "2011-05-14T12:43:24Z")

</div>

Hello, I am not a believer in translations but given that I can write decently in two languages I could write a multilingual application that is intelligible as well and could be possibly translated to other language…

---

## [Update code Net::HTTP::Put.new(url.path)](https://www.ruby-forum.com/t/update-code-net-put-new-url-path/194572)

<div class="topic-metadata">

**Author:** [@arunachandu](https://www.ruby-forum.com/u/arunachandu)\
**Replies:** 2\
**Last updated:** [September 7, 2010, 4:03pm UTC](https://www.ruby-forum.com/t/update-code-net-put-new-url-path/194572 "2010-09-07T16:03:16Z")

</div>

HI , i am new to ROR i am writing Ruby code for calling API blogs i have written ruby code for Creating the blog by require ‘net/http’ require ‘uri’ url = URI.parse(‘http://localhost:3000/api/blogs/create.xml’) r…

---

## [How to get the table?](https://www.ruby-forum.com/t/how-to-get-the-table/194148)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 2\
**Last updated:** [August 31, 2010, 2:25pm UTC](https://www.ruby-forum.com/t/how-to-get-the-table/194148 "2010-08-31T14:25:05Z")

</div>

please input in firefox,you can get the attachmeng http://www.sec.gov/cgi-bin/viewer?action=view&cik=804328&accession\_number=0000950123-10-066837 i write the code: require ‘rubygems’ require ‘open-uri’ web=‘http:/…

---

## [How to set JQuery's effect for normal link](https://www.ruby-forum.com/t/how-to-set-jquerys-effect-for-normal-link/191315)

<div class="topic-metadata">

**Author:** [@jmanivannancse](https://www.ruby-forum.com/u/jmanivannancse)\
**Replies:** 2\
**Last updated:** [July 10, 2010, 9:16am UTC](https://www.ruby-forum.com/t/how-to-set-jquerys-effect-for-normal-link/191315 "2010-07-10T09:16:41Z")

</div>

Hi, I would like to apply some JQuery’s effects(fadeIn,fadeOut) in my site while page is loading. So i tried below code.when i clicking normal request,code is working fine But i had problem only when i clicking aja…

---

## [Login into yahoo](https://www.ruby-forum.com/t/login-into-yahoo/187746)

<div class="topic-metadata">

**Author:** [@kevid](https://www.ruby-forum.com/u/kevid)\
**Replies:** 2\
**Last updated:** [May 4, 2010, 4:00pm UTC](https://www.ruby-forum.com/t/login-into-yahoo/187746 "2010-05-04T16:00:56Z")

</div>

hi all, Is there a way to login into yahoo programmatically i.e just providing “email” and “password” without making use of the yahoo login page. Thoughts?

---

## [\[ help \] Ruby WM with C ext](https://www.ruby-forum.com/t/help-ruby-wm-with-c-ext/179936)

<div class="topic-metadata">

**Author:** [@maoa](https://www.ruby-forum.com/u/maoa)\
**Replies:** 2\
**Last updated:** [December 22, 2009, 7:44pm UTC](https://www.ruby-forum.com/t/help-ruby-wm-with-c-ext/179936 "2009-12-22T19:44:09Z")

</div>

Hello, thank you for reading my post. My question is, how do I go about creating a C extension with Ruby? The reason I ask is because I recently found a window manager source code, http://paste.lisp.org/display/47144/…

---

## [Problem using mocha with Test::Unit](https://www.ruby-forum.com/t/problem-using-mocha-with-test-unit/174109)

<div class="topic-metadata">

**Author:** [@emilsverige](https://www.ruby-forum.com/u/emilsverige)\
**Replies:** 2\
**Last updated:** [August 24, 2009, 3:22pm UTC](https://www.ruby-forum.com/t/problem-using-mocha-with-test-unit/174109 "2009-08-24T15:22:00Z")

</div>

I have this simple test: require “test/unit” require ‘mocha’ class TestCanPreload \< Test::Unit::TestCase def test\_hello assert true end end I try to run it in eclipse/aptana, but I get the error: Launched class …

---

## [Undefined method \`close' for OpenSSL::SSL::SSLSocket](https://www.ruby-forum.com/t/undefined-method-close-for-openssl-sslsocket/166119)

<div class="topic-metadata">

**Author:** [@bwinborg](https://www.ruby-forum.com/u/bwinborg)\
**Replies:** 2\
**Last updated:** [April 23, 2009, 2:50am UTC](https://www.ruby-forum.com/t/undefined-method-close-for-openssl-sslsocket/166119 "2009-04-23T02:50:19Z")

</div>

I’m having a problem with 1.8.6 and soap4r that I don’t understand. I’m running within Apache as a CGI. I developed this code on a Windows box and it works fine, but I’ve moved the code to my production Linux environm…

---

## [Does rake db:migrate protect against concurrent use?](https://www.ruby-forum.com/t/does-rake-db-migrate-protect-against-concurrent-use/165745)

<div class="topic-metadata">

**Author:** [@plambert](https://www.ruby-forum.com/u/plambert)\
**Replies:** 2\
**Last updated:** [April 18, 2009, 11:52pm UTC](https://www.ruby-forum.com/t/does-rake-db-migrate-protect-against-concurrent-use/165745 "2009-04-18T23:52:39Z")

</div>

If two people go to the same rails application (same directory) and both run “rake db:migrate” to update the database with a set of migrations (the same ones) at the same time, is it likely that bad things will happen…

---

## [Calling jruby from scala as a scripting engine ( jsr 223 )](https://www.ruby-forum.com/t/calling-jruby-from-scala-as-a-scripting-engine-jsr-223/162079)

<div class="topic-metadata">

**Author:** [@Meredith\_Gregory](https://www.ruby-forum.com/u/Meredith_Gregory)\
**Replies:** 2\
**Last updated:** [March 6, 2009, 1:42am UTC](https://www.ruby-forum.com/t/calling-jruby-from-scala-as-a-scripting-engine-jsr-223/162079 "2009-03-06T01:42:48Z")

</div>

Rubyans and Scalahads, i’m attempting to call JRuby as a scripting engine from scala. It should work more or less as in the wiki example for calling JRuby as scripting engine from Java http://wiki.jruby.org/wiki/Java\_…

---

## [Shell.application.windows doesn't contain IE windows](https://www.ruby-forum.com/t/shell-application-windows-doesnt-contain-ie-windows/161438)

<div class="topic-metadata">

**Author:** [@wallee](https://www.ruby-forum.com/u/wallee)\
**Replies:** 2\
**Last updated:** [February 27, 2009, 5:48am UTC](https://www.ruby-forum.com/t/shell-application-windows-doesnt-contain-ie-windows/161438 "2009-02-27T05:48:33Z")

</div>

Hi, I found a verty strange thing on my machine: when I run the following script, it only shows windows of Explorer, but no internet Explorer window, though I do open an IE window: require ‘win32ole’ shell = WIN32OL…

---

## [Trying to sort results of one-to-many relationship find](https://www.ruby-forum.com/t/trying-to-sort-results-of-one-to-many-relationship-find/157225)

<div class="topic-metadata">

**Author:** [@rubylicious](https://www.ruby-forum.com/u/rubylicious)\
**Replies:** 2\
**Last updated:** [January 8, 2009, 7:42pm UTC](https://www.ruby-forum.com/t/trying-to-sort-results-of-one-to-many-relationship-find/157225 "2009-01-08T19:42:14Z")

</div>

Assuming I have two models: Order “belongs\_to :payee” Payee “has\_many :orders” In the orders table, I store the payee\_id. If I want to pull all orders and display the list alphabetically by the payees last name, wha…

---

## [Unterminated string literal, how to properly send strings](https://www.ruby-forum.com/t/unterminated-string-literal-how-to-properly-send-strings/155232)

<div class="topic-metadata">

**Author:** [@michael\_teter](https://www.ruby-forum.com/u/michael_teter)\
**Replies:** 2\
**Last updated:** [December 9, 2008, 6:39pm UTC](https://www.ruby-forum.com/t/unterminated-string-literal-how-to-properly-send-strings/155232 "2008-12-09T18:39:11Z")

</div>

I have a line like the following in my Rails view/template (generating JavaScript): Because some of the error\_descs have newlines, the browser is receiving page code that looks like this: y = escape(‘Information abo…

---

## [Complex Inheritance Issue](https://www.ruby-forum.com/t/complex-inheritance-issue/152354)

<div class="topic-metadata">

**Author:** [@diabolist](https://www.ruby-forum.com/u/diabolist)\
**Replies:** 2\
**Last updated:** [November 3, 2008, 6:13am UTC](https://www.ruby-forum.com/t/complex-inheritance-issue/152354 "2008-11-03T06:13:21Z")

</div>

I have this test case which throws an error: class Templates\_IronRuby\_CustomBaseClass\_haml\<NHaml::Tests::CustomTemplate4\[System::Collections::Generic::List\[System::Collections::Generic::List\[System::Int32\]\]\] System.In…

---

## [Pregunta fuera de tÃ³pico ruby\_bluetooth!](https://www.ruby-forum.com/t/pregunta-fuera-de-ta-pico-ruby-bluetooth/152006)

<div class="topic-metadata">

**Author:** [@juan](https://www.ruby-forum.com/u/juan)\
**Replies:** 2\
**Last updated:** [October 29, 2008, 2:16pm UTC](https://www.ruby-forum.com/t/pregunta-fuera-de-ta-pico-ruby-bluetooth/152006 "2008-10-29T14:16:55Z")

</div>

Saludos a la comunidad, primero pido disculpa en hacer una pregunta fuera de tÃ³pico, pero en estos dÃ­as navegando por la web encontrÃ© un programa para detectar bluettoth con ruby, enlace en la pagina: http://rubyfo…

---

## [Rails 2.1 tentative de migration](https://www.ruby-forum.com/t/rails-2-1-tentative-de-migration/139418)

<div class="topic-metadata">

**Author:** [@guillaume\_belleguic](https://www.ruby-forum.com/u/guillaume_belleguic)\
**Replies:** 2\
**Last updated:** [June 4, 2008, 5:15pm UTC](https://www.ruby-forum.com/t/rails-2-1-tentative-de-migration/139418 "2008-06-04T17:15:50Z")

</div>

Bonjour, Nous dÃ©veloppons un gros projet en rails 2.0.2… Il nous reste encore plusieurs mois de dÃ©veloppement et il nous semble donc important de suivre les Ã©volutions de rails… PremiÃ¨re tentative pour passer en…

---

## [Attr\_accessor\_with\_default funny](https://www.ruby-forum.com/t/attr-accessor-with-default-funny/137140)

<div class="topic-metadata">

**Author:** [@matthew](https://www.ruby-forum.com/u/matthew)\
**Replies:** 2\
**Last updated:** [May 9, 2008, 11:13am UTC](https://www.ruby-forum.com/t/attr-accessor-with-default-funny/137140 "2008-05-09T11:13:29Z")

</div>

I created some virtual attributes in a model in order to store intermediate calculated values. I wanted to use attr\_accessor\_with\_default so that I could give the calculated values an initial value to allow me to use…

---

## [Mouse motion example - help](https://www.ruby-forum.com/t/mouse-motion-example-help/133453)

<div class="topic-metadata">

**Author:** [@Ajithkumar\_Warrier](https://www.ruby-forum.com/u/Ajithkumar_Warrier)\
**Replies:** 2\
**Last updated:** [March 31, 2008, 10:41pm UTC](https://www.ruby-forum.com/t/mouse-motion-example-help/133453 "2008-03-31T22:41:34Z")

</div>

Hi, I am trying out this example adapted from the wxpython book, but the mouse motion event does not seem to be captured right. What am I doing wrong? Thanks warrior code below require ‘wx’ class MyFrame \< Wx::Fra…

---

## [Running with and without mongrel cluster](https://www.ruby-forum.com/t/running-with-and-without-mongrel-cluster/132473)

<div class="topic-metadata">

**Author:** [@lena](https://www.ruby-forum.com/u/lena)\
**Replies:** 2\
**Last updated:** [March 20, 2008, 6:52pm UTC](https://www.ruby-forum.com/t/running-with-and-without-mongrel-cluster/132473 "2008-03-20T18:52:37Z")

</div>

Can anybody explain why running 7 users without a mongrel cluster gives better response than with a mongrel cluster and why for 25 -50 users the response was about the same? These are performance figures: without mong…

---

## [Difference between development/production environments from extensions point of view](https://www.ruby-forum.com/t/difference-between-development-production-environments-from-extensions-point-of-view/129366)

<div class="topic-metadata">

**Author:** [@131313](https://www.ruby-forum.com/u/131313)\
**Replies:** 2\
**Last updated:** [February 17, 2008, 10:25pm UTC](https://www.ruby-forum.com/t/difference-between-development-production-environments-from-extensions-point-of-view/129366 "2008-02-17T22:25:56Z")

</div>

Hi, I’m developing a new extension for radiant. I have created a controller which is a subclass of Admin::AbstractModelController like this: class PostsController \< Admin::AbstractModelController model\_class Post … …

---

## [Link\_to post without javascript?](https://www.ruby-forum.com/t/link-to-post-without-javascript/121112)

<div class="topic-metadata">

**Author:** [@chriscole](https://www.ruby-forum.com/u/chriscole)\
**Replies:** 2\
**Last updated:** [November 24, 2007, 1:17am UTC](https://www.ruby-forum.com/t/link-to-post-without-javascript/121112 "2007-11-24T01:17:46Z")

</div>

I’l like to use link\_to with POST but it uses javascript is there anyway to avoid having to use javascript?

---

## [Spec\_distributed with rails](https://www.ruby-forum.com/t/spec-distributed-with-rails/118511)

<div class="topic-metadata">

**Author:** [@sthorpe](https://www.ruby-forum.com/u/sthorpe)\
**Replies:** 2\
**Last updated:** [October 28, 2007, 2:45am UTC](https://www.ruby-forum.com/t/spec-distributed-with-rails/118511 "2007-10-28T02:45:18Z")

</div>

Is this the appropriate place to talk about spec\_distributed? If not, I’ll post the spec-ext (seemingly dead) mailing list on rubyforge… I was able to run a non-rails project with Spec::Distributed::RindaSlaveRunner…

---

## [Como lanzar consulta UNION en un find](https://www.ruby-forum.com/t/como-lanzar-consulta-union-en-un-find/117504)

<div class="topic-metadata">

**Author:** [@zaid](https://www.ruby-forum.com/u/zaid)\
**Replies:** 2\
**Last updated:** [October 17, 2007, 5:00pm UTC](https://www.ruby-forum.com/t/como-lanzar-consulta-union-en-un-find/117504 "2007-10-17T17:00:08Z")

</div>

Hola, Necesito hacer esta consulta, pero no se coma hacerla con RoR select \* from photos where e\_id = 1 Union all select \* from photos where parent\_id in (select id from photos where e\_id = 1) order by id Â¿Se pue…

---

## [Object#type is deprecated; use Object#class](https://www.ruby-forum.com/t/object-type-is-deprecated-use-object-class/117227)

<div class="topic-metadata">

**Author:** [@Virginian](https://www.ruby-forum.com/u/Virginian)\
**Replies:** 2\
**Last updated:** [October 15, 2007, 3:11am UTC](https://www.ruby-forum.com/t/object-type-is-deprecated-use-object-class/117227 "2007-10-15T03:11:19Z")

</div>

Thanks in advance for being patient with this rails newbie When I do the STI example in AWDWR i get a warning: Object#type is deprecated; use Object#class What does this mean? How should I change the following code? …

---

## [How added new page in notebook?](https://www.ruby-forum.com/t/how-added-new-page-in-notebook/115159)

<div class="topic-metadata">

**Author:** [@fjimmy](https://www.ruby-forum.com/u/fjimmy)\
**Replies:** 2\
**Last updated:** [September 22, 2007, 2:17am UTC](https://www.ruby-forum.com/t/how-added-new-page-in-notebook/115159 "2007-09-22T02:17:01Z")

</div>

Hi All, Hi All, I’m a newbie at ruby GUI. I learning how to append a page in the notebook on the fly by attaching a function to a button. The idea is to add/delete a page everytime I press the button. By using this w…

---

## [Problems with "model-extensions" and "open-uri"](https://www.ruby-forum.com/t/problems-with-model-extensions-and-open-uri/114607)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 2\
**Last updated:** [September 17, 2007, 1:33pm UTC](https://www.ruby-forum.com/t/problems-with-model-extensions-and-open-uri/114607 "2007-09-17T13:33:26Z")

</div>

In my local version of my rails app, i have the following requires in environment.rb- require ‘model\_extensions’ require ‘open-uri’ But, having just deployed to a shared server (on bluehost) both of these requires c…

---

## [Accesskey en link\_to](https://www.ruby-forum.com/t/accesskey-en-link-to/112933)

<div class="topic-metadata">

**Author:** [@fernandosilva](https://www.ruby-forum.com/u/fernandosilva)\
**Replies:** 2\
**Last updated:** [August 24, 2007, 10:40pm UTC](https://www.ruby-forum.com/t/accesskey-en-link-to/112933 "2007-08-24T22:40:30Z")

</div>

Hola, Estoy intentado implementar acceskey en mis links pero algo estoy haciendo mal porque siempre me sale un error. Este es mi codigo… \<li class="login"\>\<%= link\_to "Login", { :controller =\> “user”, :actio…

---

## [Libreria grafica](https://www.ruby-forum.com/t/libreria-grafica/110536)

<div class="topic-metadata">

**Author:** [@fernandosilva](https://www.ruby-forum.com/u/fernandosilva)\
**Replies:** 2\
**Last updated:** [July 27, 2007, 2:08pm UTC](https://www.ruby-forum.com/t/libreria-grafica/110536 "2007-07-27T14:08:46Z")

</div>

Buenas, Ando buscando implementar en mi aplicacion Ruby una libreria grafica como GD library que sea de facil implementacion. Sabe alguien de aguna? un saludo y muchas gracias

---

## [Populating a column automatically based on the sum of other](https://www.ruby-forum.com/t/populating-a-column-automatically-based-on-the-sum-of-other/91637)

<div class="topic-metadata">

**Author:** [@idmkid](https://www.ruby-forum.com/u/idmkid)\
**Replies:** 2\
**Last updated:** [April 11, 2007, 12:56am UTC](https://www.ruby-forum.com/t/populating-a-column-automatically-based-on-the-sum-of-other/91637 "2007-04-11T00:56:29Z")

</div>

I am new to Ruby on Rails and love what I see. I am also new to MySQL. I am using a generic table with the ajax\_scaffold. The table and application are working great. However, I want to populate one column for a new r…

---

## [Garbage collection/memory unfreed problem](https://www.ruby-forum.com/t/garbage-collection-memory-unfreed-problem/74805)

<div class="topic-metadata">

**Author:** [@scorintha](https://www.ruby-forum.com/u/scorintha)\
**Replies:** 2\
**Last updated:** [November 7, 2006, 11:04am UTC](https://www.ruby-forum.com/t/garbage-collection-memory-unfreed-problem/74805 "2006-11-07T11:04:36Z")

</div>

It appears that the ruby garbage collector is not freeing up unused memory on my linux machine, but IS on my windows machine… I’m baffled and troubled. Any advice would be appreciated… Using the attached test script, …

---

## [Ambiguous clause error](https://www.ruby-forum.com/t/ambiguous-clause-error/63768)

<div class="topic-metadata">

**Author:** [@jasbur](https://www.ruby-forum.com/u/jasbur)\
**Replies:** 2\
**Last updated:** [June 19, 2006, 4:29am UTC](https://www.ruby-forum.com/t/ambiguous-clause-error/63768 "2006-06-19T04:29:40Z")

</div>

I’m trying to query one table to ultimately display the relate info from another table. I have 2 tables: “posts” and “numbers”. I’m trying to do a query like this: @numbers = Number.find(:all, :conditions =\> \[ ‘(user…

---

## [Newbie AJAX rjs syntax question](https://www.ruby-forum.com/t/newbie-ajax-rjs-syntax-question/61662)

<div class="topic-metadata">

**Author:** [@hazmatt](https://www.ruby-forum.com/u/hazmatt)\
**Replies:** 2\
**Last updated:** [May 26, 2006, 4:00pm UTC](https://www.ruby-forum.com/t/newbie-ajax-rjs-syntax-question/61662 "2006-05-26T16:00:28Z")

</div>

I’m brand new to Ruby and to Rails, and I’m running through Pragmatic’s “Agile Development” V.2 book and am having problems with the rjs files in their tutorial. First problem: page\[:cart\].replace\_html :partial =\> ‘c…

---

## [Rails command not working](https://www.ruby-forum.com/t/rails-command-not-working/48220)

<div class="topic-metadata">

**Author:** [@icosahedron](https://www.ruby-forum.com/u/icosahedron)\
**Replies:** 2\
**Last updated:** [November 17, 2005, 9:50pm UTC](https://www.ruby-forum.com/t/rails-command-not-working/48220 "2005-11-17T21:50:02Z")

</div>

I am a complete newb to Rails. I got it installed and it seemed to work, as I went through the Curt Hibb tutorials, and even got something working a bit on my own. I bought the Rails book and now the rails command h…

---

## [After I save a record in table A I want to save the id of that record in table B Immediatly](https://www.ruby-forum.com/t/after-i-save-a-record-in-table-a-i-want-to-save-the-id-of-that-record-in-table-b-immediatly/246172)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 6\
**Last updated:** [September 5, 2013, 11:08pm UTC](https://www.ruby-forum.com/t/after-i-save-a-record-in-table-a-i-want-to-save-the-id-of-that-record-in-table-b-immediatly/246172 "2013-09-05T23:08:01Z")

</div>

Hi all I have two tables A and B I have saved a record in table A and I want to save the id of that record in table B. How Can I do that. Well I can do by search of same params which I save in Table A but I feel i…

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

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