# Top

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

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

---

## [Datamatrix generator](https://www.ruby-forum.com/t/datamatrix-generator/208248)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [July 2, 2014, 9:18am UTC](https://www.ruby-forum.com/t/datamatrix-generator/208248 "2014-07-02T09:18:02Z")

</div>

Hi all, Im using rails 3, How can I generate datamatrix on ruby on rails? Please anyone explain…

---

## [ActiveModel::Validations in another module?](https://www.ruby-forum.com/t/activemodel-validations-in-another-module/213311)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [October 31, 2011, 2:47am UTC](https://www.ruby-forum.com/t/activemodel-validations-in-another-module/213311 "2011-10-31T02:47:25Z")

</div>

Hey, I’m trying to specify validations with ActiveModel::Validations at the module level, i.e., I wish to mix-in validations to a module. I am not succeeding at this, however. How do I mix-in ActiveModel::Validations …

---

## [Distance\_of\_time\_in\_words shows {{count}} days instead of showing actual days](https://www.ruby-forum.com/t/distance-of-time-in-words-shows-count-days-instead-of-showing-actual-days/200579)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [January 20, 2011, 7:30pm UTC](https://www.ruby-forum.com/t/distance-of-time-in-words-shows-count-days-instead-of-showing-actual-days/200579 "2011-01-20T19:30:32Z")

</div>

I have following code in view \<% if @next\_topic %\> Time to show next topic \<%= distance\_of\_time\_in\_words(Time.now.utc, @next\_topic.time\_to\_show.utc) %\> \<% end %\> Output: Time to show next topic {{count}} days tim…

---

## [Ruby-prof on Ruby 1.9 woes](https://www.ruby-forum.com/t/ruby-prof-on-ruby-1-9-woes/174195)

<div class="topic-metadata">

