# Top

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

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

---

## [Hosting multiple domains](https://www.ruby-forum.com/t/hosting-multiple-domains/235356)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [June 18, 2013, 4:13am UTC](https://www.ruby-forum.com/t/hosting-multiple-domains/235356 "2013-06-18T04:13:17Z")

</div>

I have a server that I set up to run several domains from and it has worked great and without issue for about 6 months. I have another server that I had set up and was only running one domain from it and I just added …

---

## [Building a method - Learn to Program Section 9.5](https://www.ruby-forum.com/t/building-a-method-learn-to-program-section-9-5/214722)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [December 10, 2011, 5:40pm UTC](https://www.ruby-forum.com/t/building-a-method-learn-to-program-section-9-5/214722 "2011-12-10T17:40:11Z")

</div>

In this program def ask question while true puts question reply = gets.chomp.downcase if (reply != 'yes' || reply != 'no') puts 'Please answer "yes" or "no".' elsif reply == '' break end end end puts ‘Hello, an…

---

## [Belongs\_to not working as](https://www.ruby-forum.com/t/belongs-to-not-working-as/211901)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [September 19, 2011, 7:15am UTC](https://www.ruby-forum.com/t/belongs-to-not-working-as/211901 "2011-09-19T07:15:34Z")

</div>

Hi, I have a model tests\_user and score which are associated with each other by has\_one and belongs\_to association. class TestsUser \< ActiveRecord::Base has\_one :score, :foreign\_key =\> :reg\_no end class TestsUser \<…

---

## [Undefined method?](https://www.ruby-forum.com/t/undefined-method/211611)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [September 9, 2011, 12:46pm UTC](https://www.ruby-forum.com/t/undefined-method/211611 "2011-09-09T12:46:35Z")

</div>

When I press MSG or EXIT buttons I get undefined method errrs for the programs domsg and doexit respectively. They are public methods so they should be quite visible. Code follows - pls tell what I am doing wrong. tha…

---

## [JQuery dialog not works](https://www.ruby-forum.com/t/jquery-dialog-not-works/210729)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [August 16, 2011, 4:39pm UTC](https://www.ruby-forum.com/t/jquery-dialog-not-works/210729 "2011-08-16T16:39:45Z")

</div>

Hi guys, I installed JQuery on my rails application, I tested some functions like $("#some\_elem").attr(“id”), and it works well. So, I think that my file was corrected installed. My problem is this: Everytime that …

---

## [What do we mean by this code if written in Gemfile](https://www.ruby-forum.com/t/what-do-we-mean-by-this-code-if-written-in-gemfile/210198)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [August 3, 2011, 2:59pm UTC](https://www.ruby-forum.com/t/what-do-we-mean-by-this-code-if-written-in-gemfile/210198 "2011-08-03T14:59:26Z")

</div>

If I write the following code for example in ‘Gemfile’: group :development do gem 'xyz' end group:test do gem 'xyz' end Thanks.

---

## [Caching question for large (ish) file](https://www.ruby-forum.com/t/caching-question-for-large-ish-file/209424)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [July 14, 2011, 12:41pm UTC](https://www.ruby-forum.com/t/caching-question-for-large-ish-file/209424 "2011-07-14T12:41:08Z")

</div>

Hello Everyone! First time E-mailer with a small question I hope someone could answer for me. I’ve searched through google for my answers but i haven’t found anything that tells me what i’m doing wrong… So I have a t…

---

## [Mainlining FPGA modifications](https://www.ruby-forum.com/t/mainlining-fpga-modifications/208002)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [June 10, 2011, 11:19am UTC](https://www.ruby-forum.com/t/mainlining-fpga-modifications/208002 "2011-06-10T11:19:16Z")

</div>

Hi all, On Sat, May 28, 2011 at 21:30, Alexander C. removed\_email\_address@domain.invalid wrote: To make it more clear - we intend to keep all VRT/UHD related FPGA code in place and just replace/change interaction…

---

## [Need RoR Developer](https://www.ruby-forum.com/t/need-ror-developer/208039)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [June 9, 2011, 11:47am UTC](https://www.ruby-forum.com/t/need-ror-developer/208039 "2011-06-09T11:47:37Z")

</div>

Hi Everyone! I’ve got a project that’s nearing completion and our RoR dev has bailed on us. In need of a freelancer who can pick this up and finish it off for us. We’re a production company who uses a core group of f…

---

