# Top

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

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

---

## [ACL / authentication](https://www.ruby-forum.com/t/acl-authentication/77827)

<div class="topic-metadata">

**Author:** [@jwigal](https://www.ruby-forum.com/u/jwigal)\
**Replies:** 3\
**Last updated:** [December 1, 2006, 3:03pm UTC](https://www.ruby-forum.com/t/acl-authentication/77827 "2006-12-01T15:03:53Z")

</div>

I am trying to figure out the best way to set up the model for what could be a moderately complicated authentication / ACL issue. I am trying to set up a kind of “single sign-on” for a web application, where the end …

---

## [Acts\_as\_taggable / Rails Recipes bug?](https://www.ruby-forum.com/t/acts-as-taggable-rails-recipes-bug/101770)

<div class="topic-metadata">

**Author:** [@Nathan\_PSVerni](https://www.ruby-forum.com/u/Nathan_PSVerni)\
**Replies:** 3\
**Last updated:** [November 26, 2006, 7:53pm UTC](https://www.ruby-forum.com/t/acts-as-taggable-rails-recipes-bug/101770 "2006-11-26T19:53:52Z")

</div>

I’m following the acts\_as\_taggable chapter from the Rails Recipes book. I want my view form to have a text\_field that correlates to an attribute in the Model that accepts a string of space delimited tags. The book us…

---

## [Ruby noobist, roobist?](https://www.ruby-forum.com/t/ruby-noobist-roobist/74724)

<div class="topic-metadata">

**Author:** [@Skotty](https://www.ruby-forum.com/u/Skotty)\
**Replies:** 3\
**Last updated:** [November 9, 2006, 3:29am UTC](https://www.ruby-forum.com/t/ruby-noobist-roobist/74724 "2006-11-09T03:29:22Z")

</div>

I know guys, I’m sorry. Anyways, I was wondering. I’ve been following a guide on http://clarkware.com/cgi/blosxom/2005/04/index.html and on the first example for the tutorial he posts 2 test to do, at the end of the …

---

## [How to create 0:M or 0:1 relationships in ActiveRecord?](https://www.ruby-forum.com/t/how-to-create-0-m-or-0-1-relationships-in-activerecord/74007)

<div class="topic-metadata">

**Author:** [@taylorstrait](https://www.ruby-forum.com/u/taylorstrait)\
**Replies:** 3\
**Last updated:** [October 29, 2006, 8:41am UTC](https://www.ruby-forum.com/t/how-to-create-0-m-or-0-1-relationships-in-activerecord/74007 "2006-10-29T08:41:20Z")

</div>

I’m comfortable using has\_many and belongs\_to for 1:M relationships. But how do you implement 0:1 and 0:M relationships? Thanks!

---

## [Need some help understanding forms](https://www.ruby-forum.com/t/need-some-help-understanding-forms/73991)

<div class="topic-metadata">

**Author:** [@koloa](https://www.ruby-forum.com/u/koloa)\
**Replies:** 3\
**Last updated:** [October 29, 2006, 12:24am UTC](https://www.ruby-forum.com/t/need-some-help-understanding-forms/73991 "2006-10-29T00:24:14Z")

</div>

im confused. all i want is data from a form to be accessible in my controller after the user presses a buton… in my layout view : \<%= start\_form\_tag(:action=\>‘search’)%\> \<%= text\_field(‘something1’, ‘something2’, :si…

---

## [Streamlined Framework](https://www.ruby-forum.com/t/streamlined-framework/65297)

<div class="topic-metadata">

**Author:** [@daniel](https://www.ruby-forum.com/u/daniel)\
**Replies:** 3\
**Last updated:** [August 17, 2006, 12:38pm UTC](https://www.ruby-forum.com/t/streamlined-framework/65297 "2006-08-17T12:38:01Z")

</div>

Hi, Im trying to install streamlined by “gem install streamlined” in wondows 2003. But when executing I get a error as follows. ERROR: While executing gem … (Gem::GemNotFoundException) Could not find streamlined (\> …

---

## [Sending mail times out (ActionMailer)](https://www.ruby-forum.com/t/sending-mail-times-out-actionmailer/95077)

<div class="topic-metadata">

**Author:** [@Robert\_MannI](https://www.ruby-forum.com/u/Robert_MannI)\
**Replies:** 3\
**Last updated:** [August 7, 2006, 5:23pm UTC](https://www.ruby-forum.com/t/sending-mail-times-out-actionmailer/95077 "2006-08-07T17:23:34Z")

</div>

Hi! I’m on debian. Sending a mail from Rails times out: Timeout::Error (execution expired): /usr/local/lib/ruby/1.8/timeout.rb:54:in new' /usr/local/lib/ruby/1.8/net/protocol.rb:206:inold\_open’ /usr/local/lib/ruby/1.…

---

## [Using a records "id" in validation](https://www.ruby-forum.com/t/using-a-records-id-in-validation/63862)

<div class="topic-metadata">

**Author:** [@squeegy](https://www.ruby-forum.com/u/squeegy)\
**Replies:** 3\
**Last updated:** [June 20, 2006, 12:54am UTC](https://www.ruby-forum.com/t/using-a-records-id-in-validation/63862 "2006-06-20T00:54:30Z")

</div>

I need to use an order’s id value in a validation. Basically, I am charging an order via a credit card API. I only want ot save the order if the credit card authorization was approved. I also want to send the order…

---

## [Subdomain](https://www.ruby-forum.com/t/subdomain/95692)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 3\
**Last updated:** [June 9, 2006, 2:53pm UTC](https://www.ruby-forum.com/t/subdomain/95692 "2006-06-09T14:53:29Z")

</div>

I know how to retrieve the current :controller and :action, but is there a variable available for me to retrieve the URL items such as: subdomain.mydomain.com I would like to be able to pull “subdomain” out of the UR…

---

## [Search an array](https://www.ruby-forum.com/t/search-an-array/94815)

<div class="topic-metadata">

**Author:** [@pkspence](https://www.ruby-forum.com/u/pkspence)\
**Replies:** 3\
**Last updated:** [May 15, 2006, 10:41pm UTC](https://www.ruby-forum.com/t/search-an-array/94815 "2006-05-15T22:41:43Z")

</div>

Given the following scenario… $0 = “C:/mhiqTest/testAdoConnection.rb” $@\[0\] = “c:/ruby/lib/ruby/site\_ruby/1.8/DBD/ADO/ADO.rb:57:in connect'" $@\[1\] = "c:/ruby/lib/ruby/site\_ruby/1.8/dbi.rb:424:inconnect’” $@\[2\] = “c:/r…

---

## [Help - just a few lines of code needed](https://www.ruby-forum.com/t/help-just-a-few-lines-of-code-needed/77614)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [March 7, 2006, 7:49am UTC](https://www.ruby-forum.com/t/help-just-a-few-lines-of-code-needed/77614 "2006-03-07T07:49:35Z")

</div>

Hi I hope someone can help me out with a very SIMPLE program about whole-string permutations. That is: given a list of strings, the required outcome is a complete set of all their possible permutations. It’s like ch…

---

## [Search with like operation from a table](https://www.ruby-forum.com/t/search-with-like-operation-from-a-table/95523)

<div class="topic-metadata">

**Author:** [@thila](https://www.ruby-forum.com/u/thila)\
**Replies:** 3\
**Last updated:** [January 19, 2006, 6:39pm UTC](https://www.ruby-forum.com/t/search-with-like-operation-from-a-table/95523 "2006-01-19T18:39:40Z")

</div>

I have a table with the list of business name and address in it. It may contain 1 million rows. The users want to look up into this table based on the business name. The simple solution is to use LIKE in mysql, but I …

---

## [Image upload (apache2.0+ lighttpd)](https://www.ruby-forum.com/t/image-upload-apache2-0-lighttpd/50223)

<div class="topic-metadata">

**Author:** [@sylow](https://www.ruby-forum.com/u/sylow)\
**Replies:** 3\
**Last updated:** [December 14, 2005, 10:11pm UTC](https://www.ruby-forum.com/t/image-upload-apache2-0-lighttpd/50223 "2005-12-14T22:11:13Z")

</div>

Hello all, I use lighttpd 1.4.8 and I have a problem with image uploads. I tried file\_upload plugin, but it is strangely working sometimes and refuse to work sometimes. Function in the controller is (@user is loaded …

---

## [Some advice on DB modeling](https://www.ruby-forum.com/t/some-advice-on-db-modeling/48521)

<div class="topic-metadata">

**Author:** [@i8ramin](https://www.ruby-forum.com/u/i8ramin)\
**Replies:** 3\
**Last updated:** [November 21, 2005, 10:39pm UTC](https://www.ruby-forum.com/t/some-advice-on-db-modeling/48521 "2005-11-21T22:39:28Z")

</div>

I need some help designing my database. i am trying to create a community site very similar to MySpace, Freindster, etc. I want each of my users to be able to add other users as friends. I’m just not sure how to set …

---

## [Most simple Ruby Problem Imaginable](https://www.ruby-forum.com/t/most-simple-ruby-problem-imaginable/240267)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 4, 2014, 8:55pm UTC](https://www.ruby-forum.com/t/most-simple-ruby-problem-imaginable/240267 "2014-04-04T20:55:36Z")

</div>

Hi, I’m new to Ruby and am learning with “Beginning Ruby from Novice to Professional,” and I’ve hit a roadblock within the first few pages of the book. For some reason, even though I believe I am following the instru…

---

## [Public method in out of tree module](https://www.ruby-forum.com/t/public-method-in-out-of-tree-module/237657)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [November 22, 2013, 5:25pm UTC](https://www.ruby-forum.com/t/public-method-in-out-of-tree-module/237657 "2013-11-22T17:25:11Z")

</div>

Hello, I am trying to create a block that has a publicly accessible method and am having trouble accessing the method from within Python. Here is a simple example of my process. First, I boot Gnuradio Live DVD, Ub…

---

## [Question for my ruby script](https://www.ruby-forum.com/t/question-for-my-ruby-script/237067)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [October 22, 2013, 11:04pm UTC](https://www.ruby-forum.com/t/question-for-my-ruby-script/237067 "2013-10-22T23:04:55Z")

</div>

Hi, below is the ruby script to show all the photos of a product. Now I want to showing all the photos apart from the first one it mean if got 5 photos for this product, it will show 2-5 photos, not the first one. \<%…

---

## [Rails v4 with Raspberry Pi](https://www.ruby-forum.com/t/rails-v4-with-raspberry-pi/236186)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [August 14, 2013, 8:56am UTC](https://www.ruby-forum.com/t/rails-v4-with-raspberry-pi/236186 "2013-08-14T08:56:58Z")

</div>

I have Raspberry Pi with Pidora OS. I am using: -ruby (1.9.3p194 (2012-04-20 revision 35410) \[armv6hl-linux\] -rails (4.0.0) When I am trying to run rails I get error: =\> Booting Thin =\> Rails 4.0.0 application starti…

---

## [Boost recipe in pybombs](https://www.ruby-forum.com/t/boost-recipe-in-pybombs/245933)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [August 1, 2013, 9:59pm UTC](https://www.ruby-forum.com/t/boost-recipe-in-pybombs/245933 "2013-08-01T21:59:55Z")

</div>

The boost recipe in pybombs builds using the --layout=tagged option which will generate libraries with the -mt suffix. The ‘mt’ stands for multi threaded and is only available for historical reasons,I suppose. Is th…

---

## [Ruby on Rails sessions](https://www.ruby-forum.com/t/ruby-on-rails-sessions/235646)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [July 7, 2013, 7:10pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-sessions/235646 "2013-07-07T19:10:29Z")

</div>

Hello I’m learning RoR and i would like to know more about the sessions in RoR Can anyone give me a good example for a session in a web application? or good pages for learning? (not: Chapter 1: From zero to deploy | …

---

## [Ruby2ruby 2.0.6 Released](https://www.ruby-forum.com/t/ruby2ruby-2-0-6-released/235422)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [June 21, 2013, 7:50am UTC](https://www.ruby-forum.com/t/ruby2ruby-2-0-6-released/235422 "2013-06-21T07:50:56Z")

</div>

ruby2ruby version 2.0.6 has been released! home: https://github.com/seattlerb/ruby2ruby rdoc: http://seattlerb.rubyforge.org/ruby2ruby ruby2ruby provides a means of generating pure ruby code easily from RubyParser …

---

## [Precog Import Error](https://www.ruby-forum.com/t/precog-import-error/235297)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [June 12, 2013, 6:56pm UTC](https://www.ruby-forum.com/t/precog-import-error/235297 "2013-06-12T18:56:33Z")

</div>

I have installed the extras and precog as per wiki. The gnuradio-comapnion extras blocks are working fine. But when I try to run precog modules given there is error:- GRAS: The debug asserts are enabled. \<\<\< Tracebac…

---

## [Why can't get remote javascript libraries on Rails 4](https://www.ruby-forum.com/t/why-cant-get-remote-javascript-libraries-on-rails-4/245422)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [May 30, 2013, 12:49am UTC](https://www.ruby-forum.com/t/why-cant-get-remote-javascript-libraries-on-rails-4/245422 "2013-05-30T00:49:49Z")

</div>

In rails 3, I included this line: \<%= javascript\_include\_tag “http://cdn.leafletjs.com/leaflet-0.5.1/leaflet.js” %\> But when migrate to rails 4, its not posible and I get the next error: \*Invalid argument - C:/Ruby1…

---

## [Rails paths when loading a Java applet](https://www.ruby-forum.com/t/rails-paths-when-loading-a-java-applet/164978)

<div class="topic-metadata">

**Author:** [@destiney](https://www.ruby-forum.com/u/destiney)\
**Replies:** 2\
**Last updated:** [May 2, 2013, 9:46pm UTC](https://www.ruby-forum.com/t/rails-paths-when-loading-a-java-applet/164978 "2013-05-02T21:46:50Z")

</div>

I’ve built a Java applet and now I’m trying to load it using Rails, it’s failing to load. The problem seems to be that Rails is changing the dots in my classpath to forward slashes which then cause my applet’s depende…

---

## [Multithreads, years before and now](https://www.ruby-forum.com/t/multithreads-years-before-and-now/227849)

<div class="topic-metadata">

**Author:** [@DamiSSn\_MSG](https://www.ruby-forum.com/u/DamiSSn_MSG)\
**Replies:** 2\
**Last updated:** [April 1, 2013, 5:39am UTC](https://www.ruby-forum.com/t/multithreads-years-before-and-now/227849 "2013-04-01T05:39:34Z")

</div>

Hi guys, how are you? Being taking a look at the threads behaviour in Ruby, I did that before like year and a half later and now I found an old exercise-example that I made before, so I’ve tried to reproduce it again,…

---

## [Why does Kernel define class\_eval?](https://www.ruby-forum.com/t/why-does-kernel-define-class-eval/223686)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 15, 2012, 2:03am UTC](https://www.ruby-forum.com/t/why-does-kernel-define-class-eval/223686 "2012-10-15T02:03:32Z")

</div>

First, I’d like to say it makes sense to define instance\_eval in BasicObject. Both object instances (e.g. obj = Object.new or obj = MyClass.new) and class objects (e.g. MyClass = Class.new) are both instances of a cla…

---

## [Reg : .mat to .bin conversion](https://www.ruby-forum.com/t/reg-mat-to-bin-conversion/223647)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 14, 2012, 7:15am UTC](https://www.ruby-forum.com/t/reg-mat-to-bin-conversion/223647 "2012-10-14T07:15:27Z")

</div>

Hi, I have recorded some WCDMA data using gnuradio and USRP2 which is in .bin format (fc32).Then I used octave to read that bin file and converted to .mat file so that it can be imported into MATLAB. I did some proce…

---

## [Where to put logic](https://www.ruby-forum.com/t/where-to-put-logic/222575)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 2, 2012, 9:50pm UTC](https://www.ruby-forum.com/t/where-to-put-logic/222575 "2012-09-02T21:50:50Z")

</div>

Folks Quick question, i know db model logic goes into the model and how the views are interacted with goes into the controller code. And how the page looks goes into the view code with rails. But lets say i have a sy…

---

## [\[ANN\] Rails 3.2.8.rc2 has been released](https://www.ruby-forum.com/t/ann-rails-3-2-8-rc2-has-been-released/221891)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [August 4, 2012, 1:49pm UTC](https://www.ruby-forum.com/t/ann-rails-3-2-8-rc2-has-been-released/221891 "2012-08-04T13:49:23Z")

</div>

Hi everyone, Rails 3.2.8.rc2 has been released. If no regressions are found we will release 3.2.8 final around Wednesday 8th. IMPORTANT We are removing all the deprecation warnings that we introduced in 3.2.x. We h…

---

## [XCVR2450 Band Pass Filters & Frequencies](https://www.ruby-forum.com/t/xcvr2450-band-pass-filters-frequencies/221124)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [July 19, 2012, 6:05pm UTC](https://www.ruby-forum.com/t/xcvr2450-band-pass-filters-frequencies/221124 "2012-07-19T18:05:18Z")

</div>

The XCVR 2450 covers frequencies around 2.4 GHz and 2.5 GHz and also 4.9 to 5.9 GHz. When running uhd\_usrp\_probe it said 2400 to 2700MHz! (E.g. I assume hardware performance drops off above 2.4 GHz but any reason w…

---

## [Include C code in a FFI-based gem](https://www.ruby-forum.com/t/include-c-code-in-a-ffi-based-gem/219334)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 9, 2012, 3:37pm UTC](https://www.ruby-forum.com/t/include-c-code-in-a-ffi-based-gem/219334 "2012-05-09T15:37:33Z")

</div>

Hi, I would like to build a gem that contains C source code, but I dont want to use C extensions. Id like to use FFI instead. Is there a way to build a shared library usable by FFI when installing a gem? Denis

---

## [How to implement SSO in ruby](https://www.ruby-forum.com/t/how-to-implement-sso-in-ruby/219586)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 2\
**Last updated:** [May 8, 2012, 2:47pm UTC](https://www.ruby-forum.com/t/how-to-implement-sso-in-ruby/219586 "2012-05-08T14:47:40Z")

</div>

hi all i am trying to implement SSO in ruby on rails site . is there any chance to implement SSO . kindly help out Thanks in advance

---

## [Is it possible applied external module from packages?](https://www.ruby-forum.com/t/is-it-possible-applied-external-module-from-packages/219369)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 1, 2012, 10:15am UTC](https://www.ruby-forum.com/t/is-it-possible-applied-external-module-from-packages/219369 "2012-05-01T10:15:34Z")

</div>

Hello, I’ve found WAF Module for NginX called Naxsi http://code.google.com/p/naxsi/ And I’ve read the manual to compile it, but is it possible to applied/recompile naxsi module to NginX from packages? Reference: how…

---

## [Nginx SSO service for different backend web servers/apps](https://www.ruby-forum.com/t/nginx-sso-service-for-different-backend-web-servers-apps/211634)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [December 13, 2011, 11:33pm UTC](https://www.ruby-forum.com/t/nginx-sso-service-for-different-backend-web-servers-apps/211634 "2011-12-13T23:33:59Z")

</div>

Hi We have a couple different services running in different machines, web servers/wep applications. We would like to have a Single Sign-On (SSO) in front of these servers, now they have their own accounts + passwords…

---

## [Connection timed out while connecting to upstream, syn packet volume is high](https://www.ruby-forum.com/t/connection-timed-out-while-connecting-to-upstream-syn-packet-volume-is-high/214806)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [December 12, 2011, 8:38pm UTC](https://www.ruby-forum.com/t/connection-timed-out-while-connecting-to-upstream-syn-packet-volume-is-high/214806 "2011-12-12T20:38:23Z")

</div>

I’ve been troubleshooting this issue on and off the last couple days and have not been able to eliminate this error from nginx: 2011/12/12 13:12:32 \[error\] 27810#0: \*36209658 connect() failed (110: Connection timed ou…

---

## [Re: New webpage look](https://www.ruby-forum.com/t/re-new-webpage-look/212795)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [October 14, 2011, 6:28pm UTC](https://www.ruby-forum.com/t/re-new-webpage-look/212795 "2011-10-14T18:28:09Z")

</div>

i think josh is right about the color. Instead of red, some shade of blue or green might give a better look. http://gnuradio.org/redmine/projects/gnuradio/wiki instead of putting “Start page”, “Index by Title”, “Inde…

---

## [Jack into $LOADED\_FEATURES update?](https://www.ruby-forum.com/t/jack-into-loaded-features-update/209527)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [July 21, 2011, 4:56pm UTC](https://www.ruby-forum.com/t/jack-into-loaded-features-update/209527 "2011-07-21T16:56:53Z")

</div>

I would seem there is no way to jack into the update of $LOADED\_FEATURES? class \<\< $LOADED\_FEATURES methods = public\_instance\_methods(true) methods.each do |m| alias\_method “#{m}", m define\_method(m) do |\*a, &b| p…

---

## [Error executing usrp2\_wfm\_rcv.py](https://www.ruby-forum.com/t/error-executing-usrp2-wfm-rcv-py/207982)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [June 7, 2011, 5:01pm UTC](https://www.ruby-forum.com/t/error-executing-usrp2-wfm-rcv-py/207982 "2011-06-07T17:01:25Z")

</div>

Hello. Can this variable “step\_size” have an arbitrary value? I tried several times and I always get this message: (python:3293): Gtk-CRITICAL \*\*: IA\_\_gtk\_range\_set\_range: assertion \`min \< max’ failed and nothing …

---

## [Ruby and ActiveRecord : Reading informations](https://www.ruby-forum.com/t/ruby-and-activerecord-reading-informations/207339)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [May 24, 2011, 7:10pm UTC](https://www.ruby-forum.com/t/ruby-and-activerecord-reading-informations/207339 "2011-05-24T19:10:42Z")

</div>

Hello, So now, before I use the DBI module to communicate with my MySQL database. Now, I turn to ActiveRecord. I’ll be home I connect, do queries, etc. However, recovery / reading information is unclear. Here is my…

---

## [Invalid EEPROM error message with the WBX board](https://www.ruby-forum.com/t/invalid-eeprom-error-message-with-the-wbx-board/199987)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [December 17, 2010, 2:17pm UTC](https://www.ruby-forum.com/t/invalid-eeprom-error-message-with-the-wbx-board/199987 "2010-12-17T14:17:52Z")

</div>

I have a USRP board with a WBX daughter board and when I run ./usrp\_benchmark\_usb.py or any grc application like ./usrp\_nbfm\_ptt.py these warning messages appear: Testing 2MB/sec… Warning: Treating daughterboard with…

---

## [How to enable usrp1 in building uhd?](https://www.ruby-forum.com/t/how-to-enable-usrp1-in-building-uhd/198671)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [November 5, 2010, 6:20am UTC](https://www.ruby-forum.com/t/how-to-enable-usrp1-in-building-uhd/198671 "2010-11-05T06:20:20Z")

</div>

I am trying uhd with my usrp1. However, when I do cmake, it reported that “usrp1 support disabled by configure flag”. usrp2 is enabled. It seems to me usrp1 is disabled by default? If I need to give some flags to cma…

---

## [Urgent help required#\<NoMethodError:](https://www.ruby-forum.com/t/urgent-help-required-nomethoderror/196179)

<div class="topic-metadata">

**Author:** [@datulravi](https://www.ruby-forum.com/u/datulravi)\
**Replies:** 2\
**Last updated:** [October 10, 2010, 3:37am UTC](https://www.ruby-forum.com/t/urgent-help-required-nomethoderror/196179 "2010-10-10T03:37:19Z")

</div>

prompts5 = \[“Span type”\] defaults5 = \[“1. Simply supported”\] @t\_slab = \[“1. Simply supported |2. Interior span |3. End span |4. Cantilever”\] list5 = \[@t\_slab\] title5=“Please select the type of the span” @input\_tsla…

---

## [Is it possible to set default value in a migration based upon another field's value?](https://www.ruby-forum.com/t/is-it-possible-to-set-default-value-in-a-migration-based-upon-another-fields-value/193390)

<div class="topic-metadata">

**Author:** [@chrisdwan](https://www.ruby-forum.com/u/chrisdwan)\
**Replies:** 2\
**Last updated:** [August 17, 2010, 4:54am UTC](https://www.ruby-forum.com/t/is-it-possible-to-set-default-value-in-a-migration-based-upon-another-fields-value/193390 "2010-08-17T04:54:16Z")

</div>

I’m familiar with setting a field’s default in the create\_table within a migration via :default =\> some value. However, what I’m looking for is to be able to set the default value based upon the value from a differen…

---

## [\[Bug #3443\] require$B$,CY$/$J$k(B](https://www.ruby-forum.com/t/bug-3443-require-b-cy-j-k-b/190185)

<div class="topic-metadata">

**Author:** [@Yusuke\_E](https://www.ruby-forum.com/u/Yusuke_E)\
**Replies:** 2\
**Last updated:** [June 17, 2010, 4:40pm UTC](https://www.ruby-forum.com/t/bug-3443-require-b-cy-j-k-b/190185 "2010-06-17T16:40:03Z")

</div>

e$B%A%1%C%He(B #3443 e$B$,99?7$5$l$^$7$?!#e(B (by Yusuke E.) e$B%+%F%4%je(B coree$B$K%;%C%He(B e$BC4Ev\<Te(B Yusuke E.e$B$K%;%C%He(B e$B1sF#$G$9!#e(B prepare\_iseq\_build e$B$NCf$Ge(B expand\_path e$B$9$k$N$O3N$+$KCY$=$&…

---

## [How to create a form for multiple entries?](https://www.ruby-forum.com/t/how-to-create-a-form-for-multiple-entries/186387)

<div class="topic-metadata">

**Author:** [@ct9a](https://www.ruby-forum.com/u/ct9a)\
**Replies:** 2\
**Last updated:** [April 6, 2010, 1:59pm UTC](https://www.ruby-forum.com/t/how-to-create-a-form-for-multiple-entries/186387 "2010-04-06T13:59:57Z")

</div>

hi guys, I have a fairly simple application for a party. An “invite” object has many “guest” objects. When I open up localhost:3000/invites/:id/guests/, I expect to see the details of the “invite” along with all the …

---

## [Running benchmark\_rx.py in debugging mode](https://www.ruby-forum.com/t/running-benchmark-rx-py-in-debugging-mode/183890)

<div class="topic-metadata">

**Author:** [@alapati\_iitm](https://www.ruby-forum.com/u/alapati_iitm)\
**Replies:** 2\
**Last updated:** [February 22, 2010, 7:37pm UTC](https://www.ruby-forum.com/t/running-benchmark-rx-py-in-debugging-mode/183890 "2010-02-22T19:37:42Z")

</div>

hi everyone, Is there any way for me to run the benchmark\_tx and benchmark\_rx.py files in debugging mode so that I can see the entire flow structure? I am curious to know the steps that take place from the calling …

---

## [Rails and decimals problem](https://www.ruby-forum.com/t/rails-and-decimals-problem/183767)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 2\
**Last updated:** [February 20, 2010, 6:39pm UTC](https://www.ruby-forum.com/t/rails-and-decimals-problem/183767 "2010-02-20T18:39:49Z")

</div>

Hi, I was working on a plugin to enhance ActiveRecord’s models so that it’s easy to handle decimal numbers and store them as integers. I was dynamically creating instance methods to output the formatted attribute (14…

---

## [Preload test data from factory\_girl](https://www.ruby-forum.com/t/preload-test-data-from-factory-girl/182872)

<div class="topic-metadata">

**Author:** [@Learn\_by\_D](https://www.ruby-forum.com/u/Learn_by_D)\
**Replies:** 2\
**Last updated:** [February 4, 2010, 7:55pm UTC](https://www.ruby-forum.com/t/preload-test-data-from-factory-girl/182872 "2010-02-04T19:55:00Z")

</div>

Is there a way to preload common data made by factory\_girl to speed up tests instead of recreating these common data at the beginning of every test. For example, I want to have 10 users premade at the beginning of ev…

---

## [Trouble installing Ruby On Rails mysql gem in Windows XP](https://www.ruby-forum.com/t/trouble-installing-ruby-on-rails-mysql-gem-in-windows-xp/179592)

<div class="topic-metadata">

**Author:** [@rottenrobbie](https://www.ruby-forum.com/u/rottenrobbie)\
**Replies:** 2\
**Last updated:** [November 30, 2009, 10:47pm UTC](https://www.ruby-forum.com/t/trouble-installing-ruby-on-rails-mysql-gem-in-windows-xp/179592 "2009-11-30T22:47:31Z")

</div>

I have Ruby On Rails installed okay, but I can’t seem to get the mysql gem installed properly. I have MySQL 5.1 installed and the following ruby -v ruby 1.8.6 (2008-08-11 patchlevel 287) \[i386-mswin32\] gem -v 1.3.5 …

---

## [Model.Save causing nil object error](https://www.ruby-forum.com/t/model-save-causing-nil-object-error/177333)

<div class="topic-metadata">

**Author:** [@notmatt](https://www.ruby-forum.com/u/notmatt)\
**Replies:** 2\
**Last updated:** [October 15, 2009, 2:38pm UTC](https://www.ruby-forum.com/t/model-save-causing-nil-object-error/177333 "2009-10-15T14:38:04Z")

</div>

Hello all. Newbie to rails here and I am having a bit of an issue. I have the following models: class Topic \< ActiveRecord::Base validates\_presence\_of :name validates\_length\_of :name, :minimum =\> 3 has\_many :relat…

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

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