**Author:** [@Shot\_SPiotr\_S.S](https://www.ruby-forum.com/u/Shot_SPiotr_S.S)\
**Replies:** 4\
**Last updated:** [August 23, 2009, 7:39pm UTC](https://www.ruby-forum.com/t/ruby-prof-on-ruby-1-9-woes/174195 "2009-08-23T19:39:46Z")

</div>

Iâ€™m trying to use ruby-prof with Ruby 1.9.1p243 on 64-bit Ubuntu. The current released version doesnâ€™t work, but a gem built from the ruby-profâ€™s svn repoâ€™s trunk at least installs properly. Unfortunately, whe…

---

## [Problems installing RRDtool gem under Windows](https://www.ruby-forum.com/t/problems-installing-rrdtool-gem-under-windows/133426)

<div class="topic-metadata">

**Author:** [@ribes](https://www.ruby-forum.com/u/ribes)\
**Replies:** 4\
**Last updated:** [March 31, 2008, 6:28pm UTC](https://www.ruby-forum.com/t/problems-installing-rrdtool-gem-under-windows/133426 "2008-03-31T18:28:43Z")

</div>

Team, I am trying to install RRDtool under MS Windows/XP. I tried to install the gem and got the following errors: C:$user\\downloads\\Ruby and Friends\>ruby -v ruby 1.8.6 (2007-09-24 patchlevel 111) \[i386-mswin32\] C:$…

---

## [Get value from string](https://www.ruby-forum.com/t/get-value-from-string/130036)

<div class="topic-metadata">

**Author:** [@stratboy](https://www.ruby-forum.com/u/stratboy)\
**Replies:** 4\
**Last updated:** [February 24, 2008, 7:42pm UTC](https://www.ruby-forum.com/t/get-value-from-string/130036 "2008-02-24T19:42:19Z")

</div>

I have a string that content a link of a youtube page . Like: http://it.youtube.com/watch?v=PupR5V9aE2s&test=1 i want get the value of v: PupR5V9aE2s How i can do? Thanks

---

## [Has\_many with :uniq not working for me](https://www.ruby-forum.com/t/has-many-with-uniq-not-working-for-me/78396)

<div class="topic-metadata">

**Author:** [@liquid](https://www.ruby-forum.com/u/liquid)\
**Replies:** 4\
**Last updated:** [December 6, 2006, 1:29pm UTC](https://www.ruby-forum.com/t/has-many-with-uniq-not-working-for-me/78396 "2006-12-06T13:29:24Z")

</div>

Hi all, I have a relationship (no really!) class RiskMatrix \< ActiveRecord::Base has\_many :severities, :order =\> :position, :uniq =\> true end class RiskFactor \< ActiveRecord::Base belongs\_to :risk\_matrix validates…

---

## [Rds](https://www.ruby-forum.com/t/rds/71019)

<div class="topic-metadata">

**Author:** [@Erlend\_Barstad\_Stra](https://www.ruby-forum.com/u/Erlend_Barstad_Stra)\
**Replies:** 4\
**Last updated:** [October 5, 2006, 9:15pm UTC](https://www.ruby-forum.com/t/rds/71019 "2006-10-05T21:15:33Z")

</div>

Hi I am trying to extend the usrp\_wfm\_rcv\_pll.py by reading the RDS subcarrier, however I have a problem observing the subcarrier at all. I have connected a file\_sink to the fm\_demod in order to see the spectrum in M…

---

## [Should a gemspec include itself?](https://www.ruby-forum.com/t/should-a-gemspec-include-itself/232421)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 19, 2014, 1:38pm UTC](https://www.ruby-forum.com/t/should-a-gemspec-include-itself/232421 "2014-10-19T13:38:04Z")

</div>

Hello, I ran into an error when trying to run rake test in the root directory of a gem that uses the following in its Rakefile: Bundler::GemHelper.install\_tasks The error I got is: Unable to determine name from exis…

---

## [Sending email with attachment](https://www.ruby-forum.com/t/sending-email-with-attachment/202388)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [January 28, 2011, 11:24pm UTC](https://www.ruby-forum.com/t/sending-email-with-attachment/202388 "2011-01-28T23:24:37Z")

</div>

Hello, I’m trying to create a function to send mail with an attached file. After an hour reading rails documentation and a few intents I can’t figure out this error: undefined local variable or method ‘attachments’ fo…

---

## [JSON Array in Rails](https://www.ruby-forum.com/t/json-array-in-rails/245230)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [January 31, 2017, 9:10am UTC](https://www.ruby-forum.com/t/json-array-in-rails/245230 "2017-01-31T09:10:38Z")

</div>

i created this JSON in Rails with “render json:” \[{“id”:1,“name”:“Test1”,“set”:“A”}\] but the right JSON is {“my”:\[{“id”:1,“name”:“Test1”,“set”:\[“1”,“2”\]}\]} How can i add “my” as a hash? How can i create a array in d…

---

## [Cannot launch VR in Linux Xubuntu](https://www.ruby-forum.com/t/cannot-launch-vr-in-linux-xubuntu/245152)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [November 22, 2016, 12:59am UTC](https://www.ruby-forum.com/t/cannot-launch-vr-in-linux-xubuntu/245152 "2016-11-22T00:59:31Z")

</div>

Running Linux Xubuntu 16.04 (64-bit) with GTK3 Ruby 2.3.1 Glade 3.18.3 VR installed without any issue. However, I cannot launch VR. I get the message below. I am puzzled. Does anyone know how I can correct this? ran…

---

## [Can't host file upload sample app on heroku](https://www.ruby-forum.com/t/cant-host-file-upload-sample-app-on-heroku/206560)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [May 4, 2011, 8:56pm UTC](https://www.ruby-forum.com/t/cant-host-file-upload-sample-app-on-heroku/206560 "2011-05-04T20:56:18Z")

</div>

Hi, After hosting my sample app for file upload on heroku using the FREE account, it does not work properly. However, everything works fine on my local machine. Please help FOR FILE UPLOAD:: // controller.rb def u…

---

## [Routing problem](https://www.ruby-forum.com/t/routing-problem/152123)

<div class="topic-metadata">

**Author:** [@raphael\_b](https://www.ruby-forum.com/u/raphael_b)\
**Replies:** 3\
**Last updated:** [October 30, 2008, 12:24pm UTC](https://www.ruby-forum.com/t/routing-problem/152123 "2008-10-30T12:24:08Z")

</div>

Hi, I’m developing an engine with a controller, and I have problems to configure the routing. The engine is located in vendor/plugins/web\_file\_attachment. Under that directory: the controller is in app/controllers…

---

## [Trouble validating associated objects](https://www.ruby-forum.com/t/trouble-validating-associated-objects/151284)

<div class="topic-metadata">

**Author:** [@MdSKazim\_Z](https://www.ruby-forum.com/u/MdSKazim_Z)\
**Replies:** 3\
**Last updated:** [October 21, 2008, 11:49pm UTC](https://www.ruby-forum.com/t/trouble-validating-associated-objects/151284 "2008-10-21T23:49:56Z")

</div>

Hello everyone, This is my first post to this list, so kindly remind me if I do something wrong. :stuck\_out\_tongue: When parent objects are saved, all the new children are saved. However, when the child objects valid…

---

## [Read text file](https://www.ruby-forum.com/t/read-text-file/144709)

<div class="topic-metadata">

**Author:** [@ganana\_srishti](https://www.ruby-forum.com/u/ganana_srishti)\
**Replies:** 3\
**Last updated:** [August 1, 2008, 12:39pm UTC](https://www.ruby-forum.com/t/read-text-file/144709 "2008-08-01T12:39:06Z")

</div>

Hi, I have one text file for example 9115 2008-06-20 07:26:35 91415 2008-06-20 07:26:32 9315 2008-06-20 07:26:33 2115 2008-06-20 07:26:05 15 2008-06-20 07:26:34 115 2008-06-20 07:26:35 i need to read only f…

---

## [CGI library for Ruby](https://www.ruby-forum.com/t/cgi-library-for-ruby/52360)

<div class="topic-metadata">

**Author:** [@Salvatore\_S](https://www.ruby-forum.com/u/Salvatore_S)\
**Replies:** 3\
**Last updated:** [January 13, 2006, 10:37pm UTC](https://www.ruby-forum.com/t/cgi-library-for-ruby/52360 "2006-01-13T22:37:06Z")

</div>

Hello! I want to port a web application to Ruby. I know about Ruby on Rails and other powerful frameworks but this project is simple enough and I’m new enough to Ruby that all I want is a reliable CGI library with a …

---

## [Block missing GNU Radio Companion](https://www.ruby-forum.com/t/block-missing-gnu-radio-companion/223151)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 25, 2012, 3:21am UTC](https://www.ruby-forum.com/t/block-missing-gnu-radio-companion/223151 "2012-09-25T03:21:05Z")

</div>

Hi, I made a new block called “my\_block”, copying the example “blob\_to\_stream” provided in grcextras. I changed the files .cc, .h and .xml. Also, I added some lines in the CMakeList.txt files in the path: /grc /in…

---

## [Pipe in cmd-line text but then reset STDIN for menu](https://www.ruby-forum.com/t/pipe-in-cmd-line-text-but-then-reset-stdin-for-menu/154078)

<div class="topic-metadata">

**Author:** [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Replies:** 2\
**Last updated:** [November 25, 2008, 10:26pm UTC](https://www.ruby-forum.com/t/pipe-in-cmd-line-text-but-then-reset-stdin-for-menu/154078 "2008-11-25T22:26:25Z")

</div>

Hello, I’m trying to make a customized pager utility that can process file-contents piped in from the command line, equally well as a list of provided file names. e.g. cat testfile | my\_util.rb or my\_util.rb t…

---

## [Where is gr.fft\_vcc?](https://www.ruby-forum.com/t/where-is-gr-fft-vcc/153055)

<div class="topic-metadata">

**Author:** [@Santi\_O](https://www.ruby-forum.com/u/Santi_O)\
**Replies:** 2\
**Last updated:** [November 11, 2008, 5:10pm UTC](https://www.ruby-forum.com/t/where-is-gr-fft-vcc/153055 "2008-11-11T17:10:51Z")

</div>

I have been working with usrp\_spectrum\_sense.py but I haven’t found the file where it does the fft: fft = gr.fft\_vcc (self.fft\_size, True, mywindow) I’ve found the file window.py and self.fft\_size is taken from the …

---

## [Tarpit, anybody?](https://www.ruby-forum.com/t/tarpit-anybody/144679)

<div class="topic-metadata">

**Author:** [@Jeffrey\_SjfS\_Lim](https://www.ruby-forum.com/u/Jeffrey_SjfS_Lim)\
**Replies:** 2\
**Last updated:** [August 3, 2008, 7:24am UTC](https://www.ruby-forum.com/t/tarpit-anybody/144679 "2008-08-03T07:24:57Z")

</div>

hi guys, I was just wondering about the feasibility of doing up a tarpit in nginx (either in nginx source itself, or as a module). Has anybody looked into this area, is looking into this area, or is interested in loo…

---

## [ERROR: Error installing rails: ERROR: Failed to build gem native extension](https://www.ruby-forum.com/t/error-error-installing-rails-error-failed-to-build-gem-native-extension/241430)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [April 7, 2015, 9:51am UTC](https://www.ruby-forum.com/t/error-error-installing-rails-error-failed-to-build-gem-native-extension/241430 "2015-04-07T09:51:07Z")

</div>

hi-Im use cygwin and want to install rails (gem install rails) I have error please help me $ gem install rails --version 4.2.1 Building native extensions. This could take a while… ERROR: Error installing rails: ER…

---

## [Build Social Network with Ruby on Rails](https://www.ruby-forum.com/t/build-social-network-with-ruby-on-rails/225450)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [January 10, 2013, 8:23am UTC](https://www.ruby-forum.com/t/build-social-network-with-ruby-on-rails/225450 "2013-01-10T08:23:58Z")

</div>

Hello, I am new to Ruby on Rails. I am planning to start building a social network using ROR. What’s the best framework or platform to be used? I have heard good things about Diaspora. Has anyone tried it before? Any …

---

## [Reload rb scripts from different locations in JRuby](https://www.ruby-forum.com/t/reload-rb-scripts-from-different-locations-in-jruby/223516)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [October 16, 2012, 4:12pm UTC](https://www.ruby-forum.com/t/reload-rb-scripts-from-different-locations-in-jruby/223516 "2012-10-16T16:12:57Z")

</div>

BACKGROUND: I am using JRuby in an eclipse plugin for my product. I have a bunch of scripts that define a DSL and perform operations for me. I want to be able to dynamically reload these scripts whenever required. Th…

---

## [Deploying RoR app](https://www.ruby-forum.com/t/deploying-ror-app/218350)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [March 29, 2012, 10:09pm UTC](https://www.ruby-forum.com/t/deploying-ror-app/218350 "2012-03-29T22:09:25Z")

</div>

Good evening. I’ve consulted wikis, old threads, forums, everything, in order to understand/find a way to deploy RoR with minimum effort. I’ve developed it using WebBrick to check functionality; now I want to deploy …

---

## [Debugger in controller in rspec](https://www.ruby-forum.com/t/debugger-in-controller-in-rspec/202865)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [February 8, 2011, 10:17am UTC](https://www.ruby-forum.com/t/debugger-in-controller-in-rspec/202865 "2011-02-08T10:17:18Z")

</div>

I placed a debugger statement in a controller being tested with rspec2 to catch what’s going on, but the statement is ignored? Do I have to do anything special to get the debugger to stop in the controller under rspec…

---

## [Passing a hash from the model to the view](https://www.ruby-forum.com/t/passing-a-hash-from-the-model-to-the-view/196087)

<div class="topic-metadata">

**Author:** [@leonel](https://www.ruby-forum.com/u/leonel)\
**Replies:** 7\
**Last updated:** [October 6, 2010, 10:49pm UTC](https://www.ruby-forum.com/t/passing-a-hash-from-the-model-to-the-view/196087 "2010-10-06T22:49:53Z")

</div>

I’m trying to display a drop-down menu by using an instance variable from a model. THIS WORKS… \<%= f.label :duration %\> \<%= f.select ("duration", {"30 minutes" =\> "30", "1 hour" =\> "60"}, :prompt =\> "Select") %\> …

---

## [\[Feature #2471\] want to choose a GC algorithm](https://www.ruby-forum.com/t/feature-2471-want-to-choose-a-gc-algorithm/180030)

<div class="topic-metadata">

**Author:** [@SSwanabe](https://www.ruby-forum.com/u/SSwanabe)\
**Replies:** 7\
**Last updated:** [March 31, 2010, 5:02pm UTC](https://www.ruby-forum.com/t/feature-2471-want-to-choose-a-gc-algorithm/180030 "2010-03-31T17:02:29Z")

</div>

Feature #2471: want to choose a GC algorithm http://redmine.ruby-lang.org/issues/show/2471 e$B5/I\<\<Te(B: \_ wanabe e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: core, Target version: 1.9.2 GC e$B$N%"%…

---

## [CMA equalizer](https://www.ruby-forum.com/t/cma-equalizer/178611)

<div class="topic-metadata">

**Author:** [@fangming\_he](https://www.ruby-forum.com/u/fangming_he)\
**Replies:** 1\
**Last updated:** [November 8, 2009, 1:01am UTC](https://www.ruby-forum.com/t/cma-equalizer/178611 "2009-11-08T01:01:38Z")

</div>

Hi, All,For the gr\_cma\_equalizer\_cc, GNU Radio just offer class for it. It does not provide the example how to calculate the modulus and mu. In my opinion, the calculation of modulus should be a nonlinear step in Equ…

---

## [Ajouter Doctype a un fichier XML avec libxml](https://www.ruby-forum.com/t/ajouter-doctype-a-un-fichier-xml-avec-libxml/165490)

<div class="topic-metadata">

**Author:** [@neibaf](https://www.ruby-forum.com/u/neibaf)\
**Replies:** 7\
**Last updated:** [April 14, 2009, 10:16pm UTC](https://www.ruby-forum.com/t/ajouter-doctype-a-un-fichier-xml-avec-libxml/165490 "2009-04-14T22:16:09Z")

</div>

Bonjour, cela fait quelques heures maintenant que je cherche et je n’ai toujours pas de solution. J’aimerais utiliser libxml dans toute mon application, et donc je suis en train de mirgrer des outils. Anciennement le…

---

## [Ne pas logger les e-mails](https://www.ruby-forum.com/t/ne-pas-logger-les-e-mails/159436)

<div class="topic-metadata">

**Author:** [@tranquiliste](https://www.ruby-forum.com/u/tranquiliste)\
**Replies:** 7\
**Last updated:** [February 10, 2009, 2:49pm UTC](https://www.ruby-forum.com/t/ne-pas-logger-les-e-mails/159436 "2009-02-10T14:49:18Z")

</div>

Bonjour, Sur mon appli, quand un utilisateur s’enregistre, un e-mail lui est envoyé avec son login et son mot de passe et je vois la trace de ce mail dans les logs. Y a-t-il un moyen de ne pas faire figurer dans le l…

---

## [How to add fields dynamically?](https://www.ruby-forum.com/t/how-to-add-fields-dynamically/158787)

<div class="topic-metadata">

**Author:** [@tetya-loshad](https://www.ruby-forum.com/u/tetya-loshad)\
**Replies:** 7\
**Last updated:** [January 30, 2009, 9:17pm UTC](https://www.ruby-forum.com/t/how-to-add-fields-dynamically/158787 "2009-01-30T21:17:18Z")

</div>

I would like have a simple interface for users to add data into database. How to add new textareas in form, until user want it and submit all of them at once?

---

## [How to spec a Rails helper method](https://www.ruby-forum.com/t/how-to-spec-a-rails-helper-method/153968)

<div class="topic-metadata">

**Author:** [@nickh](https://www.ruby-forum.com/u/nickh)\
**Replies:** 7\
**Last updated:** [November 24, 2008, 5:11pm UTC](https://www.ruby-forum.com/t/how-to-spec-a-rails-helper-method/153968 "2008-11-24T17:11:05Z")

</div>

I’m trying to write specs for a helper method that I’m creating, but my specs are failing to find the helper method app/helpers/properties\_helper.rb module PropertiesHelper def format\_utilities(utilities) end end …

---

## [Continuous input until semicolon reached](https://www.ruby-forum.com/t/continuous-input-until-semicolon-reached/117027)

<div class="topic-metadata">

**Author:** [@shuaib85](https://www.ruby-forum.com/u/shuaib85)\
**Replies:** 7\
**Last updated:** [October 18, 2007, 8:13am UTC](https://www.ruby-forum.com/t/continuous-input-until-semicolon-reached/117027 "2007-10-18T08:13:14Z")

</div>

Hello I am doing a program in which I want to allow my user to keep keying in until they put semicolon then the prompt will process the data. It is something like mysql way. for example mysql\> select from user; …

---

## [Finding expiration dates on ssl certificates](https://www.ruby-forum.com/t/finding-expiration-dates-on-ssl-certificates/116678)

<div class="topic-metadata">

**Author:** [@dusty](https://www.ruby-forum.com/u/dusty)\
**Replies:** 1\
**Last updated:** [October 8, 2007, 9:28pm UTC](https://www.ruby-forum.com/t/finding-expiration-dates-on-ssl-certificates/116678 "2007-10-08T21:28:21Z")

</div>

Here is a way to find information about an ssl certificate. I primarily wanted to do this as an easy way to check the expiration date. In case anyone else is looking to do something similar, I thought I’d share. re…

---

## [Regexp help](https://www.ruby-forum.com/t/regexp-help/114933)

<div class="topic-metadata">

**Author:** [@nuby2ruby](https://www.ruby-forum.com/u/nuby2ruby)\
**Replies:** 7\
**Last updated:** [September 19, 2007, 1:38pm UTC](https://www.ruby-forum.com/t/regexp-help/114933 "2007-09-19T13:38:44Z")

</div>

K, so I suck at regular expressions. I just don’t seem to understand them. What I want to do is determine if a string includes 2 special characters a semi-colon and a question mark. Here’s my example that I’m trying …

---

## [Problem running unit tests](https://www.ruby-forum.com/t/problem-running-unit-tests/57911)

<div class="topic-metadata">

**Author:** [@Eden\_B](https://www.ruby-forum.com/u/Eden_B)\
**Replies:** 7\
**Last updated:** [June 18, 2006, 11:03pm UTC](https://www.ruby-forum.com/t/problem-running-unit-tests/57911 "2006-06-18T23:03:18Z")

</div>

I am running Rails 1.1.2 with Ruby 1.82-15. My database is Postgresql. I haven’t had any problems generating models, migrations, using scaffolds, and generally building and using my application, but I haven’t been a…

---

## [One table, two models](https://www.ruby-forum.com/t/one-table-two-models/63388)

<div class="topic-metadata">

**Author:** [@chriscole](https://www.ruby-forum.com/u/chriscole)\
**Replies:** 1\
**Last updated:** [June 14, 2006, 9:12pm UTC](https://www.ruby-forum.com/t/one-table-two-models/63388 "2006-06-14T21:12:38Z")

</div>

so i have a people table, and a person has a persontype. the person types are customer, and employee. I would like to make them into two models, where i can call Employee.new(:name =\> ‘chris’) and it would make a pe…

---

## [PHP include() Type Functionality in Ruby/Rails](https://www.ruby-forum.com/t/php-include-type-functionality-in-ruby-rails/50393)

<div class="topic-metadata">

**Author:** [@rubylover](https://www.ruby-forum.com/u/rubylover)\
**Replies:** 7\
**Last updated:** [December 15, 2005, 11:35pm UTC](https://www.ruby-forum.com/t/php-include-type-functionality-in-ruby-rails/50393 "2005-12-15T23:35:00Z")

</div>

Greetings, I am working on extending a new part of our site to use Ruby on Rails, and have several portions of the site that is included in external files. The rest of the site is built on top of MovableType and us…

---

## [GR 3.7 build failure](https://www.ruby-forum.com/t/gr-3-7-build-failure/240154)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [April 1, 2014, 9:48am UTC](https://www.ruby-forum.com/t/gr-3-7-build-failure/240154 "2014-04-01T09:48:40Z")

</div>

I haven’t tried building Gnu Radio in a while, and on my F14 system today: 15%\] Building CXX object gr-blocks/lib/CMakeFiles/gnuradio-blocks.dir/message\_strobe\_random\_impl.cc.o In file included from /home/mleech/gnu…

---

## [Reading two rx channels on usrp2](https://www.ruby-forum.com/t/reading-two-rx-channels-on-usrp2/182370)

<div class="topic-metadata">

**Author:** [@virgin](https://www.ruby-forum.com/u/virgin)\
**Replies:** 5\
**Last updated:** [January 27, 2010, 8:13pm UTC](https://www.ruby-forum.com/t/reading-two-rx-channels-on-usrp2/182370 "2010-01-27T20:13:45Z")

</div>

I am in the process of hacking up the usrp2 host and firmware to support two receiver channels. I’m at the point where “start\_rx\_streaming” is being acknowledged for channel 1 but there is no data being returned for …

---

## [Convert Illustrator file to HTML or CSS for programming on Ruby?](https://www.ruby-forum.com/t/convert-illustrator-file-to-html-or-css-for-programming-on-ruby/151204)

<div class="topic-metadata">

**Author:** [@carladeluxe](https://www.ruby-forum.com/u/carladeluxe)\
**Replies:** 5\
**Last updated:** [October 19, 2008, 5:44am UTC](https://www.ruby-forum.com/t/convert-illustrator-file-to-html-or-css-for-programming-on-ruby/151204 "2008-10-19T05:44:34Z")

</div>

HI there, My graphic designer and my programmer are having a communications snafu, and it’s my job to translate. The programmer is saying that if there’s a simple conversion method to take web page designs created in…

---

## [Receta para DelayedJob](https://www.ruby-forum.com/t/receta-para-delayedjob/143911)

<div class="topic-metadata">

**Author:** [@rub3n](https://www.ruby-forum.com/u/rub3n)\
**Replies:** 5\
**Last updated:** [July 24, 2008, 2:37am UTC](https://www.ruby-forum.com/t/receta-para-delayedjob/143911 "2008-07-24T02:37:46Z")

</div>

Hola comunidad, tal vez alguien pueda compartirme la receta de capistrano para iniciar y parar el ‘job runner’ de DelayedJob, estoy usando esta pero no me funciona: desc “Stop the job runner” task :stop\_job\_runner …

---

## [Search patch (global tags)](https://www.ruby-forum.com/t/search-patch-global-tags/143112)

<div class="topic-metadata">

**Author:** [@janpipek](https://www.ruby-forum.com/u/janpipek)\
**Replies:** 5\
**Last updated:** [July 16, 2008, 7:37pm UTC](https://www.ruby-forum.com/t/search-patch-global-tags/143112 "2008-07-16T19:37:28Z")

</div>

I have been following this guide to add search to radiant. http://wiki.radiantcms.org/Using\_the\_Search\_Extension I would like to add search globally - not only on a specific search page. And to do that I have to apply…

---

## [Bratwurst on Rails 2008](https://www.ruby-forum.com/t/bratwurst-on-rails-2008/141738)

<div class="topic-metadata">

**Author:** [@kuzb](https://www.ruby-forum.com/u/kuzb)\
**Replies:** 5\
**Last updated:** [July 12, 2008, 9:40pm UTC](https://www.ruby-forum.com/t/bratwurst-on-rails-2008/141738 "2008-07-12T21:40:54Z")

</div>

Hallo, Wie im letzten Jahr wird es auch diesmal einen Tag vor der RailsConf in Berlin eine kleine Party fuer alle Teilnehmer der Konferenz geben. Der Eintritt und die Bratwuerste sind frei, Getraenke werden zu fairen …

---

## ["check topology failed"](https://www.ruby-forum.com/t/check-topology-failed/128649)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [February 10, 2008, 11:17pm UTC](https://www.ruby-forum.com/t/check-topology-failed/128649 "2008-02-10T23:17:17Z")

</div>

Can anyone please tell me that why I am getting the following message when running tx\_voice.py: gr\_fir\_fff: using SSE Warning: failed to enable realtime scheduling audio\_alsa\_source\[hw:0,0\]: set\_channels failed: I…

---

## [Short words not indexed?](https://www.ruby-forum.com/t/short-words-not-indexed/51275)

<div class="topic-metadata">

**Author:** [@jennyw](https://www.ruby-forum.com/u/jennyw)\
**Replies:** 5\
**Last updated:** [August 25, 2006, 4:43pm UTC](https://www.ruby-forum.com/t/short-words-not-indexed/51275 "2006-08-25T16:43:08Z")

</div>

I noticed that if I have a field that contains something like “Institute for medicine”, that if I search using nay of these queries: for for for~ Nothing shows up. If I search for either of the other two words, thou…

---

## [Realaciones: has\_many :through del mismo modelo](https://www.ruby-forum.com/t/realaciones-has-many-through-del-mismo-modelo/158455)

<div class="topic-metadata">

**Author:** [@acruz](https://www.ruby-forum.com/u/acruz)\
**Replies:** 6\
**Last updated:** [January 26, 2009, 11:13am UTC](https://www.ruby-forum.com/t/realaciones-has-many-through-del-mismo-modelo/158455 "2009-01-26T11:13:41Z")

</div>

Hola a todos, Llevo unos dias peleandome con unas relaciones un tanto atipicas y no doy con la soluciÃ³n. Necesito representar una especie de arbol donde un nodo puede tener varios hijos y varios padres, por lo que a…

---

## [Auto T/R Switching with Inband code](https://www.ruby-forum.com/t/auto-t-r-switching-with-inband-code/143382)

<div class="topic-metadata">

**Author:** [@ketancmaheshwari](https://www.ruby-forum.com/u/ketancmaheshwari)\
**Replies:** 6\
**Last updated:** [July 17, 2008, 10:45pm UTC](https://www.ruby-forum.com/t/auto-t-r-switching-with-inband-code/143382 "2008-07-17T22:45:05Z")

</div>

Hi, Is there any way to do automatic transmit/receive switching with the inband code? I understand how the auto t/r switching in the legacy code worked (i.e. transmit mode was enabled whenever there was data in the t…

---

## [Progressbar color?](https://www.ruby-forum.com/t/progressbar-color/138121)

<div class="topic-metadata">

**Author:** [@blitzer](https://www.ruby-forum.com/u/blitzer)\
**Replies:** 6\
**Last updated:** [May 27, 2008, 12:27am UTC](https://www.ruby-forum.com/t/progressbar-color/138121 "2008-05-27T00:27:57Z")

</div>

hi, this is a basic problem I think but I try to do this for long time. after I declare progress = ProgressBar.new I use progress.modify\_fg(STATE\_NORMAL,Gdk::Color.new(240255,208255,215\*255)) but it’s nothing happen …

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

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