# Top

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

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

---

## [How can determine if an item has a value or not?](https://www.ruby-forum.com/t/how-can-determine-if-an-item-has-a-value-or-not/143926)

<div class="topic-metadata">

**Author:** [@monsterag](https://www.ruby-forum.com/u/monsterag)\
**Replies:** 6\
**Last updated:** [July 24, 2008, 8:34am UTC](https://www.ruby-forum.com/t/how-can-determine-if-an-item-has-a-value-or-not/143926 "2008-07-24T08:34:46Z")

</div>

When i execute the followin code i get the following message: “comparison of Time with String failed” \<% @auftrag.attributes.each do |key, item| %\> \<%if item \> “” %\> Key: \<%= key %\>: Item: \<%= item %\> \<%end%\> \<%en…

---

## [Complex pagination issue](https://www.ruby-forum.com/t/complex-pagination-issue/137975)

<div class="topic-metadata">

**Author:** [@Danimal](https://www.ruby-forum.com/u/Danimal)\
**Replies:** 6\
**Last updated:** [May 19, 2008, 4:49pm UTC](https://www.ruby-forum.com/t/complex-pagination-issue/137975 "2008-05-19T16:49:40Z")

</div>

I wonder if anyone can give me some direction. I’m trying to figure out how to handle pagination when I have a very complex way of building up a collection of objects. I’ve used the old classic pagination before, and …

---

## [Broken edge](https://www.ruby-forum.com/t/broken-edge/121505)

<div class="topic-metadata">

**Author:** [@datorrey](https://www.ruby-forum.com/u/datorrey)\
**Replies:** 6\
**Last updated:** [November 28, 2007, 5:41pm UTC](https://www.ruby-forum.com/t/broken-edge/121505 "2007-11-28T17:41:00Z")

</div>

Hi all, Not sure if I’m the only one with this problem… We’re on edge for both rails and rspec, and i just did an update… Some apparently innocuous rails stuff was updated, and then half my specs broke due to an erro…

---

## [Installing Rails on CentOS 5](https://www.ruby-forum.com/t/installing-rails-on-centos-5/117014)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [October 13, 2007, 4:45am UTC](https://www.ruby-forum.com/t/installing-rails-on-centos-5/117014 "2007-10-13T04:45:59Z")

</div>

I’m running CentOS 5. So far I’ve downloaded tarballs, ruby-1.8.6.tar.gz and rubygems-0.9.4.tgz. I seemed to have successfully installed ruby, and maybe rubygems I went into rubygems-0.9.4 directory, and typed: rub…

---

## [ActiveScaffold (or whatever) and Globalize](https://www.ruby-forum.com/t/activescaffold-or-whatever-and-globalize/115363)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 6\
**Last updated:** [September 25, 2007, 2:07pm UTC](https://www.ruby-forum.com/t/activescaffold-or-whatever-and-globalize/115363 "2007-09-25T14:07:44Z")

</div>

Hi guys! This is my first message to this list. I’m fairly new to the whole rails scene, though I’m a seasoned MVC developer. There are two things that made me fall in love with rails so far: Migrations, and Globaliz…

---

## [Code that won't run](https://www.ruby-forum.com/t/code-that-wont-run/83983)

<div class="topic-metadata">

**Author:** [@copot](https://www.ruby-forum.com/u/copot)\
**Replies:** 6\
**Last updated:** [January 31, 2007, 7:43am UTC](https://www.ruby-forum.com/t/code-that-wont-run/83983 "2007-01-31T07:43:57Z")

</div>

Basic role management def manage\_roles if params\[:id\] @user = User.find(params\[:id\]) @roles = Role.find(:all) # if user submits the form then update if request.post? @user.roles.delete\_all params\[:role\_i…

---

## [Test Fixture Alternatives](https://www.ruby-forum.com/t/test-fixture-alternatives/80979)

<div class="topic-metadata">

**Author:** [@jonlog](https://www.ruby-forum.com/u/jonlog)\
**Replies:** 6\
**Last updated:** [January 3, 2007, 1:04am UTC](https://www.ruby-forum.com/t/test-fixture-alternatives/80979 "2007-01-03T01:04:39Z")

</div>

Didn’t get any responses to my previous posting of this, so I figured I’d try once more now that the holidays are over and people are hopefully getting back into the swing. We’ve run into an issue on a project with one…

---

## [Functional, integration and uni tests: when, what?](https://www.ruby-forum.com/t/functional-integration-and-uni-tests-when-what/80120)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 6\
**Last updated:** [December 21, 2006, 7:45pm UTC](https://www.ruby-forum.com/t/functional-integration-and-uni-tests-when-what/80120 "2006-12-21T19:45:11Z")

</div>

hi, I’ve just a doubt about this tests. When (/for what) use for example functional tests instead of integration tests o r unit tests? Can someone explain me this? :slight\_smile: thanks

---

## [Testing Actions Requiring A Login](https://www.ruby-forum.com/t/testing-actions-requiring-a-login/78646)

<div class="topic-metadata">

**Author:** [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Replies:** 6\
**Last updated:** [December 8, 2006, 11:32am UTC](https://www.ruby-forum.com/t/testing-actions-requiring-a-login/78646 "2006-12-08T11:32:19Z")

</div>

Hello, I would be grateful if somebody could let me know how to test actions on a controller which are intercepted by a before\_filter requiring a login. The catch is that the before\_filter is on my application contr…

---

## [Calling functions in a child class](https://www.ruby-forum.com/t/calling-functions-in-a-child-class/73667)

<div class="topic-metadata">

**Author:** [@brianspaid](https://www.ruby-forum.com/u/brianspaid)\
**Replies:** 6\
**Last updated:** [October 26, 2006, 5:45am UTC](https://www.ruby-forum.com/t/calling-functions-in-a-child-class/73667 "2006-10-26T05:45:23Z")

</div>

I have a class: class alpha def test\_method puts “test method” end def get\_methods puts alpha.methods end end running “get\_methods” here will return a long list of methods including test\_method. But, I also hav…

---

## [Gem install rails](https://www.ruby-forum.com/t/gem-install-rails/102052)

<div class="topic-metadata">

**Author:** [@daniel](https://www.ruby-forum.com/u/daniel)\
**Replies:** 6\
**Last updated:** [August 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/gem-install-rails/102052 "2006-08-15T14:18:57Z")

</div>

Hi All, I installed ruby184-20 and rubygems-0.9.0 on my computer. When I tried to run C:\\ruby\>gem install rails --include-dependencies, it showed the following message: Bulk updating Gem source index for: http://gems…

---

## [How do you move an application to a newer version of Rails?](https://www.ruby-forum.com/t/how-do-you-move-an-application-to-a-newer-version-of-rails/96799)

<div class="topic-metadata">

**Author:** [@jon](https://www.ruby-forum.com/u/jon)\
**Replies:** 6\
**Last updated:** [July 5, 2006, 9:22pm UTC](https://www.ruby-forum.com/t/how-do-you-move-an-application-to-a-newer-version-of-rails/96799 "2006-07-05T21:22:34Z")

</div>

Hello, I’ve got an app written in rails 1.1.2 and I need to move it to 1.1.4 Installing the older version of rails is not an option (it’s not my system) unfortunately. Thanks, -Jon

---

## [Save data to IQ file](https://www.ruby-forum.com/t/save-data-to-iq-file/243336)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [September 20, 2015, 6:36pm UTC](https://www.ruby-forum.com/t/save-data-to-iq-file/243336 "2015-09-20T18:36:44Z")

</div>

Hi I am using a signal source and want to save the data in file sink, but saved data is not recognizable. kindly help me

---

## [Singleton method](https://www.ruby-forum.com/t/singleton-method/227386)

<div class="topic-metadata">

**Author:** [@my-ruby](https://www.ruby-forum.com/u/my-ruby)\
**Replies:** 5\
**Last updated:** [March 15, 2013, 5:06pm UTC](https://www.ruby-forum.com/t/singleton-method/227386 "2013-03-15T17:06:11Z")

</div>

C:\>ruby -v ruby 2.0.0p0 (2013-02-24) \[i386-mingw32\] C:\>irb --simple-prompt DL is deprecated, please use Fiddle N = 1 =\> 1 obj = Object.new =\> #Object:0x2166c00 class \<\< obj N = 2 end =\> 2 def obj.a\_me…

---

## [How the upstream block of TDMA engine get the current time of the network](https://www.ruby-forum.com/t/how-the-upstream-block-of-tdma-engine-get-the-current-time-of-the-network/229340)

<div class="topic-metadata">

**Author:** [@akeem](https://www.ruby-forum.com/u/akeem)\
**Replies:** 5\
**Last updated:** [February 4, 2013, 6:41pm UTC](https://www.ruby-forum.com/t/how-the-upstream-block-of-tdma-engine-get-the-current-time-of-the-network/229340 "2013-02-04T18:41:15Z")

</div>

Previously, the pre-cog introduced a simple implementation of TDMA: http://gnuradio.4.n7.nabble.com/Introduction-to-Pre-Cog-td37906.html I read roughly the code in the tdma\_engine.py. For the transmitter, it seems tha…

---

## [Ruby on Rails](https://www.ruby-forum.com/t/ruby-on-rails/73317)

<div class="topic-metadata">

**Author:** [@SSSutf-8SQSMarcos\_J](https://www.ruby-forum.com/u/SSSutf-8SQSMarcos_J)\
**Replies:** 5\
**Last updated:** [August 27, 2012, 10:41pm UTC](https://www.ruby-forum.com/t/ruby-on-rails/73317 "2012-08-27T22:41:49Z")

</div>

Hi, I have installed the ruby and the MVC ruby on rails for developing of web-sites. I’m starting my studies, but I don’t how make one script of example of ruby on rails :(. How I can do this? – Thanks Marcos JosÃ…

---

## [Preparing the basic GUI](https://www.ruby-forum.com/t/preparing-the-basic-gui/206006)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [April 20, 2011, 12:56pm UTC](https://www.ruby-forum.com/t/preparing-the-basic-gui/206006 "2011-04-20T12:56:03Z")

</div>

I want to write a small text-editor in Ruby for learning the basics. I want to show all the possible text-manipulation options in one single menu. Once the option is selected, the string typed in an Input box will be …

---

## [USRP2 printing of character "S" bothersome!](https://www.ruby-forum.com/t/usrp2-printing-of-character-s-bothersome/198986)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 5\
**Last updated:** [November 12, 2010, 12:01am UTC](https://www.ruby-forum.com/t/usrp2-printing-of-character-s-bothersome/198986 "2010-11-12T00:01:04Z")

</div>

Hello, I am using USRP2 version of BBN code to look at AP beacons as seen by the USRP2 host. There is lots of “S” printing going on, which keeps me from reading AP beacon information from STDOUT (unless I save the ou…

---

## [RCR: IO.popen4](https://www.ruby-forum.com/t/rcr-io-popen4/190731)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 5\
**Last updated:** [June 30, 2010, 11:31am UTC](https://www.ruby-forum.com/t/rcr-io-popen4/190731 "2010-06-30T11:31:18Z")

</div>

Currently with the std lib there is no (built in) way to get the PID of a currently running child process (short of using fork, which is unavailable on windows). i.e. IO.popen(“ls”) # what’s the PID? r,w,e,thread = …

---

## [Propogate variable up to included module](https://www.ruby-forum.com/t/propogate-variable-up-to-included-module/188617)

<div class="topic-metadata">

**Author:** [@sjames](https://www.ruby-forum.com/u/sjames)\
**Replies:** 5\
**Last updated:** [May 15, 2010, 10:17pm UTC](https://www.ruby-forum.com/t/propogate-variable-up-to-included-module/188617 "2010-05-15T22:17:15Z")

</div>

Hey folks, I have a module which I’m using to contain a lot of strings that my objects print out. I want to use a module because it seems better to me to put the data in a separate location than my object implementati…

---

## [Best way to do this](https://www.ruby-forum.com/t/best-way-to-do-this/182570)

<div class="topic-metadata">

**Author:** [@scrozier](https://www.ruby-forum.com/u/scrozier)\
**Replies:** 5\
**Last updated:** [January 30, 2010, 4:52am UTC](https://www.ruby-forum.com/t/best-way-to-do-this/182570 "2010-01-30T04:52:58Z")

</div>

I’m looking to give an object (buyer) a status. What’s the best way to accomplish this? At the moment, I’m struggling to comprehend my way through the following: Create a status model, then let the user add statuse…

---

## [Edge releases made easier?](https://www.ruby-forum.com/t/edge-releases-made-easier/179548)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 5\
**Last updated:** [November 29, 2009, 5:28am UTC](https://www.ruby-forum.com/t/edge-releases-made-easier/179548 "2009-11-29T05:28:07Z")

</div>

Would it be possible to request that there be a way to download “unstable” jruby releases more easily–a la something like what core does, with unstable snapshots? That would be swell. As a side note, in checking if I…

---

## [Unicode Question](https://www.ruby-forum.com/t/unicode-question/166238)

<div class="topic-metadata">

**Author:** [@Daly](https://www.ruby-forum.com/u/Daly)\
**Replies:** 5\
**Last updated:** [April 24, 2009, 4:41pm UTC](https://www.ruby-forum.com/t/unicode-question/166238 "2009-04-24T16:41:05Z")

</div>

Hello all, I download a file from a website and one of the lines look like this: row = “\\0001\\0002\\0003\\000\\t\\0002\\0004\\0008\\0004\\0005\\000\\t\\000C\\000o \\000m\\000p\\000U\\000S\\000A\\000\\t\\000W \\0006\\0003\\0001\\0000\\0003\\00…

---

## [Problems with jRails and ajax helpers](https://www.ruby-forum.com/t/problems-with-jrails-and-ajax-helpers/165335)

<div class="topic-metadata">

**Author:** [@brentmc79](https://www.ruby-forum.com/u/brentmc79)\
**Replies:** 5\
**Last updated:** [April 13, 2009, 5:04pm UTC](https://www.ruby-forum.com/t/problems-with-jrails-and-ajax-helpers/165335 "2009-04-13T17:04:18Z")

</div>

I working on a Rails 2.2.2 app that uses jRails and any time I attempt to use a Rails ajax helper, I get the following error: index 116545 out of string with this stack trace: vendor/plugins/jrails/lib/jrails.rb:197:…

---

## [Again and again: no such file to load -- mysql](https://www.ruby-forum.com/t/again-and-again-no-such-file-to-load-mysql/160627)

<div class="topic-metadata">

**Author:** [@zaqwery](https://www.ruby-forum.com/u/zaqwery)\
**Replies:** 5\
**Last updated:** [February 18, 2009, 11:16pm UTC](https://www.ruby-forum.com/t/again-and-again-no-such-file-to-load-mysql/160627 "2009-02-18T23:16:45Z")

</div>

Hello! I’ve got same problem! Can’t continue working with Rails! I have OSX 10.5.6. Mysql 5.0.67, Latest Ruby , Rubygems, Rails 2.2.2, and mysl gem 2.7 installed in this way sudo env ARCHFLAGS="-arch i386" gem instal…

---

## [Odd js behavior in Chrome & Safari](https://www.ruby-forum.com/t/odd-js-behavior-in-chrome-safari/156316)

<div class="topic-metadata">

**Author:** [@kenwei](https://www.ruby-forum.com/u/kenwei)\
**Replies:** 5\
**Last updated:** [February 14, 2009, 11:13am UTC](https://www.ruby-forum.com/t/odd-js-behavior-in-chrome-safari/156316 "2009-02-14T11:13:32Z")

</div>

View file has a js function “confirm\_result()” in section: The section has Works just fine in IE7 and FireFox3. But not in Chrome 1 or Safari 3. In the latter two the confirm box appears, then a new blank page wi…

---

## [Function to flush the variable](https://www.ruby-forum.com/t/function-to-flush-the-variable/156752)

<div class="topic-metadata">

**Author:** [@amitjhs](https://www.ruby-forum.com/u/amitjhs)\
**Replies:** 5\
**Last updated:** [January 2, 2009, 3:08pm UTC](https://www.ruby-forum.com/t/function-to-flush-the-variable/156752 "2009-01-02T15:08:23Z")

</div>

Hi, Is there any function to flush the value from a variable. I am facing problem while assiging a value to Ruby variable.

---

## [One-Liners Mashup (#177)](https://www.ruby-forum.com/t/one-liners-mashup-177/149551)

<div class="topic-metadata">

**Author:** [@mansfiem](https://www.ruby-forum.com/u/mansfiem)\
**Replies:** 5\
**Last updated:** [September 26, 2008, 12:05pm UTC](https://www.ruby-forum.com/t/one-liners-mashup-177/149551 "2008-09-26T12:05:52Z")

</div>

Thanks to everyone who joined in on the one-liners mashup. I think part of the challenge to the mashup was coming up with new problems. It seems that, unless you’ve already solved the problem, it takes a bit of intuit…

---

## [Re: How to write specification for the \*base\* class API?](https://www.ruby-forum.com/t/re-how-to-write-specification-for-the-base-class-api/143137)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 5\
**Last updated:** [July 16, 2008, 7:14am UTC](https://www.ruby-forum.com/t/re-how-to-write-specification-for-the-base-class-api/143137 "2008-07-16T07:14:28Z")

</div>

On Jul 15, 2008, at 8:22 AM, Piotr W. removed\_email\_address@domain.invalid wrote: It’s not AR. I have 2 levels: Site1Scraper \< BaseScraper. There will be many SiteXScrapers implemented by several people. ++++ From…

---

## [OT: Redmine and GIT](https://www.ruby-forum.com/t/ot-redmine-and-git/134401)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 5\
**Last updated:** [May 28, 2008, 8:20pm UTC](https://www.ruby-forum.com/t/ot-redmine-and-git/134401 "2008-05-28T20:20:17Z")

</div>

If anyone has experience with using Redmine (http://www.redmine.org/) with GIT for project management then I would appreciate your thoughts on it. Particularly if you have had precious experience with Trac/Subversion…

---

## [Requiring external libraries directly](https://www.ruby-forum.com/t/requiring-external-libraries-directly/123773)

<div class="topic-metadata">

**Author:** [@tcblues](https://www.ruby-forum.com/u/tcblues)\
**Replies:** 5\
**Last updated:** [December 21, 2007, 10:09pm UTC](https://www.ruby-forum.com/t/requiring-external-libraries-directly/123773 "2007-12-21T22:09:03Z")

</div>

I want to put all the external libraries I’m using in my project in a folder and require directly from there instead of installing the gem in ruby. MyProject folder ExternalLibraries folder Watir rexml oci8 … my…

---

## [Rails 2.0](https://www.ruby-forum.com/t/rails-2-0/121856)

<div class="topic-metadata">

**Author:** [@Piotr\_N](https://www.ruby-forum.com/u/Piotr_N)\
**Replies:** 5\
**Last updated:** [December 2, 2007, 4:02pm UTC](https://www.ruby-forum.com/t/rails-2-0/121856 "2007-12-02T16:02:40Z")

</div>

using rails 1.2.6, is it worth switching to 2.0 now ?

---

## [Scaffold in Rails 2](https://www.ruby-forum.com/t/scaffold-in-rails-2/119215)

<div class="topic-metadata">

**Author:** [@Arash](https://www.ruby-forum.com/u/Arash)\
**Replies:** 5\
**Last updated:** [November 5, 2007, 5:35pm UTC](https://www.ruby-forum.com/t/scaffold-in-rails-2/119215 "2007-11-05T17:35:14Z")

</div>

Hi, I am trying rails 2 and the dynamic scaffolding does not work. I wonder if the syntax changed or what?

---

## [Gets errors before submitting form](https://www.ruby-forum.com/t/gets-errors-before-submitting-form/225973)

<div class="topic-metadata">

**Author:** [@elle](https://www.ruby-forum.com/u/elle)\
**Replies:** 5\
**Last updated:** [October 24, 2007, 12:11pm UTC](https://www.ruby-forum.com/t/gets-errors-before-submitting-form/225973 "2007-10-24T12:11:52Z")

</div>

Hi, When I click on “Proceed to Checkout”, instead of showing a clean form, it seems as if the form has already been submitted empty and the new page comes up with all the errors – which I don’t think many customers …

---

## ['Coming from' rails...to php, help](https://www.ruby-forum.com/t/coming-from-rails-to-php-help/111103)

<div class="topic-metadata">

**Author:** [@blinking\_bear](https://www.ruby-forum.com/u/blinking_bear)\
**Replies:** 5\
**Last updated:** [August 2, 2007, 9:03pm UTC](https://www.ruby-forum.com/t/coming-from-rails-to-php-help/111103 "2007-08-02T21:03:10Z")

</div>

I have to put together a quick proposal for a site that, for now, is set to be PHP. Hopefully we can change that, but I could use some help with PHP best practices. Are their PHP equivalents for Test:Unit, autotest…

---

## [Why is Ruby on Linux so much faster than on Windows?](https://www.ruby-forum.com/t/why-is-ruby-on-linux-so-much-faster-than-on-windows/90718)

<div class="topic-metadata">

**Author:** [@Joram](https://www.ruby-forum.com/u/Joram)\
**Replies:** 5\
**Last updated:** [March 31, 2007, 10:08pm UTC](https://www.ruby-forum.com/t/why-is-ruby-on-linux-so-much-faster-than-on-windows/90718 "2007-03-31T22:08:19Z")

</div>

Hi List, I’m currently investigating some possibilities for deplyong my Rails app. I developed it on Windows XP, but I thought I should give linux a run too. I expected some performance benefit, but not of this leve…

---

## [Validates\_confirmation\_of not working - now in right place](https://www.ruby-forum.com/t/validates-confirmation-of-not-working-now-in-right-place/102685)

<div class="topic-metadata">

**Author:** [@j-merrill](https://www.ruby-forum.com/u/j-merrill)\
**Replies:** 5\
**Last updated:** [February 11, 2007, 1:43am UTC](https://www.ruby-forum.com/t/validates-confirmation-of-not-working-now-in-right-place/102685 "2007-02-11T01:43:14Z")

</div>

well, here I am again :slight\_smile: validates\_confirmation\_of is not working heres my model class User \< ActiveRecord::Base attr\_accessor :password attr\_accessible :email, :first\_name, :last\_name, :screen\_name, :p…

---

## [Silly Question that I can't answer](https://www.ruby-forum.com/t/silly-question-that-i-cant-answer/80567)

<div class="topic-metadata">

**Author:** [@mohits](https://www.ruby-forum.com/u/mohits)\
**Replies:** 5\
**Last updated:** [December 29, 2006, 12:53pm UTC](https://www.ruby-forum.com/t/silly-question-that-i-cant-answer/80567 "2006-12-29T12:53:41Z")

</div>

I have a scaffolded page that shows me all the records in a table. Now, I added a simple FIND to allow you to filter the list. The text box form code is something like this: Road Name: and the ‘find’…

---

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

<div class="topic-metadata">

**Author:** [@Josselin](https://www.ruby-forum.com/u/Josselin)\
**Replies:** 5\
**Last updated:** [October 12, 2006, 10:00am UTC](https://www.ruby-forum.com/t/help-with-regex/71795 "2006-10-12T10:00:47Z")

</div>

regex is not my cup of tea , i’ve been using them few times, only matching, no substitution… I need to check a string before saving it into a decimal (5,2) column in DB and I actually don’t know how to start substitut…

---

## [LDAP searches don't stop](https://www.ruby-forum.com/t/ldap-searches-dont-stop/65327)

<div class="topic-metadata">

**Author:** [@bartb](https://www.ruby-forum.com/u/bartb)\
**Replies:** 5\
**Last updated:** [August 18, 2006, 2:17pm UTC](https://www.ruby-forum.com/t/ldap-searches-dont-stop/65327 "2006-08-18T14:17:17Z")

</div>

Hello, I’m trying to figure out how to search an LDAP server. I can connect and I see searches pass by if I sniff on the network interface. But the search command never stops, even tough I limit it to 1 second. (Can …

---

## [Is there a way to avoid having the library slurp-read the wh](https://www.ruby-forum.com/t/is-there-a-way-to-avoid-having-the-library-slurp-read-the-wh/101331)

<div class="topic-metadata">

**Author:** [@kivle](https://www.ruby-forum.com/u/kivle)\
**Replies:** 5\
**Last updated:** [August 15, 2006, 2:16pm UTC](https://www.ruby-forum.com/t/is-there-a-way-to-avoid-having-the-library-slurp-read-the-wh/101331 "2006-08-15T14:16:45Z")

</div>

Hi, I’m currently implementing a database application in Ruby, and I use PostgreSQL for the data store. At first I tried using DBI to make the data store as platform/database independent as possible, but when I came …

---

## [Database configuration across developers!](https://www.ruby-forum.com/t/database-configuration-across-developers/101221)

<div class="topic-metadata">

**Author:** [@matthew\_d](https://www.ruby-forum.com/u/matthew_d)\
**Replies:** 5\
**Last updated:** [August 4, 2006, 3:18pm UTC](https://www.ruby-forum.com/t/database-configuration-across-developers/101221 "2006-08-04T15:18:18Z")

</div>

Hi, I have what might be a silly question but is there any way to put some of the database configuration information into a separate file? For instance, in config/database.yml I have: developer\_database: &developer\_…

---

## [Weird result for a custom attr reader!](https://www.ruby-forum.com/t/weird-result-for-a-custom-attr-reader/98972)

<div class="topic-metadata">

**Author:** [@Alain\_Pilon](https://www.ruby-forum.com/u/Alain_Pilon)\
**Replies:** 5\
**Last updated:** [July 20, 2006, 6:27pm UTC](https://www.ruby-forum.com/t/weird-result-for-a-custom-attr-reader/98972 "2006-07-20T18:27:16Z")

</div>

Hi all, I am having a weird problem reading a value from my model. basicaly, I have these two models: class Category \< ActiveRecord::Base acts\_as\_tree :order =\> “name” belongs\_to :item\_type has\_many :specific\_categ…

---

## [File\_column and has\_many](https://www.ruby-forum.com/t/file-column-and-has-many/98473)

<div class="topic-metadata">

**Author:** [@ipaddict](https://www.ruby-forum.com/u/ipaddict)\
**Replies:** 5\
**Last updated:** [July 15, 2006, 7:32pm UTC](https://www.ruby-forum.com/t/file-column-and-has-many/98473 "2006-07-15T19:32:33Z")

</div>

I’ve been fighting with myself over this for the past week, and would like to hear some others’ thoughts on the subject. I essentially have the following models in place: class Item \< ActiveRecord::Base has\_many :ima…

---

## [ActionMailer to send to multiple people](https://www.ruby-forum.com/t/actionmailer-to-send-to-multiple-people/63913)

<div class="topic-metadata">

**Author:** [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Replies:** 5\
**Last updated:** [June 27, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/actionmailer-to-send-to-multiple-people/63913 "2006-06-27T14:18:25Z")

</div>

I’ve been working with ActionMailer for a few days and finally have a pretty good grasp of it. In the book I’m reading, it shows how to send to multiple users or an array of users. Is there a setting or some configura…

---

## [\[slightly OT\] Problem with subversion 1.3.1 on OSX Tiger](https://www.ruby-forum.com/t/slightly-ot-problem-with-subversion-1-3-1-on-osx-tiger/95859)

<div class="topic-metadata">

**Author:** [@bakki](https://www.ruby-forum.com/u/bakki)\
**Replies:** 5\
**Last updated:** [June 19, 2006, 8:39pm UTC](https://www.ruby-forum.com/t/slightly-ot-problem-with-subversion-1-3-1-on-osx-tiger/95859 "2006-06-19T20:39:13Z")

</div>

I have a subversion repo on a Debian Sarge server. I do rails development on two Debian workstations (home, work) and also a MacBookPro. I installed subversion from Darwinports. Things worked ok for a while and I did…

---

## [Content Management System](https://www.ruby-forum.com/t/content-management-system/62258)

<div class="topic-metadata">

**Author:** [@jeet](https://www.ruby-forum.com/u/jeet)\
**Replies:** 5\
**Last updated:** [June 2, 2006, 6:37pm UTC](https://www.ruby-forum.com/t/content-management-system/62258 "2006-06-02T18:37:20Z")

</div>

I am looking for a good CMS based on Rails that has at least these attributes: Ease of use ( as it will be used by people who are not html literate) Very easy/flexible to change layout. So far I have looked at http:…

---

## [Ruby: shift right operator (\>\>) does not work correctly](https://www.ruby-forum.com/t/ruby-shift-right-operator-does-not-work-correctly/57272)

<div class="topic-metadata">

**Author:** [@Vitalie\_Lazu](https://www.ruby-forum.com/u/Vitalie_Lazu)\
**Replies:** 5\
**Last updated:** [April 9, 2006, 12:09am UTC](https://www.ruby-forum.com/t/ruby-shift-right-operator-does-not-work-correctly/57272 "2006-04-09T00:09:39Z")

</div>

It seems to be a bug with \>\> operator: 4653896912 \>\> 13 should be 43814 like it is in java or php, but not 568102. Tested with ruby 1.8.2 in windows xp and freebsd. any related issues to this subject? Best regards, …

---

## [Showing current user's information and saving](https://www.ruby-forum.com/t/showing-current-users-information-and-saving/93424)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 5\
**Last updated:** [April 3, 2006, 7:57am UTC](https://www.ruby-forum.com/t/showing-current-users-information-and-saving/93424 "2006-04-03T07:57:57Z")

</div>

Hi, I am logging users in and keeping them in session. The problem I am having is showing only a certain logged in user’s information. In the Adverts\_Controler: def show @advert = Advert.find(params\[:id\]) end I am…

---

## [Validates\_acceptance\_of + functional testing](https://www.ruby-forum.com/t/validates-acceptance-of-functional-testing/53530)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 5\
**Last updated:** [February 9, 2006, 5:12pm UTC](https://www.ruby-forum.com/t/validates-acceptance-of-functional-testing/53530 "2006-02-09T17:12:51Z")

</div>

I had to add a check box indicating that a user accepted certain terms to a page. So, I put in a ‘validates\_acceptance\_of :terms’ line into the appropriate model and added a checkbox to my view. Everything works as …

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

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