# Top

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

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

---

## [Article: "Why Ruby on Rails Succeeded"](https://www.ruby-forum.com/t/article-why-ruby-on-rails-succeeded/110488)

<div class="topic-metadata">

**Author:** [@Hal\_F](https://www.ruby-forum.com/u/Hal_F)\
**Replies:** 6\
**Last updated:** [July 26, 2007, 11:49pm UTC](https://www.ruby-forum.com/t/article-why-ruby-on-rails-succeeded/110488 "2007-07-26T23:49:39Z")

</div>

You may or may not find this article interesting or entertaining. http://www.cio.com/article/125851 Beware – it presupposes the concept that Rails HAS succeeded. It does not attempt to prove this. I have already bee…

---

## [Newbie, hash or 2dArry](https://www.ruby-forum.com/t/newbie-hash-or-2darry/90657)

<div class="topic-metadata">

**Author:** [@zaq](https://www.ruby-forum.com/u/zaq)\
**Replies:** 6\
**Last updated:** [April 6, 2007, 5:21am UTC](https://www.ruby-forum.com/t/newbie-hash-or-2darry/90657 "2007-04-06T05:21:18Z")

</div>

I’m lost or just tired from guessing. I need to make an hash I can call by hostname as the key and some random amount of data after that as the values. now a hash works great for 1 to 1 maps (h\[serverX\] ==\> result) b…

---

## [Using step backward?](https://www.ruby-forum.com/t/using-step-backward/86696)

<div class="topic-metadata">

**Author:** [@Josselin](https://www.ruby-forum.com/u/Josselin)\
**Replies:** 6\
**Last updated:** [February 24, 2007, 9:51pm UTC](https://www.ruby-forum.com/t/using-step-backward/86696 "2007-02-24T21:51:25Z")

</div>

I have an array myArray = \[“22”, “31”, “56”, “89”, “47”\] I would like to produce a string like : “22#31#56#89\>47\<” where the last item must be : \>last\_item\< case 1 item : \[“22”\] =\> “\>22\<” case 2 it…

---

## [Disabling DRbUndumped](https://www.ruby-forum.com/t/disabling-drbundumped/85082)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [February 10, 2007, 11:35pm UTC](https://www.ruby-forum.com/t/disabling-drbundumped/85082 "2007-02-10T23:35:07Z")

</div>

anyone got a slick way of temporaily disabling DRbUndumped? -a

---

## [How do I run the Rails test suite on Edge?](https://www.ruby-forum.com/t/how-do-i-run-the-rails-test-suite-on-edge/67978)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 6\
**Last updated:** [September 8, 2006, 4:35pm UTC](https://www.ruby-forum.com/t/how-do-i-run-the-rails-test-suite-on-edge/67978 "2006-09-08T16:35:27Z")

</div>

I want to submit a patch for Rails. I have checked out from the trunk. I have created what I assume is the test database based on contents of activerecord/test/fixtures QUESTIONS: I’m not sure how to actually atte…

---

## [Ruby and RoR Book Roundup](https://www.ruby-forum.com/t/ruby-and-ror-book-roundup/55779)

<div class="topic-metadata">

**Author:** [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Replies:** 6\
**Last updated:** [March 27, 2006, 6:18am UTC](https://www.ruby-forum.com/t/ruby-and-ror-book-roundup/55779 "2006-03-27T06:18:59Z")

</div>

Hello, I’m a big bookworm, so I decided to round up all the upcoming Ruby books in the market in one big blog post. At my count, there are sixteen books to be released (in print) for the upcoming year, with some ava…

---

## [Has\_one :next - invalid name?](https://www.ruby-forum.com/t/has-one-next-invalid-name/76418)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 6\
**Last updated:** [March 4, 2006, 5:38pm UTC](https://www.ruby-forum.com/t/has-one-next-invalid-name/76418 "2006-03-04T17:38:52Z")

</div>

I have this in a model: has\_one :next, :class\_name=\>‘WorkPart’, :foreign\_key=\>‘next\_id’ And it causes this error: compile error /usr/local/lib/ruby/gems/1.8/gems/activerecord-1.13.1/lib/active\_record/deprecated\_ass…

---

## [AWS and array of Model](https://www.ruby-forum.com/t/aws-and-array-of-model/51756)

<div class="topic-metadata">

**Author:** [@HSSSSber\_JSSSSnos](https://www.ruby-forum.com/u/HSSSSber_JSSSSnos)\
**Replies:** 6\
**Last updated:** [January 8, 2006, 5:01pm UTC](https://www.ruby-forum.com/t/aws-and-array-of-model/51756 "2006-01-08T17:01:28Z")

</div>

Hi! I try to use a layered webservice and I want to get back an array of users; In the API I use: api\_method :listUsers,:returns=\>\[\[User\]\] in the service: def listUsers User.find(:all) end Result in soap mode: D…

---

## [Single server with multiple hierarchies](https://www.ruby-forum.com/t/single-server-with-multiple-hierarchies/221833)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [August 15, 2012, 10:38pm UTC](https://www.ruby-forum.com/t/single-server-with-multiple-hierarchies/221833 "2012-08-15T22:38:01Z")

</div>

Hi, My directory structure is: /usr/share/nginx/www /magento/current ← This is my application /phpmyadmin I changed the root of the server to /usr/share/nginx/www/magento/current. Now my app works perfectly when I…

---

## [Problem with migrations in Rails 2.1](https://www.ruby-forum.com/t/problem-with-migrations-in-rails-2-1/139357)

<div class="topic-metadata">

**Author:** [@ron](https://www.ruby-forum.com/u/ron)\
**Replies:** 5\
**Last updated:** [October 12, 2011, 4:24pm UTC](https://www.ruby-forum.com/t/problem-with-migrations-in-rails-2-1/139357 "2011-10-12T16:24:55Z")

</div>

Hi, I’m trying to migrate to sqlite3 and I get this error: syntax error, unexpected ‘\\n’, expecting tCOLON2 or ‘\[’ or ‘.’ I’m running OS X 10.5 on an Intel mac. I’ve installed the sqlite gem. I’m not sure what’s go…

---

## [My web developer has abandoned me with a Rails site. NEED HELP ASAP](https://www.ruby-forum.com/t/my-web-developer-has-abandoned-me-with-a-rails-site-need-help-asap/206745)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [May 11, 2011, 4:58am UTC](https://www.ruby-forum.com/t/my-web-developer-has-abandoned-me-with-a-rails-site-need-help-asap/206745 "2011-05-11T04:58:02Z")

</div>

Im looking for immediate help. My web developer had started building me a site in Rails and has since gone AWOL and now I need to change info on the site but I have ZERO experience with code of any type. I’m looking f…

---

## [Upstream to both https or http](https://www.ruby-forum.com/t/upstream-to-both-https-or-http/205853)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [April 17, 2011, 11:26pm UTC](https://www.ruby-forum.com/t/upstream-to-both-https-or-http/205853 "2011-04-17T23:26:55Z")

</div>

I have this requirement. I want to use nginx as the reverse proxy, which listen on address A and forward the request to the backend server with address B. However, if B is down, I want the request to be sent to addres…

---

## [Rails, Ruby, haml, metaprogramming problem](https://www.ruby-forum.com/t/rails-ruby-haml-metaprogramming-problem/200765)

<div class="topic-metadata">

**Author:** [@nikuSESS](https://www.ruby-forum.com/u/nikuSESS)\
**Replies:** 5\
**Last updated:** [December 24, 2010, 3:17pm UTC](https://www.ruby-forum.com/t/rails-ruby-haml-metaprogramming-problem/200765 "2010-12-24T15:17:20Z")

</div>

In HAML I have hundreds of lines like the following: xyz = someFuncThatReturnsString(‘xyz’) and elsewhere %div{‘id’ =\> xyz} The above lines work fine. Attempting to keep things DRY (Don’t repeat yourself) I want t…

---

## [Seeking RoR Development Shop for TOP SECRET project](https://www.ruby-forum.com/t/seeking-ror-development-shop-for-top-secret-project/195853)

<div class="topic-metadata">

**Author:** [@Timothy\_Roberts](https://www.ruby-forum.com/u/Timothy_Roberts)\
**Replies:** 5\
**Last updated:** [October 1, 2010, 6:30pm UTC](https://www.ruby-forum.com/t/seeking-ror-development-shop-for-top-secret-project/195853 "2010-10-01T18:30:37Z")

</div>

We are looking for a team of 15 full-time RoR programmers to start working on a secret project. We are only interested in shops which have the following qualifications: Located within 2 hour plan ride from Saint Lo…

---

## [Concept of given](https://www.ruby-forum.com/t/concept-of-given/180601)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 5\
**Last updated:** [December 22, 2009, 5:21pm UTC](https://www.ruby-forum.com/t/concept-of-given/180601 "2009-12-22T17:21:21Z")

</div>

Forgive me if the question is a common one… does rspec have any concept like given “a certain set of paths” do it “should be able to recreate them” do; end it “…”; end end ? Thanks. -r

---

## [GNU Radio release 3.2.1 source and binaries available for download](https://www.ruby-forum.com/t/gnu-radio-release-3-2-1-source-and-binaries-available-for-download/171590)

<div class="topic-metadata">

**Author:** [@jconley](https://www.ruby-forum.com/u/jconley)\
**Replies:** 5\
**Last updated:** [July 7, 2009, 1:45am UTC](https://www.ruby-forum.com/t/gnu-radio-release-3-2-1-source-and-binaries-available-for-download/171590 "2009-07-07T01:45:52Z")

</div>

GNU Radio version 3.2.1 has been released. This release contains several import bug fixes and feature additions. In particular, the GNU Radio Companion application (“grc”) has added a number of new capabilities that…

---

## [Please help with a routing problem](https://www.ruby-forum.com/t/please-help-with-a-routing-problem/158646)

<div class="topic-metadata">

**Author:** [@adrian](https://www.ruby-forum.com/u/adrian)\
**Replies:** 5\
**Last updated:** [January 26, 2009, 11:14pm UTC](https://www.ruby-forum.com/t/please-help-with-a-routing-problem/158646 "2009-01-26T23:14:28Z")

</div>

Hi All I’m having some issues with the following routes problem. The routes.rb file … map.resources :users map.connect ‘/users/view\_payments/:user\_id’, :controller =\> ‘users’, :action =\> ‘view\_payments’ The users\_c…

---

## [Can I get an ActiveRecord.find to do this query... "Get all Articles which have only been published](https://www.ruby-forum.com/t/can-i-get-an-activerecord-find-to-do-this-query-get-all-articles-which-have-only-been-published/158084)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 5\
**Last updated:** [January 19, 2009, 11:54am UTC](https://www.ruby-forum.com/t/can-i-get-an-activerecord-find-to-do-this-query-get-all-articles-which-have-only-been-published/158084 "2009-01-19T11:54:29Z")

</div>

Hi, Can I get an ActiveRecord.find to do this query?: Get all Articles which have only been published in less than X Magazines. Model Relationship: “Magazine” has\_and\_belongs\_to\_many "Articles"s. thanks – Greg …

---

## [Some routes stopped working](https://www.ruby-forum.com/t/some-routes-stopped-working/157523)

<div class="topic-metadata">

**Author:** [@bryan](https://www.ruby-forum.com/u/bryan)\
**Replies:** 5\
**Last updated:** [January 12, 2009, 10:55pm UTC](https://www.ruby-forum.com/t/some-routes-stopped-working/157523 "2009-01-12T22:55:41Z")

</div>

I’m relatively new to Rails, so the solution to this might be more trivial than I think However, I am working on an app, and everything was working fine until just recently. The problem is I’m not sure when I might ha…

---

## [Testing Data Scrapes](https://www.ruby-forum.com/t/testing-data-scrapes/156341)

<div class="topic-metadata">

**Author:** [@michaelb](https://www.ruby-forum.com/u/michaelb)\
**Replies:** 5\
**Last updated:** [December 25, 2008, 3:00pm UTC](https://www.ruby-forum.com/t/testing-data-scrapes/156341 "2008-12-25T15:00:49Z")

</div>

Hello all, I’m here not for code help, but more for some opinions. At the moment I’m writing a library to interact with Snipt. However, I have no idea how to test it. I don’t want to include my username and password i…

---

## [Page does not seem to be reloaded on prod server](https://www.ruby-forum.com/t/page-does-not-seem-to-be-reloaded-on-prod-server/151989)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 5\
**Last updated:** [October 29, 2008, 7:03pm UTC](https://www.ruby-forum.com/t/page-does-not-seem-to-be-reloaded-on-prod-server/151989 "2008-10-29T19:03:49Z")

</div>

Hi all I’ve coded a small shop that works well on my dev machine (OSX 10.5). But look at the following page: http://shop.incense.ch/compact\_discs/1 When clicking “Reservieren”, the page is forwarded to a new page, wh…

---

## [Form\_remote\_tag and :with](https://www.ruby-forum.com/t/form-remote-tag-and-with/150080)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 5\
**Last updated:** [October 17, 2008, 8:37am UTC](https://www.ruby-forum.com/t/form-remote-tag-and-with/150080 "2008-10-17T08:37:23Z")

</div>

I am trying to pass the result from a javascript function along with the result from a text\_field with form\_remote\_tag. This is what I have so far, but no go: \<% form\_remote\_tag(:url =\> {:controller =\> 'requests', :a…

---

## [CGI and Methods?](https://www.ruby-forum.com/t/cgi-and-methods/132219)

<div class="topic-metadata">

**Author:** [@tonydm](https://www.ruby-forum.com/u/tonydm)\
**Replies:** 5\
**Last updated:** [March 18, 2008, 5:38pm UTC](https://www.ruby-forum.com/t/cgi-and-methods/132219 "2008-03-18T17:38:19Z")

</div>

Hi all, I’m trying my hand at scripting cgi in ruby. At the same time I’m looking at Rails. So far I love ruby. Still reserving comments on Rails. I have a question though. When coding a cgi script, is it possib…

---

## ["require" in unit test not returning true or false](https://www.ruby-forum.com/t/require-in-unit-test-not-returning-true-or-false/110080)

<div class="topic-metadata">

**Author:** [@Jesper\_RSSSSnn-Jens](https://www.ruby-forum.com/u/Jesper_RSSSSnn-Jens)\
**Replies:** 5\
**Last updated:** [July 23, 2007, 10:43pm UTC](https://www.ruby-forum.com/t/require-in-unit-test-not-returning-true-or-false/110080 "2007-07-23T22:43:10Z")

</div>

I have a test file in my project to test dependencies to ruby gems, arranged like this: class DependenciesTest \< Test::Unit::TestCase def test\_hpricot\_should\_exist actual = require ‘hpricot’ assert\_equal(true, actua…

---

## [Pb upload image](https://www.ruby-forum.com/t/pb-upload-image/106558)

<div class="topic-metadata">

**Author:** [@jef](https://www.ruby-forum.com/u/jef)\
**Replies:** 5\
**Last updated:** [June 13, 2007, 11:53am UTC](https://www.ruby-forum.com/t/pb-upload-image/106558 "2007-06-13T11:53:34Z")

</div>

j’ai un model randonnee dans lequel je souhaite inserer une image. j’ai un champ “nom\_fichier” dans ma base. class Randonnee \< ActiveRecord::Base belongs\_to :user def self.save(randonnee) File.open(“pictures/#{rando…

---

## [Ruby Cocoa Run Loop](https://www.ruby-forum.com/t/ruby-cocoa-run-loop/81112)

<div class="topic-metadata">

**Author:** [@Benjohn\_B](https://www.ruby-forum.com/u/Benjohn_B)\
**Replies:** 5\
**Last updated:** [January 6, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/ruby-cocoa-run-loop/81112 "2007-01-06T19:30:48Z")

</div>

Hello, I’ve been inspired by reading: http://www.rubycocoa.com/mastering-cocoa-with-ruby/1 But I don’t really want to have to build an application that’s a ruby console. I’d like to be able to fire up the NSApplicat…

---

## [Redirect back to where I was before action?](https://www.ruby-forum.com/t/redirect-back-to-where-i-was-before-action/80459)

<div class="topic-metadata">

**Author:** [@taylorstrait](https://www.ruby-forum.com/u/taylorstrait)\
**Replies:** 5\
**Last updated:** [December 27, 2006, 6:11am UTC](https://www.ruby-forum.com/t/redirect-back-to-where-i-was-before-action/80459 "2006-12-27T06:11:36Z")

</div>

For some reason I cannot find the documentation for this. How can I store the current URI/URL so that I can return with a redirect\_to? session\[last\_action\] = ???

---

## [What do you think about commercial applications for Rails?](https://www.ruby-forum.com/t/what-do-you-think-about-commercial-applications-for-rails/77329)

<div class="topic-metadata">

**Author:** [@pix](https://www.ruby-forum.com/u/pix)\
**Replies:** 5\
**Last updated:** [November 27, 2006, 3:59pm UTC](https://www.ruby-forum.com/t/what-do-you-think-about-commercial-applications-for-rails/77329 "2006-11-27T15:59:49Z")

</div>

Hello all, I’m a RoR fan. I’ve read some RoR books, and I’m starting to use RoR for commercial proyects. As I use RoR more and more, I think about inexistent tools that would be great to have when developing applicat…

---

## [How to simplify "a.instance\_of? classX or a.instance\_of? cla](https://www.ruby-forum.com/t/how-to-simplify-a-instance-of-classx-or-a-instance-of-cla/74893)

<div class="topic-metadata">

**Author:** [@matrixise](https://www.ruby-forum.com/u/matrixise)\
**Replies:** 5\
**Last updated:** [November 7, 2006, 11:01am UTC](https://www.ruby-forum.com/t/how-to-simplify-a-instance-of-classx-or-a-instance-of-cla/74893 "2006-11-07T11:01:27Z")

</div>

Hi all, I would like to know if there is a way to simplify this code object.instance\_of? WSDL::XMLSchema::ComplexContent or object.instance\_of? WSDL::XMLSchema::ComplexType or object.instance\_of? WSDL::XMLSchem…

---

## [Can a route require POST or GET? / REST problem with routing](https://www.ruby-forum.com/t/can-a-route-require-post-or-get-rest-problem-with-routing/97470)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 5\
**Last updated:** [July 7, 2006, 5:41pm UTC](https://www.ruby-forum.com/t/can-a-route-require-post-or-get-rest-problem-with-routing/97470 "2006-07-07T17:41:40Z")

</div>

Hi, A store front a customer wants to GET /product/5/show. But for the application this is really GET /cart\_item/new/5 or even better /cart\_item/new?cart\_item\[product\_id\]=5 When the customer clicks add\_to\_cart they P…

---

## [How do I code this conditional statement in Ruby](https://www.ruby-forum.com/t/how-do-i-code-this-conditional-statement-in-ruby/96994)

<div class="topic-metadata">

**Author:** [@ptremblett](https://www.ruby-forum.com/u/ptremblett)\
**Replies:** 5\
**Last updated:** [July 5, 2006, 1:49am UTC](https://www.ruby-forum.com/t/how-do-i-code-this-conditional-statement-in-ruby/96994 "2006-07-05T01:49:29Z")

</div>

Hi, I am a COBOL programmer and I am busy teaching myself Rails and Ruby. In COBOL I can code this conditional If x = 1 next sentence else … The “next sentence” statement enables me to get out of the conditional.…

---

## [Heeelp - no idea what's going wrong](https://www.ruby-forum.com/t/heeelp-no-idea-whats-going-wrong/93304)

<div class="topic-metadata">

**Author:** [@adambeazley](https://www.ruby-forum.com/u/adambeazley)\
**Replies:** 5\
**Last updated:** [March 30, 2006, 10:25pm UTC](https://www.ruby-forum.com/t/heeelp-no-idea-whats-going-wrong/93304 "2006-03-30T22:25:00Z")

</div>

I’m working on a simple CMS. The main data type are “listings” a listing habtm (has\_and\_belongs\_to\_many) categories and subcategories. Subcategories belong\_to categories. Subcategories are basically the same as catego…

---

## [Lighttpd not starting on os X (intel)](https://www.ruby-forum.com/t/lighttpd-not-starting-on-os-x-intel/99696)

<div class="topic-metadata">

**Author:** [@Harm\_de\_Laat](https://www.ruby-forum.com/u/Harm_de_Laat)\
**Replies:** 5\
**Last updated:** [February 1, 2006, 5:40pm UTC](https://www.ruby-forum.com/t/lighttpd-not-starting-on-os-x-intel/99696 "2006-02-01T17:40:30Z")

</div>

Hi all, I’m followed the instructions written here to prepare my new iMac for Ruby / Rails developement: When I run script/server I get the following output: harm-de-laats-computer:~/rails/test harmdelaat$ script/se…

---

## [Newbie:Adding a new Table-Strange Error](https://www.ruby-forum.com/t/newbie-adding-a-new-table-strange-error/98003)

<div class="topic-metadata">

**Author:** [@deniz](https://www.ruby-forum.com/u/deniz)\
**Replies:** 5\
**Last updated:** [January 28, 2006, 6:45pm UTC](https://www.ruby-forum.com/t/newbie-adding-a-new-table-strange-error/98003 "2006-01-28T18:45:26Z")

</div>

Hi Everybody, I am a newbie in this list so please forgive me if this is a lengthy message. Currently I am working on a project at my work place that includes viewing some oracle tables(I do not have control over to …

---

## [Attribute writers](https://www.ruby-forum.com/t/attribute-writers/51727)

<div class="topic-metadata">

**Author:** [@bluetrust](https://www.ruby-forum.com/u/bluetrust)\
**Replies:** 5\
**Last updated:** [January 6, 2006, 11:35am UTC](https://www.ruby-forum.com/t/attribute-writers/51727 "2006-01-06T11:35:11Z")

</div>

I’m working on a survey system in Ruby and am having a style crisis with a simple bit of code that has left me paralyzed and unable to work. Respondent data in research surveys is traditionally stored as big strings o…

---

## [Pulling XML from Amazon API](https://www.ruby-forum.com/t/pulling-xml-from-amazon-api/89701)

<div class="topic-metadata">

**Author:** [@jotto](https://www.ruby-forum.com/u/jotto)\
**Replies:** 5\
**Last updated:** [January 5, 2006, 11:53am UTC](https://www.ruby-forum.com/t/pulling-xml-from-amazon-api/89701 "2006-01-05T11:53:53Z")

</div>

Take Amazon’s API for example, returning a XML file. In my application (I’m using Rails), I want to allow the user to specify a criteria, input it into a URL and send that URL to amazon to get the resulting XML file. …

---

## [Single Table inheritance question](https://www.ruby-forum.com/t/single-table-inheritance-question/51411)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 5\
**Last updated:** [December 31, 2005, 12:04am UTC](https://www.ruby-forum.com/t/single-table-inheritance-question/51411 "2005-12-31T00:04:21Z")

</div>

So, I have a model called Organization. Chapter and Committee inherit from it. I’m letting the user create new Organizations. So, they were able to select whether or not the Organization was a Chapter or Committee. …

---

## [Ruby and XML, validation and DOM](https://www.ruby-forum.com/t/ruby-and-xml-validation-and-dom/50578)

<div class="topic-metadata">

**Author:** [@gendag](https://www.ruby-forum.com/u/gendag)\
**Replies:** 5\
**Last updated:** [December 19, 2005, 3:35pm UTC](https://www.ruby-forum.com/t/ruby-and-xml-validation-and-dom/50578 "2005-12-19T15:35:37Z")

</div>

Hi all, I’ve started to learn Ruby two days ago and it’s fantastic! :slight\_smile: I need I help, i need a lib to validate a XML file and to create a DOM tree. I’ve search in the web but I didn’t find anuthing, in tr…

---

## [Screen scraping via regex vs. htmltools (vs. REXML)](https://www.ruby-forum.com/t/screen-scraping-via-regex-vs-htmltools-vs-rexml/49333)

<div class="topic-metadata">

**Author:** [@dan](https://www.ruby-forum.com/u/dan)\
**Replies:** 5\
**Last updated:** [December 2, 2005, 9:09pm UTC](https://www.ruby-forum.com/t/screen-scraping-via-regex-vs-htmltools-vs-rexml/49333 "2005-12-02T21:09:09Z")

</div>

I’ve finally reimplemented the screen scraper I mentioned on http://groups.google.com/group/comp.lang.ruby/browse\_thread/thread/76e8bbd4a9e48277/396cb7ea35eab14f#396cb7ea35eab14f using regexes and no external libraries…

---

## [Listing & Editing Profile Pages -](https://www.ruby-forum.com/t/listing-editing-profile-pages/243396)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [October 11, 2015, 2:59am UTC](https://www.ruby-forum.com/t/listing-editing-profile-pages/243396 "2015-10-11T02:59:08Z")

</div>

I am relatively new to this and completely lost. I’m trying to make a user’s profile page. If the user is an admin, they can see all the users, as well as access and edit/update each user’s profile page. I finally g…

---

## [Fetch value from redmine custom field](https://www.ruby-forum.com/t/fetch-value-from-redmine-custom-field/242539)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [July 1, 2015, 9:17am UTC](https://www.ruby-forum.com/t/fetch-value-from-redmine-custom-field/242539 "2015-07-01T09:17:28Z")

</div>

Hello, I am new to redmine.M using one api to send the messages(not workin) My requirement is briefly given below. I am using Redmine.I have a ruby code to send sms(from api).I have written that code in redmine custo…

---

## [Any reason to use minitest instead of Rspec](https://www.ruby-forum.com/t/any-reason-to-use-minitest-instead-of-rspec/233165)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [November 24, 2014, 6:41pm UTC](https://www.ruby-forum.com/t/any-reason-to-use-minitest-instead-of-rspec/233165 "2014-11-24T18:41:56Z")

</div>

Hello, I try again to learn ruby and Im following now “Agile Web development in Rails 4” I see that the author uses minitest to test models. Is there any reason to use minitest instead of Rspec to test models and c…

---

## [Creating incremental data files during a continuous operation](https://www.ruby-forum.com/t/creating-incremental-data-files-during-a-continuous-operation/235414)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [January 14, 2014, 11:12pm UTC](https://www.ruby-forum.com/t/creating-incremental-data-files-during-a-continuous-operation/235414 "2014-01-14T23:12:13Z")

</div>

Hi, I just wonder if there is a method built in GNURadio that will allow me to create incremental files (1.dat, 2 dat …) instead of a huge file in continuous operation. I did implement a similar structure by taking …

---

## [Rake db:create giving undefined method \`\[\]' for nil:NilClass](https://www.ruby-forum.com/t/rake-db-create-giving-undefined-method-for-nil-nilclass/245663)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [June 30, 2013, 10:39pm UTC](https://www.ruby-forum.com/t/rake-db-create-giving-undefined-method-for-nil-nilclass/245663 "2013-06-30T22:39:49Z")

</div>

My ruby version is 1.8.7 I have installed mysql-essential-5.0.90-win32 and using Fedena 2.3.5 List of all gems installed:\* columnize (0.3.6) declarative\_authorization (0.5.1) fattr (2.2.1) ffi (1.9.0) gem\_plugin …

---

## [Announcing ngx\_pagespeed beta 1.5.27.1](https://www.ruby-forum.com/t/announcing-ngx-pagespeed-beta-1-5-27-1/228530)

<div class="topic-metadata">

**Author:** [@Jeff\_Kaufman](https://www.ruby-forum.com/u/Jeff_Kaufman)\
**Replies:** 3\
**Last updated:** [April 26, 2013, 8:16am UTC](https://www.ruby-forum.com/t/announcing-ngx-pagespeed-beta-1-5-27-1/228530 "2013-04-26T08:16:37Z")

</div>

The Nginx version of PageSpeed is now ready for production use. You can see it in action with examples on our demonstration site: http://ngxpagespeed.com Read more in our official announcement: http://googledevelope…

---

## [Confusion](https://www.ruby-forum.com/t/confusion/227350)

<div class="topic-metadata">

**Author:** [@robkuz](https://www.ruby-forum.com/u/robkuz)\
**Replies:** 8\
**Last updated:** [March 12, 2013, 6:49pm UTC](https://www.ruby-forum.com/t/confusion/227350 "2013-03-12T18:49:22Z")

</div>

SCNR Cheers robert

---

## [Select from 3 tables! has\_many throug](https://www.ruby-forum.com/t/select-from-3-tables-has-many-throug/223563)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 9, 2012, 9:48pm UTC](https://www.ruby-forum.com/t/select-from-3-tables-has-many-throug/223563 "2012-10-09T21:48:05Z")

</div>

class Place \< ActiveRecord::Base attr\_accessible :address, :city, :name, :description has\_many :meetings end Class Meeting \< ActiveRecord::Base attr\_accessible :start\_at, :place\_id, :title, :end\_at belongs\_to :plac…

---

## [RCR: setXXX(boolean) -\> set\_xxx (no params)](https://www.ruby-forum.com/t/rcr-setxxx-boolean-set-xxx-no-params/218545)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 5, 2012, 8:58pm UTC](https://www.ruby-forum.com/t/rcr-setxxx-boolean-set-xxx-no-params/218545 "2012-04-05T20:58:11Z")

</div>

Hello. Had the thought today that doing jframe.set\_visible would be nice to be able to do (basically, if it takes a boolean, and is a setter, you default to true if they pass no parameters). instead of jframe.set\_v…

---

## [Question about allowing a percentage of traffic](https://www.ruby-forum.com/t/question-about-allowing-a-percentage-of-traffic/218120)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 23, 2012, 8:42pm UTC](https://www.ruby-forum.com/t/question-about-allowing-a-percentage-of-traffic/218120 "2012-03-23T20:42:12Z")

</div>

This is about traffic control, in the case we get slammed by heavier traffic than expected we want to be able to gracefully only allow part of the users’ requests to come through. In my current nginx config, I have a …

---

## [Making Wordpress Plugins Work With Nginx](https://www.ruby-forum.com/t/making-wordpress-plugins-work-with-nginx/211889)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [September 17, 2011, 6:01am UTC](https://www.ruby-forum.com/t/making-wordpress-plugins-work-with-nginx/211889 "2011-09-17T06:01:12Z")

</div>

I’m new to Nginx (Moving from Apache). I’m having a problem where the majority of Wordpress plugin are not working. I’m using Nginx 1.1.3. Here are my configuration if it can help figuring out the problem ####nginx.co…

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

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