# Top

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

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

---

## [Homepage instead of welcome page?](https://www.ruby-forum.com/t/homepage-instead-of-welcome-page/53490)

<div class="topic-metadata">

**Author:** [@pezdude](https://www.ruby-forum.com/u/pezdude)\
**Replies:** 5\
**Last updated:** [February 7, 2006, 7:25pm UTC](https://www.ruby-forum.com/t/homepage-instead-of-welcome-page/53490 "2006-02-07T19:25:41Z")

</div>

Got a noob question for ya… When I visit http://localhost:3000/ I get the nice “Welcome to rails” page. To get to a controller I have to go to: http://localhost:3000/controllername What if I don’t want the welcome m…

---

## [Audio streaming](https://www.ruby-forum.com/t/audio-streaming/242605)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [July 6, 2015, 6:18pm UTC](https://www.ruby-forum.com/t/audio-streaming/242605 "2015-07-06T18:18:40Z")

</div>

I have an AM demodulator producing audio data. How do I stream that audio to another computer to play out the audio using VLC? Mark.

---

## [Uninstalling all Ruby files](https://www.ruby-forum.com/t/uninstalling-all-ruby-files/242467)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [June 26, 2015, 6:28am UTC](https://www.ruby-forum.com/t/uninstalling-all-ruby-files/242467 "2015-06-26T06:28:18Z")

</div>

Hello! I need to uninstall Ruby completely, but looks like there is something left behind. I’ve installed Ruby 2.2.2 but then i wanted to delete it and install Ruby 2.0.0 that i can continue to some youtube Ruby tutor…

---

## [GRC Block with Selectable Item Type](https://www.ruby-forum.com/t/grc-block-with-selectable-item-type/242471)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [June 26, 2015, 2:17am UTC](https://www.ruby-forum.com/t/grc-block-with-selectable-item-type/242471 "2015-06-26T02:17:49Z")

</div>

Hi all, I made a custom block that I’d like to allow the user to select item type of. I started following in the footsteps of the copy block, but instead of having the drop down menu update the blocks ports to refle…

---

## [Problem with HABTM relation](https://www.ruby-forum.com/t/problem-with-habtm-relation/241883)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 8, 2015, 4:29pm UTC](https://www.ruby-forum.com/t/problem-with-habtm-relation/241883 "2015-05-08T16:29:54Z")

</div>

When I try to create some User with the POST below I received the following msg: Completed 404 Not Found in 17005ms (Views: 1.7ms | ActiveRecord: 6.6ms). I debugged a little and I find this error Couldn’t find Share…

---

## [Frequency Hopping Transmission with USRP N210 : Query](https://www.ruby-forum.com/t/frequency-hopping-transmission-with-usrp-n210-query/234139)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [February 9, 2015, 9:09pm UTC](https://www.ruby-forum.com/t/frequency-hopping-transmission-with-usrp-n210-query/234139 "2015-02-09T21:09:35Z")

</div>

Hi All, I have a USRP N210 with RFX2400 2.3-2.9 Ghz RX/TX. I have recorded a trace at 2.41 GHz and stored it to a file filename.dat. I want to transmit the same trace at 2.415, 2.420, 2.425 so on till 2.440. So, I u…

---

## [Verifying that load balancing really works](https://www.ruby-forum.com/t/verifying-that-load-balancing-really-works/233777)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [January 11, 2015, 3:07pm UTC](https://www.ruby-forum.com/t/verifying-that-load-balancing-really-works/233777 "2015-01-11T15:07:35Z")

</div>

Hi, how can I verify that load balancing really works? I have 2 servers with nginx, one of them functions as a LoadBalancer and redirects requests either on itself or on the other server(by default round-robin). When …

---

## [Gnuradio-companion segfaults with latest gnuradio master and gr-osmosdr](https://www.ruby-forum.com/t/gnuradio-companion-segfaults-with-latest-gnuradio-master-and-gr-osmosdr/238151)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [December 19, 2013, 8:41pm UTC](https://www.ruby-forum.com/t/gnuradio-companion-segfaults-with-latest-gnuradio-master-and-gr-osmosdr/238151 "2013-12-19T20:41:49Z")

</div>

When I run gnuradio-companion with the latest gnuradio master and gr-osmosdr master, it segfaults. A backtrace reveals that there’s a problem when Python tries to load \_osmosdr\_swig. If I uninstall gr-osmosdr, gnuradi…

---

## [Filtering out long (invalid) hostnames](https://www.ruby-forum.com/t/filtering-out-long-invalid-hostnames/237383)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [November 11, 2013, 2:10pm UTC](https://www.ruby-forum.com/t/filtering-out-long-invalid-hostnames/237383 "2013-11-11T14:10:32Z")

</div>

Recently we have seen some kind of hacker attempt on our hosting servers, passing very long hostnames in the HTTP Host: header. That means length(hostname) was higher than 2000, for few requests even more than 10000. …

---

## [Problems with Ruby on Windows + devkit + bundler + multiple drives](https://www.ruby-forum.com/t/problems-with-ruby-on-windows-devkit-bundler-multiple-drives/235969)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 30, 2013, 4:20pm UTC](https://www.ruby-forum.com/t/problems-with-ruby-on-windows-devkit-bundler-multiple-drives/235969 "2013-07-30T16:20:24Z")

</div>

I’m having a strange issue with this combination of ruby on Windows, with the devkit, bundler, and trying to get a gem to build native extensions when installed to a vendor/bundle folder on a different drive than ruby…

---

## [Should ActionView's label tag helper be extended to accept a \_complementary\_ content block?](https://www.ruby-forum.com/t/should-actionviews-label-tag-helper-be-extended-to-accept-a-complementary-content-block/225661)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [January 22, 2013, 12:38pm UTC](https://www.ruby-forum.com/t/should-actionviews-label-tag-helper-be-extended-to-accept-a-complementary-content-block/225661 "2013-01-22T12:38:03Z")

</div>

Hi, Sometimes it is useful to use label with both a contained label and supplied content, eg, in Devise’s default registration edit view this is the supplied code for passwords: \[…\] \<%= f.label :password %\> (leave…

---

## [Get detailed info about error](https://www.ruby-forum.com/t/get-detailed-info-about-error/207294)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [May 22, 2011, 11:21pm UTC](https://www.ruby-forum.com/t/get-detailed-info-about-error/207294 "2011-05-22T23:21:48Z")

</div>

Hello ! I just got this RSpec message: Failures: Position just created should unmake correctly Failure/Error: lambda { @p.unmake }.should\_not raise\_error expected no Exception, got #\<NoMethodError: undefined method…

---

## [NoMethodError: \`bytesize' for 200:Fixnum (with Rails-3.0.3)](https://www.ruby-forum.com/t/nomethoderror-bytesize-for-200-fixnum-with-rails-3-0-3/200282)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 9, 2010, 10:50am UTC](https://www.ruby-forum.com/t/nomethoderror-bytesize-for-200-fixnum-with-rails-3-0-3/200282 "2010-12-09T10:50:02Z")

</div>

Thanks to Rails developer team. I tried Rails3 along this guide: Ruby on Rails Guides: Getting Started with Rails and I met the problem described as following. …Any ideas? =========== Environment: $ ruby -v ruby…

---

## [Weblogic - log files](https://www.ruby-forum.com/t/weblogic-log-files/196018)

<div class="topic-metadata">

**Author:** [@bernd](https://www.ruby-forum.com/u/bernd)\
**Replies:** 1\
**Last updated:** [October 5, 2010, 6:23pm UTC](https://www.ruby-forum.com/t/weblogic-log-files/196018 "2010-10-05T18:23:02Z")

</div>

Hi, I have a JRuby/Ruby on Rails application deployed to a WebLogic server. I am currently puzzled about is how to setup the logging of the Rails application. I can’t figure out where the stuff goes which usually in …

---

## [Programadores en nyc](https://www.ruby-forum.com/t/programadores-en-nyc/187637)

<div class="topic-metadata">

**Author:** [@amintorres](https://www.ruby-forum.com/u/amintorres)\
**Replies:** 1\
**Last updated:** [April 29, 2010, 9:05am UTC](https://www.ruby-forum.com/t/programadores-en-nyc/187637 "2010-04-29T09:05:28Z")

</div>

Si Eres un rails programmer en nyc y tienes interes en trabajar en una startup. Favor me mandas un email a info \[at\] listedplaces.com Gracias.

---

## [Ruby sql question](https://www.ruby-forum.com/t/ruby-sql-question/177291)

<div class="topic-metadata">

**Author:** [@mshah](https://www.ruby-forum.com/u/mshah)\
**Replies:** 7\
**Last updated:** [October 14, 2009, 4:47pm UTC](https://www.ruby-forum.com/t/ruby-sql-question/177291 "2009-10-14T16:47:48Z")

</div>

Hi, Im using ActiveRecord to find something. \<% @new = User.find\_by\_sql(“SELECT \* FROM users WHERE users.id NOT IN (array)”) %\> Now, i can’t seem to make it look through the array. I had a look for this problem in o…

---

## [SubversionProblem: Reverse Proxying to Apache with mod\_dav\_svn](https://www.ruby-forum.com/t/subversionproblem-reverse-proxying-to-apache-with-mod-dav-svn/175456)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [September 14, 2009, 10:22am UTC](https://www.ruby-forum.com/t/subversionproblem-reverse-proxying-to-apache-with-mod-dav-svn/175456 "2009-09-14T10:22:13Z")

</div>

Hi everyone. I have NGINGX installed in front of an Apache with mod\_dav\_svn to access my Subversion Repositories via WebBrowser and with SVN-Clients. Adding and committing small files is working well. But when I try …

---

## [Duda de rutas con formato](https://www.ruby-forum.com/t/duda-de-rutas-con-formato/169852)

<div class="topic-metadata">

**Author:** [@LLeSSSSr\_BorrSSSSs](https://www.ruby-forum.com/u/LLeSSSSr_BorrSSSSs)\
**Replies:** 1\
**Last updated:** [June 9, 2009, 6:30pm UTC](https://www.ruby-forum.com/t/duda-de-rutas-con-formato/169852 "2009-06-09T18:30:57Z")

</div>

necesito parsear rutas de este tipo \[DELETE\] controller/1/anidado.json/14 \[UPDATE\] controller/1/anidado.json/14 y no se como construir la ruta, pues he probado con map.connect ‘:controller/:action.:format/:id’ map.c…

---

## [ZAKASOA Mirado souhaite chatter](https://www.ruby-forum.com/t/zakasoa-mirado-souhaite-chatter/152856)

<div class="topic-metadata">

**Author:** [@ZAKASOA\_Mirado](https://www.ruby-forum.com/u/ZAKASOA_Mirado)\
**Replies:** 1\
**Last updated:** [November 8, 2008, 10:34am UTC](https://www.ruby-forum.com/t/zakasoa-mirado-souhaite-chatter/152856 "2008-11-08T10:34:35Z")

</div>

ZAKASOA Mirado souhaite rester en contact avec vous et communiquer plus facilement grâce aux tout derniers produits proposés par Google. Si vous possédez déjà un compte Gmail ou un compte Google Talk, consultez la pa…

---

## [About content\_type](https://www.ruby-forum.com/t/about-content-type/144952)

<div class="topic-metadata">

**Author:** [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Replies:** 7\
**Last updated:** [August 5, 2008, 5:50pm UTC](https://www.ruby-forum.com/t/about-content-type/144952 "2008-08-05T17:50:56Z")

</div>

Hello: I defined a mehod in a model like this: def file=(file\_field)#virtual attri is not same as access method unless file\_field=="" #manage not upload image if file\_field.content\_type=~/^image/ && ensure\_uniq\_img(…

---

## [Testing page.alert](https://www.ruby-forum.com/t/testing-page-alert/139693)

<div class="topic-metadata">

**Author:** [@tamc](https://www.ruby-forum.com/u/tamc)\
**Replies:** 1\
**Last updated:** [July 4, 2008, 7:45pm UTC](https://www.ruby-forum.com/t/testing-page-alert/139693 "2008-07-04T19:45:15Z")

</div>

Hello, Testing newbie here. I have some AJAX code that would render an error message back to the host using page.alert. How would I test that? Personally I use RSpec, but Test::Unit is also fine. Thanks. If some e…

---

## [XAMPP With Rails?](https://www.ruby-forum.com/t/xampp-with-rails/128611)

<div class="topic-metadata">

**Author:** [@chriscole](https://www.ruby-forum.com/u/chriscole)\
**Replies:** 1\
**Last updated:** [February 11, 2008, 4:58am UTC](https://www.ruby-forum.com/t/xampp-with-rails/128611 "2008-02-11T04:58:55Z")

</div>

Hey, I use XAMPP on a USB memory stick at the moment to do all my coding in PHP/MySQL on a portable Apache server. Is it possible to integrate rails into this setup, so when the server encouters a PHP file it runs i…

---

## [Ruby on rails + ajax + iframe image uploader](https://www.ruby-forum.com/t/ruby-on-rails-ajax-iframe-image-uploader/119674)

<div class="topic-metadata">

**Author:** [@Ghee\_wooi\_O](https://www.ruby-forum.com/u/Ghee_wooi_O)\
**Replies:** 1\
**Last updated:** [November 9, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-ajax-iframe-image-uploader/119674 "2007-11-09T23:05:32Z")

</div>

hi, I write a page that contain following function: this site contain a html file upload control, which allow user to upload image only. once the image had been uploaded, it will automatic display on the current pag…

---

## [Partial term query by default](https://www.ruby-forum.com/t/partial-term-query-by-default/109894)

<div class="topic-metadata">

**Author:** [@railsroad](https://www.ruby-forum.com/u/railsroad)\
**Replies:** 1\
**Last updated:** [July 20, 2007, 10:29am UTC](https://www.ruby-forum.com/t/partial-term-query-by-default/109894 "2007-07-20T10:29:15Z")

</div>

My customers seem to expect that the world of search is dictated by Google. As such they expect all queries except phrase queries to include partial term hits. In other words, searching on “test” also returns “testi…

---

## [Overriding belongs\_to accessor](https://www.ruby-forum.com/t/overriding-belongs-to-accessor/108791)

<div class="topic-metadata">

**Author:** [@Ethilien](https://www.ruby-forum.com/u/Ethilien)\
**Replies:** 1\
**Last updated:** [July 7, 2007, 3:33am UTC](https://www.ruby-forum.com/t/overriding-belongs-to-accessor/108791 "2007-07-07T03:33:00Z")

</div>

This is a question which may easily turn out to be simply a misunderstanding on my part of the way rails is intended to work. I have an articles model, which belongs to a user model, however I am trying to make it so …

---

## [Listbox with Watir](https://www.ruby-forum.com/t/listbox-with-watir/98170)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 1\
**Last updated:** [July 13, 2006, 1:42am UTC](https://www.ruby-forum.com/t/listbox-with-watir/98170 "2006-07-13T01:42:42Z")

</div>

Is there a class or method for controlling listboxes in Watir? I tried using the regular select\_list methods and that works so long as you’re only selecting one item from the list. I, however, need to select multiple …

---

## [Instance variables don't persist between actions?](https://www.ruby-forum.com/t/instance-variables-dont-persist-between-actions/51234)

<div class="topic-metadata">

**Author:** [@Horacio\_S](https://www.ruby-forum.com/u/Horacio_S)\
**Replies:** 1\
**Last updated:** [December 28, 2005, 6:00pm UTC](https://www.ruby-forum.com/t/instance-variables-dont-persist-between-actions/51234 "2005-12-28T18:00:20Z")

</div>

Following a simple example of the Rails book and using scaffolding I got a simple application to manage a user database. the controller is like: def new @user = User.new @text = “Hello World” end def create @use…

---

## [Convert large numbers into smaller ones with count method](https://www.ruby-forum.com/t/convert-large-numbers-into-smaller-ones-with-count-method/243816)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [January 13, 2016, 1:02am UTC](https://www.ruby-forum.com/t/convert-large-numbers-into-smaller-ones-with-count-method/243816 "2016-01-13T01:02:32Z")

</div>

Big numbers will cause issues within the views when a follower reaches a certain amount. For example. (1,000,000) How can I convert the number into 1 Mil or for 1,500,000 into 1.5 Mill?

---

## [\[Newbie\] Filtering Index page](https://www.ruby-forum.com/t/newbie-filtering-index-page/234141)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [February 10, 2015, 8:01pm UTC](https://www.ruby-forum.com/t/newbie-filtering-index-page/234141 "2015-02-10T20:01:17Z")

</div>

Hello all and thank you for your time and help. I am working on my first big project and one of the requests that I have is to host a directory list people, with the option to click from an array of buttons with the…

---

## [Old School Message Queue w/ Out Stream I/O](https://www.ruby-forum.com/t/old-school-message-queue-w-out-stream-i-o/233304)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [December 3, 2014, 4:20pm UTC](https://www.ruby-forum.com/t/old-school-message-queue-w-out-stream-i-o/233304 "2014-12-03T16:20:15Z")

</div>

I’m using old-school message queues to do some thing with async messages from UHD. I have written a custom C++ block, which I was hoping would have a single msgq based input. However, I’ve found that the work() func…

---

## [Convert Form to Link](https://www.ruby-forum.com/t/convert-form-to-link/240260)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 5, 2014, 3:22pm UTC](https://www.ruby-forum.com/t/convert-form-to-link/240260 "2014-04-05T15:22:16Z")

</div>

I have an empty form into a link. That is instead of having a button initiate a get request, do it with a link. The form looks like this: \<%= form\_tag somethpath(@data), method: get, :remote =\> true, :‘data-attr’ =\> …

---

## [Re: TX characterisation of USRPN210 with SBX daughterboard](https://www.ruby-forum.com/t/re-tx-characterisation-of-usrpn210-with-sbx-daughterboard/240019)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [March 25, 2014, 12:35pm UTC](https://www.ruby-forum.com/t/re-tx-characterisation-of-usrpn210-with-sbx-daughterboard/240019 "2014-03-25T12:35:42Z")

</div>

Hi Ron Sorry about that. Please find attached the modified graph. The two curves seems more consistent in this graph. I am assuming the DAC should have reached saturation at Ampl =1. However my reading don’t seem to…

---

## [Multiple files upload](https://www.ruby-forum.com/t/multiple-files-upload/239550)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [March 5, 2014, 9:13am UTC](https://www.ruby-forum.com/t/multiple-files-upload/239550 "2014-03-05T09:13:16Z")

</div>

Hi, I am newbie to Ruby on Rails.I am trying to develop multiple files upload sample app using any plugin with Rails 4.0 version, but I haven’t find much information on that over the web. So,Please suggest me or prov…

---

## [A Couple Questions](https://www.ruby-forum.com/t/a-couple-questions/238206)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [December 24, 2013, 12:53am UTC](https://www.ruby-forum.com/t/a-couple-questions/238206 "2013-12-24T00:53:46Z")

</div>

I have a data file that was recorded to a RAMDisk and transferred to the hard drive on my Linux machine. When I run it through a throttle, a filter, and into an FFT, the file repeats. When I was running it off the RA…

---

## [Troubled by the pfb channelizer center frequency location](https://www.ruby-forum.com/t/troubled-by-the-pfb-channelizer-center-frequency-location/229009)

<div class="topic-metadata">

**Author:** [@LD\_Zhang](https://www.ruby-forum.com/u/LD_Zhang)\
**Replies:** 2\
**Last updated:** [May 19, 2013, 12:27pm UTC](https://www.ruby-forum.com/t/troubled-by-the-pfb-channelizer-center-frequency-location/229009 "2013-05-19T12:27:54Z")

</div>

Dear Group, I am learning to do the pfb channelizer using the now famous example on the documentation page at: http://gnuradio.org/doc/doxygen/page\_pfb.html The example is at the end of the page, where a 9-subchanne…

---

## [Developing with C++ but not python](https://www.ruby-forum.com/t/developing-with-c-but-not-python/226909)

<div class="topic-metadata">

**Author:** [@Gong\_Z](https://www.ruby-forum.com/u/Gong_Z)\
**Replies:** 2\
**Last updated:** [February 25, 2013, 2:53pm UTC](https://www.ruby-forum.com/t/developing-with-c-but-not-python/226909 "2013-02-25T14:53:18Z")

</div>

Hi, I think python file means data go downstream without interacting with other data stream.And I have seen several example writen in c++ and they all contain a gr\_top\_block which makes them similar to python files.A…

---

## [Maximum possible transmission rate through the benchmark code](https://www.ruby-forum.com/t/maximum-possible-transmission-rate-through-the-benchmark-code/219975)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 2\
**Last updated:** [May 23, 2012, 8:06pm UTC](https://www.ruby-forum.com/t/maximum-possible-transmission-rate-through-the-benchmark-code/219975 "2012-05-23T20:06:38Z")

</div>

Hello, I am running the benchmark\_tx and benchmark\_rx codes of the narrowband and ofdm folder (gr-digital/examples) between two USRP2’s. I have several questions regarding the maximum possible transmission rate in th…

---

## [Rails 3.2.0.rc1: json and strange respond\_with behavior](https://www.ruby-forum.com/t/rails-3-2-0-rc1-json-and-strange-respond-with-behavior/215273)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [December 29, 2011, 12:04pm UTC](https://www.ruby-forum.com/t/rails-3-2-0-rc1-json-and-strange-respond-with-behavior/215273 "2011-12-29T12:04:38Z")

</div>

I have a controller: class ItemsController \< ApplicationController respond\_to :json def index items = Item.all respond\_with(items) end end I am curling my\_app/items.json and see a response with JSON object jus…

---

## [cmake/MSVC build error (Windows XP)](https://www.ruby-forum.com/t/cmake-msvc-build-error-windows-xp/213586)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [November 6, 2011, 5:28pm UTC](https://www.ruby-forum.com/t/cmake-msvc-build-error-windows-xp/213586 "2011-11-06T17:28:01Z")

</div>

While attempting to build GNU Radio (from git/master) on Windows XP with cmake and Visual C++ 2010 Express, I am getting: 4\>------ Build started: Project: gengen\_generated\_index, Configuration: Release Win32 ------ \[…

---

## [Available sample rates for USRP2](https://www.ruby-forum.com/t/available-sample-rates-for-usrp2/213190)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [October 26, 2011, 3:22am UTC](https://www.ruby-forum.com/t/available-sample-rates-for-usrp2/213190 "2011-10-26T03:22:10Z")

</div>

When I use uhd\_fft.py -s 8M -f … It reported that UHD Warning: The hardware does not support the requested RX sample rate: Target sample rate: 8.000000 MSps Actual sample rate: 7.692308 MSps I am wondering how the …

---

## [Mysterious hang at busy loop after system()](https://www.ruby-forum.com/t/mysterious-hang-at-busy-loop-after-system/208322)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [June 15, 2011, 8:50am UTC](https://www.ruby-forum.com/t/mysterious-hang-at-busy-loop-after-system/208322 "2011-06-15T08:50:20Z")

</div>

$B0J2\<$N$h$&$J%W%m%0%i%\`$,\<j85$N4D6-$N$R$H$D$G%O%s%0$7$^$9!#(B $BIT;W5D$J$3$H$K!"@hF,$N(B system(‘true’) $B$r\<h$j=|$/$H%O%s%0$7$^$;$s!#(B % cat y.rb system(‘true’) raised = false t = Thread.new do raised = true l…

---

## [Errors.add\_to\_base](https://www.ruby-forum.com/t/errors-add-to-base/208271)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [June 14, 2011, 12:17am UTC](https://www.ruby-forum.com/t/errors-add-to-base/208271 "2011-06-14T00:17:24Z")

</div>

Hmm, So it looks like erros.add\_to\_base is deprecated in ActiveModel: I need to add an error, but I don’t want to add it to a specific property (I need you to fill out either a source\_person or source\_url, so I don’t…

---

## [Lowest power of the signal that LFRX can receive](https://www.ruby-forum.com/t/lowest-power-of-the-signal-that-lfrx-can-receive/204573)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 16, 2011, 1:27am UTC](https://www.ruby-forum.com/t/lowest-power-of-the-signal-that-lfrx-can-receive/204573 "2011-03-16T01:27:11Z")

</div>

Dear all, What is the lowest power of the signal that LFRX can receive? Really appreciate any of your help Yan

---

## [UHD rx\_overruns/rx\_missing](https://www.ruby-forum.com/t/uhd-rx-overruns-rx-missing/203015)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 10, 2011, 7:44pm UTC](https://www.ruby-forum.com/t/uhd-rx-overruns-rx-missing/203015 "2011-02-10T19:44:23Z")

</div>

Hi, I’m porting my application to use the new UHD interface due the fact I’m going to use the new USRP devices. With the old usrp2 interface I was able to retrieve the samples lost and the overrruns occurring using …

---

## [Number of TX/RX channels on a USRP](https://www.ruby-forum.com/t/number-of-tx-rx-channels-on-a-usrp/202145)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 23, 2011, 7:43pm UTC](https://www.ruby-forum.com/t/number-of-tx-rx-channels-on-a-usrp/202145 "2011-01-23T19:43:33Z")

</div>

Hi GNURadio, I’m new to the USRP and trying to understand the number of RF input/output channels available (USRP1). From the GNURadio wiki (http://gnuradio.org/redmine/wiki/gnuradio/UsrpFAQIntroMobo), I gather we hav…

---

## [Emacs/putty code help](https://www.ruby-forum.com/t/emacs-putty-code-help/198676)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [November 5, 2010, 9:52am UTC](https://www.ruby-forum.com/t/emacs-putty-code-help/198676 "2010-11-05T09:52:03Z")

</div>

Please someone help me with this ruby code on putty/emacs Thanks Write a statistical program in Ruby to: a) Input the name of a data file from the command line arguments. b) Input floating-point numbers from the da…

---

## [Ruby 1.8.7, checkinstall and gem](https://www.ruby-forum.com/t/ruby-1-8-7-checkinstall-and-gem/198457)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [November 1, 2010, 8:58pm UTC](https://www.ruby-forum.com/t/ruby-1-8-7-checkinstall-and-gem/198457 "2010-11-01T20:58:31Z")

</div>

OS = CentOS-5.5 In order to support Rails3 I am required to upgrade the Ruby installation from the distribution’s own 1.8.6 package to 1.8.7. I therefore downloaded and built 1.8.7.p302 and used checkinstall to pack…

---

## [RedCloth gem installation problem](https://www.ruby-forum.com/t/redcloth-gem-installation-problem/198115)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [October 27, 2010, 6:42pm UTC](https://www.ruby-forum.com/t/redcloth-gem-installation-problem/198115 "2010-10-27T18:42:06Z")

</div>

Hi. I can’t install RedCloth gem. Building native extensions. This could take a while… ERROR: Error installing RedCloth: ERROR: Failed to build gem native extension. C:/Ruby192/bin/ruby.exe extconf.rb C:/Ruby192/b…

---

## [Using Java annotations for JRuby classes?](https://www.ruby-forum.com/t/using-java-annotations-for-jruby-classes/188661)

<div class="topic-metadata">

**Author:** [@rogergue](https://www.ruby-forum.com/u/rogergue)\
**Replies:** 2\
**Last updated:** [May 16, 2010, 9:36am UTC](https://www.ruby-forum.com/t/using-java-annotations-for-jruby-classes/188661 "2010-05-16T09:36:38Z")

</div>

Im looking for some docs on how to add annotations to a JRuby class in order to use JPA ? Thanks Roger To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage\_email

---

## [BER in bert- example](https://www.ruby-forum.com/t/ber-in-bert-example/182630)

<div class="topic-metadata">

**Author:** [@mattias\_k](https://www.ruby-forum.com/u/mattias_k)\
**Replies:** 2\
**Last updated:** [January 31, 2010, 6:57pm UTC](https://www.ruby-forum.com/t/ber-in-bert-example/182630 "2010-01-31T18:57:51Z")

</div>

Hi list, There is a function called ‘ber’ in receive\_path.py in the python bert example. def ber(self): return (1.0-self.\_ber.density())/3.0 From where does the 3 originate? Some lines above, there is this comment: …

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

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