# Top

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

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

---

## [RDoc: How to link to a method description from other rdoc page?](https://www.ruby-forum.com/t/rdoc-how-to-link-to-a-method-description-from-other-rdoc-page/172834)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 3\
**Last updated:** [July 28, 2009, 11:04pm UTC](https://www.ruby-forum.com/t/rdoc-how-to-link-to-a-method-description-from-other-rdoc-page/172834 "2009-07-28T23:04:39Z")

</div>

Hi, RDoc documentation says: “Names of classes, source files, and any method names containing an underscore or preceded by a hash character are automatically hyperlinked from comment text to their description.” Howev…

---

## [Replace special chars with new special char](https://www.ruby-forum.com/t/replace-special-chars-with-new-special-char/172625)

<div class="topic-metadata">

**Author:** [@priyadharsini](https://www.ruby-forum.com/u/priyadharsini)\
**Replies:** 3\
**Last updated:** [July 28, 2009, 1:24pm UTC](https://www.ruby-forum.com/t/replace-special-chars-with-new-special-char/172625 "2009-07-28T13:24:30Z")

</div>

Hi all, I have a string, which contains some special characters. From that i need to replace first 3 special chars with another special char. Eg:- “ler-2545654-45-an-audience-with—corporate\_counsel” is original stri…

---

## [Nginx.conf rewritten](https://www.ruby-forum.com/t/nginx-conf-rewritten/171116)

<div class="topic-metadata">

**Author:** [@Pedro\_Mata-Mouros\_F](https://www.ruby-forum.com/u/Pedro_Mata-Mouros_F)\
**Replies:** 3\
**Last updated:** [June 27, 2009, 11:39am UTC](https://www.ruby-forum.com/t/nginx-conf-rewritten/171116 "2009-06-27T11:39:43Z")

</div>

Greetings, It seems that /etc/nginx.conf gets replaced by the default in each new nginx install. Do you confirm this? Any chance it doesn’t replace that file, if it exists already, by default? Thank you. Pedro.

---

## [Usrp overheat?](https://www.ruby-forum.com/t/usrp-overheat/168771)

<div class="topic-metadata">

**Author:** [@Woody\_D](https://www.ruby-forum.com/u/Woody_D)\
**Replies:** 3\
**Last updated:** [May 25, 2009, 8:08pm UTC](https://www.ruby-forum.com/t/usrp-overheat/168771 "2009-05-25T20:08:03Z")

</div>

Hi, Does anyone know how long can USRP stay up? Can it be run for days? Is there any risk of it getting overheat since the surface of the board does seem to be quite hot during normal operation? When it is not conne…

---

## [Rails 2.3 memcache performance drop](https://www.ruby-forum.com/t/rails-2-3-memcache-performance-drop/165015)

<div class="topic-metadata">

**Author:** [@Clinton](https://www.ruby-forum.com/u/Clinton)\
**Replies:** 3\
**Last updated:** [May 25, 2009, 12:39am UTC](https://www.ruby-forum.com/t/rails-2-3-memcache-performance-drop/165015 "2009-05-25T00:39:02Z")

</div>

After much effort I upgraded our fairly large Rails app from 2.1 to 2.3. After deployment yesterday I noticed an across the board increase in response times. It seems that every call to memcache now takes 10x longer…

---

## [How to implement a status table](https://www.ruby-forum.com/t/how-to-implement-a-status-table/165528)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 3\
**Last updated:** [April 14, 2009, 11:07pm UTC](https://www.ruby-forum.com/t/how-to-implement-a-status-table/165528 "2009-04-14T23:07:22Z")

</div>

I have a from that will have a status, “approved”, “in process”,denied"… and such. What is the best approach? Status table, One row with each column status type? The form will have only one status so I will have to …

---

## [Does Darkfish-Rdoc work properly?](https://www.ruby-forum.com/t/does-darkfish-rdoc-work-properly/161841)

<div class="topic-metadata">

**Author:** [@ISSSSaki\_Baz\_C](https://www.ruby-forum.com/u/ISSSSaki_Baz_C)\
**Replies:** 3\
**Last updated:** [March 3, 2009, 4:06am UTC](https://www.ruby-forum.com/t/does-darkfish-rdoc-work-properly/161841 "2009-03-03T04:06:55Z")

</div>

Hi, I’ve installed “rdoc” via gem and got surprised since the downloades version in Darkfish-Rdoc: dev(E)iate I’m not sure if Darkfish-Rdoc is the continuation of RDoc or a fork/version (I expected it was a version …

---

## [Subselects and associations(:include)](https://www.ruby-forum.com/t/subselects-and-associations-include/156207)

<div class="topic-metadata">

**Author:** [@arvias](https://www.ruby-forum.com/u/arvias)\
**Replies:** 3\
**Last updated:** [December 23, 2008, 10:44pm UTC](https://www.ruby-forum.com/t/subselects-and-associations-include/156207 "2008-12-23T22:44:51Z")

</div>

Hi. Is there a way to stop rails from tokenizing a mysql query? I have an association where I need to change :select to: :select =\> “\*, (select count(something\_id) from second\_table where second\_table.something\_id …

---

## [Turn 0.4.0](https://www.ruby-forum.com/t/turn-0-4-0/154319)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [December 8, 2008, 5:59pm UTC](https://www.ruby-forum.com/t/turn-0-4-0/154319 "2008-12-08T17:59:03Z")

</div>

turn version 0.4.0 by Tim P. http://codeforpeople.rubyforge.org/turn == DESCRIPTION: TURN is a new way to view Test::Unit results. With longer running tests, it can be very frustrating to see a failure (…F…) and th…

---

## [Securing the views](https://www.ruby-forum.com/t/securing-the-views/152993)

<div class="topic-metadata">

**Author:** [@panatura](https://www.ruby-forum.com/u/panatura)\
**Replies:** 3\
**Last updated:** [November 11, 2008, 12:06am UTC](https://www.ruby-forum.com/t/securing-the-views/152993 "2008-11-11T00:06:51Z")

</div>

Hi, what about writing \<%= h(@foo) %\> in the view? I heard it’s necessary for every information out of the database, I just couldn’t find any information 'bout that? … and what about writing -%\> ? What’s that for? In…

---

## [Find/Replace In Files Using Lookup Table](https://www.ruby-forum.com/t/find-replace-in-files-using-lookup-table/138923)

<div class="topic-metadata">

**Author:** [@diabolist](https://www.ruby-forum.com/u/diabolist)\
**Replies:** 3\
**Last updated:** [May 29, 2008, 5:49am UTC](https://www.ruby-forum.com/t/find-replace-in-files-using-lookup-table/138923 "2008-05-29T05:49:49Z")

</div>

I have a directory full of HTML files. Some have anchor tags (), some do not. I also have a tab- delimited text file with—among other things—an ID, title, and filename. What I need to do is create a script that will: …

---

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

<div class="topic-metadata">

**Author:** [@postmodernist](https://www.ruby-forum.com/u/postmodernist)\
**Replies:** 3\
**Last updated:** [April 6, 2008, 6:49pm UTC](https://www.ruby-forum.com/t/form-remote-tag-and-rjs/133982 "2008-04-06T18:49:22Z")

</div>

I wrote some code for adding a category to a list of categories on a page, complete with some rjs effects. The code saves the category alright but does not execute any js. I have to refresh to see any changes. Here is…

---

## [Setup relationship external database](https://www.ruby-forum.com/t/setup-relationship-external-database/131245)

<div class="topic-metadata">

**Author:** [@remco](https://www.ruby-forum.com/u/remco)\
**Replies:** 3\
**Last updated:** [March 10, 2008, 9:20am UTC](https://www.ruby-forum.com/t/setup-relationship-external-database/131245 "2008-03-10T09:20:43Z")

</div>

Hi…my company has a central database. I want to use some data in my rails-app. This is my setup: class External \< ActiveRecord::Base establish\_connection :extern end class Land \< External has\_and\_belongs\_to\_many :…

---

## [MAC address of a machine](https://www.ruby-forum.com/t/mac-address-of-a-machine/129769)

<div class="topic-metadata">

**Author:** [@shiva](https://www.ruby-forum.com/u/shiva)\
**Replies:** 3\
**Last updated:** [February 21, 2008, 1:10pm UTC](https://www.ruby-forum.com/t/mac-address-of-a-machine/129769 "2008-02-21T13:10:56Z")

</div>

Hi Any one knows how to get MAC address of a machine who is accessing your application.Help me.

---

## [Weird "tag\_options" error after upgrading 1.2.6 -\> 2.0.2](https://www.ruby-forum.com/t/weird-tag-options-error-after-upgrading-1-2-6-2-0-2/128100)

<div class="topic-metadata">

**Author:** [@silent\_Se](https://www.ruby-forum.com/u/silent_Se)\
**Replies:** 3\
**Last updated:** [February 5, 2008, 1:37am UTC](https://www.ruby-forum.com/t/weird-tag-options-error-after-upgrading-1-2-6-2-0-2/128100 "2008-02-05T01:37:45Z")

</div>

Hello all. I am REALLY hoping someone can knock me upside the head with an answer to this because I’m flummoxed. I’m trying to get my project moved over to 2.0.2 from 1.2.6. I upgraded the Rails gem (and dependencie…

---

## [Formatting looping display from mySQL table](https://www.ruby-forum.com/t/formatting-looping-display-from-mysql-table/123944)

<div class="topic-metadata">

**Author:** [@agorilla](https://www.ruby-forum.com/u/agorilla)\
**Replies:** 3\
**Last updated:** [December 22, 2007, 1:30pm UTC](https://www.ruby-forum.com/t/formatting-looping-display-from-mysql-table/123944 "2007-12-22T13:30:39Z")

</div>

Hi I’m a noob to RoR. I have everything setup but can’t figure out to get the list display as I would like. I’m sure this is very simple stuff. I just haven’t figured it out yet :frowning: I hope someone can point me…

---

## [Anyway to make grep take a regular string?](https://www.ruby-forum.com/t/anyway-to-make-grep-take-a-regular-string/120361)

<div class="topic-metadata">

**Author:** [@pood](https://www.ruby-forum.com/u/pood)\
**Replies:** 3\
**Last updated:** [November 16, 2007, 9:32am UTC](https://www.ruby-forum.com/t/anyway-to-make-grep-take-a-regular-string/120361 "2007-11-16T09:32:53Z")

</div>

I know grep needs to take an regular expression. Is there anyway to have it take a regular string instead? without using regular expressions?

---

## [Gruff help](https://www.ruby-forum.com/t/gruff-help/118846)

<div class="topic-metadata">

**Author:** [@qwerty73](https://www.ruby-forum.com/u/qwerty73)\
**Replies:** 3\
**Last updated:** [November 5, 2007, 1:07pm UTC](https://www.ruby-forum.com/t/gruff-help/118846 "2007-11-05T13:07:54Z")

</div>

Hi to all, i’m trying to use the gruff libraries. Then I’ve installed rmagick with: sudo gem install rmagick and it seems all good, because at the end i receive this message: … make install /usr/bin/ruby setup.rb …

---

## [Dreamhost deployment questions](https://www.ruby-forum.com/t/dreamhost-deployment-questions/117833)

<div class="topic-metadata">

**Author:** [@eblatt](https://www.ruby-forum.com/u/eblatt)\
**Replies:** 3\
**Last updated:** [October 23, 2007, 10:12pm UTC](https://www.ruby-forum.com/t/dreamhost-deployment-questions/117833 "2007-10-23T22:12:38Z")

</div>

Hi, I currently host a couple apps with HostingRails, and this has generally been okay–after a few bumps. I’ve been trying to help my brother get his app together on Dreamhost and have run into some quirks I’d love t…

---

## [How do you make a variable available to all views?](https://www.ruby-forum.com/t/how-do-you-make-a-variable-available-to-all-views/117036)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 3\
**Last updated:** [October 12, 2007, 4:35pm UTC](https://www.ruby-forum.com/t/how-do-you-make-a-variable-available-to-all-views/117036 "2007-10-12T16:35:31Z")

</div>

Another stupid question: I have a variable that gets inserted into the main layout. Now, it would be silly to go and set it as an instance variable for every single method, right? But when I try to set it in the appli…

---

## [Re: Gallery extension 0.6.0 example](https://www.ruby-forum.com/t/re-gallery-extension-0-6-0-example/113415)

<div class="topic-metadata">

**Author:** [@gendag](https://www.ruby-forum.com/u/gendag)\
**Replies:** 3\
**Last updated:** [September 4, 2007, 12:37am UTC](https://www.ruby-forum.com/t/re-gallery-extension-0-6-0-example/113415 "2007-09-04T00:37:01Z")

</div>

\</r:gallery:if\_index\> Hi David…for now there isnt’s this features…do you need to display only 2 galleries with pagination?

---

## [Button to remote](https://www.ruby-forum.com/t/button-to-remote/107406)

<div class="topic-metadata">

**Author:** [@huang\_zhimin](https://www.ruby-forum.com/u/huang_zhimin)\
**Replies:** 3\
**Last updated:** [June 21, 2007, 2:57pm UTC](https://www.ruby-forum.com/t/button-to-remote/107406 "2007-06-21T14:57:15Z")

</div>

Is there a tag that is a button but acts as link\_to\_remote? –

---

## [How to get radio\_button's value in link\_to\_remote](https://www.ruby-forum.com/t/how-to-get-radio-buttons-value-in-link-to-remote/107315)

<div class="topic-metadata">

**Author:** [@huang\_zhimin](https://www.ruby-forum.com/u/huang_zhimin)\
**Replies:** 3\
**Last updated:** [June 20, 2007, 6:27pm UTC](https://www.ruby-forum.com/t/how-to-get-radio-buttons-value-in-link-to-remote/107315 "2007-06-20T18:27:10Z")

</div>

My Code is here \<% for category in @categories %\> \<% end %\> \<%= radio\_button 'category', 'id', category.id %\>\<%= h category.name %\> \<%= link\_to\_remote 'Edit', :update =\> 'category', :url =\> { :act…

---

## [jQuery and Rails](https://www.ruby-forum.com/t/jquery-and-rails/103727)

<div class="topic-metadata">

**Author:** [@johnlester](https://www.ruby-forum.com/u/johnlester)\
**Replies:** 3\
**Last updated:** [May 9, 2007, 8:01pm UTC](https://www.ruby-forum.com/t/jquery-and-rails/103727 "2007-05-09T20:01:09Z")

</div>

Any jQuery users have an example or info regarding their jQuery integration to rails apps? I’ve found plenty of tutorials and guides on setting up jQuery and doing some simple UI tasks. But I’d really like to compa…

---

## [Piston 1.3.2: More switch corrections](https://www.ruby-forum.com/t/piston-1-3-2-more-switch-corrections/88313)

<div class="topic-metadata">

**Author:** [@fbeausoleil](https://www.ruby-forum.com/u/fbeausoleil)\
**Replies:** 3\
**Last updated:** [March 9, 2007, 6:57pm UTC](https://www.ruby-forum.com/t/piston-1-3-2-more-switch-corrections/88313 "2007-03-09T18:57:42Z")

</div>

Sorry for the double message, but I found another bug in the piston switch subcommand. This warranted another patch release, or else it would have been unusable. = What is it ? Piston is a utility that eases vendor …

---

## [CSS not displaying in Firefox](https://www.ruby-forum.com/t/css-not-displaying-in-firefox/80107)

<div class="topic-metadata">

**Author:** [@geoff](https://www.ruby-forum.com/u/geoff)\
**Replies:** 3\
**Last updated:** [February 28, 2007, 3:40pm UTC](https://www.ruby-forum.com/t/css-not-displaying-in-firefox/80107 "2007-02-28T15:40:35Z")

</div>

Hello, I am developping a social networking site in rails, it can be found at the url www\[dot\]string\[dot\]be My problem is that firefox doesn’t seems to find/interpret the css linked to it. Everything works fine in ot…

---

## [Method\_missing in a AR child only catching 1 of several call](https://www.ruby-forum.com/t/method-missing-in-a-ar-child-only-catching-1-of-several-call/85198)

<div class="topic-metadata">

**Author:** [@acc](https://www.ruby-forum.com/u/acc)\
**Replies:** 3\
**Last updated:** [February 11, 2007, 10:46am UTC](https://www.ruby-forum.com/t/method-missing-in-a-ar-child-only-catching-1-of-several-call/85198 "2007-02-11T10:46:51Z")

</div>

Hello - Why does a view including the following fragment: \<% for column in User.content\_columns %\> \<td\>\<%=h user.send(column.name) %\>\</td\> \<% end %\> and the User model having the following defined: def method\_m…

---

## [Really simple question please](https://www.ruby-forum.com/t/really-simple-question-please/83582)

<div class="topic-metadata">

**Author:** [@Rae](https://www.ruby-forum.com/u/Rae)\
**Replies:** 3\
**Last updated:** [January 27, 2007, 6:31am UTC](https://www.ruby-forum.com/t/really-simple-question-please/83582 "2007-01-27T06:31:46Z")

</div>

I just downloaded ruby instant rails and played with the cookbook online as well as the typo webblog. But how do you create these programs? Do you use InstantRails.exe to create your web? I see a lot of folders under …

---

## [Installing rails app on shared hosting](https://www.ruby-forum.com/t/installing-rails-app-on-shared-hosting/83129)

<div class="topic-metadata">

**Author:** [@martin](https://www.ruby-forum.com/u/martin)\
**Replies:** 3\
**Last updated:** [January 26, 2007, 3:57pm UTC](https://www.ruby-forum.com/t/installing-rails-app-on-shared-hosting/83129 "2007-01-26T15:57:40Z")

</div>

Hi, I’m trying to install my rails app on a shared hosting webserver. I’ve compiled my own ruby, then installed gem and the mysql, fcgi and rails gems. The website is being served by apache and fcgi. When I try to lo…

---

## [Unable to include mixins with Rails 1.2 update](https://www.ruby-forum.com/t/unable-to-include-mixins-with-rails-1-2-update/82687)

<div class="topic-metadata">

**Author:** [@Ned\_W](https://www.ruby-forum.com/u/Ned_W)\
**Replies:** 3\
**Last updated:** [January 19, 2007, 9:41pm UTC](https://www.ruby-forum.com/t/unable-to-include-mixins-with-rails-1-2-update/82687 "2007-01-19T21:41:00Z")

</div>

Folks- I’m in the process of updating from 1.1.6 to 1.2.1. Fixed deprecated stuff, but this one I’m kinda stuck with. I have an application controller that is unable to include a mixin. The dependencies.rb in acti…

---

## [Installing gems from local machine only w/dependencies on wi](https://www.ruby-forum.com/t/installing-gems-from-local-machine-only-w-dependencies-on-wi/81640)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 3\
**Last updated:** [January 11, 2007, 1:47am UTC](https://www.ruby-forum.com/t/installing-gems-from-local-machine-only-w-dependencies-on-wi/81640 "2007-01-11T01:47:10Z")

</div>

I’m on WinXP, Ruby 1.8.5, Gems 0.9. I’m trying to install a gem that depends on other gems, all doing this locally without an internet connection. The Rails gem is a good example and the one that I’m experimenting wi…

---

## [How to route to index?](https://www.ruby-forum.com/t/how-to-route-to-index/75325)

<div class="topic-metadata">

**Author:** [@nephish](https://www.ruby-forum.com/u/nephish)\
**Replies:** 3\
**Last updated:** [November 9, 2006, 4:21am UTC](https://www.ruby-forum.com/t/how-to-route-to-index/75325 "2006-11-09T04:21:28Z")

</div>

hey there, i am a brand new rails guy. I am using rad rails because i already use eclipse for all things python and php. my question is, when you start a new project, how do you get the index page in the web folder t…

---

## [Creating a new object with multiple associations](https://www.ruby-forum.com/t/creating-a-new-object-with-multiple-associations/73240)

<div class="topic-metadata">

**Author:** [@eleo](https://www.ruby-forum.com/u/eleo)\
**Replies:** 3\
**Last updated:** [October 24, 2006, 12:13am UTC](https://www.ruby-forum.com/t/creating-a-new-object-with-multiple-associations/73240 "2006-10-24T00:13:09Z")

</div>

This is a pretty simple question but I haven’t heard an answer for it yet. Let’s say that a Bid object belongs\_to both an Auction and a User at the same time. To create a new object I could do something like user.bi…

---

## [Ferret 0.9.5](https://www.ruby-forum.com/t/ferret-0-9-5/102288)

<div class="topic-metadata">

**Author:** [@aaronkhawkins](https://www.ruby-forum.com/u/aaronkhawkins)\
**Replies:** 3\
**Last updated:** [August 16, 2006, 12:55am UTC](https://www.ruby-forum.com/t/ferret-0-9-5/102288 "2006-08-16T00:55:05Z")

</div>

Hi, I was wondering if the latest version of acts\_as\_ferret (0.2.2) that is listed on http://projects.jkraemer.net/acts\_as\_ferret/ is compatible with the latest version of Ferret 0.9.5. I noticed that the website abo…

---

## [How do i build this? is the only way to use session, or can](https://www.ruby-forum.com/t/how-do-i-build-this-is-the-only-way-to-use-session-or-can/101037)

<div class="topic-metadata">

**Author:** [@koloa](https://www.ruby-forum.com/u/koloa)\
**Replies:** 3\
**Last updated:** [August 3, 2006, 2:23pm UTC](https://www.ruby-forum.com/t/how-do-i-build-this-is-the-only-way-to-use-session-or-can/101037 "2006-08-03T14:23:32Z")

</div>

i pass and save muliple paramters between different views with different models? what i am trying to do use instead of the user filling out forms to search my database, i just want them to click on links. the first li…

---

## [Radiant CMS on a shared host?](https://www.ruby-forum.com/t/radiant-cms-on-a-shared-host/97102)

<div class="topic-metadata">

**Author:** [@Shajith](https://www.ruby-forum.com/u/Shajith)\
**Replies:** 3\
**Last updated:** [July 5, 2006, 7:33pm UTC](https://www.ruby-forum.com/t/radiant-cms-on-a-shared-host/97102 "2006-07-05T19:33:28Z")

</div>

Hi, Has anyone deployed Radiant CMS on a shared host? I am trying to install it on hosting provided by freeonrails.com (rails 1.1.2). I set up the .htaccess file like I do for regular rails apps that I run there. Pr…

---

## [Why this code returns error?](https://www.ruby-forum.com/t/why-this-code-returns-error/61069)

<div class="topic-metadata">

**Author:** [@alan](https://www.ruby-forum.com/u/alan)\
**Replies:** 3\
**Last updated:** [May 19, 2006, 11:14pm UTC](https://www.ruby-forum.com/t/why-this-code-returns-error/61069 "2006-05-19T23:14:57Z")

</div>

Hi, Why this line gives me error? File.open(“test.rb”).grep /.\*$/ {|line| print line } I changed it from the following form: File.open(“test.rb”).grep /.\*$/ do |line| print line end

---

## [Gateway and the new ruby-talk-google archive](https://www.ruby-forum.com/t/gateway-and-the-new-ruby-talk-google-archive/94280)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [April 28, 2006, 3:52am UTC](https://www.ruby-forum.com/t/gateway-and-the-new-ruby-talk-google-archive/94280 "2006-04-28T03:52:01Z")

</div>

Hi All, Though everyone should know about the status of the news\<-\>mail gateway. I’ve talked to various persons involved and it appears it will not be coming back. That means the newgroup (comp.lang.ruby) is now on i…

---

## [Ez\_where query question](https://www.ruby-forum.com/t/ez-where-query-question/58060)

<div class="topic-metadata">

**Author:** [@cwd](https://www.ruby-forum.com/u/cwd)\
**Replies:** 3\
**Last updated:** [April 18, 2006, 6:34am UTC](https://www.ruby-forum.com/t/ez-where-query-question/58060 "2006-04-18T06:34:52Z")

</div>

I’m having fun composing queries with ez\_where, but am stuck on how to formulate the following using the ez syntax: (begin\_date \>= ? OR end\_date \>= ?) AND (description LIKE ? OR name LIKE ?) There are two clauses, ea…

---

## [\[newbi\] Problem Routes](https://www.ruby-forum.com/t/newbi-problem-routes/93453)

<div class="topic-metadata">

**Author:** [@Bolo\_M](https://www.ruby-forum.com/u/Bolo_M)\
**Replies:** 3\
**Last updated:** [April 3, 2006, 7:42pm UTC](https://www.ruby-forum.com/t/newbi-problem-routes/93453 "2006-04-03T19:42:56Z")

</div>

Hello, i try to follow this video http://www.illanti.com/files/locomotive101.mov After change my routes routes.db ActionController::Routing::Routes.draw do |map| Add your own custom routes here. The priority is b…

---

## [\[ANN\] Ferret 0.9.0-alpha (port of Apache Lucene to pure ruby](https://www.ruby-forum.com/t/ann-ferret-0-9-0-alpha-port-of-apache-lucene-to-pure-ruby/55307)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 3\
**Last updated:** [March 29, 2006, 12:43pm UTC](https://www.ruby-forum.com/t/ann-ferret-0-9-0-alpha-port-of-apache-lucene-to-pure-ruby/55307 "2006-03-29T12:43:28Z")

</div>

Hi Folks, I’ve just released version 0.9.0. This latest version of Ferret is an alpha release. I have removed the old c extension and Ferret is now running on a fully ported C library. This has allowed some huge perf…

---

## [Any one who can help with how to implement such a login?](https://www.ruby-forum.com/t/any-one-who-can-help-with-how-to-implement-such-a-login/82113)

<div class="topic-metadata">

**Author:** [@George](https://www.ruby-forum.com/u/George)\
**Replies:** 3\
**Last updated:** [March 15, 2006, 9:52am UTC](https://www.ruby-forum.com/t/any-one-who-can-help-with-how-to-implement-such-a-login/82113 "2006-03-15T09:52:14Z")

</div>

http://www.wayfaring.com/ I think it is implemented using rails. For if u input the wrong url,u can see a “rails” style error hint. I really like its ajax login system. from the source of the homepage,it can be seen …

---

## [Intial data in Migrations](https://www.ruby-forum.com/t/intial-data-in-migrations/53600)

<div class="topic-metadata">

**Author:** [@seanwarburton](https://www.ruby-forum.com/u/seanwarburton)\
**Replies:** 3\
**Last updated:** [February 13, 2006, 5:54pm UTC](https://www.ruby-forum.com/t/intial-data-in-migrations/53600 "2006-02-13T17:54:26Z")

</div>

One thing I found annoying about Migrations, besides that you have a very limited ways to define your data, is that it will overwrite EVERYTHING in your schema file. So if you spend hours customizing your initial sche…

---

## [Is there a concise way?](https://www.ruby-forum.com/t/is-there-a-concise-way/53069)

<div class="topic-metadata">

**Author:** [@mkhumri](https://www.ruby-forum.com/u/mkhumri)\
**Replies:** 3\
**Last updated:** [January 24, 2006, 5:43pm UTC](https://www.ruby-forum.com/t/is-there-a-concise-way/53069 "2006-01-24T17:43:41Z")

</div>

Hi, Is there a concise/ruby way to do the following: \[Note: 1 and 2 below are not related.\] (1) for p in removed\_email\_address@domain.invalid\_items\[k\].shipment\_lines.length shipline\_qty = shipline\_qty + @order.line…

---

## [RE: Passing a parameter to a before\_filter method](https://www.ruby-forum.com/t/re-passing-a-parameter-to-a-before-filter-method/49699)

<div class="topic-metadata">

**Author:** [@HOGANBP](https://www.ruby-forum.com/u/HOGANBP)\
**Replies:** 3\
**Last updated:** [December 8, 2005, 5:23pm UTC](https://www.ruby-forum.com/t/re-passing-a-parameter-to-a-before-filter-method/49699 "2005-12-08T17:23:22Z")

</div>

Can you use the session to store the parameter so you don’t have to pass anything?

---

## [Validates\_numericality\_of, :allow\_nil =\> true](https://www.ruby-forum.com/t/validates-numericality-of-allow-nil-true/49418)

<div class="topic-metadata">

**Author:** [@subimage](https://www.ruby-forum.com/u/subimage)\
**Replies:** 3\
**Last updated:** [December 4, 2005, 1:39pm UTC](https://www.ruby-forum.com/t/validates-numericality-of-allow-nil-true/49418 "2005-12-04T13:39:15Z")

</div>

I’m trying to use validates\_numericality\_of on a form of mine, using :allow\_nil =\> true, but when I submit the form with nothing filled in I still get the “is not a number” error. Help?

---

## [Question on class-declarations](https://www.ruby-forum.com/t/question-on-class-declarations/49028)

<div class="topic-metadata">

**Author:** [@iamkris](https://www.ruby-forum.com/u/iamkris)\
**Replies:** 3\
**Last updated:** [November 29, 2005, 1:36am UTC](https://www.ruby-forum.com/t/question-on-class-declarations/49028 "2005-11-29T01:36:12Z")

</div>

Yet Another Ruby N. (YARN) question. I see Rails makes extensive use of class-declarations. For example: class LineItem \< ActiveRecord::Base belongs\_to :product … belongs\_to is a class-declaration in the above code…

---

## [Getting nil errors on file\_column after update](https://www.ruby-forum.com/t/getting-nil-errors-on-file-column-after-update/49598)

<div class="topic-metadata">

**Author:** [@i8ramin](https://www.ruby-forum.com/u/i8ramin)\
**Replies:** 3\
**Last updated:** [November 25, 2005, 11:19pm UTC](https://www.ruby-forum.com/t/getting-nil-errors-on-file-column-after-update/49598 "2005-11-25T23:19:05Z")

</div>

I have file\_column setup as a svn:external, so I’m basically always running the latest version. There was a recent update to file\_column and after the update, my application breaks. here is the error message, any ide…

---

## [Trailing \\ in %qnot treated as literal?](https://www.ruby-forum.com/t/trailing-in-qnot-treated-as-literal/48413)

<div class="topic-metadata">

**Author:** [@NoOne](https://www.ruby-forum.com/u/NoOne)\
**Replies:** 3\
**Last updated:** [November 20, 2005, 11:31am UTC](https://www.ruby-forum.com/t/trailing-in-qnot-treated-as-literal/48413 "2005-11-20T11:31:09Z")

</div>

Hi, I ran the following on a WinXP/SP2 machine: F:\>ruby --version ruby 1.8.2 (2004-12-25) \[i386-mswin32\] F:\>ruby -e “puts %q\[\\a\\b\\c\]” \\a\\b\\c F:\>ruby -e “puts %q\[\\a\\b\\c\]” -e:1: unterminated string meets end of file …

---

## [Mongoid query object](https://www.ruby-forum.com/t/mongoid-query-object/234644)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [March 19, 2015, 12:30pm UTC](https://www.ruby-forum.com/t/mongoid-query-object/234644 "2015-03-19T12:30:54Z")

</div>

Ciao, ho un articolo come scrivere una query in Ruby con mongoid con codice mantenibile invece di uno script gigantesco: https://www.airpair.com/ruby/posts/create-maintainable-mongodb-queries-in-ruby-with-query-object…

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

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