# Top

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

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

---

## [Gem install thrift fails on windows](https://www.ruby-forum.com/t/gem-install-thrift-fails-on-windows/204857)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 24, 2011, 1:53pm UTC](https://www.ruby-forum.com/t/gem-install-thrift-fails-on-windows/204857 "2011-03-24T13:53:42Z")

</div>

Hi Folks, I’m trying to install thrift gem in my local windows machine. It throws the following error. I’m using ruby 1.8.7 version. Can any one help me? gem install thrift Building native extensions. This could ta…

---

## [Question about Nokogiri xpath](https://www.ruby-forum.com/t/question-about-nokogiri-xpath/174462)

<div class="topic-metadata">

**Author:** [@spinhoo](https://www.ruby-forum.com/u/spinhoo)\
**Replies:** 2\
**Last updated:** [August 27, 2009, 1:00am UTC](https://www.ruby-forum.com/t/question-about-nokogiri-xpath/174462 "2009-08-27T01:00:53Z")

</div>

I am trying to parse an xml file using nokogiri. If any body has experience with nokogiri. I request you to help. Sample xml file. It can be seen that Column element has two chil…

---

## [Integration testing edit actions (PUT method)](https://www.ruby-forum.com/t/integration-testing-edit-actions-put-method/167816)

<div class="topic-metadata">

**Author:** [@jarl](https://www.ruby-forum.com/u/jarl)\
**Replies:** 2\
**Last updated:** [May 13, 2009, 9:27am UTC](https://www.ruby-forum.com/t/integration-testing-edit-actions-put-method/167816 "2009-05-13T09:27:00Z")

</div>

Hi. I am (integration) testing a standard edit action. I realise that the http request is not actually a PUT request, but rather a POST request with a hidden field in the form named “\_method”, which has the value “pu…

---

## [Unresponsive Mongrel Windows 2003 Timeout Shutdown](https://www.ruby-forum.com/t/unresponsive-mongrel-windows-2003-timeout-shutdown/145791)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 2\
**Last updated:** [August 15, 2008, 4:19pm UTC](https://www.ruby-forum.com/t/unresponsive-mongrel-windows-2003-timeout-shutdown/145791 "2008-08-15T16:19:52Z")

</div>

I have a very strange issue going on that just started happening last week. I am running an apache/mongrel stack on a windows 2003 box connecting to a sql server 2005. Apache 2.2.3 Mongrel 1.1.5 Since last Thursday…

---

## [Options\_for\_select order](https://www.ruby-forum.com/t/options-for-select-order/54758)

<div class="topic-metadata">

**Author:** [@dmarkow](https://www.ruby-forum.com/u/dmarkow)\
**Replies:** 2\
**Last updated:** [December 30, 2005, 12:05am UTC](https://www.ruby-forum.com/t/options-for-select-order/54758 "2005-12-30T00:05:02Z")

</div>

Rails mailing list removed\_email\_address@domain.invalid http://lists.rubyonrails.org/mailman/listinfo/rails

---

## [Setting up JNDI with activerecord-jdbc-adapter](https://www.ruby-forum.com/t/setting-up-jndi-with-activerecord-jdbc-adapter/176387)

<div class="topic-metadata">

**Author:** [@jimgroom](https://www.ruby-forum.com/u/jimgroom)\
**Replies:** 4\
**Last updated:** [September 30, 2009, 9:53pm UTC](https://www.ruby-forum.com/t/setting-up-jndi-with-activerecord-jdbc-adapter/176387 "2009-09-30T21:53:37Z")

</div>

I’m not sure if there is an active activerecord-jdbc mailing list, let me know if there is and I’ll kill the noise here. I’m working on deploying with OAS and trying to setup a JNDI connection. I’ve setup and tested m…

---

## [Variables with a name ending in question mark](https://www.ruby-forum.com/t/variables-with-a-name-ending-in-question-mark/116027)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 4\
**Last updated:** [October 1, 2007, 7:56pm UTC](https://www.ruby-forum.com/t/variables-with-a-name-ending-in-question-mark/116027 "2007-10-01T19:56:11Z")

</div>

question? is that a valid ruby variable name? if not: would that be a useful feature for ruby to introduce? if so: should I RCR it? Thanks! -Roger

---

## [RFID receiver](https://www.ruby-forum.com/t/rfid-receiver/69206)

<div class="topic-metadata">

**Author:** [@Erlend\_Barstad\_Stra](https://www.ruby-forum.com/u/Erlend_Barstad_Stra)\
**Replies:** 4\
**Last updated:** [October 24, 2006, 11:41am UTC](https://www.ruby-forum.com/t/rfid-receiver/69206 "2006-10-24T11:41:59Z")

</div>

Hello As a pre-project to my master-project I am considering making a RFID receiver with gnuradio, atleast attempt to. However I recently noticed that an RFID detector/receiver is mentioned as a project under investi…

---

## [Fhss](https://www.ruby-forum.com/t/fhss/242087)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [May 26, 2015, 9:44am UTC](https://www.ruby-forum.com/t/fhss/242087 "2015-05-26T09:44:04Z")

</div>

Hello everyone, I have got a serious problem while implementing frequency hopping spread spectrum using USRP B210.I tried to generate a python file using a GRC file containing a signal source followed by a sink.Then …

---

## [Net::HTTP Cookies / Headers (almost there...)](https://www.ruby-forum.com/t/net-http-cookies-headers-almost-there/106179)

<div class="topic-metadata">

**Author:** [@yeago](https://www.ruby-forum.com/u/yeago)\
**Replies:** 1\
**Last updated:** [June 7, 2007, 6:46am UTC](https://www.ruby-forum.com/t/net-http-cookies-headers-almost-there/106179 "2007-06-07T06:46:15Z")

</div>

I’m attempting to login and follow redirects, however, the below script doesn’t seem to do it. I arrive back at the main login page. Am I doing something obviously wrong? Am I passing bad headers or wrong cookies? See…

---

## [Dynamically adding methods to a class](https://www.ruby-forum.com/t/dynamically-adding-methods-to-a-class/188757)

<div class="topic-metadata">

**Author:** [@finality](https://www.ruby-forum.com/u/finality)\
**Replies:** 8\
**Last updated:** [May 18, 2010, 6:24pm UTC](https://www.ruby-forum.com/t/dynamically-adding-methods-to-a-class/188757 "2010-05-18T18:24:03Z")

</div>

Hi! I’m trying to add a method dynamically to a class by opening an existing class, and it actually works. What I don’t understand is why it doesn’t show up when I use the “methods” method on it afterwards. What I do…

---

## [Select con priority](https://www.ruby-forum.com/t/select-con-priority/145346)

<div class="topic-metadata">

**Author:** [@masoto](https://www.ruby-forum.com/u/masoto)\
**Replies:** 8\
**Last updated:** [August 11, 2008, 12:09am UTC](https://www.ruby-forum.com/t/select-con-priority/145346 "2008-08-11T00:09:07Z")

</div>

Hola a todos, no se si esto puede ser una chorrada, pero no lo he encontrado en la documentaciÃ³n. Resulta que tengo un select con 5 campos y quiero de uno de esos campos sea el prioritario, igual a lo que se hace con…

---

## [Can radiant tags replace simple XSLT?](https://www.ruby-forum.com/t/can-radiant-tags-replace-simple-xslt/108659)

<div class="topic-metadata">

**Author:** [@dave4c03](https://www.ruby-forum.com/u/dave4c03)\
**Replies:** 8\
**Last updated:** [July 5, 2007, 10:53pm UTC](https://www.ruby-forum.com/t/can-radiant-tags-replace-simple-xslt/108659 "2007-07-05T22:53:25Z")

</div>

Can radiant tags replace simple XSLT? For example, how would I create a tag that wrapped n tags?

---

## [Issue related to class initialization and irb](https://www.ruby-forum.com/t/issue-related-to-class-initialization-and-irb/108174)

<div class="topic-metadata">

**Author:** [@darren\_kirby](https://www.ruby-forum.com/u/darren_kirby)\
**Replies:** 8\
**Last updated:** [June 29, 2007, 11:21pm UTC](https://www.ruby-forum.com/t/issue-related-to-class-initialization-and-irb/108174 "2007-06-29T23:21:27Z")

</div>

Hello all, My class is a library that allows users to read information/tags etc from Flac files. When the class is initialized in irb the content of every single instance variable is dumped to the console. This lib…

---

## [Nil? with block](https://www.ruby-forum.com/t/nil-with-block/89595)

<div class="topic-metadata">

**Author:** [@mdemare](https://www.ruby-forum.com/u/mdemare)\
**Replies:** 8\
**Last updated:** [March 21, 2007, 4:49pm UTC](https://www.ruby-forum.com/t/nil-with-block/89595 "2007-03-21T16:49:48Z")

</div>

If you have a long chain of method calls, but want to check some temporary values for nils, for instance to raise an exception, currently the easiest way is with local variables: e.g.: def zipcode\_for\_user(user) add…

---

## [Mass emails](https://www.ruby-forum.com/t/mass-emails/100438)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 8\
**Last updated:** [August 3, 2006, 2:23pm UTC](https://www.ruby-forum.com/t/mass-emails/100438 "2006-08-03T14:23:17Z")

</div>

Say we have 20k-50k users signed up for an email newsletter. Does anyone have any data on how well ActionMailer does with mass emails? How long would that take to send? Anything I should watch out for? Thanks, Joe

---

## [Subversion and tmp directory in Rails 1.1 project](https://www.ruby-forum.com/t/subversion-and-tmp-directory-in-rails-1-1-project/59518)

<div class="topic-metadata">

**Author:** [@leopardus](https://www.ruby-forum.com/u/leopardus)\
**Replies:** 8\
**Last updated:** [May 4, 2006, 5:12pm UTC](https://www.ruby-forum.com/t/subversion-and-tmp-directory-in-rails-1-1-project/59518 "2006-05-04T17:12:34Z")

</div>

Hello everyone! I’m thinking of the right way to store tmp/ directory of Rails 1.1 project in Subversion. It has cache, session and sockets subdirectories. To me, it looks good to have svn delete tmp/\* svn propset s…

---

## [Rails Troubles](https://www.ruby-forum.com/t/rails-troubles/94506)

<div class="topic-metadata">

**Author:** [@JD\_Smith](https://www.ruby-forum.com/u/JD_Smith)\
**Replies:** 8\
**Last updated:** [January 6, 2006, 5:45pm UTC](https://www.ruby-forum.com/t/rails-troubles/94506 "2006-01-06T17:45:25Z")

</div>

Greetings: I have been attempting to get rails + mysql working for me literally all day. I am on a Windows XP SP2 machine using the latest one-click installer for ruby and gem for rails. What am I missing here? The…

---

## [Help With has\_many and belongs\_to :through assocaitions](https://www.ruby-forum.com/t/help-with-has-many-and-belongs-to-through-assocaitions/73337)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [October 24, 2006, 1:35am UTC](https://www.ruby-forum.com/t/help-with-has-many-and-belongs-to-through-assocaitions/73337 "2006-10-24T01:35:40Z")

</div>

Hi all, I am having problems with some reasonably complex assocaitions involving has\_many and belongs\_to with the :through option. I have three models: class Site \< ActiveRecord::Base has\_many :site\_page\_relationship…

---

## [Questions regarding spdy module, browser behaviour and "access forbidden by rule"](https://www.ruby-forum.com/t/questions-regarding-spdy-module-browser-behaviour-and-access-forbidden-by-rule/231877)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [September 4, 2014, 12:39am UTC](https://www.ruby-forum.com/t/questions-regarding-spdy-module-browser-behaviour-and-access-forbidden-by-rule/231877 "2014-09-04T00:39:55Z")

</div>

\[Not sure if this is the right list, because I’m uncertain if the following is intended behaviour or a problem in nginx or the involved browsers. So would be happy if you guys could me give some advice and a pointer i…

---

## [How to deploy rails 2.3.8?](https://www.ruby-forum.com/t/how-to-deploy-rails-2-3-8/230267)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 6\
**Last updated:** [June 9, 2014, 10:53am UTC](https://www.ruby-forum.com/t/how-to-deploy-rails-2-3-8/230267 "2014-06-09T10:53:57Z")

</div>

Hi everyone, I am new to ruby on rails, I have developed rails application in rails-2.3.8,ruby-1.9.2,mysql, wamp server with windowsxp platform,can anyone help me how to deploy it and also tell me how to host it after …

---

## [Render :file ... y el filename?](https://www.ruby-forum.com/t/render-file-y-el-filename/163442)

<div class="topic-metadata">

**Author:** [@fearx](https://www.ruby-forum.com/u/fearx)\
**Replies:** 6\
**Last updated:** [March 20, 2009, 1:24pm UTC](https://www.ruby-forum.com/t/render-file-y-el-filename/163442 "2009-03-20T13:24:39Z")

</div>

Hola gente. Estoy intentando hacer un reder :file para enviar un fichero al navegador pero el nombre de fichero que el navegador reconoce es el de la acción del controlador y no el nombre original del fichero. Es dec…

---

## [OpenSSL/SOAP - keystore/truststore](https://www.ruby-forum.com/t/openssl-soap-keystore-truststore/131092)

<div class="topic-metadata">

**Author:** [@rubyrubyruby\_onrail](https://www.ruby-forum.com/u/rubyrubyruby_onrail)\
**Replies:** 6\
**Last updated:** [March 7, 2008, 12:20am UTC](https://www.ruby-forum.com/t/openssl-soap-keystore-truststore/131092 "2008-03-07T00:20:42Z")

</div>

I am attempting to connect to a secure SOAP web service and have been provided a password protected keystore, truststore and also a self signed \*.cer file. The server component is implemented in java and the documenta…

---

## [ANN: faster fixtures (or how to spend less time loading fixt](https://www.ruby-forum.com/t/ann-faster-fixtures-or-how-to-spend-less-time-loading-fixt/114959)

<div class="topic-metadata">

**Author:** [@fcheung](https://www.ruby-forum.com/u/fcheung)\
**Replies:** 6\
**Last updated:** [September 24, 2007, 6:01am UTC](https://www.ruby-forum.com/t/ann-faster-fixtures-or-how-to-spend-less-time-loading-fixt/114959 "2007-09-24T06:01:41Z")

</div>

Short version: Before: Finished in 192.609637 seconds. 183 tests, 5100 assertions, 0 failures, 0 errors After: Finished in 104.491294 seconds. 183 tests, 5100 assertions, 0 failures, 0 errors Ok, so this app does …

---

## [Un insieme casuale la cui somma faccia uno?](https://www.ruby-forum.com/t/un-insieme-casuale-la-cui-somma-faccia-uno/86900)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 6\
**Last updated:** [February 26, 2007, 9:15pm UTC](https://www.ruby-forum.com/t/un-insieme-casuale-la-cui-somma-faccia-uno/86900 "2007-02-26T21:15:56Z")

</div>

Problemino per voi: prendi un numero (float) in input: total prendi un numero (int) in input: nr\_days crea un array con un numero di elementi pari a nr\_days: days distribuisci total tra gli elementi di days in in manie…

---

## [Passing hash from controller to view and pluralization?](https://www.ruby-forum.com/t/passing-hash-from-controller-to-view-and-pluralization/102085)

<div class="topic-metadata">

**Author:** [@baker1](https://www.ruby-forum.com/u/baker1)\
**Replies:** 6\
**Last updated:** [August 11, 2006, 12:13am UTC](https://www.ruby-forum.com/t/passing-hash-from-controller-to-view-and-pluralization/102085 "2006-08-11T00:13:09Z")

</div>

hi, i have 2 tables (counties and towns). counties has\_many towns and towns belong\_to counties. now my question: i thought i would need to do is say @counties = Counties.find(:all). should that not return to me all …

---

## [Rake freeze\_gems errors](https://www.ruby-forum.com/t/rake-freeze-gems-errors/93626)

<div class="topic-metadata">

**Author:** [@feldpost](https://www.ruby-forum.com/u/feldpost)\
**Replies:** 6\
**Last updated:** [April 6, 2006, 3:06am UTC](https://www.ruby-forum.com/t/rake-freeze-gems-errors/93626 "2006-04-06T03:06:26Z")

</div>

I’m having problems trying to freeze local rails gem to my app with: rake freeze\_gems On OSX 10.4.6 i get the following error: Illformed requirement \[=#\<Gem::Specification name=rails version=1.1.0\>\] This is the full …

---

## [System() with .msi files on WinXP](https://www.ruby-forum.com/t/system-with-msi-files-on-winxp/93590)

<div class="topic-metadata">

**Author:** [@brad7a0](https://www.ruby-forum.com/u/brad7a0)\
**Replies:** 6\
**Last updated:** [April 5, 2006, 2:30am UTC](https://www.ruby-forum.com/t/system-with-msi-files-on-winxp/93590 "2006-04-05T02:30:00Z")

</div>

I have a ruby script that installs several windows applications like this: programs.each { |p| system§ } This works great with .exe installers, but if the program is a .msi installer, nothing happens and ruby exits w…

---

## [Should counter\_cache fields be saved in the database?](https://www.ruby-forum.com/t/should-counter-cache-fields-be-saved-in-the-database/55855)

<div class="topic-metadata">

**Author:** [@ryana](https://www.ruby-forum.com/u/ryana)\
**Replies:** 6\
**Last updated:** [April 4, 2006, 12:54am UTC](https://www.ruby-forum.com/t/should-counter-cache-fields-be-saved-in-the-database/55855 "2006-04-04T00:54:09Z")

</div>

As far as I can tell, the counter\_cache option on a belongs\_to model doesn’t actually save anything in the database. For example, I have the following models: class Parent \< ActiveRecord::Base has\_many :children, :c…

---

## [N210 & WBX for sale](https://www.ruby-forum.com/t/n210-wbx-for-sale/243322)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [December 15, 2015, 2:37pm UTC](https://www.ruby-forum.com/t/n210-wbx-for-sale/243322 "2015-12-15T14:37:09Z")

</div>

Hi, I’m not using my N210 neither my WBX any longer and i wonder if someone might be interested in buying them. They have been used very little. If someone is interested, please send me a private message. Regards, J…

---

## [How to run wordpress on nginx in windows 8?](https://www.ruby-forum.com/t/how-to-run-wordpress-on-nginx-in-windows-8/231619)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 19, 2014, 2:46pm UTC](https://www.ruby-forum.com/t/how-to-run-wordpress-on-nginx-in-windows-8/231619 "2014-08-19T14:46:46Z")

</div>

Hi I install nginx to try it on windows 8 now it run on localhost:8080 installed mysql and php on it paste wordpress folder on c:\\nginx\\html and browse : localhost:8080/nginx/html/wordpress but it can’t find and in…

---

## [Curses](https://www.ruby-forum.com/t/curses/245981)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [August 14, 2013, 10:05am UTC](https://www.ruby-forum.com/t/curses/245981 "2013-08-14T10:05:19Z")

</div>

All - I’m using curses in a Ruby app to display a periodically updating full screen text mode interface on an app running on servers without a graphical environment. Curses is included in the standard distribution o…

---

## [Problem with rendering JSON](https://www.ruby-forum.com/t/problem-with-rendering-json/203067)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [February 13, 2011, 12:58pm UTC](https://www.ruby-forum.com/t/problem-with-rendering-json/203067 "2011-02-13T12:58:15Z")

</div>

You are my last resort for solving this issue as I have tried and tried to solve it myself but can’t. I’m not even sure if it’s an RSpec issue but the thing is, if I run the request from the browser, it works. Sadly,…

---

## [Net::HTTP header issue](https://www.ruby-forum.com/t/net-http-header-issue/120279)

<div class="topic-metadata">

**Author:** [@el2king](https://www.ruby-forum.com/u/el2king)\
**Replies:** 3\
**Last updated:** [November 16, 2007, 4:45am UTC](https://www.ruby-forum.com/t/net-http-header-issue/120279 "2007-11-16T04:45:44Z")

</div>

I am trying to use custom headers, and I am having an issue with how Net::HTTP handles this. Let’s say I want to add the header “a-header” to the HTTP message I am sending to a server. When I turn on a TCP monitor t…

---

## [Repopulating form after validation error](https://www.ruby-forum.com/t/repopulating-form-after-validation-error/110322)

<div class="topic-metadata">

**Author:** [@tomzoo](https://www.ruby-forum.com/u/tomzoo)\
**Replies:** 3\
**Last updated:** [July 26, 2007, 1:34pm UTC](https://www.ruby-forum.com/t/repopulating-form-after-validation-error/110322 "2007-07-26T13:34:14Z")

</div>

Hi, I have a contact form, if a user enters an invalid email I redirect them back to the form to correct it. I didn’t want users to have to re-enter all the data so I want to repopulate the valid fields for them. Th…

---

## [Ruby WARC Parser](https://www.ruby-forum.com/t/ruby-warc-parser/191293)

<div class="topic-metadata">

**Author:** [@tomx](https://www.ruby-forum.com/u/tomx)\
**Replies:** 1\
**Last updated:** [October 24, 2013, 6:28pm UTC](https://www.ruby-forum.com/t/ruby-warc-parser/191293 "2013-10-24T18:28:51Z")

</div>

Is anybody out there working on a Ruby-based parser for the WARC (Web ARChive) file format that (relatively) recently replaced the ARC format? Or perhaps Ruby wrappers around WARC-parsing utilities?

---

## [How to insert a null value into DB using a radio\_button with form\_for](https://www.ruby-forum.com/t/how-to-insert-a-null-value-into-db-using-a-radio-button-with-form-for/214140)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [November 23, 2011, 8:56am UTC](https://www.ruby-forum.com/t/how-to-insert-a-null-value-into-db-using-a-radio-button-with-form-for/214140 "2011-11-23T08:56:43Z")

</div>

Hi, I’m trying to add a third option for a filter using a radio button. It’s the old null-value-for-a-boolean story. Basically i’d like to add another radio button labelled “No Filter” which would insert a null value…

---

## [Building JRuby 1.5.0 fails](https://www.ruby-forum.com/t/building-jruby-1-5-0-fails/189299)

<div class="topic-metadata">

**Author:** [@Erno\_M](https://www.ruby-forum.com/u/Erno_M)\
**Replies:** 7\
**Last updated:** [June 4, 2010, 7:55pm UTC](https://www.ruby-forum.com/t/building-jruby-1-5-0-fails/189299 "2010-06-04T19:55:35Z")

</div>

Hi folks, As you may know we build JRuby from sources as part of the NetBeans build process. After upgrading to JRuby 1.5 building JRuby fails on Gentoo, which prevents providing an NB ebuild for Gentoo. Below is the …

---

## [Definiendo una acciÃ³n PUT](https://www.ruby-forum.com/t/definiendo-una-accia-n-put/166605)

<div class="topic-metadata">

**Author:** [@carlos\_blazquez](https://www.ruby-forum.com/u/carlos_blazquez)\
**Replies:** 7\
**Last updated:** [April 28, 2009, 5:12pm UTC](https://www.ruby-forum.com/t/definiendo-una-accia-n-put/166605 "2009-04-28T17:12:19Z")

</div>

Estoy modificando mi fichero de rutas para mi aplicaciÃ³n, hay una acciÃ³n que hace lo siguiente: def replace begin @player1 = Player.find(params\[:replacement\]\[:player1\]) @player2 = Player.find(params\[:replacement\]\[…

---

## [Set a default value to a "text/blob" field at creation?](https://www.ruby-forum.com/t/set-a-default-value-to-a-text-blob-field-at-creation/133763)

<div class="topic-metadata">

**Author:** [@kaizerkaizer](https://www.ruby-forum.com/u/kaizerkaizer)\
**Replies:** 7\
**Last updated:** [April 4, 2008, 1:19pm UTC](https://www.ruby-forum.com/t/set-a-default-value-to-a-text-blob-field-at-creation/133763 "2008-04-04T13:19:28Z")

</div>

Is it possible somehow to incorporate “this is a text” into a “blob/text”-value in the database when the row is created? It’s not possible to do with a default value hence it’s a “blob/text”-value. At the moment I cr…

---

## [What these lines of code do?](https://www.ruby-forum.com/t/what-these-lines-of-code-do/126928)

<div class="topic-metadata">

**Author:** [@MohsinHijazee](https://www.ruby-forum.com/u/MohsinHijazee)\
**Replies:** 7\
**Last updated:** [January 24, 2008, 3:41pm UTC](https://www.ruby-forum.com/t/what-these-lines-of-code-do/126928 "2008-01-24T15:41:00Z")

</div>

What this is doing? I mean Digest.new(‘sha1’) returns what? digest = OpenSSL::Digest::Digest.new(‘sha1’) Is it so that we say HMAC.digest to use the SHA1 algorithm? hmac = OpenSSL::HMAC.digest(digest, SECRET\_KEY, uri) W…

---

## [Unsafe readline(), anything better?](https://www.ruby-forum.com/t/unsafe-readline-anything-better/80578)

<div class="topic-metadata">

**Author:** [@coldtone](https://www.ruby-forum.com/u/coldtone)\
**Replies:** 7\
**Last updated:** [December 30, 2006, 2:44am UTC](https://www.ruby-forum.com/t/unsafe-readline-anything-better/80578 "2006-12-30T02:44:46Z")

</div>

Looking for a combination of readpartial() and readline() in order to safely read a line of maxlen. IO.readline() appears to suffer from lacking this maximum allowing DOS against servers reading HTTP headers, for exa…

---

## [Form di ricerca per simple\_form](https://www.ruby-forum.com/t/form-di-ricerca-per-simple-form/222121)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [August 31, 2012, 12:49pm UTC](https://www.ruby-forum.com/t/form-di-ricerca-per-simple-form/222121 "2012-08-31T12:49:21Z")

</div>

Ciao, Uso simple\_form in un progetto e per il CRUD va bene ma come fate per i form di ricerca? Visto che uso Twitter bootstrap e l’integrazione con simple\_form, simple\_form genera un HTML perfetto per bootstrap anche …

---

## [Depending on a gem in a portable app?](https://www.ruby-forum.com/t/depending-on-a-gem-in-a-portable-app/221575)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [July 20, 2012, 5:12am UTC](https://www.ruby-forum.com/t/depending-on-a-gem-in-a-portable-app/221575 "2012-07-20T05:12:06Z")

</div>

For context, I have a Java class which uses a ScriptingContainer to run some JRuby code. That JRuby code depends on the openssl gem, so my goal is to figure out how I can depend on that openssl gem in a portable way. …

---

## [Freeze method doesn't work](https://www.ruby-forum.com/t/freeze-method-doesnt-work/197452)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [October 14, 2010, 5:24pm UTC](https://www.ruby-forum.com/t/freeze-method-doesnt-work/197452 "2010-10-14T17:24:12Z")

</div>

Freeze should prevent further modifications to ‘var’… mac-undrgrnd:~ yspro$ irb ruby-1.9.2-p0 \> var = 4 =\> 4 ruby-1.9.2-p0 \> var.frozen? =\> false ruby-1.9.2-p0 \> var.freeze =\> 4 ruby-1.9.2-p0 \> var.frozen? =\> tr…

---

## [Latest Windows setup](https://www.ruby-forum.com/t/latest-windows-setup/191973)

<div class="topic-metadata">

**Author:** [@jamal86](https://www.ruby-forum.com/u/jamal86)\
**Replies:** 4\
**Last updated:** [July 24, 2010, 1:13am UTC](https://www.ruby-forum.com/t/latest-windows-setup/191973 "2010-07-24T01:13:30Z")

</div>

I’m trying to use the latest Ruby for Windows but get the following error when I require wx. ruby.exe - Unable To Locate Component This application has failed to start because msvcrt-ruby18.dll was not found. Re-inst…

---

## [IronRuby usage of ConditionalWeakTable](https://www.ruby-forum.com/t/ironruby-usage-of-conditionalweaktable/188162)

<div class="topic-metadata">

**Author:** [@Rodrigo\_Kumpera](https://www.ruby-forum.com/u/Rodrigo_Kumpera)\
**Replies:** 4\
**Last updated:** [May 6, 2010, 10:48pm UTC](https://www.ruby-forum.com/t/ironruby-usage-of-conditionalweaktable/188162 "2010-05-06T22:48:29Z")

</div>

Hey folks, I downloaded DLR from dlr.codeplex.com a few days ago and IR was not properly using CWT to store properties on CLR objects. Has this been fixed?

---

## [Rjs-code wird nicht ausgefÃ¼hrt](https://www.ruby-forum.com/t/rjs-code-wird-nicht-ausgefa-hrt/139566)

<div class="topic-metadata">

**Author:** [@rbjl](https://www.ruby-forum.com/u/rbjl)\
**Replies:** 4\
**Last updated:** [September 29, 2008, 4:55pm UTC](https://www.ruby-forum.com/t/rjs-code-wird-nicht-ausgefa-hrt/139566 "2008-09-29T16:55:13Z")

</div>

Hallo, leider stehe ich direkt vor meinem nächsten Problem: das remote\_form\_for erhält als Antwort ein rjs-Template. Dies wird auch korrekt gerendert. Das rjs.template sieht so aus: page.alert(“Geht los!”) Laut Fir…

---

## [How to upcase/downcase utf-8 chars?](https://www.ruby-forum.com/t/how-to-upcase-downcase-utf-8-chars/147658)

<div class="topic-metadata">

**Author:** [@es\_S](https://www.ruby-forum.com/u/es_S)\
**Replies:** 4\
**Last updated:** [September 5, 2008, 3:08pm UTC](https://www.ruby-forum.com/t/how-to-upcase-downcase-utf-8-chars/147658 "2008-09-05T15:08:39Z")

</div>

Hi, I want to upcase/downcase utf-8 characters. How to do it with ruby? I googled the web with no satisfying results. I also installed character-encodings (0.4.1) but have no idea how to use it (the documentation is …

---

## [Streaming flv video to JW FLV media player 4.0](https://www.ruby-forum.com/t/streaming-flv-video-to-jw-flv-media-player-4-0/142157)

<div class="topic-metadata">

**Author:** [@thomas](https://www.ruby-forum.com/u/thomas)\
**Replies:** 4\
**Last updated:** [July 5, 2008, 1:20am UTC](https://www.ruby-forum.com/t/streaming-flv-video-to-jw-flv-media-player-4-0/142157 "2008-07-05T01:20:15Z")

</div>

Hi, Using this flash player in version 4.0: I have a problem when scrubbing. I think it is because, JW has updated his code to send the following request: myvideo.flv?start=2659763&width=280&client=FLASH%20MAC%209,0…

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

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