# Top

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

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

---

## [Rails find :conditions seems to remove extra blanks? (e.g. where description = 'x x x x x') is this](https://www.ruby-forum.com/t/rails-find-conditions-seems-to-remove-extra-blanks-e-g-where-description-x-x-x-x-x-is-this/161525)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 3\
**Last updated:** [March 1, 2009, 1:13am UTC](https://www.ruby-forum.com/t/rails-find-conditions-seems-to-remove-extra-blanks-e-g-where-description-x-x-x-x-x-is-this/161525 "2009-03-01T01:13:29Z")

</div>

Hi, Is this a Rails bug? NORMAL SQL ?\> AccountItem.find\_by\_sql( “select \* from account\_items where description = ‘FISHERS IGA HAMILTON HAMILTON AU 000318’”) =\> \[#\<AccountItem id: 1100, account\_id: 5, recurr…

---

## [Better way to do this?](https://www.ruby-forum.com/t/better-way-to-do-this/160204)

<div class="topic-metadata">

**Author:** [@pitosalas](https://www.ruby-forum.com/u/pitosalas)\
**Replies:** 3\
**Last updated:** [February 12, 2009, 11:50pm UTC](https://www.ruby-forum.com/t/better-way-to-do-this/160204 "2009-02-12T23:50:01Z")

</div>

Hi, I seem to be repeating myself in the following little bit: if (!@options\[:namespace\].nil?) namespace\_options = @options\[:namespace\] root.add\_namespace(namespace\_options\[:namespace\], namespace\_options\[:value\]) e…

---

## [Mitarbeiter bei OpenSource Projekt gesucht (RailsERP)](https://www.ruby-forum.com/t/mitarbeiter-bei-opensource-projekt-gesucht-railserp/160004)

<div class="topic-metadata">

**Author:** [@earth1986](https://www.ruby-forum.com/u/earth1986)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 9:19pm UTC](https://www.ruby-forum.com/t/mitarbeiter-bei-opensource-projekt-gesucht-railserp/160004 "2009-02-10T21:19:35Z")

</div>

Hallo an alle ich mÃ¶chte hier mein Projekt RailsERP vorstellen: Was ist RailsERP? RailsERP soll ein OpenSource (GPL) einfaches ERP und CRM darstellen. welches von einer groÃŸen Gemeinschaft programmiert wird. Das …

---

## [Session In the model](https://www.ruby-forum.com/t/session-in-the-model/155548)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 3\
**Last updated:** [December 19, 2008, 10:11am UTC](https://www.ruby-forum.com/t/session-in-the-model/155548 "2008-12-19T10:11:50Z")

</div>

Hi i have the model SDTicket which has a field modified\_by\_id and it has to take data from session\[:id\] Now this SDTicket model has many associated models like Activity one of them So when ever an activity happens t…

---

## [Help with calculation](https://www.ruby-forum.com/t/help-with-calculation/155851)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 3\
**Last updated:** [December 17, 2008, 6:22pm UTC](https://www.ruby-forum.com/t/help-with-calculation/155851 "2008-12-17T18:22:36Z")

</div>

I need some help with a calculation in a survey that I run. I have one table with words, characteristics, such as “careful, dominant, positive” etc. People are then to select the words they think belong to a visual d…

---

## [SuperInPlaceControl](https://www.ruby-forum.com/t/superinplacecontrol/154919)

<div class="topic-metadata">

**Author:** [@Harold](https://www.ruby-forum.com/u/Harold)\
**Replies:** 3\
**Last updated:** [December 6, 2008, 8:04pm UTC](https://www.ruby-forum.com/t/superinplacecontrol/154919 "2008-12-06T20:04:18Z")

</div>

In Rails 2.1, I am using the SuperInPlaceControl plugin to render an in\_place\_select on an instance of a model with a has\_many relationship. So far so good, except that when I click on OK to save the user’s selection,…

---

## [Confused regarding text example](https://www.ruby-forum.com/t/confused-regarding-text-example/149061)

<div class="topic-metadata">

**Author:** [@paradise](https://www.ruby-forum.com/u/paradise)\
**Replies:** 3\
**Last updated:** [September 20, 2008, 12:22am UTC](https://www.ruby-forum.com/t/confused-regarding-text-example/149061 "2008-09-20T00:22:32Z")

</div>

Hey, So as I am reviewing Ruby I came across the old find strings with xyz pattern. The code is as follows: class WordIndex def initialize @index = {} end def add\_to\_index(obj, \*phrases) phrases.each do |phrase| …

---

## [\[JOB\] Softwareentwickler/-in, prometheus-Bildarchiv, KÃ¶ln](https://www.ruby-forum.com/t/job-softwareentwickler-in-prometheus-bildarchiv-ka-ln/149064)

<div class="topic-metadata">

**Author:** [@jwille](https://www.ruby-forum.com/u/jwille)\
**Replies:** 0\
**Last updated:** [September 19, 2008, 11:00pm UTC](https://www.ruby-forum.com/t/job-softwareentwickler-in-prometheus-bildarchiv-ka-ln/149064 "2008-09-19T23:00:54Z")

</div>

Hallo zusammen! Wir, das prometheus-Bildarchiv an der UniversitÃ¤t zu KÃ¶ln, bitten um Kenntnisnahme der folgenden Stellenausschreibung einer Vollzeitstelle fÃ¼r eine/n Softwareentwickler/-in. Zudem mÃ¶chten wir vorau…

---

## [Uninitialized constant Hpricot::XChar](https://www.ruby-forum.com/t/uninitialized-constant-hpricot-xchar/148753)

<div class="topic-metadata">

**Author:** [@xavi](https://www.ruby-forum.com/u/xavi)\
**Replies:** 3\
**Last updated:** [September 17, 2008, 10:38am UTC](https://www.ruby-forum.com/t/uninitialized-constant-hpricot-xchar/148753 "2008-09-17T10:38:39Z")

</div>

Hello, I’m using Hpricot in a Rails app. I’m trying to modify how it parses non-breaking space entities ( ) so that they are converted into spaces when using Hpricot’s inner\_text (instead of being converted to the co…

---

## [Eventports](https://www.ruby-forum.com/t/eventports/146631)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 3\
**Last updated:** [August 27, 2008, 8:33am UTC](https://www.ruby-forum.com/t/eventports/146631 "2008-08-27T08:33:20Z")

</div>

Someone on nginx blogged about this… http://letsgetdugg.com/view/Nginx\_hidden\_performance\_option Wondering what OSes would benefit from this? and at what point would it help to turn on, or should it be on always, or s…

---

## [Day 2 on Ruby - Confused](https://www.ruby-forum.com/t/day-2-on-ruby-confused/145472)

<div class="topic-metadata">

**Author:** [@trope](https://www.ruby-forum.com/u/trope)\
**Replies:** 3\
**Last updated:** [August 10, 2008, 11:29pm UTC](https://www.ruby-forum.com/t/day-2-on-ruby-confused/145472 "2008-08-10T23:29:30Z")

</div>

Ok I admit , the screencasts and from what I have seen so far got me excited. I am an experienced PHP, C++, Assembly, etc programmer. I have been around this block many times. I know you need to “pay your dues” before…

---

## [MiniExiftool 0.7.0 released](https://www.ruby-forum.com/t/miniexiftool-0-7-0-released/142427)

<div class="topic-metadata">

**Author:** [@janfoeh](https://www.ruby-forum.com/u/janfoeh)\
**Replies:** 0\
**Last updated:** [July 7, 2008, 10:00pm UTC](https://www.ruby-forum.com/t/miniexiftool-0-7-0-released/142427 "2008-07-07T22:00:36Z")

</div>

MiniExiftool version 0.7.0 released! http://miniexiftool.rubyforge.org/ MiniExiftool is a wrapper library for the Exiftool command-line application (www.sno.phy.queensu.ca/~phil/exiftool/) written by Phil Harvay. One…

---

## [Generator for lazy people (mydry)](https://www.ruby-forum.com/t/generator-for-lazy-people-mydry/136520)

<div class="topic-metadata">

**Author:** [@urubatan](https://www.ruby-forum.com/u/urubatan)\
**Replies:** 3\
**Last updated:** [May 3, 2008, 5:33pm UTC](https://www.ruby-forum.com/t/generator-for-lazy-people-mydry/136520 "2008-05-03T17:33:53Z")

</div>

I have just release a rails plugin with a generator that takes the information you already wrote on the migration and creates a model with that information already included. for example: not null fields belongs\_to a…

---

## [Question about array.each{|x| delete x}](https://www.ruby-forum.com/t/question-about-array-each-x-delete-x/135701)

<div class="topic-metadata">

**Author:** [@Frisco\_Del\_R](https://www.ruby-forum.com/u/Frisco_Del_R)\
**Replies:** 3\
**Last updated:** [April 24, 2008, 11:21pm UTC](https://www.ruby-forum.com/t/question-about-array-each-x-delete-x/135701 "2008-04-24T23:21:01Z")

</div>

myArray = \[1, 2, 3\] puts myArray myArray.each {|x| if x == 1 then puts “one” elsif x == 2 then myArray.delete x elsif x == 3 then puts “three” end } puts myArray The output of the above is: 1 2 3 one 1 …

---

## [Irb error on osx 10.4.11](https://www.ruby-forum.com/t/irb-error-on-osx-10-4-11/134553)

<div class="topic-metadata">

**Author:** [@dhuebsch](https://www.ruby-forum.com/u/dhuebsch)\
**Replies:** 3\
**Last updated:** [April 12, 2008, 7:03pm UTC](https://www.ruby-forum.com/t/irb-error-on-osx-10-4-11/134553 "2008-04-12T19:03:19Z")

</div>

irb dyld: NSLinkModule() error dyld: Symbol not found: \_rl\_filename\_completion\_function Referenced from: /usr/local/lib/ruby/1.8/powerpc-darwin8.11.0/readline.bundle Expected in: flat namespace Trace/BPT trap ruby…

---

## [Begin/rescue not behaving how I want](https://www.ruby-forum.com/t/begin-rescue-not-behaving-how-i-want/133511)

<div class="topic-metadata">

**Author:** [@nefigah](https://www.ruby-forum.com/u/nefigah)\
**Replies:** 3\
**Last updated:** [April 1, 2008, 9:22am UTC](https://www.ruby-forum.com/t/begin-rescue-not-behaving-how-i-want/133511 "2008-04-01T09:22:40Z")

</div>

So I have some code that routinely checks for email in a cron job. Most of the time it works great. However, sometimes it gets a timeout error, which is fine; it happens. The thing is, I don’t want it to clog up my lo…

---

## [Post method to custom action](https://www.ruby-forum.com/t/post-method-to-custom-action/130727)

<div class="topic-metadata">

**Author:** [@grayson](https://www.ruby-forum.com/u/grayson)\
**Replies:** 3\
**Last updated:** [March 3, 2008, 7:57am UTC](https://www.ruby-forum.com/t/post-method-to-custom-action/130727 "2008-03-03T07:57:52Z")

</div>

I posted this question last night but it doesn’t seem to have made it to the group. I’m wondering why I can’t get a post method to work for a custom action I’ve tried map.resources :foo, :collection =\> { :sort =\> :po…

---

## [USRP digital I/O](https://www.ruby-forum.com/t/usrp-digital-i-o/127386)

<div class="topic-metadata">

**Author:** [@Tyrel\_Newton](https://www.ruby-forum.com/u/Tyrel_Newton)\
**Replies:** 3\
**Last updated:** [January 29, 2008, 4:27am UTC](https://www.ruby-forum.com/t/usrp-digital-i-o/127386 "2008-01-29T04:27:38Z")

</div>

Hello to all, I’m new gnuradio and the USRP and I was hoping somebody can provide me with a quick answer/advice before I go digging through the source code (I didn’t find an obvious answer looking through the wiki and …

---

## [Routing Error](https://www.ruby-forum.com/t/routing-error/122365)

<div class="topic-metadata">

**Author:** [@brad](https://www.ruby-forum.com/u/brad)\
**Replies:** 3\
**Last updated:** [December 7, 2007, 4:02pm UTC](https://www.ruby-forum.com/t/routing-error/122365 "2007-12-07T16:02:09Z")

</div>

Hello, I’m just starting to learn Ruby on Rails. I’m following a tutorial in a book but the examples are not working, I keep getting Routing Error “no route found to match “/\\look\\at” with {:method=\>:get}” What I ha…

---

## [Partial Static Site](https://www.ruby-forum.com/t/partial-static-site/121670)

<div class="topic-metadata">

**Author:** [@dracko](https://www.ruby-forum.com/u/dracko)\
**Replies:** 3\
**Last updated:** [December 6, 2007, 7:42pm UTC](https://www.ruby-forum.com/t/partial-static-site/121670 "2007-12-06T19:42:39Z")

</div>

I’m developing a site compound by a static part and a dynamic one. I still use things like “link\_to(…)”, etc in the static part within rhtml files. In the static part, I don’t have the notion of controller and model. …

---

## [Test-all results - ruby 1.9.0 (2007-11-09 patchlevel 0) \[i686-linux\]](https://www.ruby-forum.com/t/test-all-results-ruby-1-9-0-2007-11-09-patchlevel-0-i686-linux/119676)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 3\
**Last updated:** [November 13, 2007, 3:06am UTC](https://www.ruby-forum.com/t/test-all-results-ruby-1-9-0-2007-11-09-patchlevel-0-i686-linux/119676 "2007-11-13T03:06:58Z")

</div>

e$B!!$5$5$@$G$9!%e(B e$B!!5W!9$Ke(B test-all TESTS=ruby e$B$rF0$+$7$F!JF0$+$;$k$h$&$K$7$F!K!$%P%0e(B e$B$r:F3NG’$7$^$7$?!%e(B (a) e$B%/%i%9JQ?t$N;EMMJQ99e(B e$B!!e(B1, 16) e$B$O%/%i%9JQ?t$N;EMM$K$h$k$b$N$H;W$$$^$9$…

---

## [Sudo gem install problem](https://www.ruby-forum.com/t/sudo-gem-install-problem/119853)

<div class="topic-metadata">

**Author:** [@giorgio](https://www.ruby-forum.com/u/giorgio)\
**Replies:** 3\
**Last updated:** [November 11, 2007, 12:50pm UTC](https://www.ruby-forum.com/t/sudo-gem-install-problem/119853 "2007-11-11T12:50:40Z")

</div>

If I do a gem install with no sudo I get a permission denied… If I do a sudo gem install I get “sudo: gem: command not found” Im running Ubuntu feidty fawn with the rminstall stack Any ideas? Cheers Giorgio

---

## [ANN: English 0.1](https://www.ruby-forum.com/t/ann-english-0-1/116900)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 0\
**Last updated:** [October 10, 2007, 11:47pm UTC](https://www.ruby-forum.com/t/ann-english-0-1/116900 "2007-10-10T23:47:09Z")

</div>

I just made the initial release of English. English is one the Facets spin-off projects. It is the collection of English language related libraries. On the whole the libraries contained are just as they were from Face…

---

## [Date Validation problem](https://www.ruby-forum.com/t/date-validation-problem/116115)

<div class="topic-metadata">

**Author:** [@GPB](https://www.ruby-forum.com/u/GPB)\
**Replies:** 3\
**Last updated:** [October 2, 2007, 4:36pm UTC](https://www.ruby-forum.com/t/date-validation-problem/116115 "2007-10-02T16:36:54Z")

</div>

Hello, I have this validation code in my model. def validate errors.add(:last\_action\_date, “some message”) if next\_action\_date \< last\_action\_date end Two date select fields. Without the code, as long as dates are …

---

## [Installation problems](https://www.ruby-forum.com/t/installation-problems/59247)

<div class="topic-metadata">

**Author:** [@njohnson](https://www.ruby-forum.com/u/njohnson)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:03pm UTC](https://www.ruby-forum.com/t/installation-problems/59247 "2007-09-25T23:03:58Z")

</div>

Complete newbite to ROR. I have installed Ruby, RubyGems, & Rails according to the information at the following url: http://xmlareas.com/ruby-rails-howto.html on a copy of Fedora Core 4. If I run the gem list command…

---

## [Link\_to method of different controller](https://www.ruby-forum.com/t/link-to-method-of-different-controller/114948)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 3\
**Last updated:** [September 19, 2007, 4:43am UTC](https://www.ruby-forum.com/t/link-to-method-of-different-controller/114948 "2007-09-19T04:43:29Z")

</div>

I want to link to a method of a different controller. I thought I new how to do this but the code that I have is not working: \<%= link\_to ‘Welcome Page’, { :action =\> ‘index’, :controller =\> ‘music\_controller’ } %\> A…

---

## [Newbie: How to refer to 'this' instance's items](https://www.ruby-forum.com/t/newbie-how-to-refer-to-this-instances-items/112588)

<div class="topic-metadata">

**Author:** [@marcbey](https://www.ruby-forum.com/u/marcbey)\
**Replies:** 3\
**Last updated:** [August 21, 2007, 7:28pm UTC](https://www.ruby-forum.com/t/newbie-how-to-refer-to-this-instances-items/112588 "2007-08-21T19:28:26Z")

</div>

Hi, I’ve been playing with Rails for a few months now and I enjoying it. But most recently, I’ve just come across an issue that I just can’t seem to resolve, to the point where I’ve recreated a small application from …

---

## [Retrieving validation messages without making errors](https://www.ruby-forum.com/t/retrieving-validation-messages-without-making-errors/110069)

<div class="topic-metadata">

**Author:** [@marmolin](https://www.ruby-forum.com/u/marmolin)\
**Replies:** 3\
**Last updated:** [August 13, 2007, 6:51pm UTC](https://www.ruby-forum.com/t/retrieving-validation-messages-without-making-errors/110069 "2007-08-13T18:51:37Z")

</div>

I would like to inform the users about attribute validation conditions for form fields using title as in . The simplest way would be to use the validation error messages already defined in the models, but I cannot fin…

---

## [Help. Acts\_as\_Authenticated plugin stops working for me?](https://www.ruby-forum.com/t/help-acts-as-authenticated-plugin-stops-working-for-me/109699)

<div class="topic-metadata">

**Author:** [@Mister\_Yu](https://www.ruby-forum.com/u/Mister_Yu)\
**Replies:** 3\
**Last updated:** [July 27, 2007, 8:57am UTC](https://www.ruby-forum.com/t/help-acts-as-authenticated-plugin-stops-working-for-me/109699 "2007-07-27T08:57:20Z")

</div>

Hi, I successfully installed AAA couple days before, and i managed to register a uer with it, with no user activation. but for some strange reason, it stops working for the signup method, with i go to the signup page…

---

## [Simply Rich Association](https://www.ruby-forum.com/t/simply-rich-association/106992)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [June 19, 2007, 1:47am UTC](https://www.ruby-forum.com/t/simply-rich-association/106992 "2007-06-19T01:47:10Z")

</div>

I am excited to make my first plugin available for public. You can checkout the code by doing: svn checkout http://simply-rich-association.googlecode.com/svn/trunk/ simply-rich-association Enjoy!

---

## [Engines and current edge rails](https://www.ruby-forum.com/t/engines-and-current-edge-rails/93280)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 0\
**Last updated:** [April 30, 2007, 12:21pm UTC](https://www.ruby-forum.com/t/engines-and-current-edge-rails/93280 "2007-04-30T12:21:42Z")

</div>

Hi there, We’re using engines heavily in our current app - problem is that we’ve seen the lovely patch DHH just committed to edge rails to allow easy namespacing of routes ( http://railstips.org/2007/4/28/namespaces-…

---

## [After loading model, can it be again accessed without SQL](https://www.ruby-forum.com/t/after-loading-model-can-it-be-again-accessed-without-sql/92154)

<div class="topic-metadata">

**Author:** [@mercurykjb](https://www.ruby-forum.com/u/mercurykjb)\
**Replies:** 3\
**Last updated:** [April 17, 2007, 12:08am UTC](https://www.ruby-forum.com/t/after-loading-model-can-it-be-again-accessed-without-sql/92154 "2007-04-17T00:08:53Z")

</div>

Quick question: 1 User -\> many Accounts If I eager load the user with: my\_user = User.find(:first, include =\> \[:accounts\]) How can I then use criteria to work with the “accounts” without making another query to the …

---

## [HABTM, getting join model vars](https://www.ruby-forum.com/t/habtm-getting-join-model-vars/91297)

<div class="topic-metadata">

**Author:** [@bartz](https://www.ruby-forum.com/u/bartz)\
**Replies:** 3\
**Last updated:** [April 6, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/habtm-getting-join-model-vars/91297 "2007-04-06T16:30:15Z")

</div>

Hello all, I having a lot of difficulty wrapping my head around the following. I’m building a site for musicians, who can post Events where they perform. So, Profile has\_many :events, and Event habtm :profiles. Howev…

---

## [Fxri](https://www.ruby-forum.com/t/fxri/87481)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [March 2, 2007, 11:06pm UTC](https://www.ruby-forum.com/t/fxri/87481 "2007-03-02T23:06:41Z")

</div>

Hi, I’m using fxri and I have required a ruby file as follows: require “c:\\myWork\\motor.rb” My question is, how do I reload this file when I make changes? Thanks.

---

## [Delphi programmers opinions on Ruby widget libraries : Fox,](https://www.ruby-forum.com/t/delphi-programmers-opinions-on-ruby-widget-libraries-fox/85987)

<div class="topic-metadata">

**Author:** [@russianbandit](https://www.ruby-forum.com/u/russianbandit)\
**Replies:** 3\
**Last updated:** [February 20, 2007, 12:16am UTC](https://www.ruby-forum.com/t/delphi-programmers-opinions-on-ruby-widget-libraries-fox/85987 "2007-02-20T00:16:13Z")

</div>

Hi folks, I used to program in Delphi, and was spoiled by its fabulous UI programming abilities. I’m now considering learning a widget toolkit. They all have their pluses and minuses. But what I would love to know, …

---

## [\[ANN\] Deploying Rails google group](https://www.ruby-forum.com/t/ann-deploying-rails-google-group/83150)

<div class="topic-metadata">

**Author:** [@robby247365](https://www.ruby-forum.com/u/robby247365)\
**Replies:** 3\
**Last updated:** [January 24, 2007, 2:26am UTC](https://www.ruby-forum.com/t/ann-deploying-rails-google-group/83150 "2007-01-24T02:26:09Z")

</div>

Hey all! In case you missed this on my blog earlier ( http://rubyurl.com/j4D ). A few of us decided that it would be a good idea to expand on some of the deployment-related conversations in another mailing list. This …

---

## [Nuby: VisualuRuby, menutest.rb example with check boxes in s](https://www.ruby-forum.com/t/nuby-visualuruby-menutest-rb-example-with-check-boxes-in-s/80479)

<div class="topic-metadata">

**Author:** [@jasonmorrison](https://www.ruby-forum.com/u/jasonmorrison)\
**Replies:** 3\
**Last updated:** [December 27, 2006, 3:34pm UTC](https://www.ruby-forum.com/t/nuby-visualuruby-menutest-rb-example-with-check-boxes-in-s/80479 "2006-12-27T15:34:42Z")

</div>

I’m back to looking at visualuRuby, have two quick questions about this program: http://vruby.sourceforge.net/sample/menutest.rb Basically, I don’t understand this line: @checking.checked = ! @ checking.checked? I a…

---

## [Sessions and Integration Tests](https://www.ruby-forum.com/t/sessions-and-integration-tests/78944)

<div class="topic-metadata">

**Author:** [@robertjames](https://www.ruby-forum.com/u/robertjames)\
**Replies:** 3\
**Last updated:** [December 13, 2006, 6:50pm UTC](https://www.ruby-forum.com/t/sessions-and-integration-tests/78944 "2006-12-13T18:50:50Z")

</div>

I’ve found that for some complicated controllers, doing things like setting sessions in after\_filters, the Integration Tests loose the session. The controllers work fine in development and production. But, under Int…

---

## [Update all records in the db](https://www.ruby-forum.com/t/update-all-records-in-the-db/78419)

<div class="topic-metadata">

**Author:** [@flnative](https://www.ruby-forum.com/u/flnative)\
**Replies:** 3\
**Last updated:** [December 5, 2006, 7:08pm UTC](https://www.ruby-forum.com/t/update-all-records-in-the-db/78419 "2006-12-05T19:08:21Z")

</div>

hi @ all I have some information (a value and a percentage number) saved in the database. for example 5 records. I wrote a model, who’s look like as the following model: date value percentagenumbe…

---

## [Old RCRs now available for reading](https://www.ruby-forum.com/t/old-rcrs-now-available-for-reading/77244)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [November 25, 2006, 5:41pm UTC](https://www.ruby-forum.com/t/old-rcrs-now-available-for-reading/77244 "2006-11-25T17:41:22Z")

</div>

Hi – I’ve made the old RCRs available for browsing at: http://oldrcrs.rubypal.com. David

---

## [Unit test: fixutres not getting loaded into instance vars](https://www.ruby-forum.com/t/unit-test-fixutres-not-getting-loaded-into-instance-vars/75413)

<div class="topic-metadata">

**Author:** [@stewbawka](https://www.ruby-forum.com/u/stewbawka)\
**Replies:** 3\
**Last updated:** [November 10, 2006, 12:20am UTC](https://www.ruby-forum.com/t/unit-test-fixutres-not-getting-loaded-into-instance-vars/75413 "2006-11-10T00:20:17Z")

</div>

this is odd… not my first time writing tests, but i have the records in my test fixtures labelled so i can just use the instance variable ‘@label’ in my tests. worked fine in my other rails project, but i get nil erro…

---

## [Strange problem... action content disappears after a while](https://www.ruby-forum.com/t/strange-problem-action-content-disappears-after-a-while/73514)

<div class="topic-metadata">

**Author:** [@Sean\_OSHara](https://www.ruby-forum.com/u/Sean_OSHara)\
**Replies:** 3\
**Last updated:** [October 25, 2006, 2:19am UTC](https://www.ruby-forum.com/t/strange-problem-action-content-disappears-after-a-while/73514 "2006-10-25T02:19:31Z")

</div>

Hi All, I am experiencing a very strange problem today. I’m on edge rails and after a few minutes after a server resart my action content doesn’t get rendered (just the layout is served) by rails. I am using coda ha…

---

## [Understanding date\_select naming conventions](https://www.ruby-forum.com/t/understanding-date-select-naming-conventions/97384)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 3\
**Last updated:** [August 15, 2006, 2:20pm UTC](https://www.ruby-forum.com/t/understanding-date-select-naming-conventions/97384 "2006-08-15T14:20:30Z")

</div>

I am using the date\_select helper to generate date select elements in a form. I notice that the generated HTML shows that these selects have the following names: Month: current\_job\[StartDate(2i)\] Day: current\_job\[…

---

## [Database transactions](https://www.ruby-forum.com/t/database-transactions/101909)

<div class="topic-metadata">

**Author:** [@matthew](https://www.ruby-forum.com/u/matthew)\
**Replies:** 3\
**Last updated:** [August 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/database-transactions/101909 "2006-08-15T14:18:28Z")

</div>

Hello, I have an application where I need to create two records in a database transaction. ie: begin User.transaction(user) do User\_details.transaction(user\_details) do user.save user\_details.save end end end …

---

## [Grouping values of a hash or array](https://www.ruby-forum.com/t/grouping-values-of-a-hash-or-array/101421)

<div class="topic-metadata">

**Author:** [@adrian](https://www.ruby-forum.com/u/adrian)\
**Replies:** 3\
**Last updated:** [August 4, 2006, 9:46pm UTC](https://www.ruby-forum.com/t/grouping-values-of-a-hash-or-array/101421 "2006-08-04T21:46:07Z")

</div>

If I’ve got a hash h = { a =\> 1, b =\> 2, c =\> 1, d =\> 1 } Is there an easy way to group the values to come out as 1,2? Same for an away where \[1,2,1,2,3\] would come out as 1,2,3. I looked through Ruby API and could…

---

## [Problem in posting xml content](https://www.ruby-forum.com/t/problem-in-posting-xml-content/100743)

<div class="topic-metadata">

**Author:** [@oliver](https://www.ruby-forum.com/u/oliver)\
**Replies:** 3\
**Last updated:** [August 1, 2006, 3:25pm UTC](https://www.ruby-forum.com/t/problem-in-posting-xml-content/100743 "2006-08-01T15:25:35Z")

</div>

When I post the XML data as the message content to my rails website, I can see the exception info in the log file. The error message is “can’t typecast” the element name in my xml document. The first line in backtrace…

---

## [Apache Takes 10mins to Reboot](https://www.ruby-forum.com/t/apache-takes-10mins-to-reboot/98469)

<div class="topic-metadata">

**Author:** [@jwigal](https://www.ruby-forum.com/u/jwigal)\
**Replies:** 3\
**Last updated:** [July 29, 2006, 7:25pm UTC](https://www.ruby-forum.com/t/apache-takes-10mins-to-reboot/98469 "2006-07-29T19:25:29Z")

</div>

I have 5 FastCgiServer processes running on my Rails app (specified in httpd.conf) in Apache 2. When I restart Apache - I timed it - it takes just over 10 minutes to reboot. What up with that? The FastCgiServer proces…

---

## [RuntimeError: (-1753) OSACompileExecute](https://www.ruby-forum.com/t/runtimeerror-1753-osacompileexecute/98968)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [July 20, 2006, 8:09am UTC](https://www.ruby-forum.com/t/runtimeerror-1753-osacompileexecute/98968 "2006-07-20T08:09:47Z")

</div>

very oftently with a vaild and tested AppleScript i get this error : RuntimeError: (-1753) OSACompileExecute method compile\_execute in osacomponent.rb at line 32 method do\_script in osacomponent.rb at line 32 metho…

---

## [Embarrassing question -](https://www.ruby-forum.com/t/embarrassing-question/98873)

<div class="topic-metadata">

**Author:** [@crose1](https://www.ruby-forum.com/u/crose1)\
**Replies:** 3\
**Last updated:** [July 18, 2006, 8:01pm UTC](https://www.ruby-forum.com/t/embarrassing-question/98873 "2006-07-18T20:01:21Z")

</div>

Aren’t people a little embarrassed that the search facility of these forums is broken? Just asking - it sure would be helpful - Chris

---

## [One RHTML file](https://www.ruby-forum.com/t/one-rhtml-file/95408)

<div class="topic-metadata">

**Author:** [@asno](https://www.ruby-forum.com/u/asno)\
**Replies:** 3\
**Last updated:** [May 31, 2006, 4:55pm UTC](https://www.ruby-forum.com/t/one-rhtml-file/95408 "2006-05-31T16:55:05Z")

</div>

I am making a simple app which has just a few screens and I would like to do it with a single html file. The file has all of the difffernt componants of each screen in hidden div’s which I want to make visible and pla…

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

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