# Top

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

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

---

## [Having trouble specing an ajax request](https://www.ruby-forum.com/t/having-trouble-specing-an-ajax-request/131030)

<div class="topic-metadata">

**Author:** [@namrata](https://www.ruby-forum.com/u/namrata)\
**Replies:** 3\
**Last updated:** [March 7, 2008, 2:27am UTC](https://www.ruby-forum.com/t/having-trouble-specing-an-ajax-request/131030 "2008-03-07T02:27:59Z")

</div>

Do I need to spec an AR. If yes, what is the best way to spec this. here is the code - def index @deals = Deal.paginate(:all, :conditions =\> prepare\_search\_conditions, :order =\> ‘created\_at DESC’, :page =\> params…

---

## [Splitting up data for input (multiple controllers one model?](https://www.ruby-forum.com/t/splitting-up-data-for-input-multiple-controllers-one-model/131160)

<div class="topic-metadata">

**Author:** [@confundido](https://www.ruby-forum.com/u/confundido)\
**Replies:** 3\
**Last updated:** [March 6, 2008, 5:14pm UTC](https://www.ruby-forum.com/t/splitting-up-data-for-input-multiple-controllers-one-model/131160 "2008-03-06T17:14:48Z")

</div>

hi, I have a model detailing companies and i would like to split up the data entry into different views. for instance company profile, contact etc. so they can create a company then edit the various field using diffe…

---

## [How to generate dynamic regexp pattern from strings?](https://www.ruby-forum.com/t/how-to-generate-dynamic-regexp-pattern-from-strings/125452)

<div class="topic-metadata">

**Author:** [@xain](https://www.ruby-forum.com/u/xain)\
**Replies:** 3\
**Last updated:** [January 9, 2008, 8:02am UTC](https://www.ruby-forum.com/t/how-to-generate-dynamic-regexp-pattern-from-strings/125452 "2008-01-09T08:02:26Z")

</div>

Hi, Could anyone tell me how to generate regexp pattern from strings? for example, how to code the return\_pattern(str) method? thanks! str = “^test|production-(\\d+)” return\_pattern(str) ===\> /^test|production-(\\d+)/ …

---

## [Cookies and Foreign Classes](https://www.ruby-forum.com/t/cookies-and-foreign-classes/124642)

<div class="topic-metadata">

**Author:** [@ngm](https://www.ruby-forum.com/u/ngm)\
**Replies:** 3\
**Last updated:** [December 31, 2007, 4:36pm UTC](https://www.ruby-forum.com/t/cookies-and-foreign-classes/124642 "2007-12-31T16:36:26Z")

</div>

Hi guys, I have a method inside a controller that has many lines of code (some of them used to generate/read cookies). In order to keep the code readable and use the object-oriented power of Ruby, I created a foreign…

---

## [Rails 2 & Profiler](https://www.ruby-forum.com/t/rails-2-profiler/123848)

<div class="topic-metadata">

**Author:** [@subimage](https://www.ruby-forum.com/u/subimage)\
**Replies:** 3\
**Last updated:** [December 22, 2007, 11:18am UTC](https://www.ruby-forum.com/t/rails-2-profiler/123848 "2007-12-22T11:18:38Z")

</div>

So the new profiler in Rails 2.0 looks great - except I can’t figure out how to use the damn thing with my application. I have two unique things that might be preventing me from enjoying the profiler My app require…

---

## [Missing 2.0 stable branch](https://www.ruby-forum.com/t/missing-2-0-stable-branch/123900)

<div class="topic-metadata">

**Author:** [@Mark\_McSpadden](https://www.ruby-forum.com/u/Mark_McSpadden)\
**Replies:** 3\
**Last updated:** [December 22, 2007, 12:41am UTC](https://www.ruby-forum.com/t/missing-2-0-stable-branch/123900 "2007-12-22T00:41:23Z")

</div>

The dev.rubyonrails.org homepage seems to indicate that there is a stable branch of 2.0 available at the following address: http://svn.rubyonrails.org/rails/branches/2-0-stable That url does not seem to exist… Mark …

---

## [CIC passband compensation](https://www.ruby-forum.com/t/cic-passband-compensation/118343)

<div class="topic-metadata">

**Author:** [@Nirali\_P](https://www.ruby-forum.com/u/Nirali_P)\
**Replies:** 3\
**Last updated:** [October 25, 2007, 11:34pm UTC](https://www.ruby-forum.com/t/cic-passband-compensation/118343 "2007-10-25T23:34:37Z")

</div>

Hi, I am trying to understand the USRP receive chain response and referred to earlier posts that gave me almost all the information that I needed. However, I am unsure whether the HB filter compensates for the passban…

---

## [Problem with win32 service for mongrel (vista)](https://www.ruby-forum.com/t/problem-with-win32-service-for-mongrel-vista/117916)

<div class="topic-metadata">

**Author:** [@stefan](https://www.ruby-forum.com/u/stefan)\
**Replies:** 3\
**Last updated:** [October 25, 2007, 2:29pm UTC](https://www.ruby-forum.com/t/problem-with-win32-service-for-mongrel-vista/117916 "2007-10-25T14:29:45Z")

</div>

Hi, I tried to install the win32 service for mongrel with the following commands: gem install win32-service (win32-service 0.5.2 mswin32) gem install mongrel\_service (mongrel\_service 0.3.2 (mswin32) mongrel\_rails…

---

## [Working with the response DOM](https://www.ruby-forum.com/t/working-with-the-response-dom/118137)

<div class="topic-metadata">

**Author:** [@andywatts](https://www.ruby-forum.com/u/andywatts)\
**Replies:** 3\
**Last updated:** [October 25, 2007, 6:30am UTC](https://www.ruby-forum.com/t/working-with-the-response-dom/118137 "2007-10-25T06:30:42Z")

</div>

Hi, Anyone know a way to traverse/query the DOM in a response? I’m trying to write reusable story step implementations and as much as possible want to work with the actual response from a previous GET. As an example,…

---

## [How to install plugins behind a proxy](https://www.ruby-forum.com/t/how-to-install-plugins-behind-a-proxy/114834)

<div class="topic-metadata">

**Author:** [@Lucas\_HSSSSngaro](https://www.ruby-forum.com/u/Lucas_HSSSSngaro)\
**Replies:** 3\
**Last updated:** [September 30, 2007, 5:10pm UTC](https://www.ruby-forum.com/t/how-to-install-plugins-behind-a-proxy/114834 "2007-09-30T17:10:59Z")

</div>

Hello there. I’m trying to install some plugins for my Rails application but my network is behind a proxy server. The gem installer have the -p parameter to configure a proxy and it works ok, but what about script/ p…

---

## [Mod\_ruby, eRuby Question](https://www.ruby-forum.com/t/mod-ruby-eruby-question/83018)

<div class="topic-metadata">

**Author:** [@Lincoln\_Anderson](https://www.ruby-forum.com/u/Lincoln_Anderson)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/mod-ruby-eruby-question/83018 "2007-09-25T23:04:13Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I’ve got an Apache2 testbed server set up to do some work with Ruby and RoR… As part of the setup I installed mod\_ruby so that Apache can process Ruby scripts, as well as…

---

## [Parsing text files](https://www.ruby-forum.com/t/parsing-text-files/114397)

<div class="topic-metadata">

**Author:** [@Christian\_WattengSS](https://www.ruby-forum.com/u/Christian_WattengSS)\
**Replies:** 3\
**Last updated:** [September 12, 2007, 6:48pm UTC](https://www.ruby-forum.com/t/parsing-text-files/114397 "2007-09-12T18:48:29Z")

</div>

I have some textfiles with about the following format Lorem ipsum|And so on|And on|And on 5|3|4|77|2|3|5 More lorem|And more ipsum|And so forth Just several more lines :slight\_smile: What would be the easiest way to p…

---

## [\[BUG\] Stack consistency error (sp: 11, bp: 12)](https://www.ruby-forum.com/t/bug-stack-consistency-error-sp-11-bp-12/112005)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 3\
**Last updated:** [August 14, 2007, 1:23pm UTC](https://www.ruby-forum.com/t/bug-stack-consistency-error-sp-11-bp-12/112005 "2007-08-14T13:23:44Z")

</div>

e$B0J2\<$N$h$&$K$9$k$He(B Stack consistency error e$B$K$J$j$^$9!#e(B % ./ruby -e ’ class C def inspect bar {} end def bar raise ensure end end C.new.foo ’ -e:12:in \`method\_missing’-e:4: – control frame ------…

---

## [Odd requirement behavior between two environments](https://www.ruby-forum.com/t/odd-requirement-behavior-between-two-environments/109557)

<div class="topic-metadata">

**Author:** [@ian](https://www.ruby-forum.com/u/ian)\
**Replies:** 3\
**Last updated:** [July 16, 2007, 9:26pm UTC](https://www.ruby-forum.com/t/odd-requirement-behavior-between-two-environments/109557 "2007-07-16T21:26:01Z")

</div>

I’m setting up a Ruby project on a new development machine and have run into some trouble getting my unit tests to run. Can any one suggest what the vital difference between these two machines might be, or what is cau…

---

## [ActiveResource gem problem](https://www.ruby-forum.com/t/activeresource-gem-problem/109303)

<div class="topic-metadata">

**Author:** [@bmcolombet](https://www.ruby-forum.com/u/bmcolombet)\
**Replies:** 3\
**Last updated:** [July 14, 2007, 3:28am UTC](https://www.ruby-forum.com/t/activeresource-gem-problem/109303 "2007-07-14T03:28:09Z")

</div>

Hi, I’m trying to use ActiveResource with my Rails 1.2.3. I installed ARes 0.9.0 with the current command: sudo gem install --version 0.9.0 activeresource --source http://gems.rubyonrails.org I inserted “require” in…

---

## [How to install view\_debug\_helper in my rails app](https://www.ruby-forum.com/t/how-to-install-view-debug-helper-in-my-rails-app/103366)

<div class="topic-metadata">

**Author:** [@anakintang](https://www.ruby-forum.com/u/anakintang)\
**Replies:** 3\
**Last updated:** [May 6, 2007, 7:24pm UTC](https://www.ruby-forum.com/t/how-to-install-view-debug-helper-in-my-rails-app/103366 "2007-05-06T19:24:58Z")

</div>

All, I was trying to install view\_debug\_helper in my rails app, but I am quite new to rails, so I don’t know where to put the view\_debug\_helper.rb and init.rb in my app and any thing else I need to put in my applicat…

---

## [Creating a "friends" association?](https://www.ruby-forum.com/t/creating-a-friends-association/92830)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [April 25, 2007, 4:08am UTC](https://www.ruby-forum.com/t/creating-a-friends-association/92830 "2007-04-25T04:08:28Z")

</div>

Hi, I have a Friend model that looks like this: create\_table “friendships”, :force =\> true do |t| t.column “sent\_by\_user\_id”, :integer t.column “received\_by\_user\_id”, :integer t.column “status”, :boo…

---

## [Automatic diagram generation with HTML output](https://www.ruby-forum.com/t/automatic-diagram-generation-with-html-output/92257)

<div class="topic-metadata">

**Author:** [@isbof](https://www.ruby-forum.com/u/isbof)\
**Replies:** 3\
**Last updated:** [April 20, 2007, 1:45am UTC](https://www.ruby-forum.com/t/automatic-diagram-generation-with-html-output/92257 "2007-04-20T01:45:19Z")

</div>

Does any one know of a good, open source, diagram package/library that generates html pages? I need to show a complex relationship between web pages, a normal tree structure would not be enough. IsBOF

---

## [Multi-machine sweeper](https://www.ruby-forum.com/t/multi-machine-sweeper/90232)

<div class="topic-metadata">

**Author:** [@Brett\_LSTrotter](https://www.ruby-forum.com/u/Brett_LSTrotter)\
**Replies:** 3\
**Last updated:** [April 2, 2007, 11:46pm UTC](https://www.ruby-forum.com/t/multi-machine-sweeper/90232 "2007-04-02T23:46:53Z")

</div>

In looking for particular frequencies which can successfully transmit across a particular medium or antenna, I’ve spent days running benchmark\_tx on one side and benchmark\_rx on the other (two separate machines). I’ve…

---

## [Simple GR\_SYNC\_BLOCK](https://www.ruby-forum.com/t/simple-gr-sync-block/88047)

<div class="topic-metadata">

**Author:** [@dang](https://www.ruby-forum.com/u/dang)\
**Replies:** 3\
**Last updated:** [March 7, 2007, 7:27pm UTC](https://www.ruby-forum.com/t/simple-gr-sync-block/88047 "2007-03-07T19:27:30Z")

</div>

I think I’ve misunderstood they way GR\_SYNC\_BLOCK works. Can someone set me strait? I’ve called set\_history(1) in the constructor; I have one input and one output. I assumed that the in buffer would contain noutput\_i…

---

## [Require statement clarification](https://www.ruby-forum.com/t/require-statement-clarification/84559)

<div class="topic-metadata">

**Author:** [@nevf](https://www.ruby-forum.com/u/nevf)\
**Replies:** 3\
**Last updated:** [February 6, 2007, 1:00am UTC](https://www.ruby-forum.com/t/require-statement-clarification/84559 "2007-02-06T01:00:03Z")

</div>

For require “filename” if the filename doesn’t include an extension is .rb assumed. I’ve been unable to find any documentation on this. Also the Ruby distribution telnet.rb source file includes: require “socket” howe…

---

## [Beginner's question](https://www.ruby-forum.com/t/beginners-question/84169)

<div class="topic-metadata">

**Author:** [@jerryjj](https://www.ruby-forum.com/u/jerryjj)\
**Replies:** 3\
**Last updated:** [February 2, 2007, 12:05am UTC](https://www.ruby-forum.com/t/beginners-question/84169 "2007-02-02T00:05:27Z")

</div>

Is there a place where I should be asking beginner’s questions? I am new to Ruby, and a novice at programming.

---

## [Regexp captures](https://www.ruby-forum.com/t/regexp-captures/83927)

<div class="topic-metadata">

**Author:** [@el-gato](https://www.ruby-forum.com/u/el-gato)\
**Replies:** 3\
**Last updated:** [January 31, 2007, 8:33pm UTC](https://www.ruby-forum.com/t/regexp-captures/83927 "2007-01-31T20:33:52Z")

</div>

I find myself doing something like this a lot lately: where result is most often the textual output of a %x{command} (c = result.match(/id: (\\d+)/)) ? c.captures.first : result.scan(/error: (.\*)/).to\_s Is there a smoo…

---

## [Query: left join](https://www.ruby-forum.com/t/query-left-join/78516)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [December 15, 2006, 3:03pm UTC](https://www.ruby-forum.com/t/query-left-join/78516 "2006-12-15T15:03:36Z")

</div>

Ciao a Tutti ho questa query: SELECT DIPENDENTI.PRG, TVISITA.DIPEND, COGNOME, NOME, DATA FROM DIPENDENTI LEFT JOIN TVISITA ON (TVISITA.DIPEND=DIPENDENTI.PRG) ORDER BY COGNOME, NOME Io ho fatto così, è corretto? @di…

---

## [Advanced activerecord validation](https://www.ruby-forum.com/t/advanced-activerecord-validation/76798)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [November 21, 2006, 2:59pm UTC](https://www.ruby-forum.com/t/advanced-activerecord-validation/76798 "2006-11-21T14:59:11Z")

</div>

Hey everyone, I was wondering if its possible that something like this: validates\_presence\_of :image\_1 is only run when in a particular :action. Petr

---

## [Bug: right shift (\>\>) for Bignum?](https://www.ruby-forum.com/t/bug-right-shift-for-bignum/71314)

<div class="topic-metadata">

**Author:** [@Johan\_H](https://www.ruby-forum.com/u/Johan_H)\
**Replies:** 3\
**Last updated:** [October 7, 2006, 5:52pm UTC](https://www.ruby-forum.com/t/bug-right-shift-for-bignum/71314 "2006-10-07T17:52:22Z")

</div>

Hi! I think I have stumbled on a bug in the right shift method on Bignums. An expression like (1 - 2\*\*i) \>\> (i+1) normally gives a value of -1 (i.e. minus one). But when the shift amount is near a multiple of 32 (or…

---

## [Lancer une exception?](https://www.ruby-forum.com/t/lancer-une-exception/64865)

<div class="topic-metadata">

**Author:** [@Zambra](https://www.ruby-forum.com/u/Zambra)\
**Replies:** 3\
**Last updated:** [August 15, 2006, 2:20pm UTC](https://www.ruby-forum.com/t/lancer-une-exception/64865 "2006-08-15T14:20:35Z")

</div>

Re-salut, Je n’arrive pas à trouver comment lancer une exception depuis une méthode de mon modèle pour que le contrôleur stoppe l’appli avec un message d’erreur. Ex. une classe Image avec une méthode create\_thumbnail…

---

## [Does Find also tell you a count of the array size?](https://www.ruby-forum.com/t/does-find-also-tell-you-a-count-of-the-array-size/99163)

<div class="topic-metadata">

**Author:** [@thekog](https://www.ruby-forum.com/u/thekog)\
**Replies:** 3\
**Last updated:** [July 20, 2006, 7:32pm UTC](https://www.ruby-forum.com/t/does-find-also-tell-you-a-count-of-the-array-size/99163 "2006-07-20T19:32:02Z")

</div>

When I use @persons = Find(:all) (for example) and I get back an array of persons, is there an easy way to tell how many rows the find returned? I have been using Persons.count(:all) but you would think Find knows how …

---

## [\[ANN\] Mongrel 0.3.13 Pre-Release -- Caulking Release](https://www.ruby-forum.com/t/ann-mongrel-0-3-13-pre-release-caulking-release/63519)

<div class="topic-metadata">

**Author:** [@Zed\_S](https://www.ruby-forum.com/u/Zed_S)\
**Replies:** 3\
**Last updated:** [June 17, 2006, 12:58am UTC](https://www.ruby-forum.com/t/ann-mongrel-0-3-13-pre-release-caulking-release/63519 "2006-06-17T00:58:43Z")

</div>

Hello Everyone, Francois S. inadvertently found a way to replicate a rare but deadly bug right as I was working up the official release of Mongrel 0.3.13. This bug only happened to a few people, but thanks to the wond…

---

## [Repost: Pluralization of non-noun names](https://www.ruby-forum.com/t/repost-pluralization-of-non-noun-names/61110)

<div class="topic-metadata">

**Author:** [@unebaguettesvp](https://www.ruby-forum.com/u/unebaguettesvp)\
**Replies:** 3\
**Last updated:** [May 20, 2006, 6:54am UTC](https://www.ruby-forum.com/t/repost-pluralization-of-non-noun-names/61110 "2006-05-20T06:54:16Z")

</div>

People, I didn’t get an answer to this before so I am trying again: I could change an existing “policy” table to “policies” with no drama but the are a number of related tables ie: p\_2quot p\_addr p\_cc p\_cs p\_dire…

---

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

<div class="topic-metadata">

**Author:** [@harper](https://www.ruby-forum.com/u/harper)\
**Replies:** 3\
**Last updated:** [May 15, 2006, 5:32am UTC](https://www.ruby-forum.com/t/hi-all/94779 "2006-05-15T05:32:53Z")

</div>

Not much I can say except that I am very excited to enter this new world(solely for me of course, kind of late) of rubyonrails.If anyone has any patience or just plain kindness to help me on my first steps (leaps?) , …

---

## [Routing requests without ID parameter](https://www.ruby-forum.com/t/routing-requests-without-id-parameter/59211)

<div class="topic-metadata">

**Author:** [@Diego](https://www.ruby-forum.com/u/Diego)\
**Replies:** 3\
**Last updated:** [May 3, 2006, 6:58pm UTC](https://www.ruby-forum.com/t/routing-requests-without-id-parameter/59211 "2006-05-03T18:58:09Z")

</div>

Hi there, This seems to be obvious but after reading a few times the section in the Agile Wb Dev with Rails I’m still strugling. I have a table with categories names which I want to display in the url instead of thei…

---

## [Catch all error for incorrect urls etc](https://www.ruby-forum.com/t/catch-all-error-for-incorrect-urls-etc/94238)

<div class="topic-metadata">

**Author:** [@dracos](https://www.ruby-forum.com/u/dracos)\
**Replies:** 3\
**Last updated:** [April 27, 2006, 2:36am UTC](https://www.ruby-forum.com/t/catch-all-error-for-incorrect-urls-etc/94238 "2006-04-27T02:36:15Z")

</div>

Hi, I am changing a very standard old school website to rails. When I make the change to rails, all of the old urls will not be valid. If a person has a bookmark to an old web page I would like them to be directed to…

---

## [Ruby auto formatter](https://www.ruby-forum.com/t/ruby-auto-formatter/57525)

<div class="topic-metadata">

**Author:** [@jamal86](https://www.ruby-forum.com/u/jamal86)\
**Replies:** 3\
**Last updated:** [April 12, 2006, 10:32pm UTC](https://www.ruby-forum.com/t/ruby-auto-formatter/57525 "2006-04-12T22:32:41Z")

</div>

Is there a Windows tool that does a reasonable job of globally formatting an existing Ruby script file so that it complies with the convention for code indentation? Jamal

---

## [Returning CSV data to the client](https://www.ruby-forum.com/t/returning-csv-data-to-the-client/55737)

<div class="topic-metadata">

**Author:** [@pete](https://www.ruby-forum.com/u/pete)\
**Replies:** 3\
**Last updated:** [March 23, 2006, 4:50pm UTC](https://www.ruby-forum.com/t/returning-csv-data-to-the-client/55737 "2006-03-23T16:50:03Z")

</div>

Hi, One of my apps has to export data for the backend system to process it. What’s the best way to create a CSV file in Rails and then return it as a file to the client? i.e when they go to the link /csv/get\_data it …

---

## [Is shared hosting evil?](https://www.ruby-forum.com/t/is-shared-hosting-evil/68185)

<div class="topic-metadata">

**Author:** [@aseldo](https://www.ruby-forum.com/u/aseldo)\
**Replies:** 3\
**Last updated:** [February 14, 2006, 8:37pm UTC](https://www.ruby-forum.com/t/is-shared-hosting-evil/68185 "2006-02-14T20:37:23Z")

</div>

I moved a rails application to textdrive using their low-cost shared plan. Once on textdrive my app would display ‘proxy errors’ periodically. Hitting reload seemed to be all that was needed to get past the proxy er…

---

## [Having trouble embedding ruby](https://www.ruby-forum.com/t/having-trouble-embedding-ruby/53199)

<div class="topic-metadata">

**Author:** [@Mikko\_L](https://www.ruby-forum.com/u/Mikko_L)\
**Replies:** 3\
**Last updated:** [January 28, 2006, 10:21pm UTC](https://www.ruby-forum.com/t/having-trouble-embedding-ruby/53199 "2006-01-28T22:21:38Z")

</div>

Hi, What I have is: - A little wrapper executable which basicly just links to libruby-static.a and tries to run a specific script. - Extension, that for now does nothing but try to init GLUT and open a window - Op…

---

## [1.8.4 untaint behavior](https://www.ruby-forum.com/t/1-8-4-untaint-behavior/52689)

<div class="topic-metadata">

**Author:** [@kelleysislander](https://www.ruby-forum.com/u/kelleysislander)\
**Replies:** 3\
**Last updated:** [January 18, 2006, 5:43am UTC](https://www.ruby-forum.com/t/1-8-4-untaint-behavior/52689 "2006-01-18T05:43:51Z")

</div>

Hi, I have a script running at $SAFE = 1, and after upgrading ruby from 1.8.2 to 1.8.4 (ruby 1.8.4 (2005-12-24) \[i686-linux\]), I started seeing SecurityError exceptions. By adding printouts to the following code, I v…

---

## [Advanced routing question](https://www.ruby-forum.com/t/advanced-routing-question/50284)

<div class="topic-metadata">

**Author:** [@aantix](https://www.ruby-forum.com/u/aantix)\
**Replies:** 3\
**Last updated:** [January 9, 2006, 8:30am UTC](https://www.ruby-forum.com/t/advanced-routing-question/50284 "2006-01-09T08:30:32Z")

</div>

Hello All, I’m making a quick application that tracks outgoing links to referral sites. I need to track the user and the url they went to so the easiest way would be to take the entire url as a parameter and log tha…

---

## [What am I doing wrong!](https://www.ruby-forum.com/t/what-am-i-doing-wrong/89190)

<div class="topic-metadata">

**Author:** [@brucebalmer](https://www.ruby-forum.com/u/brucebalmer)\
**Replies:** 3\
**Last updated:** [January 6, 2006, 6:16am UTC](https://www.ruby-forum.com/t/what-am-i-doing-wrong/89190 "2006-01-06T06:16:19Z")

</div>

Hi: @x = Invoice.find(:first) if @x do one thing else do another end This ought to work but does not. I think that @x is nil but if I test for existance or @x != nil or @x.attribute != nil - my code does not re…

---

## [ActiveRecord.Base#save broken after 1.0 upgrade](https://www.ruby-forum.com/t/activerecord-base-save-broken-after-1-0-upgrade/74268)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [December 22, 2005, 2:15am UTC](https://www.ruby-forum.com/t/activerecord-base-save-broken-after-1-0-upgrade/74268 "2005-12-22T02:15:35Z")

</div>

I have several models which all have has\_and\_belongs\_to\_many releationships with each other. When the create action is called, the ActiveRecord.Base#save will only save one of these relationships, the rest will be ign…

---

## ['Mysql has gone away'](https://www.ruby-forum.com/t/mysql-has-gone-away/49221)

<div class="topic-metadata">

**Author:** [@paul.vudmaska](https://www.ruby-forum.com/u/paul.vudmaska)\
**Replies:** 3\
**Last updated:** [December 6, 2005, 8:28pm UTC](https://www.ruby-forum.com/t/mysql-has-gone-away/49221 "2005-12-06T20:28:52Z")

</div>

I’m using EdgeRails from SVN on TextDrive. I’m often getting ‘Mysql has gone away’ errors and my understanding is this is an issue with EdgeRails that is being addressed. Can anyone verify that for me? I’m having som…

---

## [Re: string range membership](https://www.ruby-forum.com/t/re-string-range-membership/100716)

<div class="topic-metadata">

**Author:** [@warrenbrown](https://www.ruby-forum.com/u/warrenbrown)\
**Replies:** 3\
**Last updated:** [November 23, 2005, 4:30pm UTC](https://www.ruby-forum.com/t/re-string-range-membership/100716 "2005-11-23T16:30:27Z")

</div>

Brian, I’d argue that it is not a bug, as there is no unique isomorphie from strings to integers. I have to disagree. ruby -v -e “p((‘1’…‘10’).to\_a)” ruby 1.8.2 (2004-12-25) \[i386-mswin32\] \[“1”, “2”, “3”, “4”, “…

---

## [Store chat conversations](https://www.ruby-forum.com/t/store-chat-conversations/228836)

<div class="topic-metadata">

**Author:** [@aashishkiran](https://www.ruby-forum.com/u/aashishkiran)\
**Replies:** 4\
**Last updated:** [May 9, 2013, 7:09pm UTC](https://www.ruby-forum.com/t/store-chat-conversations/228836 "2013-05-09T19:09:33Z")

</div>

Hi, Can anyone know how to save chat conversations in rails. I am using private\_pub. I want to have a chat feature like facebook. Thanks, Aashish

---

## [Lost upgrading from 2.3.8 to 3.1.1](https://www.ruby-forum.com/t/lost-upgrading-from-2-3-8-to-3-1-1/215055)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [December 21, 2011, 5:55am UTC](https://www.ruby-forum.com/t/lost-upgrading-from-2-3-8-to-3-1-1/215055 "2011-12-21T05:55:37Z")

</div>

I have been converting from Rails 2.3.8 to Rails 3.1.1 and have made some progress. The 2.3.8 code works fine. I am now getting the following error and am fairly clueless where to look. I think I’ve got an error in …

---

## [Rubygems down?](https://www.ruby-forum.com/t/rubygems-down/206371)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [April 29, 2011, 2:21pm UTC](https://www.ruby-forum.com/t/rubygems-down/206371 "2011-04-29T14:21:21Z")

</div>

Is it a rubygems problem or an error of mine ? For two days now : C:\\Documents and Settings\\Michel\>gem update Updating installed gems ERROR: While executing gem … (Gem::RemoteFetcher::FetchError) SocketError: getadd…

---

## [Large (300mb - 1gb) file uplods?](https://www.ruby-forum.com/t/large-300mb-1gb-file-uplods/201631)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 12, 2011, 2:49am UTC](https://www.ruby-forum.com/t/large-300mb-1gb-file-uplods/201631 "2011-01-12T02:49:22Z")

</div>

I am writing an app for basically internal use for a client for their billing process. There are a few large files which need to be uploaded or added to the system as in input to this process. I am wondering whether …

---

## [Gnuradio package description](https://www.ruby-forum.com/t/gnuradio-package-description/199248)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 4\
**Last updated:** [November 17, 2010, 2:08pm UTC](https://www.ruby-forum.com/t/gnuradio-package-description/199248 "2010-11-17T14:08:57Z")

</div>

Hi! Could anyone please describe what are these packages for: gr-gpio gr-trellis gr-utils gcell gr-gcell gr-msdd6000 gr-atsc gr-comedi gr-noaa View this message in context: http://old.nabble.com/Gnuradio-packa…

---

## [Rails 2.3.x documentation archive?](https://www.ruby-forum.com/t/rails-2-3-x-documentation-archive/194819)

<div class="topic-metadata">

**Author:** [@tom](https://www.ruby-forum.com/u/tom)\
**Replies:** 4\
**Last updated:** [September 13, 2010, 10:06am UTC](https://www.ruby-forum.com/t/rails-2-3-x-documentation-archive/194819 "2010-09-13T10:06:53Z")

</div>

Hi, I’m a developer on several projects using rails 2.3.4 and since the release of 3.0, I haven’t been able to find any documentation for 2.3.4 online. I have the rdocs from the gem install, but haven’t been able to …

---

## [:joins VS :include =\> different results?](https://www.ruby-forum.com/t/joins-vs-include-different-results/189536)

<div class="topic-metadata">

**Author:** [@tharrisx](https://www.ruby-forum.com/u/tharrisx)\
**Replies:** 4\
**Last updated:** [June 2, 2010, 10:23pm UTC](https://www.ruby-forum.com/t/joins-vs-include-different-results/189536 "2010-06-02T22:23:51Z")

</div>

Hi there, assume that: 1 we have the following situation: Book :has\_many Pages :has\_many Illustrations ==== ===== ============= 2 certain pages have NO illustrations 3 the following 2 cases: A)…

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

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