## [Emacs-rails](https://www.ruby-forum.com/t/emacs-rails/204189)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 7, 2011, 9:33pm UTC](https://www.ruby-forum.com/t/emacs-rails/204189 "2011-03-07T21:33:03Z")

</div>

What is the best mode for Rails in Emacs ? I have “emacs-rails” but it seems not updated to support rails 3. Thank you for your suggestion. T.

---

## [Install text editor without adminstrator previlege](https://www.ruby-forum.com/t/install-text-editor-without-adminstrator-previlege/198712)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [November 8, 2010, 8:45pm UTC](https://www.ruby-forum.com/t/install-text-editor-without-adminstrator-previlege/198712 "2010-11-08T20:45:17Z")

</div>

Hi all, Can I find a text editor without using adminstrator previlege and install it on the USB drive? Thanks, Li

---

## [Which flavor of Linux should I use for a Rails dev box?](https://www.ruby-forum.com/t/which-flavor-of-linux-should-i-use-for-a-rails-dev-box/195823)

<div class="topic-metadata">

**Author:** [@sithadmin](https://www.ruby-forum.com/u/sithadmin)\
**Replies:** 4\
**Last updated:** [September 30, 2010, 8:37pm UTC](https://www.ruby-forum.com/t/which-flavor-of-linux-should-i-use-for-a-rails-dev-box/195823 "2010-09-30T20:37:17Z")

</div>

Hey everyone, I’m looking to set up a development server for my Rails project and have a shiny new hard drive. Which version of Linux is the best to use? Or does it not really matter? Thanks in advance for any help.

---

## [How would I set up a Rails-style Public dir in a Gem?](https://www.ruby-forum.com/t/how-would-i-set-up-a-rails-style-public-dir-in-a-gem/195058)

<div class="topic-metadata">

**Author:** [@elliottg](https://www.ruby-forum.com/u/elliottg)\
**Replies:** 4\
**Last updated:** [September 16, 2010, 2:00am UTC](https://www.ruby-forum.com/t/how-would-i-set-up-a-rails-style-public-dir-in-a-gem/195058 "2010-09-16T02:00:23Z")

</div>

I am working on a Rails CMS gem. I want the Gem to have its own Public dir (like Rails) to hold css/js/images etc… I have been trying a lot of different pathing options from my Gem-centric views, but no matter what I …

---

## [How can I solve this issue?](https://www.ruby-forum.com/t/how-can-i-solve-this-issue/194596)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 4\
**Last updated:** [September 7, 2010, 9:56pm UTC](https://www.ruby-forum.com/t/how-can-i-solve-this-issue/194596 "2010-09-07T21:56:44Z")

</div>

I have a script (Attached), which is based on this tutorial: http://dicom.rubyforge.org/tutorial1.html When I run the script, I get the following: C:\\Users\\Abder-Rahman\\Desktop\\Research\\dicom\>ruby dicom\_info.rb C:/Ru…

---

## [Fedora 12 install](https://www.ruby-forum.com/t/fedora-12-install/188274)

<div class="topic-metadata">

**Author:** [@Patrik\_T](https://www.ruby-forum.com/u/Patrik_T)\
**Replies:** 4\
**Last updated:** [May 10, 2010, 5:40am UTC](https://www.ruby-forum.com/t/fedora-12-install/188274 "2010-05-10T05:40:32Z")

</div>

Hi All, I just reformatted and installed Fedora 12 and did yum update, an hour later, got GnuRadio from git. The only problem I run into was libboost. By doing yum install boost boost-devel all was sorted out in a fe…

---

## [Ajax Update Status](https://www.ruby-forum.com/t/ajax-update-status/182981)

<div class="topic-metadata">

**Author:** [@Volkan\_SSSSSALISSS\_S](https://www.ruby-forum.com/u/Volkan_SSSSSALISSS_S)\
**Replies:** 4\
**Last updated:** [February 5, 2010, 10:01pm UTC](https://www.ruby-forum.com/t/ajax-update-status/182981 "2010-02-05T22:01:29Z")

</div>

Hello All, I am new to this Ajax update with form\_remote\_tag. I have a model so a table with order\_line\_items which has a order\_line\_item\_status\_code\_id field. I am listing the pending items just fine in a list view w…

---

## [Sorting array of names](https://www.ruby-forum.com/t/sorting-array-of-names/179043)

<div class="topic-metadata">

**Author:** [@ladyinred](https://www.ruby-forum.com/u/ladyinred)\
**Replies:** 4\
**Last updated:** [November 16, 2009, 1:26pm UTC](https://www.ruby-forum.com/t/sorting-array-of-names/179043 "2009-11-16T13:26:39Z")

</div>

Hi all, I have a Ruby program that reads in a text file of first names and surnames and prints them out in alphabetical order. Now I’m trying to add the option: if a person has a middle name, to print that out too and …

---

## [Thumbnails in Rails](https://www.ruby-forum.com/t/thumbnails-in-rails/174667)

<div class="topic-metadata">

**Author:** [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Replies:** 4\
**Last updated:** [August 31, 2009, 3:42pm UTC](https://www.ruby-forum.com/t/thumbnails-in-rails/174667 "2009-08-31T15:42:26Z")

</div>

Hi Champs, Actually, i am uploading a file to my server… Now suppose if i uploads the file of more than 1Mb… then its taking a lot of space… And also taking a lot of time in showing that image … Just like thumbnails ……

---

## [Hooky 1.0.0 Released](https://www.ruby-forum.com/t/hooky-1-0-0-released/174118)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 4\
**Last updated:** [August 21, 2009, 4:45pm UTC](https://www.ruby-forum.com/t/hooky-1-0-0-released/174118 "2009-08-21T16:45:53Z")

</div>

hooky version 1.0.0 has been released! http://github.com/jbarnette/hooky http://www.kernel.org/pub/software/scm/git/docs/githooks.html Hooky lets you write Git repository hooks with Rake. If you already have a Rakefi…

---

## [How to achieve change values of parameters at runtime](https://www.ruby-forum.com/t/how-to-achieve-change-values-of-parameters-at-runtime/170011)

<div class="topic-metadata">

**Author:** [@Sheshanandan\_KN](https://www.ruby-forum.com/u/Sheshanandan_KN)\
**Replies:** 4\
**Last updated:** [June 14, 2009, 9:03am UTC](https://www.ruby-forum.com/t/how-to-achieve-change-values-of-parameters-at-runtime/170011 "2009-06-14T09:03:34Z")

</div>

hi all, could anyone please let me know how to change the value of a parameter already initialized to a different value at runtime? I guess usage of lock() and unlock() will work. But not sure how to go about this?

---

## [I need help](https://www.ruby-forum.com/t/i-need-help/167653)

<div class="topic-metadata">

**Author:** [@komeng](https://www.ruby-forum.com/u/komeng)\
**Replies:** 4\
**Last updated:** [May 11, 2009, 9:40am UTC](https://www.ruby-forum.com/t/i-need-help/167653 "2009-05-11T09:40:34Z")

</div>

Hye… Im new here and very interested in Ruby… But I have problem installing it, or configuration with WEbrick… i used this website as example to follow… The problem is, when I run the “ruby script\\server” command, t…

---

## [A DSL + scope problem](https://www.ruby-forum.com/t/a-dsl-scope-problem/167191)

<div class="topic-metadata">

**Author:** [@Srijayanth\_S](https://www.ruby-forum.com/u/Srijayanth_S)\
**Replies:** 4\
**Last updated:** [May 6, 2009, 9:13am UTC](https://www.ruby-forum.com/t/a-dsl-scope-problem/167191 "2009-05-06T09:13:40Z")

</div>

Hello, Wrt: http://groups.google.com/group/comp.lang.ruby/browse\_thread/thread/689cbe271d680979/5ba5a52ba929b142?lnk=raot&fwc=2&pli=1 Basically I have a log file where different lines need to be mapped to different s…

---

## [About HAsh in ruby](https://www.ruby-forum.com/t/about-hash-in-ruby/162842)

<div class="topic-metadata">

**Author:** [@nilez](https://www.ruby-forum.com/u/nilez)\
**Replies:** 4\
**Last updated:** [March 16, 2009, 7:50am UTC](https://www.ruby-forum.com/t/about-hash-in-ruby/162842 "2009-03-16T07:50:11Z")

</div>

HI ALL, I want to add values present in hash text\_fields on form after form is displayed. is it possible, how can i do it.

---

## [How to store contents of table in Hash?](https://www.ruby-forum.com/t/how-to-store-contents-of-table-in-hash/162542)

<div class="topic-metadata">

**Author:** [@VrishaliSS](https://www.ruby-forum.com/u/VrishaliSS)\
**Replies:** 4\
**Last updated:** [March 13, 2009, 1:49pm UTC](https://www.ruby-forum.com/t/how-to-store-contents-of-table-in-hash/162542 "2009-03-13T13:49:27Z")

</div>

Hi evrybody… I was storing the values in hash using… places = \[ {:address=\>‘555 Irving, San Francisco, CA’,:description=\>‘Irving’,:image=\>’/images/1.jpg’}, {:address=\>‘1401 Valencia St, San Francisco, CA’,:descript…

---

## [Listing and Updating Plugins](https://www.ruby-forum.com/t/listing-and-updating-plugins/150245)

<div class="topic-metadata">

**Author:** [@apremdas](https://www.ruby-forum.com/u/apremdas)\
**Replies:** 4\
**Last updated:** [October 7, 2008, 1:40am UTC](https://www.ruby-forum.com/t/listing-and-updating-plugins/150245 "2008-10-07T01:40:58Z")

</div>

Hi all, Project I’m working on has a number of plugins, particularly several from github. Want to be able to List all the plugins and where they come from Update all/some of the plugins Now using Rails 2.1 and scri…

---

## [Dont want to display all column created by scaffold](https://www.ruby-forum.com/t/dont-want-to-display-all-column-created-by-scaffold/145270)

<div class="topic-metadata">

**Author:** [@dharmdip](https://www.ruby-forum.com/u/dharmdip)\
**Replies:** 4\
**Last updated:** [August 7, 2008, 1:31pm UTC](https://www.ruby-forum.com/t/dont-want-to-display-all-column-created-by-scaffold/145270 "2008-08-07T13:31:57Z")

</div>

hi i have generated page with scaffolding but i don want to show all column which are showed by default using scaffolding utility . is there any way ? to view customize display tables columns apart from this in show m…

---

## [More Rails-ish Way?](https://www.ruby-forum.com/t/more-rails-ish-way/143950)

<div class="topic-metadata">

**Author:** [@Jeffrey\_LSTaylor](https://www.ruby-forum.com/u/Jeffrey_LSTaylor)\
**Replies:** 4\
**Last updated:** [July 25, 2008, 4:23am UTC](https://www.ruby-forum.com/t/more-rails-ish-way/143950 "2008-07-25T04:23:35Z")

</div>

I need to to an update with a a join. Is there a better way than this? Token.connection.update “UPDATE tokens INNER JOIN items\_tokens ON tokens.id = items\_tokens.token\_id SET field=field-1 WHERE items\_tokens.item\_id …

---

## [How to maintain migrations?](https://www.ruby-forum.com/t/how-to-maintain-migrations/143174)

<div class="topic-metadata">

**Author:** [@Sean\_CSHess](https://www.ruby-forum.com/u/Sean_CSHess)\
**Replies:** 4\
**Last updated:** [July 16, 2008, 1:04pm UTC](https://www.ruby-forum.com/t/how-to-maintain-migrations/143174 "2008-07-16T13:04:11Z")

</div>

Hi everybody, I’m trying to figure out the best way to do migrations. I’m sure it’s a personal preference in some ways, but how do you prefer to maintain migrations? Do you create a new migration every time you think…

---

## [Clear search box the first time it's selected](https://www.ruby-forum.com/t/clear-search-box-the-first-time-its-selected/140795)

<div class="topic-metadata">

**Author:** [@dino\_d](https://www.ruby-forum.com/u/dino_d)\
**Replies:** 4\
**Last updated:** [June 18, 2008, 5:36pm UTC](https://www.ruby-forum.com/t/clear-search-box-the-first-time-its-selected/140795 "2008-06-18T17:36:40Z")

</div>

Hi - I’m trying to implement a search box that has a pre-filled message “enter search text.” The first time it’s selected, I’d like it to clear out, but after that, I’d like it to remain. I imagine lots of people ha…

---

## [Quick question on updating attributes on the join model in a has\_many :through relationship](https://www.ruby-forum.com/t/quick-question-on-updating-attributes-on-the-join-model-in-a-has-many-through-relationship/140584)

<div class="topic-metadata">

**Author:** [@Morgan\_G](https://www.ruby-forum.com/u/Morgan_G)\
**Replies:** 4\
**Last updated:** [June 17, 2008, 5:10pm UTC](https://www.ruby-forum.com/t/quick-question-on-updating-attributes-on-the-join-model-in-a-has-many-through-relationship/140584 "2008-06-17T17:10:31Z")

</div>

The question is this: how are you supposed to do it? I’ve seen a lot of blog posts that say that HM:T has beaten HABTM and that we can now all easily have data on the join model and go on to show how to enter that d…

---

## [Definning "to\_s" in a class - inexpected result](https://www.ruby-forum.com/t/definning-to-s-in-a-class-inexpected-result/140487)

<div class="topic-metadata">

**Author:** [@kaizen](https://www.ruby-forum.com/u/kaizen)\
**Replies:** 4\
**Last updated:** [June 14, 2008, 10:00pm UTC](https://www.ruby-forum.com/t/definning-to-s-in-a-class-inexpected-result/140487 "2008-06-14T22:00:28Z")

</div>

Hi, I’m trying to obtain the cards of a Deck in a string like “2s…KsAs2h…Ah2d…Ad2c…Ac”. The problem with the folowing code is that in the end of the string appears “#Deck:0x2bb5880”. Why? Can I avoid it? class Deck …

---

## [Action Mailer and HTML](https://www.ruby-forum.com/t/action-mailer-and-html/140168)

<div class="topic-metadata">

**Author:** [@mex23](https://www.ruby-forum.com/u/mex23)\
**Replies:** 4\
**Last updated:** [June 11, 2008, 10:27pm UTC](https://www.ruby-forum.com/t/action-mailer-and-html/140168 "2008-06-11T22:27:06Z")

</div>

I have a problem with HTML email and Outlook; no matter what I do, Outlook displays email like Text and not like formatted HTML. If I send the same to Yahoo or Google email account, received emails are HTML rendered,…

---

## [Once again I'm wasting my time with CentOS: gem install won't work](https://www.ruby-forum.com/t/once-again-im-wasting-my-time-with-centos-gem-install-wont-work/134330)

<div class="topic-metadata">

**Author:** [@Xeno\_C](https://www.ruby-forum.com/u/Xeno_C)\
**Replies:** 4\
**Last updated:** [April 10, 2008, 8:24pm UTC](https://www.ruby-forum.com/t/once-again-im-wasting-my-time-with-centos-gem-install-wont-work/134330 "2008-04-10T20:24:23Z")

</div>

\[root@free rubygems-1.1.0\]# vi README \[root@free rubygems-1.1.0\]# ruby setup.rb ./lib/rubygems/custom\_require.rb:27:in gem\_original\_require': no such file to load -- rdoc/rdoc (LoadError) from ./lib/rubygems/custom\_req…

---

## [Where does this IP come from in the log](https://www.ruby-forum.com/t/where-does-this-ip-come-from-in-the-log/132668)

<div class="topic-metadata">

**Author:** [@atlantageek](https://www.ruby-forum.com/u/atlantageek)\
**Replies:** 4\
**Last updated:** [March 23, 2008, 11:30am UTC](https://www.ruby-forum.com/t/where-does-this-ip-come-from-in-the-log/132668 "2008-03-23T11:30:01Z")

</div>

On the rails production log I am getting this in the log file Processing LivetraceController#index (for 127.0.0.1 at 2008-03-22 15:46:17) \[GET\] Session ID: 385c4a0d728002966e9728f2c1a07eea Parameters: {“action”=\>“in…

---

## [OFDM packets](https://www.ruby-forum.com/t/ofdm-packets/130455)

<div class="topic-metadata">

**Author:** [@Crespi\_F](https://www.ruby-forum.com/u/Crespi_F)\
**Replies:** 4\
**Last updated:** [February 29, 2008, 2:36pm UTC](https://www.ruby-forum.com/t/ofdm-packets/130455 "2008-02-29T14:36:05Z")

</div>

Hi, I have a problem with OFDM system. I transmit OFDM signal at 2.4 GHz, but I receive half of the total packets. Moreover, only half of the packets received are correct. CRC controller is perfect but i want a ber …

---

## [Attachment\_fu problems on updates](https://www.ruby-forum.com/t/attachment-fu-problems-on-updates/123090)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 4\
**Last updated:** [January 23, 2008, 1:46am UTC](https://www.ruby-forum.com/t/attachment-fu-problems-on-updates/123090 "2008-01-23T01:46:48Z")

</div>

On the creation of a member the member’s picture uploads as it should. However, when updating the member, while selecting a new picture, an error is thrown: can’t convert nil into String RAILS\_ROOT: /Users/chris/Docu…

---

## [Calling a function](https://www.ruby-forum.com/t/calling-a-function/126785)

<div class="topic-metadata">

**Author:** [@Aaaarg](https://www.ruby-forum.com/u/Aaaarg)\
**Replies:** 4\
**Last updated:** [January 22, 2008, 2:23pm UTC](https://www.ruby-forum.com/t/calling-a-function/126785 "2008-01-22T14:23:27Z")

</div>

Hi. I’m trying to call the function ‘store\_description(image)’ at line 9. However when I do, I get the error “undefined method ‘store\_description’ for Photo:Class”. What can I do? 1: class Photo \< ActiveRecord::Base …

---

## [Smarter routing with nested resources](https://www.ruby-forum.com/t/smarter-routing-with-nested-resources/125653)

<div class="topic-metadata">

**Author:** [@giaco](https://www.ruby-forum.com/u/giaco)\
**Replies:** 4\
**Last updated:** [January 11, 2008, 4:36am UTC](https://www.ruby-forum.com/t/smarter-routing-with-nested-resources/125653 "2008-01-11T04:36:40Z")

</div>

I have a number of resources that I want to access in various scopes. The index action would change slightly depending on its scope, but the rest of the actions would be identical aside from needing to preserve the ur…

---

## [Java-Annotations in Ruby?](https://www.ruby-forum.com/t/java-annotations-in-ruby/124034)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 4\
**Last updated:** [December 27, 2007, 7:31pm UTC](https://www.ruby-forum.com/t/java-annotations-in-ruby/124034 "2007-12-27T19:31:58Z")

</div>

Hi, In java one can do annotations in front of method declarations: http://java.sun.com/j2se/1.5.0/docs/guide/language/annotations.html @AjaxCallable public static void deleteImage(int imageId) { … } I think I have n…

---

## [.match in for condition](https://www.ruby-forum.com/t/match-in-for-condition/112502)

<div class="topic-metadata">

**Author:** [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Replies:** 4\
**Last updated:** [October 11, 2007, 11:16am UTC](https://www.ruby-forum.com/t/match-in-for-condition/112502 "2007-10-11T11:16:47Z")

</div>

Hello frnds I want to give .match condition in the for loop. wat i want to do is that i want to display only those contents with matched with the .match criteria. Thanks Dhaval P.

---

## [Data Migrations using Model Classes vs. SQL](https://www.ruby-forum.com/t/data-migrations-using-model-classes-vs-sql/114474)

<div class="topic-metadata">

**Author:** [@Geoffrey\_W](https://www.ruby-forum.com/u/Geoffrey_W)\
**Replies:** 4\
**Last updated:** [September 13, 2007, 3:19pm UTC](https://www.ruby-forum.com/t/data-migrations-using-model-classes-vs-sql/114474 "2007-09-13T15:19:21Z")

</div>

I’m working on my first official migration that inserts data rather than changing the structure of the database; there’s some data we’d like to be present in any database, so it seems sensible to put it in a migration…

---

## [Laptop recommendations](https://www.ruby-forum.com/t/laptop-recommendations/112844)

<div class="topic-metadata">

**Author:** [@Roshan\_B](https://www.ruby-forum.com/u/Roshan_B)\
**Replies:** 4\
**Last updated:** [August 24, 2007, 5:54pm UTC](https://www.ruby-forum.com/t/laptop-recommendations/112844 "2007-08-24T17:54:22Z")

</div>

Hi All, I looked through the gnuradio archive, and couldn’t find this topic, so I’m posting. Does anyone have a current recommendation for a laptop for use with gnuradio? I’ve never had a problem with any desktop run…

---

## [Lost MySQL connections accessing session store](https://www.ruby-forum.com/t/lost-mysql-connections-accessing-session-store/92861)

<div class="topic-metadata">

**Author:** [@DZDZDZ](https://www.ruby-forum.com/u/DZDZDZ)\
**Replies:** 4\
**Last updated:** [May 3, 2007, 12:55am UTC](https://www.ruby-forum.com/t/lost-mysql-connections-accessing-session-store/92861 "2007-05-03T00:55:32Z")

</div>

Since putting our application into production, I’ve been seeing random lost connections to our MySQL server, always when the application is accessing the session store, and at no other time. Apparently randomly, I get…

---

## [False or true == true .... WTF?](https://www.ruby-forum.com/t/false-or-true-true-wtf/91221)

<div class="topic-metadata">

**Author:** [@Shea\_M](https://www.ruby-forum.com/u/Shea_M)\
**Replies:** 4\
**Last updated:** [April 5, 2007, 7:47pm UTC](https://www.ruby-forum.com/t/false-or-true-true-wtf/91221 "2007-04-05T19:47:18Z")

</div>

I have the following code: templated = nreturns \> 0 or nparams \> 0 puts "nreturns = #{nreturns}, nparams = #{nparams}, templated = #{templated}" has\_returns = nreturns \> 0 has\_params = nparams \> 0 templated2 = (nreturns…

---

## [Ruby-C Book?](https://www.ruby-forum.com/t/ruby-c-book/89972)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 4\
**Last updated:** [March 30, 2007, 3:21pm UTC](https://www.ruby-forum.com/t/ruby-c-book/89972 "2007-03-30T15:21:33Z")

</div>

I am still trying to improve my poor C and Ruby-C knowledge, today I managed to use rb\_iv\_set and rb\_iv\_get successfully … wow :wink: But what I would really like to have would be a Pickaxe2-like book dedicated to the…

---

## [Naughty radio\_buttons](https://www.ruby-forum.com/t/naughty-radio-buttons/83968)

<div class="topic-metadata">

**Author:** [@miked](https://www.ruby-forum.com/u/miked)\
**Replies:** 4\
**Last updated:** [January 31, 2007, 7:52pm UTC](https://www.ruby-forum.com/t/naughty-radio-buttons/83968 "2007-01-31T19:52:49Z")

</div>

hi: I have 2 radio buttons that are just interface elements: radio\_button\_tag. I don’t really care about their method or object, I just want to fire some login on the page based on whether or not they’re clicked. P…

---

## [Help me with some nested Hashes](https://www.ruby-forum.com/t/help-me-with-some-nested-hashes/78885)

<div class="topic-metadata">

**Author:** [@arachnd](https://www.ruby-forum.com/u/arachnd)\
**Replies:** 4\
**Last updated:** [December 10, 2006, 12:52am UTC](https://www.ruby-forum.com/t/help-me-with-some-nested-hashes/78885 "2006-12-10T00:52:23Z")

</div>

What I want to do is have 2 nested hashes, the outer hash returning a new hash on an unknown key and the inner hash returning a space on an unknown key. For example: values = Hash.new # as described above values\[4\]\[…

---

## [Charset detection](https://www.ruby-forum.com/t/charset-detection/75297)

<div class="topic-metadata">

**Author:** [@Miquel\_O](https://www.ruby-forum.com/u/Miquel_O)\
**Replies:** 4\
**Last updated:** [November 15, 2006, 1:41pm UTC](https://www.ruby-forum.com/t/charset-detection/75297 "2006-11-15T13:41:46Z")

</div>

Hi I’m coding a planet software in Ruby, like planet planet, but inserting all rss data into a database (mysql now) and showing the entries from database. I don’t know how can I detect the rss charset. Can you help m…

---

## [Distinctions between RESTful default actions](https://www.ruby-forum.com/t/distinctions-between-restful-default-actions/70150)

<div class="topic-metadata">

**Author:** [@agonyou](https://www.ruby-forum.com/u/agonyou)\
**Replies:** 4\
**Last updated:** [September 27, 2006, 3:40am UTC](https://www.ruby-forum.com/t/distinctions-between-restful-default-actions/70150 "2006-09-27T03:40:26Z")

</div>

What’s the difference between create and new, edit and update? Or, a link to a good explanation of the differrence. (I read David Goodlad’s post without much clarity on these last oddball URLS.) Thanks, Austin G. Th…

---

## [Installing radiant on www.hostingrails.com](https://www.ruby-forum.com/t/installing-radiant-on-www-hostingrails-com/66352)

<div class="topic-metadata">

**Author:** [@Josh\_Stockwell](https://www.ruby-forum.com/u/Josh_Stockwell)\
**Replies:** 4\
**Last updated:** [August 30, 2006, 12:10am UTC](https://www.ruby-forum.com/t/installing-radiant-on-www-hostingrails-com/66352 "2006-08-30T00:10:57Z")

</div>

I’m following http://www.hostingrails.com/forums/wiki\_thread/1 and http://www.hostingrails.com/forums/wiki\_thread/2 I have not been able to run \>radiant to do a fresh install. Anybody got any ideas??

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

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