# Top

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

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

---

## [Help me understand rest](https://www.ruby-forum.com/t/help-me-understand-rest/96755)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 3\
**Last updated:** [July 1, 2006, 9:45pm UTC](https://www.ruby-forum.com/t/help-me-understand-rest/96755 "2006-07-01T21:45:32Z")

</div>

I am having a heck of a time understanding the new rest craze in rails. what I think I understand so far: 1 rest is about the way we use http to access information on the internet. 2 http was created with nouns and v…

---

## [Parent Child form using Partials](https://www.ruby-forum.com/t/parent-child-form-using-partials/63859)

<div class="topic-metadata">

**Author:** [@qrc](https://www.ruby-forum.com/u/qrc)\
**Replies:** 3\
**Last updated:** [June 20, 2006, 7:32pm UTC](https://www.ruby-forum.com/t/parent-child-form-using-partials/63859 "2006-06-20T19:32:09Z")

</div>

I am trying to make a simple application which consists of contacts and their addresses. class Contact \< ActiveRecord::Base has\_many :addresses end class Address \< ActiveRecord::Base belongs\_to :contact end I wou…

---

## [Plz help ~\> new to file\_column](https://www.ruby-forum.com/t/plz-help-new-to-file-column/62004)

<div class="topic-metadata">

**Author:** [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Replies:** 3\
**Last updated:** [May 30, 2006, 11:33pm UTC](https://www.ruby-forum.com/t/plz-help-new-to-file-column/62004 "2006-05-30T23:33:53Z")

</div>

i am trying to figure out how file column works so i can play with it a little bit on my site. i have installed it as a plugin to my rails application, copied the snippets on both model and view but when i try to run …

---

## [Re: RUBY on 64-bit Windows PCs](https://www.ruby-forum.com/t/re-ruby-on-64-bit-windows-pcs/94636)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 3\
**Last updated:** [May 10, 2006, 2:11pm UTC](https://www.ruby-forum.com/t/re-ruby-on-64-bit-windows-pcs/94636 "2006-05-10T14:11:22Z")

</div>

got. It simply freezes up. Has anyone heard of such problems? I’m having to copy my files over to garden variety 32-bit boxes to get my ftp’ing done. Thanks, Peter There has been virtually no testing on 64 bit W…

---

## [How to create multiple selects with related content?](https://www.ruby-forum.com/t/how-to-create-multiple-selects-with-related-content/58931)

<div class="topic-metadata">

**Author:** [@charlie](https://www.ruby-forum.com/u/charlie)\
**Replies:** 3\
**Last updated:** [April 27, 2006, 10:15am UTC](https://www.ruby-forum.com/t/how-to-create-multiple-selects-with-related-content/58931 "2006-04-27T10:15:31Z")

</div>

How to create such a multiple select box: the first box lists the countries, the second lists the states related to the country in the first select automaticly the third lists the cities related to the state in the s…

---

## [Questions re Method#to\_proc](https://www.ruby-forum.com/t/questions-re-method-to-proc/94026)

<div class="topic-metadata">

**Author:** [@eliben](https://www.ruby-forum.com/u/eliben)\
**Replies:** 3\
**Last updated:** [April 20, 2006, 1:04am UTC](https://www.ruby-forum.com/t/questions-re-method-to-proc/94026 "2006-04-20T01:04:00Z")

</div>

Hello all, Some things are unclear to me about Method#to\_proc. I understand the following: plus = 12.method("+") p plus.call(13) # prints 25 newplus = plus.unbind.bind(20) p newplus.call(13) # prints 33 Although …

---

## [Beginner Question - ?/](https://www.ruby-forum.com/t/beginner-question/58063)

<div class="topic-metadata">

**Author:** [@Bihal](https://www.ruby-forum.com/u/Bihal)\
**Replies:** 3\
**Last updated:** [April 18, 2006, 6:02am UTC](https://www.ruby-forum.com/t/beginner-question/58063 "2006-04-18T06:02:20Z")

</div>

Hey guys Found a strange piece of code I haven’t run into before. def redirect\_to\_directory\_uri(req, res) if req.path\[-1\] != ?/ location = req.path + "/" if req.query\_string && req.query\_string.size \> …

---

## [Am I doing this right?](https://www.ruby-forum.com/t/am-i-doing-this-right/57845)

<div class="topic-metadata">

**Author:** [@rob](https://www.ruby-forum.com/u/rob)\
**Replies:** 3\
**Last updated:** [April 14, 2006, 11:31pm UTC](https://www.ruby-forum.com/t/am-i-doing-this-right/57845 "2006-04-14T23:31:54Z")

</div>

Hi everyone, I am following along with the book and branched out a bit to try some stuff on my own. I’ve been working on is a basic user management system create a user, log in, log out, update your account, that so…

---

## [Table belongs\_to either of two other tables?](https://www.ruby-forum.com/t/table-belongs-to-either-of-two-other-tables/55315)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 3\
**Last updated:** [March 20, 2006, 10:43am UTC](https://www.ruby-forum.com/t/table-belongs-to-either-of-two-other-tables/55315 "2006-03-20T10:43:42Z")

</div>

Suppose I have a site about books and authors, and users can leave comments on either a book or an author. I’d want to have a table called “comments”, which could belong to either an author OR a book. In my structure…

---

## [Finding out if a Mysql database contains a certain table](https://www.ruby-forum.com/t/finding-out-if-a-mysql-database-contains-a-certain-table/53991)

<div class="topic-metadata">

**Author:** [@ngw](https://www.ruby-forum.com/u/ngw)\
**Replies:** 3\
**Last updated:** [February 20, 2006, 2:01am UTC](https://www.ruby-forum.com/t/finding-out-if-a-mysql-database-contains-a-certain-table/53991 "2006-02-20T02:01:46Z")

</div>

Hi \*, I need to find out if a MySQL db contains a certain table, if not I have to create it. I’m using the SHOW TABLES instruction that returns a Mysql::Result object, but after that I’m stuck, I don’t know how to pr…

---

## [Post problem with select lists](https://www.ruby-forum.com/t/post-problem-with-select-lists/51305)

<div class="topic-metadata">

**Author:** [@Brutyn\_N](https://www.ruby-forum.com/u/Brutyn_N)\
**Replies:** 3\
**Last updated:** [December 29, 2005, 12:11pm UTC](https://www.ruby-forum.com/t/post-problem-with-select-lists/51305 "2005-12-29T12:11:11Z")

</div>

hey, i have this problem how come i always get -1 for the select list?? rhtml First, select a client. \<%= options\_for\_select(@client\_options, @client\_id.to\_i) %\> \<%= @client\_id %\> controller if @request.post? …

---

## [What books are coming out?](https://www.ruby-forum.com/t/what-books-are-coming-out/54198)

<div class="topic-metadata">

**Author:** [@John\_MccLain](https://www.ruby-forum.com/u/John_MccLain)\
**Replies:** 3\
**Last updated:** [December 21, 2005, 8:50pm UTC](https://www.ruby-forum.com/t/what-books-are-coming-out/54198 "2005-12-21T20:50:48Z")

</div>

What Rails books are coming out soon ??? John McClain Senior Software Engineer TCS Healthcare removed\_email\_address@domain.invalid (530)886-1700x235 “Skepticism is the first step toward truth”

---

## [Problem installing MySQL driver for OS X Tiger using RubyGem](https://www.ruby-forum.com/t/problem-installing-mysql-driver-for-os-x-tiger-using-rubygem/49200)

<div class="topic-metadata">

**Author:** [@untz](https://www.ruby-forum.com/u/untz)\
**Replies:** 3\
**Last updated:** [December 1, 2005, 11:36pm UTC](https://www.ruby-forum.com/t/problem-installing-mysql-driver-for-os-x-tiger-using-rubygem/49200 "2005-12-01T23:36:13Z")

</div>

Hello there, I am experiencing a problem installing the Ruby MySQL driver for OS X Tiger using RubyGems… When I tried to install the mysql driver, I received the following error message: Raven:~ untz$ sudo su root …

---

## [Database connections, I cannot decide which way I should go!](https://www.ruby-forum.com/t/database-connections-i-cannot-decide-which-way-i-should-go/234596)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [March 16, 2015, 8:45pm UTC](https://www.ruby-forum.com/t/database-connections-i-cannot-decide-which-way-i-should-go/234596 "2015-03-16T20:45:35Z")

</div>

Hello all! And thanks for your help and input. I am in the process of building my first project for the company I work for and I am stumped as how to tackle my database information problem. What I am dealing with is …

---

## [Re: Hilbert transform](https://www.ruby-forum.com/t/re-hilbert-transform/231589)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 18, 2014, 6:03pm UTC](https://www.ruby-forum.com/t/re-hilbert-transform/231589 "2014-08-18T18:03:37Z")

</div>

Thanx Marcus and Tom fr ur explanations. I will read further and ask any questions if i have.

---

## [How can a user contact another user](https://www.ruby-forum.com/t/how-can-a-user-contact-another-user/231553)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 15, 2014, 4:14pm UTC](https://www.ruby-forum.com/t/how-can-a-user-contact-another-user/231553 "2014-08-15T16:14:56Z")

</div>

I think this is a rather general question. I would like to implement the following function in my website: Users can create different listings. Other user can click on the listing and click a contact button that links…

---

## [NeedHELPASAP](https://www.ruby-forum.com/t/needhelpasap/241090)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [May 13, 2014, 6:03pm UTC](https://www.ruby-forum.com/t/needhelpasap/241090 "2014-05-13T18:03:27Z")

</div>

Im not familiar on dependency injection Remove Car’s explicit reference to Engine by using dependency injection. class Car attr\_reader :engine def engine @engine ||= Engine.new(4) end def move engine.accelerate …

---

## [Building GNU Radio for arm etc](https://www.ruby-forum.com/t/building-gnu-radio-for-arm-etc/237603)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [November 20, 2013, 8:41pm UTC](https://www.ruby-forum.com/t/building-gnu-radio-for-arm-etc/237603 "2013-11-20T20:41:08Z")

</div>

I’ve put together a repo manifest file for building GNU Radio using OpenEmbedded. The repo tool will take care of checking out the various layers needed and (if you sue the stable branch) deliver layers that built ima…

---

## [Safe to call ngx\_http\_subrequest inside location handler?](https://www.ruby-forum.com/t/safe-to-call-ngx-http-subrequest-inside-location-handler/235048)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [May 28, 2013, 7:20pm UTC](https://www.ruby-forum.com/t/safe-to-call-ngx-http-subrequest-inside-location-handler/235048 "2013-05-28T19:20:11Z")

</div>

Hello, So according to evan miller’s tutorial and nginx’s own source code, it seems only filters can send subrequests. But I have tried to call ngx\_http\_subrequest inside my location handler, and everything seems wo…

---

## [Pmt\_int.h error while building gnuradio 3.6.5 release in fedora 18](https://www.ruby-forum.com/t/pmt-int-h-error-while-building-gnuradio-3-6-5-release-in-fedora-18/235052)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [May 28, 2013, 6:20pm UTC](https://www.ruby-forum.com/t/pmt-int-h-error-while-building-gnuradio-3-6-5-release-in-fedora-18/235052 "2013-05-28T18:20:35Z")

</div>

Hi, while compiling gnuradio 3.6.5 release on fedora 18 i got the following warning, how is it going to affect me: ########################################### \[ 3%\] Generating documentation with doxygen /home/swran…

---

## [Ruby on Rails Asset pipeline - Pro and Cons](https://www.ruby-forum.com/t/ruby-on-rails-asset-pipeline-pro-and-cons/245408)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [May 26, 2013, 12:10pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-asset-pipeline-pro-and-cons/245408 "2013-05-26T12:10:31Z")

</div>

I was in chapter 5 of the Ruby on Rails, and I come across “Asset pipeline” when R-o-R detect and jam all css and js files into one. It’s true that Browser will have to make less requests, but at the same time, the b…

---

## [Not able to open multiple windows in a form](https://www.ruby-forum.com/t/not-able-to-open-multiple-windows-in-a-form/227769)

<div class="topic-metadata">

**Author:** [@ankita](https://www.ruby-forum.com/u/ankita)\
**Replies:** 2\
**Last updated:** [March 28, 2013, 12:51pm UTC](https://www.ruby-forum.com/t/not-able-to-open-multiple-windows-in-a-form/227769 "2013-03-28T12:51:54Z")

</div>

When i click on a tab in a form then i m not able to browse multiple windows in ruby code

---

## [Method inside method in controller](https://www.ruby-forum.com/t/method-inside-method-in-controller/227556)

<div class="topic-metadata">

**Author:** [@barry](https://www.ruby-forum.com/u/barry)\
**Replies:** 2\
**Last updated:** [March 21, 2013, 10:00am UTC](https://www.ruby-forum.com/t/method-inside-method-in-controller/227556 "2013-03-21T10:00:45Z")

</div>

I’m trying to follow DRY way of coding. I decided to make my code cleanes. Basically, app has 2 types of what to show to user, depending on content. So I want to set up inside show method conditional, and then two d…

---

## [Python report typeError of argument for my block](https://www.ruby-forum.com/t/python-report-typeerror-of-argument-for-my-block/224547)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [November 16, 2012, 4:40am UTC](https://www.ruby-forum.com/t/python-report-typeerror-of-argument-for-my-block/224547 "2012-11-16T04:40:26Z")

</div>

Hello, I wrote a signal block whose constructor has an argument of type “uint64\_t”. But when in python it is constructed, the error is reported as TypeErrorL in method ‘myblock’, argument 1 of type ‘uint64\_t’. Then …

---

## [Starter/HelloWorld nginx module](https://www.ruby-forum.com/t/starter-helloworld-nginx-module/223585)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 10, 2012, 7:18pm UTC](https://www.ruby-forum.com/t/starter-helloworld-nginx-module/223585 "2012-10-10T19:18:16Z")

</div>

Hello, I want to develop a simple nginx module so I am looking for some sample module, and I searched in Google and got: “Emiller’s Guide to Nginx Module Development – Evan Miller” While the content is amazing in det…

---

## [Usrp2 block error in gnuradio 3.6.2](https://www.ruby-forum.com/t/usrp2-block-error-in-gnuradio-3-6-2/222623)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 4, 2012, 7:18pm UTC](https://www.ruby-forum.com/t/usrp2-block-error-in-gnuradio-3-6-2/222623 "2012-09-04T19:18:53Z")

</div>

hello All, dose any one have idea about this error? i install USRP block in gnuradio 3.6.2 for this file but still have an error. root@Junaid-VPCF13UFX:/home/muhammadjunaid/airprobe/gsm-receiver/src/python# ./gsm\_re…

---

## [Problema getaddrinfo: Name or service not known (SocketError)!](https://www.ruby-forum.com/t/problema-getaddrinfo-name-or-service-not-known-socketerror/215252)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [December 28, 2011, 10:09pm UTC](https://www.ruby-forum.com/t/problema-getaddrinfo-name-or-service-not-known-socketerror/215252 "2011-12-28T22:09:12Z")

</div>

Ciao a tutti, in un mio script che funge da crawler ed è installato su differenti server quando ci sono dei problemi mi viene inviata un email. Per non modificare manualmente la variabile che mi dice da quale server …

---

## [RJS Handler missing](https://www.ruby-forum.com/t/rjs-handler-missing/212438)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [October 5, 2011, 7:29am UTC](https://www.ruby-forum.com/t/rjs-handler-missing/212438 "2011-10-05T07:29:06Z")

</div>

Hi Guys, I got a missing template error when I tried to achieve a task using RJS. All I want is to execute an RJS file on ajax call. But I am getting the following error. ActionView::MissingTemplate (Missing template…

---

## [Problema con named scope](https://www.ruby-forum.com/t/problema-con-named-scope/209980)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [July 28, 2011, 9:05am UTC](https://www.ruby-forum.com/t/problema-con-named-scope/209980 "2011-07-28T09:05:02Z")

</div>

Ciao a tutti, sto provando a fare una cosa con i named scope ho il segente model: class Customer \< ActiveRecord::Base validates :name, :presence =\> true validates\_numericality\_of :box, :greater\_than\_or\_equal\_to =\> 0 …

---

## [Rails 3.0.9 usability problem: password/confirmation highlighting](https://www.ruby-forum.com/t/rails-3-0-9-usability-problem-password-confirmation-highlighting/209971)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [July 27, 2011, 4:23pm UTC](https://www.ruby-forum.com/t/rails-3-0-9-usability-problem-password-confirmation-highlighting/209971 "2011-07-27T16:23:02Z")

</div>

If there is an error with the submitted password on a form, then both the password and password confirmation text fields should be highlighted in red. The default seems to be to highlight only the password field. Any…

---

## [Question re: HttpAccessModule and ipv6](https://www.ruby-forum.com/t/question-re-httpaccessmodule-and-ipv6/208072)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [June 9, 2011, 4:49pm UTC](https://www.ruby-forum.com/t/question-re-httpaccessmodule-and-ipv6/208072 "2011-06-09T16:49:58Z")

</div>

Hello, The wiki is not clear on this. Can specific ipv6 addresses be allowed and/or denied? – Jim O.

---

## [How to change the url (from localhostL:3000) to (example.com)](https://www.ruby-forum.com/t/how-to-change-the-url-from-localhostl-3000-to-example-com/205897)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 21, 2011, 6:04pm UTC](https://www.ruby-forum.com/t/how-to-change-the-url-from-localhostl-3000-to-example-com/205897 "2011-04-21T18:04:58Z")

</div>

I am new to ruby on rails and running rails 2.3.5.My application is running at localhost:3000 ,but i want it should be run at “example.com” in brower when i start the serve normally as “script/ server” . What to do? …

---

## [{:class=\>"pi stuff"} is not a symbol](https://www.ruby-forum.com/t/class-pi-stuff-is-not-a-symbol/205259)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [April 2, 2011, 2:46pm UTC](https://www.ruby-forum.com/t/class-pi-stuff-is-not-a-symbol/205259 "2011-04-02T14:46:40Z")

</div>

Hey all, I’m building a html helper. My view looks like this: = item\_view "title", @post.title, :class =\> 'stuff' My helper looks like this: def format\_item\_data(data) case data when Class then ‘’ when Scho…

---

## [Need to find list of things in a file](https://www.ruby-forum.com/t/need-to-find-list-of-things-in-a-file/204757)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [March 21, 2011, 12:02am UTC](https://www.ruby-forum.com/t/need-to-find-list-of-things-in-a-file/204757 "2011-03-21T00:02:03Z")

</div>

HI everyone, I am wondering how would you make a program to find a list of things from a file as efficiently as possible. So I have this file that gives the rank of the following pairs: pair – rank 4,2 – 1 4,5 – 2 …

---

## [Unespected result of define\_method with "for" and "each"](https://www.ruby-forum.com/t/unespected-result-of-define-method-with-for-and-each/204490)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [March 14, 2011, 11:46am UTC](https://www.ruby-forum.com/t/unespected-result-of-define-method-with-for-and-each/204490 "2011-03-14T11:46:11Z")

</div>

Hi everyone, I was trying to define instance methods on a class based on an given array of strings. I run into different results using two different types of iteration. I can’t understand the resulting behaviour just …

---

## [Nature of gr\_vector data](https://www.ruby-forum.com/t/nature-of-gr-vector-data/203961)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [March 2, 2011, 3:15pm UTC](https://www.ruby-forum.com/t/nature-of-gr-vector-data/203961 "2011-03-02T15:15:53Z")

</div>

Hi! I have a general question related to the data-type model. I looked through much of the API documentation but it doesn’t seem to glue together to something what I would describe as a complete picture. I want to kn…

---

## [Can Redis2Go replace memcahe?](https://www.ruby-forum.com/t/can-redis2go-replace-memcahe/201433)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [February 22, 2011, 4:36am UTC](https://www.ruby-forum.com/t/can-redis2go-replace-memcahe/201433 "2011-02-22T04:36:28Z")

</div>

Hey The price difference for 100mb Redis or Memcache is only $5 I may have it wrong, but thought Redis provides very similar functionality, with extra useful functionality Why or when would someone chose Memcache ove…

---

## [XSLT-like search in a Ruby Hash](https://www.ruby-forum.com/t/xslt-like-search-in-a-ruby-hash/194141)

<div class="topic-metadata">

**Author:** [@pitosalas](https://www.ruby-forum.com/u/pitosalas)\
**Replies:** 2\
**Last updated:** [August 31, 2010, 2:18pm UTC](https://www.ruby-forum.com/t/xslt-like-search-in-a-ruby-hash/194141 "2010-08-31T14:18:09Z")

</div>

I have a need for some relatively fancy searching in a hash, and I am wondering if there’s anything that does some kind of pattern matching on Hash contents. Specifically here’s an example of what I would like to be a…

---

## [Html parsing with Hpricot](https://www.ruby-forum.com/t/html-parsing-with-hpricot/189894)

<div class="topic-metadata">

**Author:** [@gregm](https://www.ruby-forum.com/u/gregm)\
**Replies:** 2\
**Last updated:** [June 9, 2010, 4:57pm UTC](https://www.ruby-forum.com/t/html-parsing-with-hpricot/189894 "2010-06-09T16:57:43Z")

</div>

Hi, I need to parse a wonderful html page full of tables everywhere! Obviously I am using Hpricot to parse my html, and this what I’ve done so far. But now I stuck :S page.search("#profile \> table \> tr")\[1\].at(“td”)…

---

## [File copy](https://www.ruby-forum.com/t/file-copy/189228)

<div class="topic-metadata">

**Author:** [@princenamor](https://www.ruby-forum.com/u/princenamor)\
**Replies:** 2\
**Last updated:** [May 27, 2010, 11:06am UTC](https://www.ruby-forum.com/t/file-copy/189228 "2010-05-27T11:06:37Z")

</div>

Hi I am having a weird problem. I have the following code. require “fileutils” FileUtils.cp ‘/path/to/file.txt’, ‘/path/to/archive/file-date.txt’ File.open(’/path/to/file.txt’, ‘w’) What I want to do is copy file.tx…

---

## [Dynamic Proxy Passing](https://www.ruby-forum.com/t/dynamic-proxy-passing/185766)

<div class="topic-metadata">

**Author:** [@Ensiferous](https://www.ruby-forum.com/u/Ensiferous)\
**Replies:** 2\
**Last updated:** [March 27, 2010, 11:02am UTC](https://www.ruby-forum.com/t/dynamic-proxy-passing/185766 "2010-03-27T11:02:55Z")

</div>

Hello, I have a situation where a server needs to proxy to a variable backend depending on the URI. I use x-accel-redirect to a URI like /files/serverX/fileY; I then need my server to proxy\_pass to serverX.domain.com…

---

## [Paperclip con modelli nidificati](https://www.ruby-forum.com/t/paperclip-con-modelli-nidificati/184557)

<div class="topic-metadata">

**Author:** [@triplem](https://www.ruby-forum.com/u/triplem)\
**Replies:** 2\
**Last updated:** [March 4, 2010, 2:01pm UTC](https://www.ruby-forum.com/t/paperclip-con-modelli-nidificati/184557 "2010-03-04T14:01:49Z")

</div>

Se si rimane nello standard funziona, purtroppo io non riesco mai a far parte dello standard ed ho questo grattacapo: ho un modello lettera che puÃ² avere molti allegati. Il modello allegato e formato da qualche campo…

---

## [Hi All](https://www.ruby-forum.com/t/hi-all/184497)

<div class="topic-metadata">

**Author:** [@vtr](https://www.ruby-forum.com/u/vtr)\
**Replies:** 2\
**Last updated:** [March 3, 2010, 4:34pm UTC](https://www.ruby-forum.com/t/hi-all/184497 "2010-03-03T16:34:21Z")

</div>

Hi All, This is Thiyagarajan Veluchamy from India, i am new to rspec. gI need to learn rspec. Can anyone guide me, how to start properly. Advance Thanks, Thanks, Thiyagarajan Veluchamy

---

## [HTTP status code bug?](https://www.ruby-forum.com/t/http-status-code-bug/182926)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [February 4, 2010, 11:10pm UTC](https://www.ruby-forum.com/t/http-status-code-bug/182926 "2010-02-04T23:10:07Z")

</div>

Hello, The browser hits a non-existing file. An “error\_page” points to a fastcgi-application. The fastcgi thinks this is not an error and explicit sets: “Status: 200” or “Status: 302”, … One would expect that the fas…

---

## [rSpec 2 covered in the rSpec Book](https://www.ruby-forum.com/t/rspec-2-covered-in-the-rspec-book/182904)

<div class="topic-metadata">

**Author:** [@sclarke](https://www.ruby-forum.com/u/sclarke)\
**Replies:** 2\
**Last updated:** [February 4, 2010, 4:00pm UTC](https://www.ruby-forum.com/t/rspec-2-covered-in-the-rspec-book/182904 "2010-02-04T16:00:18Z")

</div>

Is rSpec 2.0 going to be covered at all in the rSpec book, I’m expecting delivery of the book as soon as it goes to print, so just curious.

---

## [Somewhat hacked-together eval jail](https://www.ruby-forum.com/t/somewhat-hacked-together-eval-jail/180758)

<div class="topic-metadata">

**Author:** [@ngng](https://www.ruby-forum.com/u/ngng)\
**Replies:** 2\
**Last updated:** [December 28, 2009, 6:52pm UTC](https://www.ruby-forum.com/t/somewhat-hacked-together-eval-jail/180758 "2009-12-28T18:52:34Z")

</div>

Hi everyone, I’m working on a program where a lot of externally loaded scripts will be run. Although the scripts will all be written by trusted (or mostly trusted) sources, I want to implement some form of jail that …

---

## [\[Feature #2470\] Encoding#new doesn't undef\_method-ed](https://www.ruby-forum.com/t/feature-2470-encoding-new-doesnt-undef-method-ed/180028)

<div class="topic-metadata">

**Author:** [@Yui\_NARUSE](https://www.ruby-forum.com/u/Yui_NARUSE)\
**Replies:** 2\
**Last updated:** [December 21, 2009, 11:23am UTC](https://www.ruby-forum.com/t/feature-2470-encoding-new-doesnt-undef-method-ed/180028 "2009-12-21T11:23:10Z")

</div>

Feature #2470: Encoding#new doesn’t undef\_method-ed http://redmine.ruby-lang.org/issues/show/2470 e$B5/I\<\<Te(B: Yui NARUSE e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: core Fixnum e$B$de(B Encoding e…

---

## [Auto test for maven?](https://www.ruby-forum.com/t/auto-test-for-maven/178570)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 2\
**Last updated:** [November 6, 2009, 6:56pm UTC](https://www.ruby-forum.com/t/auto-test-for-maven/178570 "2009-11-06T18:56:44Z")

</div>

Not actually a ruby related question, but does anybody know the equivalent of auto test for a maven based java project? Thanks! -r

---

## [Form\_for e select](https://www.ruby-forum.com/t/form-for-e-select/177408)

<div class="topic-metadata">

**Author:** [@daneel\_olivaw](https://www.ruby-forum.com/u/daneel_olivaw)\
**Replies:** 2\
**Last updated:** [October 21, 2009, 6:02pm UTC](https://www.ruby-forum.com/t/form-for-e-select/177408 "2009-10-21T18:02:18Z")

</div>

Ciao. Lo so che Ã¨ un argomento dibattuto, ma non riesco a trovare il bandolo della matassa. Situazione: sto facendo un’applicazione in ror in cui degli operatori andranno ad inserire dati (ma va?). Gli operatori ap…

---

## [Server\_name capture and $document\_root](https://www.ruby-forum.com/t/server-name-capture-and-document-root/163001)

<div class="topic-metadata">

**Author:** [@Rapsey](https://www.ruby-forum.com/u/Rapsey)\
**Replies:** 2\
**Last updated:** [March 16, 2009, 3:01pm UTC](https://www.ruby-forum.com/t/server-name-capture-and-document-root/163001 "2009-03-16T15:01:49Z")

</div>

I’m trying to use the new feature from 0.7.40 - captures in server\_name. I use $document\_root in SCRIPT\_FILENAME for fastcgi. The problem is that the captured part of server\_name is not being used. If I check my acces…

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

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