# Top

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

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

---

## [QT widget to adjust integer values on the fly](https://www.ruby-forum.com/t/qt-widget-to-adjust-integer-values-on-the-fly/234631)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [March 18, 2015, 5:19pm UTC](https://www.ruby-forum.com/t/qt-widget-to-adjust-integer-values-on-the-fly/234631 "2015-03-18T17:19:01Z")

</div>

I have a GRC flowgraph that includes a custom C++ block which dumps custom vectors out a port, so I use the QT GUI Vector Sink to display these. The block also requires integer params which I need to adjust while the…

---

## [Double Render Error](https://www.ruby-forum.com/t/double-render-error/211151)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 26, 2011, 11:54pm UTC](https://www.ruby-forum.com/t/double-render-error/211151 "2011-08-26T23:54:34Z")

</div>

Hi, I keep double render error after updating rails. Heres my code, any suggestions? def show if\_user\_formulated\_request\_properly do @input\_messages = InputMessage.search\_by(params\[:query\].strip) unless params\[:que…

---

## [Are square brackets not allowed in a URI?](https://www.ruby-forum.com/t/are-square-brackets-not-allowed-in-a-uri/145805)

<div class="topic-metadata">

**Author:** [@maz](https://www.ruby-forum.com/u/maz)\
**Replies:** 2\
**Last updated:** [August 14, 2008, 6:36am UTC](https://www.ruby-forum.com/t/are-square-brackets-not-allowed-in-a-uri/145805 "2008-08-14T06:36:56Z")

</div>

I could swear that this URL works: http://www.teamliquid.net/tlpd/players/189\_YellOw\[ArnC\] ...but parsing this with URI throws an exception claiming that this is invalid. I don’t know exactly what URI’s are but Mec…

---

## [Unique identifier on render :partial with collection](https://www.ruby-forum.com/t/unique-identifier-on-render-partial-with-collection/117327)

<div class="topic-metadata">

**Author:** [@pond](https://www.ruby-forum.com/u/pond)\
**Replies:** 2\
**Last updated:** [October 16, 2007, 12:34am UTC](https://www.ruby-forum.com/t/unique-identifier-on-render-partial-with-collection/117327 "2007-10-16T00:34:35Z")

</div>

Is there any way to pass a unique identifier to each iteration of a partial generated using the :collection option? I have a form that contains a variable number of text fields that collect data into an array that’s p…

---

## [File size of web-based flv. Reading some bytes from a web-based file](https://www.ruby-forum.com/t/file-size-of-web-based-flv-reading-some-bytes-from-a-web-based-file/215396)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [June 10, 2019, 12:16pm UTC](https://www.ruby-forum.com/t/file-size-of-web-based-flv-reading-some-bytes-from-a-web-based-file/215396 "2019-06-10T12:16:21Z")

</div>

This is such a noobie question. I have a file, http://www.ultradedup.com/videolib/One-minute-commercial-027.flv I want to do two simple things: I want to get the file size. I want to read a few hundred bytes fro…

---

## [Host\_with\_port in config/environment.rb](https://www.ruby-forum.com/t/host-with-port-in-config-environment-rb/178794)

<div class="topic-metadata">

**Author:** [@shark83](https://www.ruby-forum.com/u/shark83)\
**Replies:** 4\
**Last updated:** [November 11, 2009, 7:08pm UTC](https://www.ruby-forum.com/t/host-with-port-in-config-environment-rb/178794 "2009-11-11T19:08:47Z")

</div>

Hello everyone… i’m Italian, sorry for my poor English, but I find myself in difficulties with this method.I don’t need to redirect the logout of rubycas in a host other than localhost… when the decoy in “config/envir…

---

## [Typo on mongrel + apache + ubuntu](https://www.ruby-forum.com/t/typo-on-mongrel-apache-ubuntu/129317)

<div class="topic-metadata">

**Author:** [@Pat\_Ferrel](https://www.ruby-forum.com/u/Pat_Ferrel)\
**Replies:** 4\
**Last updated:** [March 4, 2008, 6:21am UTC](https://www.ruby-forum.com/t/typo-on-mongrel-apache-ubuntu/129317 "2008-03-04T06:21:47Z")

</div>

I have typo running on mongrel proxied thru apache2. But I have two problems: If a page request comes in while mongrel/typo is down I get an error but when typo comes back up I see it on the port mongrel uses but …

---

## [Ruby tk grid question](https://www.ruby-forum.com/t/ruby-tk-grid-question/61574)

<div class="topic-metadata">

**Author:** [@jdruse](https://www.ruby-forum.com/u/jdruse)\
**Replies:** 4\
**Last updated:** [May 25, 2006, 9:11pm UTC](https://www.ruby-forum.com/t/ruby-tk-grid-question/61574 "2006-05-25T21:11:22Z")

</div>

I have a frame defined within root and a TkLabel widget inside the frame. I used pack to set the location of the frame within root and am trying to use grid to set the location of the label in the frame. When I set …

---

## [NilClass improvement](https://www.ruby-forum.com/t/nilclass-improvement/243421)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 7\
**Last updated:** [November 17, 2015, 12:21pm UTC](https://www.ruby-forum.com/t/nilclass-improvement/243421 "2015-11-17T12:21:20Z")

</div>

I’m trying to get rid of error messages like this one: : undefined method \`\[\]’ for nil:NilClass (NoMethodError) when in a comparation where we are supposed to get some array/hash we don’t get any… so actually the comp…

---

## [JRuby 1.4.0 JDK/JRE requirement](https://www.ruby-forum.com/t/jruby-1-4-0-jdk-jre-requirement/181173)

<div class="topic-metadata">

**Author:** [@satynos](https://www.ruby-forum.com/u/satynos)\
**Replies:** 7\
**Last updated:** [January 6, 2010, 9:21pm UTC](https://www.ruby-forum.com/t/jruby-1-4-0-jdk-jre-requirement/181173 "2010-01-06T21:21:18Z")

</div>

I have developed a Rails application and deployed on Weblogic 10.3 with JDK/JRE 1.6.0\_13 with no problem. I am trying to deploy the same app on Weblogic 10.2 with JDK/JRE 1.5.0\_17 and the application is not even initi…

---

## [Rspec test cannot be passed when render partial in layout](https://www.ruby-forum.com/t/rspec-test-cannot-be-passed-when-render-partial-in-layout/160150)

<div class="topic-metadata">

**Author:** [@zerogy](https://www.ruby-forum.com/u/zerogy)\
**Replies:** 7\
**Last updated:** [February 12, 2009, 10:36am UTC](https://www.ruby-forum.com/t/rspec-test-cannot-be-passed-when-render-partial-in-layout/160150 "2009-02-12T10:36:09Z")

</div>

I have a problem stuck me couples of days, could anyone help me? Thanks very much. The problem is that rspec test cannot be passed when the layout contains :partial, once i removed the :partial, the rspec test passed…

---

## [How regenerate ri data?](https://www.ruby-forum.com/t/how-regenerate-ri-data/144476)

<div class="topic-metadata">

**Author:** [@matt\_neuburg](https://www.ruby-forum.com/u/matt_neuburg)\
**Replies:** 7\
**Last updated:** [July 30, 2008, 11:01pm UTC](https://www.ruby-forum.com/t/how-regenerate-ri-data/144476 "2008-07-30T23:01:01Z")

</div>

http://rubyforge.org/forum/forum.php?forum\_id=25981: ri now walks the ancestors of a class looking for a method e.g. ri File#read displays documentation for IO#read (may require regeneration of ri data) Sounds coo…

---

## [V.map(&:to\_s)](https://www.ruby-forum.com/t/v-map-to-s/138830)

<div class="topic-metadata">

**Author:** [@Eric\_Archangel](https://www.ruby-forum.com/u/Eric_Archangel)\
**Replies:** 1\
**Last updated:** [May 28, 2008, 5:27am UTC](https://www.ruby-forum.com/t/v-map-to-s/138830 "2008-05-28T05:27:44Z")

</div>

How &: works? if it is a method, and where is it defined? It is rails addition to ruby obviously. – Nibirutech CTO Eric.Archangel MSN: removed\_email\_address@domain.invalid QQ: 996252 GMAIL: removed\_email\_address@do…

---

## [Script/Runner and passing parameters](https://www.ruby-forum.com/t/script-runner-and-passing-parameters/119736)

<div class="topic-metadata">

**Author:** [@aantix](https://www.ruby-forum.com/u/aantix)\
**Replies:** 1\
**Last updated:** [November 9, 2007, 8:13pm UTC](https://www.ruby-forum.com/t/script-runner-and-passing-parameters/119736 "2007-11-09T20:13:55Z")

</div>

I am calling a model from cron using script/runner. My call looks like this : /usr/local/bin/ruby script/runner -e production “ProfileBox.updateProfileBoxes” I need to be able to pass parameters to this model. Som…

---

## [DRY en administraciÃ³n](https://www.ruby-forum.com/t/dry-en-administracia-n/76264)

<div class="topic-metadata">

**Author:** [@jaume](https://www.ruby-forum.com/u/jaume)\
**Replies:** 7\
**Last updated:** [November 20, 2006, 11:58pm UTC](https://www.ruby-forum.com/t/dry-en-administracia-n/76264 "2006-11-20T23:58:12Z")

</div>

Si en el controlador tengo una clase madre de la que heredan todas las clases que se ocupan de cada modelo, puedo compartir los metodos edit,show,create …? De tal forma que lo Ãºnico que me quedaria particular en cada…

---

## [How to specify a 3-way relation in Active Record?](https://www.ruby-forum.com/t/how-to-specify-a-3-way-relation-in-active-record/76021)

<div class="topic-metadata">

**Author:** [@Jatinder\_S](https://www.ruby-forum.com/u/Jatinder_S)\
**Replies:** 1\
**Last updated:** [November 15, 2006, 11:05am UTC](https://www.ruby-forum.com/t/how-to-specify-a-3-way-relation-in-active-record/76021 "2006-11-15T11:05:33Z")

</div>

I have 3 database tables, Users, Projects and Roles.There is a 3-way relation between them which indicates with what role a user is allocated to a specific project. I have a join table with 3 columns as the foreign k…

---

## [U's and L's when running GNU Radio](https://www.ruby-forum.com/t/us-and-ls-when-running-gnu-radio/233710)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [January 7, 2015, 3:24pm UTC](https://www.ruby-forum.com/t/us-and-ls-when-running-gnu-radio/233710 "2015-01-07T15:24:16Z")

</div>

Hi, In the terminal and while using a powerful PC (please see the attachment), I am occasionally getting capital U’s and L’s when running GNU Radio with one Tx and 4 Rx channels (Here is a sample of what I am gettin…

---

## [Getting Rates from FedEx Web Services](https://www.ruby-forum.com/t/getting-rates-from-fedex-web-services/168228)

<div class="topic-metadata">

**Author:** [@jason](https://www.ruby-forum.com/u/jason)\
**Replies:** 3\
**Last updated:** [May 19, 2009, 9:10am UTC](https://www.ruby-forum.com/t/getting-rates-from-fedex-web-services/168228 "2009-05-19T09:10:24Z")

</div>

I am looking to retrieve just rate information from FedEx Web Services API. I have the account information setup. After reviewing previous posts most people recommend the Shipping gem. However, I only need to get the …

---

## [Biggest number](https://www.ruby-forum.com/t/biggest-number/166451)

<div class="topic-metadata">

**Author:** [@jaesgar](https://www.ruby-forum.com/u/jaesgar)\
**Replies:** 3\
**Last updated:** [April 25, 2009, 8:21pm UTC](https://www.ruby-forum.com/t/biggest-number/166451 "2009-04-25T20:21:29Z")

</div>

I’m learning ruby, and I want to know if it is any way to know the biggest number to be represented with a specific type of number (Fixnum, Bignum, Float). Thank you.

---

## [Threads and synchronized access to an array](https://www.ruby-forum.com/t/threads-and-synchronized-access-to-an-array/140822)

<div class="topic-metadata">

**Author:** [@syg6](https://www.ruby-forum.com/u/syg6)\
**Replies:** 3\
**Last updated:** [June 19, 2008, 12:17am UTC](https://www.ruby-forum.com/t/threads-and-synchronized-access-to-an-array/140822 "2008-06-19T00:17:28Z")

</div>

Hi everyone! A n00b question - I have a following ruby code: @arr = \[ 1, 2, 3, 4, 5, 6, 7, 8 \] def iterate(thread\_number) @arr.each do |line| puts “#{line} - I am thread number #{thread\_number}” end end number\_of\_…

---

## [Routes?](https://www.ruby-forum.com/t/routes/115858)

<div class="topic-metadata">

**Author:** [@nshb](https://www.ruby-forum.com/u/nshb)\
**Replies:** 3\
**Last updated:** [September 29, 2007, 10:45pm UTC](https://www.ruby-forum.com/t/routes/115858 "2007-09-29T22:45:23Z")

</div>

Any tips on adding plugin specific routes? I’d like to add them directly in my plugin if possible.

---

## [Static and Dynamic Analysis](https://www.ruby-forum.com/t/static-and-dynamic-analysis/93378)

<div class="topic-metadata">

**Author:** [@Miles\_Monroe](https://www.ruby-forum.com/u/Miles_Monroe)\
**Replies:** 3\
**Last updated:** [April 1, 2006, 3:26pm UTC](https://www.ruby-forum.com/t/static-and-dynamic-analysis/93378 "2006-04-01T15:26:43Z")

</div>

Are there any static and/or dynamic analysis tools for Ruby? FxCop for Ruby? Thanks.

---

## [Tengine-1.2.2](https://www.ruby-forum.com/t/tengine-1-2-2/215677)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [January 24, 2012, 7:05pm UTC](https://www.ruby-forum.com/t/tengine-1-2-2/215677 "2012-01-24T19:05:59Z")

</div>

Hi, We are pleased to announce that Tengine-1.2.2 has been released. And you can download it here: http://tengine.taobao.org/download/tengine.tar.gz (For those who don’t know Tengine, it is a distribution of Nginx, i…

---

## [Partial GSUB match / replacement](https://www.ruby-forum.com/t/partial-gsub-match-replacement/199424)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 6\
**Last updated:** [November 21, 2010, 7:16pm UTC](https://www.ruby-forum.com/t/partial-gsub-match-replacement/199424 "2010-11-21T19:16:10Z")

</div>

I need to match a somewhat complicated match using gsub, then modify part of it, leaving the rest intact for example, replacing “url(http://www.google.com)” with “url(HTTP://WWW.GOOGLE.COM)” this is the closest ans…

---

## [Maddening error: "marshal data too short"](https://www.ruby-forum.com/t/maddening-error-marshal-data-too-short/173359)

<div class="topic-metadata">

**Author:** [@Kyle\_F](https://www.ruby-forum.com/u/Kyle_F)\
**Replies:** 6\
**Last updated:** [August 7, 2009, 5:48pm UTC](https://www.ruby-forum.com/t/maddening-error-marshal-data-too-short/173359 "2009-08-07T17:48:30Z")

</div>

I’m occasionally getting an odd Rails error that says “marshal data too short”. Our entire web app seems to be working fine – we can post forms, save models, redirect, login, etc, without any problems. Then out of n…

---

## [Using mongrel and want whole site ssl](https://www.ruby-forum.com/t/using-mongrel-and-want-whole-site-ssl/81731)

<div class="topic-metadata">

**Author:** [@yardboy](https://www.ruby-forum.com/u/yardboy)\
**Replies:** 6\
**Last updated:** [January 20, 2007, 1:29am UTC](https://www.ruby-forum.com/t/using-mongrel-and-want-whole-site-ssl/81731 "2007-01-20T01:29:22Z")

</div>

Hi: I don’t have access to change the apache configuration on my hosted server account (ie, install and use mod\_header to do this as documented elsewhere). My entire site needs to be under ssl, so I want anyone comin…

---

## [Does Rails need more useful URL helpers?](https://www.ruby-forum.com/t/does-rails-need-more-useful-url-helpers/58761)

<div class="topic-metadata">

**Author:** [@furrot](https://www.ruby-forum.com/u/furrot)\
**Replies:** 6\
**Last updated:** [May 1, 2006, 5:30pm UTC](https://www.ruby-forum.com/t/does-rails-need-more-useful-url-helpers/58761 "2006-05-01T17:30:42Z")

</div>

Similar topic to my last post, but a different brand of methods. In particular, the url\_for and link\_to methods have come to bother me at times. I will mention one instance in particular: I am designing a high-end adm…

---

## [Multiple ssl certificates within single server {} block](https://www.ruby-forum.com/t/multiple-ssl-certificates-within-single-server-block/237306)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [November 5, 2013, 5:59pm UTC](https://www.ruby-forum.com/t/multiple-ssl-certificates-within-single-server-block/237306 "2013-11-05T17:59:56Z")

</div>

Hi I was wondering if there’s any way to have a configuration like this? server { listen 80; listen 443 ssl; ssl\_certificate www.example.com.cer; ssl\_certificate\_key www.example.com.key; …

---

## [500 Error when using proxy\_cookie\_domain](https://www.ruby-forum.com/t/500-error-when-using-proxy-cookie-domain/219862)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 5\
**Last updated:** [May 18, 2012, 10:38pm UTC](https://www.ruby-forum.com/t/500-error-when-using-proxy-cookie-domain/219862 "2012-05-18T22:38:27Z")

</div>

Hello, I’m using Nginx as a reverse proxy and I’m seeing 500 errors anytime the proxy\_cookie\_domain option feature is used. I’m trying to change the domain in the “Set-Cookie” header. The response header shows the re…

---

## [Get return from oracle procedure](https://www.ruby-forum.com/t/get-return-from-oracle-procedure/177737)

<div class="topic-metadata">

**Author:** [@rafaelrosafu](https://www.ruby-forum.com/u/rafaelrosafu)\
**Replies:** 5\
**Last updated:** [October 22, 2009, 11:18pm UTC](https://www.ruby-forum.com/t/get-return-from-oracle-procedure/177737 "2009-10-22T23:18:35Z")

</div>

Hi all, I have a procedure in which I pass two integers and two dates and get two integer as the result.How could I read the response with ROR? HereÂ´s my code: ActiveRecord::Base.connection.execute(“DECLARE RESULTV…

---

## [How to scan the whole ISM band?](https://www.ruby-forum.com/t/how-to-scan-the-whole-ism-band/143077)

<div class="topic-metadata">

**Author:** [@Goodman\_Roy](https://www.ruby-forum.com/u/Goodman_Roy)\
**Replies:** 5\
**Last updated:** [July 15, 2008, 6:14pm UTC](https://www.ruby-forum.com/t/how-to-scan-the-whole-ism-band/143077 "2008-07-15T18:14:25Z")

</div>

Hi all, I would like to do the spectrum sensing for the whole 2.4G ISM band Â ( 2.4 -2.4835GHz ) to figure out where the spectrum holes are.Â IÂ would like to know if it is possible to sense the whole band,2.4-2.483…

---

## [Rails 2.0.2 MySQL 'year' datatype missing from ActiveRecord?](https://www.ruby-forum.com/t/rails-2-0-2-mysql-year-datatype-missing-from-activerecord/130240)

<div class="topic-metadata">

**Author:** [@tomx](https://www.ruby-forum.com/u/tomx)\
**Replies:** 5\
**Last updated:** [February 27, 2008, 12:57am UTC](https://www.ruby-forum.com/t/rails-2-0-2-mysql-year-datatype-missing-from-activerecord/130240 "2008-02-27T00:57:24Z")

</div>

Hi all, This is my first post to the forum, and I’ll point out right away that I’m a noob to everything, Ruby, Rails, MySQL, etc., so I expect that I’m wrong here, but is the ‘year’ datatype missing from ActiveRecord …

---

## [Sortable\_list added to by AJAX question](https://www.ruby-forum.com/t/sortable-list-added-to-by-ajax-question/72216)

<div class="topic-metadata">

**Author:** [@marcus](https://www.ruby-forum.com/u/marcus)\
**Replies:** 5\
**Last updated:** [April 5, 2006, 1:49pm UTC](https://www.ruby-forum.com/t/sortable-list-added-to-by-ajax-question/72216 "2006-04-05T13:49:53Z")

</div>

I have a working sortable\_list that is added to by AJAX. The problem is that when a new item is added, it’s not sortable. I found a post on scriptaculous using behaviour.js to refresh the DOM when an item is added, bu…

---

## [C/c++ enum equivalent?](https://www.ruby-forum.com/t/c-c-enum-equivalent/83238)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [March 20, 2006, 10:45pm UTC](https://www.ruby-forum.com/t/c-c-enum-equivalent/83238 "2006-03-20T22:45:51Z")

</div>

I’d like to fill a module with valueless constants (because I don’t care about the actual values, just that they are uneque, and named) - is that a good thing to do, and can I do that? :slight\_smile: I tried: module …

---

## [Magic comment encoding: utf-8](https://www.ruby-forum.com/t/magic-comment-encoding-utf-8/261608)

<div class="topic-metadata">

**Author:** [@G4143](https://www.ruby-forum.com/u/G4143)\
**Replies:** 1\
**Last updated:** [July 27, 2021, 3:22pm UTC](https://www.ruby-forum.com/t/magic-comment-encoding-utf-8/261608 "2021-07-27T15:22:07Z")

</div>

I’m running Ruby 2.7.3 and I’m wondering if the above magic comment ‘encoding: utf-8’ is needed because Rubocop insists that its unnecessary.

---

## [How to mix optional positional and named arguments?](https://www.ruby-forum.com/t/how-to-mix-optional-positional-and-named-arguments/242769)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [July 20, 2015, 5:54pm UTC](https://www.ruby-forum.com/t/how-to-mix-optional-positional-and-named-arguments/242769 "2015-07-20T17:54:16Z")

</div>

Inspired by a StackOverflow question curious how correctly use positional and named method/lambda/proc arguments. Assume following method with both positional and named arguments optional: def meth(arg = {foo: 1}, kw…

---

## [Funcube pro +](https://www.ruby-forum.com/t/funcube-pro/239108)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 8\
**Last updated:** [February 12, 2014, 4:25pm UTC](https://www.ruby-forum.com/t/funcube-pro/239108 "2014-02-12T16:25:04Z")

</div>

Hi all guys, I am about to buy funcube dongle pro +, and wanted to ask if somebody of u use it without any problems? Best,

---

## [Rubyday](https://www.ruby-forum.com/t/rubyday/219681)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 8\
**Last updated:** [May 14, 2012, 2:09pm UTC](https://www.ruby-forum.com/t/rubyday/219681 "2012-05-14T14:09:08Z")

</div>

C’ qualcuno che va al prossimo RubyDay a milano? Si pu pensare di organizzare una comitiva? – Riccardo L’esperienza quello che ottieni quando, non ottieni quello che desideri.

---

## [Linking a .swf file in a rails document](https://www.ruby-forum.com/t/linking-a-swf-file-in-a-rails-document/54171)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 8\
**Last updated:** [July 20, 2010, 9:09pm UTC](https://www.ruby-forum.com/t/linking-a-swf-file-in-a-rails-document/54171 "2010-07-20T21:09:59Z")

</div>

Hi, I have a little .swf movie I’d like to have in my page. Is there a rails way of linking it? Thanks, Peter

---

## [Direct embedding: calling java methods on object passed indirectly to ruby](https://www.ruby-forum.com/t/direct-embedding-calling-java-methods-on-object-passed-indirectly-to-ruby/186023)

<div class="topic-metadata">

**Author:** [@Gergely\_N](https://www.ruby-forum.com/u/Gergely_N)\
**Replies:** 8\
**Last updated:** [April 9, 2010, 11:39pm UTC](https://www.ruby-forum.com/t/direct-embedding-calling-java-methods-on-object-passed-indirectly-to-ruby/186023 "2010-04-09T23:39:21Z")

</div>

Dear Gurus, I have a little java-ruby integration issue that you might be able to answer straight away: am using the old direct embedding API (http://kenai.com/projects/jruby/pages/DirectJRubyEmbedding) with Jruby …

---

## [Add to migration not working (Rails 2.0.2)](https://www.ruby-forum.com/t/add-to-migration-not-working-rails-2-0-2/130498)

<div class="topic-metadata">

**Author:** [@daveamos](https://www.ruby-forum.com/u/daveamos)\
**Replies:** 8\
**Last updated:** [April 12, 2008, 4:42pm UTC](https://www.ruby-forum.com/t/add-to-migration-not-working-rails-2-0-2/130498 "2008-04-12T16:42:44Z")

</div>

Hi there, I just generated a migration to add a column to a table, and the change didn’t seem to take. I did: script/generate migration add\_starts\_at\_to\_gameweek starts\_at:datetime which generated the file, no proble…

---

## [Petit problÃ¨me en REST](https://www.ruby-forum.com/t/petit-probla-me-en-rest/123332)

<div class="topic-metadata">

**Author:** [@Antoine](https://www.ruby-forum.com/u/Antoine)\
**Replies:** 8\
**Last updated:** [December 23, 2007, 10:47am UTC](https://www.ruby-forum.com/t/petit-probla-me-en-rest/123332 "2007-12-23T10:47:36Z")

</div>

Bonjour Je m’intérese comme vous tous à REST. J’ai une question simple mais je n’ai pas trouvé de réponse … La plupart de mes actions dans mes controller charge généralement avant d’afficher la vue, plusieurs ressour…

---

## [Adding local variables via block](https://www.ruby-forum.com/t/adding-local-variables-via-block/86217)

<div class="topic-metadata">

**Author:** [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Replies:** 8\
**Last updated:** [February 20, 2007, 9:28pm UTC](https://www.ruby-forum.com/t/adding-local-variables-via-block/86217 "2007-02-20T21:28:00Z")

</div>

Hi, i’m a roob noob and I’m trying to grasp procs/blocks/etc. specifically, I’d like to pass a piece of code into a method. the piece of code will contain a variable name and an assignment e.g. #################### …

---

## [Deadline for RubyConf 2006 Presentation Proposals](https://www.ruby-forum.com/t/deadline-for-rubyconf-2006-presentation-proposals/95517)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 8\
**Last updated:** [June 19, 2006, 8:47am UTC](https://www.ruby-forum.com/t/deadline-for-rubyconf-2006-presentation-proposals/95517 "2006-06-19T08:47:05Z")

</div>

Hi – I realize I didn’t include a deadline in the last announcement. So here it is: June 30. (It was June 23, but since I forgot to include it in the announcement, I’m extending it by a week :slight\_smile: The site…

---

## [Finding CPU% of a linux task](https://www.ruby-forum.com/t/finding-cpu-of-a-linux-task/60829)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 8\
**Last updated:** [January 11, 2006, 12:32am UTC](https://www.ruby-forum.com/t/finding-cpu-of-a-linux-task/60829 "2006-01-11T00:32:31Z")

</div>

Hi, I’m writing a small Ruby module that can find how much cpu percentage a given task is using. I’m doing it by getting the process id of the task that I care about, going into proc, checking the stat file for the …

---

## [Gr-osmosdr compile problems](https://www.ruby-forum.com/t/gr-osmosdr-compile-problems/220232)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 4\
**Last updated:** [June 4, 2012, 8:09am UTC](https://www.ruby-forum.com/t/gr-osmosdr-compile-problems/220232 "2012-06-04T08:09:18Z")

</div>

Thank you for reading this. I’ve progressed a little since I last wrote and have received my ezcap USB dongle. Unfortunately, I’m still having problems. Cmake produces the following, which seems to indicate that all i…

---

## [Methods for things that can be accessed through properties](https://www.ruby-forum.com/t/methods-for-things-that-can-be-accessed-through-properties/198907)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [November 11, 2010, 2:19pm UTC](https://www.ruby-forum.com/t/methods-for-things-that-can-be-accessed-through-properties/198907 "2010-11-11T14:19:10Z")

</div>

Hi! What do we do with methods for things that can be accessed through properties? As an example, GMountOperation has g\_mount\_operation\_get\_anonymous. Should this be implemented as GLib::MountOperation#anonymous?, or…

---

## [ArgumentError: wrong number of arguments](https://www.ruby-forum.com/t/argumenterror-wrong-number-of-arguments/128589)

<div class="topic-metadata">

**Author:** [@patrickreilly](https://www.ruby-forum.com/u/patrickreilly)\
**Replies:** 4\
**Last updated:** [February 26, 2008, 9:39am UTC](https://www.ruby-forum.com/t/argumenterror-wrong-number-of-arguments/128589 "2008-02-26T09:39:24Z")

</div>

Dear all, I’m trying to build SimpleTicket - the latest build of which is available at simpleticket.net - This website is for sale! - simpleticket Resources and Information.. During the rake migrate, I encounter what…

---

## [Querying an unrelated table](https://www.ruby-forum.com/t/querying-an-unrelated-table/113436)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 4\
**Last updated:** [August 31, 2007, 4:34am UTC](https://www.ruby-forum.com/t/querying-an-unrelated-table/113436 "2007-08-31T04:34:22Z")

</div>

I have three tables: Case, Attorney and Firm. Case belongs to Attorney and Attorney Belongs to Firm. I don’t see how I can define that Case belongs to Firm through Attorney since Attorney is not a join table (does not…

---

## [FileUtils.touch not consistent with system('touch')](https://www.ruby-forum.com/t/fileutils-touch-not-consistent-with-system-touch/71757)

<div class="topic-metadata">

**Author:** [@hanholl](https://www.ruby-forum.com/u/hanholl)\
**Replies:** 4\
**Last updated:** [October 12, 2006, 7:38am UTC](https://www.ruby-forum.com/t/fileutils-touch-not-consistent-with-system-touch/71757 "2006-10-12T07:38:32Z")

</div>

Hi, I have a world-writable file, not owned by me, that I try to touch: -rwxrwxrwx 1 root root 0 Oct 11 10:29 /tmp/file ruby -rfileutils -e ‘FileUtils.touch("/tmp/file")’ /usr/lib/ruby/1.8/fileutils.rb:1014:in utime'…

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

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