# Top

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

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

---

## [Mental Tags - FormTagHelper?](https://www.ruby-forum.com/t/mental-tags-formtaghelper/91639)

<div class="topic-metadata">

**Author:** [@rpheath](https://www.ruby-forum.com/u/rpheath)\
**Replies:** 1\
**Last updated:** [April 12, 2007, 12:12am UTC](https://www.ruby-forum.com/t/mental-tags-formtaghelper/91639 "2007-04-12T00:12:54Z")

</div>

Is it possible to use FormTagHelper from within Radius tags? I’m trying to do something like this: module CommentTags include Radiant::Taggable include ActionView::Helpers::FormTagHelper tag “comment:text\_field” do …

---

## [Ruby -w and '(...) interpreted as grouped expression'](https://www.ruby-forum.com/t/ruby-w-and-interpreted-as-grouped-expression/79825)

<div class="topic-metadata">

**Author:** [@pool007](https://www.ruby-forum.com/u/pool007)\
**Replies:** 1\
**Last updated:** [March 11, 2006, 9:25am UTC](https://www.ruby-forum.com/t/ruby-w-and-interpreted-as-grouped-expression/79825 "2006-03-11T09:25:49Z")

</div>

Hi all. I’ve encountered enigmatic error message while learning rdoc. This is the simple program which tests RDoc: #!/usr/local/bin/ruby -w == Synopsis Test synopsis require “optparse” require “rdoc/usage” opts = O…

---

## [Excel](https://www.ruby-forum.com/t/excel/101688)

<div class="topic-metadata">

**Author:** [@ribit](https://www.ruby-forum.com/u/ribit)\
**Replies:** 5\
**Last updated:** [July 17, 2015, 3:44am UTC](https://www.ruby-forum.com/t/excel/101688 "2015-07-17T03:44:52Z")

</div>

Can anyone help me ??? I want to export some data into MS excel and create a pie or line chart. How can I export the data? Does it gives any tutorial websites ? thanks for your help!

---

## [Dynamic parameter modification in a custom block](https://www.ruby-forum.com/t/dynamic-parameter-modification-in-a-custom-block/220251)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [June 5, 2012, 3:03am UTC](https://www.ruby-forum.com/t/dynamic-parameter-modification-in-a-custom-block/220251 "2012-06-05T03:03:38Z")

</div>

Hello all, I am dealing with the problem of finding a way to dynamically give values to a parameter of a custom block that I 've made in gnuradio by the output of another custom block. The solution of function probe…

---

## [OFDM benchmark transmit signal bandwidth](https://www.ruby-forum.com/t/ofdm-benchmark-transmit-signal-bandwidth/211613)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [September 10, 2011, 12:50am UTC](https://www.ruby-forum.com/t/ofdm-benchmark-transmit-signal-bandwidth/211613 "2011-09-10T00:50:40Z")

</div>

Hi all I am currently using OFDM benchmark to generate OFDM signal under the setting of FFT len, CP length, occupied-tones and something. But I can not find out what is the real bandwidth of signal it generated. Bec…

---

## [Rails gem not installing when running 'bundle install'](https://www.ruby-forum.com/t/rails-gem-not-installing-when-running-bundle-install/202882)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [March 8, 2011, 4:11pm UTC](https://www.ruby-forum.com/t/rails-gem-not-installing-when-running-bundle-install/202882 "2011-03-08T16:11:03Z")

</div>

I’m sure this is a really easy question to answer but it’s confounding me. Running on Windows, in my Gemfile I have gem ‘rails’, ‘3.0.3’ So when I sync my source out to my production environment, I’d expect to be ab…

---

## [Question About Cleaning Up Specs?](https://www.ruby-forum.com/t/question-about-cleaning-up-specs/183682)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [February 20, 2010, 2:29am UTC](https://www.ruby-forum.com/t/question-about-cleaning-up-specs/183682 "2010-02-20T02:29:05Z")

</div>

I know we are suppose to keep specs obvious and readable, but is it normal (or there any opposition) to stubbing every method call that you needed in a before block and simply over-riding the same method with a should…

---

## [Anonymous object's ancestors doesn't list java interfaces?](https://www.ruby-forum.com/t/anonymous-objects-ancestors-doesnt-list-java-interfaces/180624)

<div class="topic-metadata">

**Author:** [@thebugslayer](https://www.ruby-forum.com/u/thebugslayer)\
**Replies:** 5\
**Last updated:** [January 3, 2010, 8:17pm UTC](https://www.ruby-forum.com/t/anonymous-objects-ancestors-doesnt-list-java-interfaces/180624 "2010-01-03T20:17:41Z")

</div>

Hi there, When I run the following: module Ex7 class Task include java.lang.Runnable def run puts "A Java interface method" end end def self.test puts Task.ancestors.join(", ") task2 = …

---

## [Enable Pipelining in 0.6.35](https://www.ruby-forum.com/t/enable-pipelining-in-0-6-35/159918)

<div class="topic-metadata">

**Author:** [@ilovenginx](https://www.ruby-forum.com/u/ilovenginx)\
**Replies:** 5\
**Last updated:** [February 11, 2009, 1:05am UTC](https://www.ruby-forum.com/t/enable-pipelining-in-0-6-35/159918 "2009-02-11T01:05:05Z")

</div>

Hi I did a few searches couldn’t find how to enable it in the stable version. Thanks…

---

## [802.11a source codes? or any OFDM implementation on GNU Radio](https://www.ruby-forum.com/t/802-11a-source-codes-or-any-ofdm-implementation-on-gnu-radio/196804)

<div class="topic-metadata">

**Author:** [@mohsenb](https://www.ruby-forum.com/u/mohsenb)\
**Replies:** 5\
**Last updated:** [September 11, 2008, 8:27pm UTC](https://www.ruby-forum.com/t/802-11a-source-codes-or-any-ofdm-implementation-on-gnu-radio/196804 "2008-09-11T20:27:31Z")

</div>

Hi everyone, Does anyone know if there is any source code available for OFDM type standards like 802.11a/g/n? I’d appreciate it if anybody knows. Thanks a lot, Mohsen

---

## [Utilizar bash shell para capistrano](https://www.ruby-forum.com/t/utilizar-bash-shell-para-capistrano/134216)

<div class="topic-metadata">

**Author:** [@Luis\_felipe\_H](https://www.ruby-forum.com/u/Luis_felipe_H)\
**Replies:** 5\
**Last updated:** [April 9, 2008, 4:23pm UTC](https://www.ruby-forum.com/t/utilizar-bash-shell-para-capistrano/134216 "2008-04-09T16:23:01Z")

</div>

Saludos a la lista. Estoy haciendo deploy de una aplicaciÃ³n con capistrano y tengo un problema. Resulta que al momento de hacer deploy quiero parar el servidor ferret y luego volverlo a reiniciar. De manera que por…

---

## [Stubbing objects in Radiant](https://www.ruby-forum.com/t/stubbing-objects-in-radiant/109744)

<div class="topic-metadata">

**Author:** [@Barry\_Hess](https://www.ruby-forum.com/u/Barry_Hess)\
**Replies:** 5\
**Last updated:** [July 18, 2007, 9:37pm UTC](https://www.ruby-forum.com/t/stubbing-objects-in-radiant/109744 "2007-07-18T21:37:43Z")

</div>

Hi, Currently I’m writing some tests for a front end shopping cart extension I wrote for a client. Of course, for the functional testing I’d like to stub out some models to verify proper methods are being called by…

---

## [MySQL gem problem on OS X](https://www.ruby-forum.com/t/mysql-gem-problem-on-os-x/103171)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 5\
**Last updated:** [May 2, 2007, 9:45pm UTC](https://www.ruby-forum.com/t/mysql-gem-problem-on-os-x/103171 "2007-05-02T21:45:11Z")

</div>

Help. On OS X 10.4.9 When trying to run a simple file starting with: require ‘rubygems’ require ‘mysql’ … I get this: /usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in gem\_original\_require': no s…

---

## [Php's chunk\_split alternative in ruby](https://www.ruby-forum.com/t/phps-chunk-split-alternative-in-ruby/93090)

<div class="topic-metadata">

**Author:** [@webdevotion](https://www.ruby-forum.com/u/webdevotion)\
**Replies:** 5\
**Last updated:** [April 27, 2007, 1:07pm UTC](https://www.ruby-forum.com/t/phps-chunk-split-alternative-in-ruby/93090 "2007-04-27T13:07:06Z")

</div>

hello, how could I chunk\_split string mylongstring = “some long long long string” into smaller strings of length 3. In PHP it is chunk\_split(mylongstring,3); What is it in ruby? Thank you in advance!

---

## [NEWS is added](https://www.ruby-forum.com/t/news-is-added/87121)

<div class="topic-metadata">

**Author:** [@Akinori\_MUSHA](https://www.ruby-forum.com/u/Akinori_MUSHA)\
**Replies:** 5\
**Last updated:** [March 5, 2007, 3:26pm UTC](https://www.ruby-forum.com/t/news-is-added/87121 "2007-03-05T15:26:43Z")

</div>

ã€€ruby\_1\_8 ãƒ–ãƒ©ãƒ³ãƒã« NEWS ã¨ã„ã†ãƒ•ã‚¡ã‚¤ãƒ«ã‚’ç½®ãã¾ã—ãŸã€‚ ã€€ã“ã‚Œã¯ã€ãƒ¦ãƒ¼ã‚¶å‘ã‘ã®æƒ…å ±ã¨ã—ã¦å„ãƒªãƒªãƒ¼ã‚¹é–“ã®æ©Ÿèƒ½çš„ãªå¤‰æ›´ç‚¹ã‚’ è¨˜è¿°ã—ãŸã‚‚ã®ã§ã€æ—©ã„è©±ãŒãƒªãƒªãƒ¼ã‚¹…

---

## [Displaying HTML with OLE](https://www.ruby-forum.com/t/displaying-html-with-ole/83158)

<div class="topic-metadata">

**Author:** [@richard](https://www.ruby-forum.com/u/richard)\
**Replies:** 5\
**Last updated:** [January 25, 2007, 2:45am UTC](https://www.ruby-forum.com/t/displaying-html-with-ole/83158 "2007-01-25T02:45:22Z")

</div>

Hi, I’m running WinXP/SP2 and Ruby 1.8.2. I tried the sample below from The Ruby Way,2nd ed., with modified HTML (which I tested independently). When I run it in a Command Window, I get: K:\_Projects\\Ruby\_Ruby\_Techniq…

---

## [Newbie: Reflection question(?)](https://www.ruby-forum.com/t/newbie-reflection-question/55129)

<div class="topic-metadata">

**Author:** [@gaudimila](https://www.ruby-forum.com/u/gaudimila)\
**Replies:** 5\
**Last updated:** [March 18, 2006, 1:47am UTC](https://www.ruby-forum.com/t/newbie-reflection-question/55129 "2006-03-18T01:47:18Z")

</div>

At runtime I have the name of a class in a string, and I want to call a method on the class having that name. How do I do that? E.g., let’s say that we have several classes that all have a method called address(). At…

---

## [De-normalized table associations](https://www.ruby-forum.com/t/de-normalized-table-associations/184010)

<div class="topic-metadata">

**Author:** [@pepe](https://www.ruby-forum.com/u/pepe)\
**Replies:** 8\
**Last updated:** [February 23, 2010, 9:40pm UTC](https://www.ruby-forum.com/t/de-normalized-table-associations/184010 "2010-02-23T21:40:35Z")

</div>

Hi, Working with legacy DB here… 2 tables: Projects Workers A worker record has many fields in it to hold project codes as in: project1, project2, project3, … project30 (great, isn’t it?..) Normalizing the DB is o…

---

## [File not uploading properly](https://www.ruby-forum.com/t/file-not-uploading-properly/178292)

<div class="topic-metadata">

**Author:** [@raju\_k](https://www.ruby-forum.com/u/raju_k)\
**Replies:** 8\
**Last updated:** [November 3, 2009, 10:58am UTC](https://www.ruby-forum.com/t/file-not-uploading-properly/178292 "2009-11-03T10:58:23Z")

</div>

Hi all, I am using the following code to upload a file. views: \<%= file\_field “upload”, ‘file’ ,:size=\> ‘30’ %\> controller: file\_path= “#{RAILS\_ROOT}/public/email\_attachments/#{params\[:upload\]\[:file\].original\_filen…

---

## [Submit\_to\_remote with image](https://www.ruby-forum.com/t/submit-to-remote-with-image/171817)

<div class="topic-metadata">

**Author:** [@mistressjanna](https://www.ruby-forum.com/u/mistressjanna)\
**Replies:** 8\
**Last updated:** [July 11, 2009, 10:10am UTC](https://www.ruby-forum.com/t/submit-to-remote-with-image/171817 "2009-07-11T10:10:40Z")

</div>

Anyone have an idea how I can shoehorn (or workaround) a submit\_to\_remote to accept html options so that I might put an image to it?

---

## [Map.with\_options](https://www.ruby-forum.com/t/map-with-options/149050)

<div class="topic-metadata">

**Author:** [@aprendiz\_basico](https://www.ruby-forum.com/u/aprendiz_basico)\
**Replies:** 8\
**Last updated:** [September 20, 2008, 1:50am UTC](https://www.ruby-forum.com/t/map-with-options/149050 "2008-09-20T01:50:20Z")

</div>

Hola gente, En algunas circunstancias las URIs no siguen un patrÃ³n standard, en mi caso algunas veces necesito ejecutar la acciÃ³n new del recurso post sin el user\_id y algunas veces pasando cÃ³mo parametro user\_id,…

---

## [Mux settings](https://www.ruby-forum.com/t/mux-settings/117980)

<div class="topic-metadata">

**Author:** [@jaredjackson](https://www.ruby-forum.com/u/jaredjackson)\
**Replies:** 8\
**Last updated:** [October 23, 2007, 6:32pm UTC](https://www.ruby-forum.com/t/mux-settings/117980 "2007-10-23T18:32:17Z")

</div>

What are the proper mux settings for one DBSRX in RXA and one DBSRX in RXB? When I used a single DBSRX in RXA 0x00000010 worked well. But now I want Channel 0 to be RXA, and Channel 1 to be RXB both of which are I a…

---

## [Domanda un pÃ² particolare su RoR](https://www.ruby-forum.com/t/domanda-un-pa-particolare-su-ror/104419)

<div class="topic-metadata">

**Author:** [@soroe](https://www.ruby-forum.com/u/soroe)\
**Replies:** 8\
**Last updated:** [May 17, 2007, 11:50pm UTC](https://www.ruby-forum.com/t/domanda-un-pa-particolare-su-ror/104419 "2007-05-17T23:50:39Z")

</div>

Salve a tutti, sto cominciando da poco (dopo un periodo di Tomcat/JSP) ad avvicinarmi a Ruby on Rails, trovandolo (almeno finora) eccezionale. Avrei una domanda da porvi sperando di riuscire a spiegare il mio problema…

---

## [External to internal conversion](https://www.ruby-forum.com/t/external-to-internal-conversion/81963)

<div class="topic-metadata">

**Author:** [@wpvanpaassen](https://www.ruby-forum.com/u/wpvanpaassen)\
**Replies:** 8\
**Last updated:** [January 17, 2007, 6:16am UTC](https://www.ruby-forum.com/t/external-to-internal-conversion/81963 "2007-01-17T06:16:02Z")

</div>

Hi, I have been following this list off and on but have not found the solution to my problem. I want to convert data supplied by a file into their corresponding internal values. I have an external file with data that…

---

## [Delayed quote expansion](https://www.ruby-forum.com/t/delayed-quote-expansion/52708)

<div class="topic-metadata">

**Author:** [@olbrich](https://www.ruby-forum.com/u/olbrich)\
**Replies:** 8\
**Last updated:** [January 18, 2006, 3:44pm UTC](https://www.ruby-forum.com/t/delayed-quote-expansion/52708 "2006-01-18T15:44:08Z")

</div>

I’m sure the answer to this will seem simple once I see it. Right now it eludes me. How can one have a string object like this… a = ‘#{some\_value}’ and have it get evaluated as a double quoted string (with the value…

---

## [Passing a hash of args](https://www.ruby-forum.com/t/passing-a-hash-of-args/51896)

<div class="topic-metadata">

**Author:** [@johanatan](https://www.ruby-forum.com/u/johanatan)\
**Replies:** 8\
**Last updated:** [January 9, 2006, 2:28am UTC](https://www.ruby-forum.com/t/passing-a-hash-of-args/51896 "2006-01-09T02:28:25Z")

</div>

Is there a way to pass each item is a hash as a successive argument to a function? ie: time = { :year =\> 2003 :month =\> 03 :day =\> 24 } Time.local(time) (that wouldn’t work but you get the idea) Cheers

---

## [Ruby Time differs from Java's time (Date)](https://www.ruby-forum.com/t/ruby-time-differs-from-javas-time-date/238002)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [December 11, 2013, 9:44am UTC](https://www.ruby-forum.com/t/ruby-time-differs-from-javas-time-date/238002 "2013-12-11T09:44:30Z")

</div>

Hey! There was a bug with Time around BC in JRuby 1.7.x that has been fixed in a recent release - but I still can not get AR-JDBC compatibility around this (with prepared-statements) due different time interpretatio…

---

## [Syntaxe ruby](https://www.ruby-forum.com/t/syntaxe-ruby/237674)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [November 23, 2013, 4:25pm UTC](https://www.ruby-forum.com/t/syntaxe-ruby/237674 "2013-11-23T16:25:31Z")

</div>

Bonjour, je commence en ruby et et Ror, j’essaye de comprende la syntaxe du code pour savoir coder correctement. J’ai troué plusieurs tuto qui expliquent assez bien mais je ne trouve pas d’explications sur ce qui sui…

---

## [Config.cache\_classes true or false in test environment?](https://www.ruby-forum.com/t/config-cache-classes-true-or-false-in-test-environment/221003)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [June 27, 2012, 3:14pm UTC](https://www.ruby-forum.com/t/config-cache-classes-true-or-false-in-test-environment/221003 "2012-06-27T15:14:30Z")

</div>

Hello, since two days I have problem with a scenario that started to fails with the error that there is a missing link. I narrowed the problem to config/environments/test.rb and config.cache\_classes and I change the …

---

## [DRb server does not accept remote access](https://www.ruby-forum.com/t/drb-server-does-not-accept-remote-access/177145)

<div class="topic-metadata">

**Author:** [@buntekuh](https://www.ruby-forum.com/u/buntekuh)\
**Replies:** 0\
**Last updated:** [October 12, 2009, 1:10pm UTC](https://www.ruby-forum.com/t/drb-server-does-not-accept-remote-access/177145 "2009-10-12T13:10:36Z")

</div>

We want to use rails in a load balanced environment - i.e. the same application is load balanced on 2 different servers. The Aaf DRb Server should only run on one of the machines but serve both. I thought, that would …

---

## [Name based virtual hosts not working](https://www.ruby-forum.com/t/name-based-virtual-hosts-not-working/244261)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [March 12, 2016, 6:00pm UTC](https://www.ruby-forum.com/t/name-based-virtual-hosts-not-working/244261 "2016-03-12T18:00:11Z")

</div>

Hi! I just did a lemp setup but I can’t get my virtual hosts to work properly. I´m totally lost and out of ideas. Two domains and one starting on e is always responding showing its root and the other starting on s …

---

## [How to disable the browser back button in javascript](https://www.ruby-forum.com/t/how-to-disable-the-browser-back-button-in-javascript/241684)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [April 23, 2015, 4:56pm UTC](https://www.ruby-forum.com/t/how-to-disable-the-browser-back-button-in-javascript/241684 "2015-04-23T16:56:29Z")

</div>

how to disable the browser back button in javascript.

---

## [Problem building uhd + gnuradio 3.5.3](https://www.ruby-forum.com/t/problem-building-uhd-gnuradio-3-5-3/219472)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 2\
**Last updated:** [May 12, 2013, 5:37pm UTC](https://www.ruby-forum.com/t/problem-building-uhd-gnuradio-3-5-3/219472 "2013-05-12T17:37:20Z")

</div>

Hey , I am trying to install gnuradio version 3.5.3 with uhd for digital image processing purposes . System Specs : —\> Ubuntu 10.10 Maverick - 64 bit machine. Hence i do the following. Step 1) I build and install u…

---

## [Problem with the mechanize gem](https://www.ruby-forum.com/t/problem-with-the-mechanize-gem/224425)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [November 11, 2012, 6:39pm UTC](https://www.ruby-forum.com/t/problem-with-the-mechanize-gem/224425 "2012-11-11T18:39:13Z")

</div>

Hi. Im new to ruby but think I have grasped the basics. Right now Im trying to do some screen scraping using the Mechanize gem. My problem is that my development environment (JetBrains RubyMine 4.5.4/Ruby 1.9.4/Mechan…

---

## [PPM Signal Generation](https://www.ruby-forum.com/t/ppm-signal-generation/214703)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [December 14, 2011, 12:59pm UTC](https://www.ruby-forum.com/t/ppm-signal-generation/214703 "2011-12-14T12:59:07Z")

</div>

Hi, is it possible to generate a PPM signal with GNU Radio + USRP2 with a bit rate of 1MBit/s? In particular, I want to transmit Mode-S replies which are modulated using PPM on 1090Mhz. In order to do so, I have to s…

---

## [Documentation morass](https://www.ruby-forum.com/t/documentation-morass/207360)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 25, 2011, 9:19pm UTC](https://www.ruby-forum.com/t/documentation-morass/207360 "2011-05-25T21:19:45Z")

</div>

I am having a horrible time finding data that I need to learn ruby and wxruby. I even downloaded the source in order to try to use the Windows Search tools on it. For Instance, the printing.rb sample starts with W…

---

## [1.6.0RC1 bson is not picking up the jruby version](https://www.ruby-forum.com/t/1-6-0rc1-bson-is-not-picking-up-the-jruby-version/202488)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 2, 2011, 5:13pm UTC](https://www.ruby-forum.com/t/1-6-0rc1-bson-is-not-picking-up-the-jruby-version/202488 "2011-02-02T17:13:07Z")

</div>

I have a rails 3 application that uses mongodb via mongoid. In 1.5.6, bundle install correctly picks up the jruby version of bson. In 1.6.RC1, it is trying to build bson\_ext. Using bson (1.2.0) Installing bson\_ext …

---

## [Mechanize login problem](https://www.ruby-forum.com/t/mechanize-login-problem/190433)

<div class="topic-metadata">

**Author:** [@luofeiyu](https://www.ruby-forum.com/u/luofeiyu)\
**Replies:** 2\
**Last updated:** [June 23, 2010, 5:18am UTC](https://www.ruby-forum.com/t/mechanize-login-problem/190433 "2010-06-23T05:18:27Z")

</div>

require ‘rubygems’ require ‘mechanize’ agent = WWW::Mechanize.new agent.user\_agent\_alias = ‘Windows IE 7’ page = agent.post(“http://sso.chinaunix.net/Login?”) form = page.forms\[0\] form\[‘login\_name’\] = ‘luofeiyu’ f…

---

## [Exception notification plugin doesn't like Rails Engines?](https://www.ruby-forum.com/t/exception-notification-plugin-doesnt-like-rails-engines/111100)

<div class="topic-metadata">

**Author:** [@Ron\_Evans](https://www.ruby-forum.com/u/Ron_Evans)\
**Replies:** 2\
**Last updated:** [August 29, 2007, 5:04pm UTC](https://www.ruby-forum.com/t/exception-notification-plugin-doesnt-like-rails-engines/111100 "2007-08-29T17:04:59Z")

</div>

After I installed the Engines plugin, I see that the exception\_notification plugin now seems to be unhappy. Specifically, when I start my Rails app it can no longer find ‘exception\_notifier\_helper’. This line is par…

---

## [Simple dropdown menu](https://www.ruby-forum.com/t/simple-dropdown-menu/98229)

<div class="topic-metadata">

**Author:** [@bex3000](https://www.ruby-forum.com/u/bex3000)\
**Replies:** 2\
**Last updated:** [March 9, 2007, 9:41am UTC](https://www.ruby-forum.com/t/simple-dropdown-menu/98229 "2007-03-09T09:41:11Z")

</div>

Hi, I’m quite new to this language and I’m having trouble finding out simple things like a dropdown menu in rhtml. I know I have to use \<% select\_tag %\> but I’ve read lots of different ways to put in the options so I’…

---

## [With\_options Confusion](https://www.ruby-forum.com/t/with-options-confusion/87432)

<div class="topic-metadata">

**Author:** [@nielsene](https://www.ruby-forum.com/u/nielsene)\
**Replies:** 2\
**Last updated:** [March 2, 2007, 5:43pm UTC](https://www.ruby-forum.com/t/with-options-confusion/87432 "2007-03-02T17:43:50Z")

</div>

I was looking through the code of attachment\_fu and came across the following block pulled from attachment\_fu:60 with\_options :foreign\_key =\> ‘parent\_id’ do |m| m.has\_many :thumbnails, :dependent =\> :destroy, :class…

---

## [Plataformas de pago on-line](https://www.ruby-forum.com/t/plataformas-de-pago-on-line/81366)

<div class="topic-metadata">

**Author:** [@Mauro\_PSSw3revolt](https://www.ruby-forum.com/u/Mauro_PSSw3revolt)\
**Replies:** 2\
**Last updated:** [January 8, 2007, 4:43pm UTC](https://www.ruby-forum.com/t/plataformas-de-pago-on-line/81366 "2007-01-08T16:43:05Z")

</div>

Hola! Les cuento, tengo que desarrollar una aplicación a medida para una tienda on-line de ropa de diseño. Hasta aquí todo perfecto, si no fuera porque uno de los requisitos que me piden es que se pueda hacer pago on…

---

## [Submit\_tag image?](https://www.ruby-forum.com/t/submit-tag-image/70366)

<div class="topic-metadata">

**Author:** [@vince](https://www.ruby-forum.com/u/vince)\
**Replies:** 2\
**Last updated:** [September 28, 2006, 7:15pm UTC](https://www.ruby-forum.com/t/submit-tag-image/70366 "2006-09-28T19:15:02Z")

</div>

How does one assign an image in place of a simple button in ruby/rails? For instance, my submit tag for searching looks like: \<%= form\_tag :action =\>‘search’, :controller =\> ‘search’ %\> \<%= text\_field\_with\_auto\_comple…

---

## [Updated\_at not today?](https://www.ruby-forum.com/t/updated-at-not-today/230678)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 7\
**Last updated:** [June 29, 2014, 3:33pm UTC](https://www.ruby-forum.com/t/updated-at-not-today/230678 "2014-06-29T15:33:21Z")

</div>

How can you verify that it has not been updated today? if @post.updated\_ad “is not today” @post.counter = @post.counter + 1 @post.save end

---

## [Script RC on Windows](https://www.ruby-forum.com/t/script-rc-on-windows/217375)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [February 29, 2012, 5:52am UTC](https://www.ruby-forum.com/t/script-rc-on-windows/217375 "2012-02-29T05:52:57Z")

</div>

I have another application that allows data to be passed through filters written in any normal language or scripting language. Included in its distribution are sample filters written in a variety of languages showing…

---

## [@current\_user in controller specs](https://www.ruby-forum.com/t/current-user-in-controller-specs/200432)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 14, 2010, 7:48pm UTC](https://www.ruby-forum.com/t/current-user-in-controller-specs/200432 "2010-12-14T19:48:39Z")

</div>

Hi, I’m an absolute beginner with RSpec, so I apologize if this question doesn’t make sense. I’m using RSpec 2, Rails 3. I have a @current\_user instance variable that I can access in my controller. I have a contr…

---

## [jQuery, RoR, validating fields against a database](https://www.ruby-forum.com/t/jquery-ror-validating-fields-against-a-database/182641)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 7\
**Last updated:** [January 31, 2010, 10:06pm UTC](https://www.ruby-forum.com/t/jquery-ror-validating-fields-against-a-database/182641 "2010-01-31T22:06:04Z")

</div>

I have a list of fields in a form that need to be validated against a database. I would prefer to have the validation occur every time the field loses focus (onblur event) rather than when the user does a submit. Doe…

---

## [Strange behavior with custom module and http proxy](https://www.ruby-forum.com/t/strange-behavior-with-custom-module-and-http-proxy/180551)

<div class="topic-metadata">

**Author:** [@brian](https://www.ruby-forum.com/u/brian)\
**Replies:** 7\
**Last updated:** [December 22, 2009, 5:58pm UTC](https://www.ruby-forum.com/t/strange-behavior-with-custom-module-and-http-proxy/180551 "2009-12-22T17:58:48Z")

</div>

Hi all, I have a module I’ve written which, as part of its processing fork/execs another process. The child process forks again and exits and the grandchild process is reparented to init and stays active for 60 seco…

---

## [Undefined Method error when creating method for collection of objects](https://www.ruby-forum.com/t/undefined-method-error-when-creating-method-for-collection-of-objects/164543)

<div class="topic-metadata">

**Author:** [@rick](https://www.ruby-forum.com/u/rick)\
**Replies:** 7\
**Last updated:** [April 3, 2009, 9:57am UTC](https://www.ruby-forum.com/t/undefined-method-error-when-creating-method-for-collection-of-objects/164543 "2009-04-03T09:57:43Z")

</div>

Hi I am learning rails and have hit a bit of a wall. I have created methods previousley that work fine on a single object. However in my latest project I am trying to calculate the total cost of a group of phonecalls …

---

## [Ruby e scrittura di file su filesystem](https://www.ruby-forum.com/t/ruby-e-scrittura-di-file-su-filesystem/144628)

<div class="topic-metadata">

**Author:** [@softwarewin](https://www.ruby-forum.com/u/softwarewin)\
**Replies:** 7\
**Last updated:** [August 6, 2008, 12:48pm UTC](https://www.ruby-forum.com/t/ruby-e-scrittura-di-file-su-filesystem/144628 "2008-08-06T12:48:22Z")

</div>

Ciao a tutti, attraverso uno script in ruby scrivo un file con alcune migliaia di righe su filesystem; siccome devo successivamente accedere questo file in lettura e vorrei farlo in modo automatico sempre tramite rub…

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

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