# Top

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

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

---

## [Another rubygem install problem](https://www.ruby-forum.com/t/another-rubygem-install-problem/178942)

<div class="topic-metadata">

**Author:** [@nelson2005](https://www.ruby-forum.com/u/nelson2005)\
**Replies:** 3\
**Last updated:** [November 16, 2009, 3:56pm UTC](https://www.ruby-forum.com/t/another-rubygem-install-problem/178942 "2009-11-16T15:56:39Z")

</div>

I’m trying to install a fresh copy of Ruby into empty directory ‘/modlest/modlusr/ruby’ on a stock Red Hat server but it doesn’t work. Here’s what I’ve done: /modlest/users/erik/rubygems-1.3.3\> cat /proc/version –\>Li…

---

## [Debugging with eclipse](https://www.ruby-forum.com/t/debugging-with-eclipse/82843)

<div class="topic-metadata">

**Author:** [@mr-potato](https://www.ruby-forum.com/u/mr-potato)\
**Replies:** 3\
**Last updated:** [November 4, 2009, 12:17am UTC](https://www.ruby-forum.com/t/debugging-with-eclipse/82843 "2009-11-04T00:17:21Z")

</div>

Hi, I have installed ruby1.8.4 and ruby1.8.5 “All in One” Packs with easyeclipse and and radrails on windows and linux in any combination :D, but i have allways the same problem: The Debugging from eclipse with break…

---

## [List out banking application](https://www.ruby-forum.com/t/list-out-banking-application/175792)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [September 19, 2009, 10:17pm UTC](https://www.ruby-forum.com/t/list-out-banking-application/175792 "2009-09-19T22:17:20Z")

</div>

Hi all, I am newbie to RoR, though impressed with it’s rapid development. I have few concerns on security. As couple of my networking apps are related to Finance domain I would like to know if any security issues ar…

---

## [Php-apc and Nginx](https://www.ruby-forum.com/t/php-apc-and-nginx/175141)

<div class="topic-metadata">

**Author:** [@Michael\_Baudino](https://www.ruby-forum.com/u/Michael_Baudino)\
**Replies:** 3\
**Last updated:** [September 9, 2009, 12:08am UTC](https://www.ruby-forum.com/t/php-apc-and-nginx/175141 "2009-09-09T00:08:07Z")

</div>

Hello everyone, I’m running OpenUpload 0.4.1 (a RapidShare-like web-app) on nginx-0.6.32 with php-5.2.6 and php-apc-3.0.19 (all but openupload are from debian stable repositories). Everything is working fine, except …

---

## [How/where to load initial data?](https://www.ruby-forum.com/t/how-where-to-load-initial-data/174929)

<div class="topic-metadata">

**Author:** [@cojones](https://www.ruby-forum.com/u/cojones)\
**Replies:** 3\
**Last updated:** [September 4, 2009, 2:47pm UTC](https://www.ruby-forum.com/t/how-where-to-load-initial-data/174929 "2009-09-04T14:47:19Z")

</div>

Hello, I’ve got a got a question about how and where to load initial data that is necessary in order to make the website work (menu structure, page contents, …) I know it’s preference and everybody can do it as s/he …

---

## [Transferring old RoR site.... Problems.... sigh](https://www.ruby-forum.com/t/transferring-old-ror-site-problems-sigh/169628)

<div class="topic-metadata">

**Author:** [@rustybucket](https://www.ruby-forum.com/u/rustybucket)\
**Replies:** 3\
**Last updated:** [June 6, 2009, 3:17am UTC](https://www.ruby-forum.com/t/transferring-old-ror-site-problems-sigh/169628 "2009-06-06T03:17:56Z")

</div>

Hello all, new to Rails here and am in the process of transferring an existing rails site to a new server. I’ve installed Rails 1.1.6 and Ruby 1.8.4 as well as mongrel and gems 0.8.10 The problem comes when I attempt…

---

## [Idiom for Class variables](https://www.ruby-forum.com/t/idiom-for-class-variables/169370)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 3\
**Last updated:** [June 3, 2009, 4:03pm UTC](https://www.ruby-forum.com/t/idiom-for-class-variables/169370 "2009-06-03T16:03:54Z")

</div>

I want do do something like this class MyClass def default self.default end def self.default return @@default if @@default self.default = ‘this’ end def self.default=(value) @@default = value end end a = MyC…

---

## [Howto Overwrite existing Ruby Class via Rails app?](https://www.ruby-forum.com/t/howto-overwrite-existing-ruby-class-via-rails-app/169216)

<div class="topic-metadata">

**Author:** [@Jermaine](https://www.ruby-forum.com/u/Jermaine)\
**Replies:** 3\
**Last updated:** [June 1, 2009, 3:49am UTC](https://www.ruby-forum.com/t/howto-overwrite-existing-ruby-class-via-rails-app/169216 "2009-06-01T03:49:42Z")

</div>

Hello Everyone, in the 1.8/usr/lib/ruby/1.8/date/format.rb file there is the following code: class Date module Format # :nodoc: MONTHS = { 'january' =\> 1, 'february' =\> 2, 'march' =\> 3, 'april' =\> 4, ‘ma…

---

## [Query pulling too many fields](https://www.ruby-forum.com/t/query-pulling-too-many-fields/165757)

<div class="topic-metadata">

**Author:** [@skirkpatrick](https://www.ruby-forum.com/u/skirkpatrick)\
**Replies:** 3\
**Last updated:** [April 18, 2009, 11:36pm UTC](https://www.ruby-forum.com/t/query-pulling-too-many-fields/165757 "2009-04-18T23:36:13Z")

</div>

i’m a little confused here on what’s happening. i have two tables ITEMS and ITEM\_TYPES ITEMS (belongs\_to :item\_type) id name item\_type\_id ITEM\_TYPES id name here is my Item.rb model code for my query: find(:all…

---

## [Depot App Who Bought Enhancements](https://www.ruby-forum.com/t/depot-app-who-bought-enhancements/165720)

<div class="topic-metadata">

**Author:** [@eengnerd](https://www.ruby-forum.com/u/eengnerd)\
**Replies:** 3\
**Last updated:** [April 17, 2009, 7:37pm UTC](https://www.ruby-forum.com/t/depot-app-who-bought-enhancements/165720 "2009-04-17T19:37:40Z")

</div>

I’ve completed the chapter on Internationalization successfully, but found out just recently that the “Who Bought” function produces an error page that looks very ugly when someone enters a product ID that does not ex…

---

## [Has\_many :through, expects "through" model to be belongs\_to](https://www.ruby-forum.com/t/has-many-through-expects-through-model-to-be-belongs-to/161639)

<div class="topic-metadata">

**Author:** [@preethi](https://www.ruby-forum.com/u/preethi)\
**Replies:** 3\
**Last updated:** [February 28, 2009, 11:38am UTC](https://www.ruby-forum.com/t/has-many-through-expects-through-model-to-be-belongs-to/161639 "2009-02-28T11:38:20Z")

</div>

Hi, I’m using has\_many and through relationship between two models Profile and User Profile.rb has\_and\_belongs\_to\_many :users belongs\_to :community User.rb has\_and\_belongs\_to\_many :profiles has\_many :communities, :…

---

## [What you see is what you get](https://www.ruby-forum.com/t/what-you-see-is-what-you-get/160740)

<div class="topic-metadata">

**Author:** [@madhavi.k](https://www.ruby-forum.com/u/madhavi.k)\
**Replies:** 3\
**Last updated:** [February 19, 2009, 12:39pm UTC](https://www.ruby-forum.com/t/what-you-see-is-what-you-get/160740 "2009-02-19T12:39:28Z")

</div>

how to implement WYSIWYG editor for user to enter the content using rails

---

## [WhatÂ´s the best way to have "constant" db re cords and have them available in tests?](https://www.ruby-forum.com/t/whata-s-the-best-way-to-have-constant-db-re-cords-and-have-them-available-in-tests/160526)

<div class="topic-metadata">

**Author:** [@Hector\_Parra](https://www.ruby-forum.com/u/Hector_Parra)\
**Replies:** 3\
**Last updated:** [February 17, 2009, 2:24pm UTC](https://www.ruby-forum.com/t/whata-s-the-best-way-to-have-constant-db-re-cords-and-have-them-available-in-tests/160526 "2009-02-17T14:24:48Z")

</div>

Hello, I have a model called Contents, and every content belongs to a Role. The Roles are suposed to be constants (they are always the same and don’t change), so I decided to create a migrate to insert the data in th…

---

## [Rails 1.X to 2.1 routing problem](https://www.ruby-forum.com/t/rails-1-x-to-2-1-routing-problem/156621)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 3\
**Last updated:** [January 1, 2009, 11:59pm UTC](https://www.ruby-forum.com/t/rails-1-x-to-2-1-routing-problem/156621 "2009-01-01T23:59:14Z")

</div>

Hi, I’m trying to bring an “old” rails app up to 2.1. I’m getting this error when trying to access the app via an iFrame setup we had working before for showing widgets on other domains pages: ActionController::Routi…

---

## [\[Bug #493\] Failure: test\_dup(TestIO)](https://www.ruby-forum.com/t/bug-493-failure-test-dup-testio/146783)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 3\
**Last updated:** [September 17, 2008, 12:27pm UTC](https://www.ruby-forum.com/t/bug-493-failure-test-dup-testio/146783 "2008-09-17T12:27:38Z")

</div>

Bug #493: Failure: test\_dup(TestIO) http://redmine.ruby-lang.org/issues/show/493 e$B5/I\<\<Te(B: Kazuhiro NISHIYAMA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal ruby 1.9.0 (2008-08-25 revision 18832) \[i686-linux\] e$B$…

---

## [Manipulate retrieved database find query object, multiple tables and one legacy database (phew)](https://www.ruby-forum.com/t/manipulate-retrieved-database-find-query-object-multiple-tables-and-one-legacy-database-phew/146830)

<div class="topic-metadata">

**Author:** [@cinderedmonkey](https://www.ruby-forum.com/u/cinderedmonkey)\
**Replies:** 3\
**Last updated:** [August 26, 2008, 9:00pm UTC](https://www.ruby-forum.com/t/manipulate-retrieved-database-find-query-object-multiple-tables-and-one-legacy-database-phew/146830 "2008-08-26T21:00:23Z")

</div>

Hi, First, I am forced to use a legacy database. My problem is that I need data from two separate tables which I can get easily enough separately. What I do need to know is how to join that information together so I …

---

## [Combining find results from multiple tables/models](https://www.ruby-forum.com/t/combining-find-results-from-multiple-tables-models/144523)

<div class="topic-metadata">

**Author:** [@Neal\_L](https://www.ruby-forum.com/u/Neal_L)\
**Replies:** 3\
**Last updated:** [July 30, 2008, 5:10pm UTC](https://www.ruby-forum.com/t/combining-find-results-from-multiple-tables-models/144523 "2008-07-30T17:10:52Z")

</div>

Hi all, I’m wondering if it’s possible to merge/combine find results from multiple tables. I have a customers model and customers have invoices and payments. I need to combine the results from the invoice and payme…

---

## [Identifying the attributes of an object dynamically](https://www.ruby-forum.com/t/identifying-the-attributes-of-an-object-dynamically/142376)

<div class="topic-metadata">

**Author:** [@shankar](https://www.ruby-forum.com/u/shankar)\
**Replies:** 3\
**Last updated:** [July 7, 2008, 2:46pm UTC](https://www.ruby-forum.com/t/identifying-the-attributes-of-an-object-dynamically/142376 "2008-07-07T14:46:00Z")

</div>

Hello I have an object ‘details’ which comprises of many attributes like name address.city address.state department.name For a given object of ‘details’, I am trying to obtain the values of some attributes from a …

---

## [Opening the Time Class](https://www.ruby-forum.com/t/opening-the-time-class/136752)

<div class="topic-metadata">

**Author:** [@jules](https://www.ruby-forum.com/u/jules)\
**Replies:** 3\
**Last updated:** [May 8, 2008, 9:42am UTC](https://www.ruby-forum.com/t/opening-the-time-class/136752 "2008-05-08T09:42:39Z")

</div>

I’m trying to add some extra methods to the time class by opening it up like this: class Time # opening up ruby time ONE\_DAY\_IN\_SECS = 86400 def self.yesterday\_at\_midnight(today = Time.now) time\_yesterday = today.to…

---

## [Running spec\_server](https://www.ruby-forum.com/t/running-spec-server/135879)

<div class="topic-metadata">

**Author:** [@reivilo](https://www.ruby-forum.com/u/reivilo)\
**Replies:** 3\
**Last updated:** [April 28, 2008, 5:43pm UTC](https://www.ruby-forum.com/t/running-spec-server/135879 "2008-04-28T17:43:14Z")

</div>

Hello, I’ve been using rspec for a while now and just noticed spec\_server. I would like to use it, but for some reason, it’s not able to start. I have the latest versions of rspec and rspec\_on\_rails. I’m using Win…

---

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

<div class="topic-metadata">

**Author:** [@scott](https://www.ruby-forum.com/u/scott)\
**Replies:** 0\
**Last updated:** [April 17, 2008, 12:54pm UTC](https://www.ruby-forum.com/t/installation-help/135043 "2008-04-17T12:54:32Z")

</div>

Hi, I’m new to Rails, and Typo is the first app I’ve attemptedto install. Unfortunately, I’m having trouble completing theinstallation, as I get the error which I’ve pasted below when visitingmy site. On a number of …

---

## [Created tickets 44 and 45 for last two problems](https://www.ruby-forum.com/t/created-tickets-44-and-45-for-last-two-problems/132710)

<div class="topic-metadata">

**Author:** [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Replies:** 0\
**Last updated:** [March 23, 2008, 9:51pm UTC](https://www.ruby-forum.com/t/created-tickets-44-and-45-for-last-two-problems/132710 "2008-03-23T21:51:09Z")

</div>

I got trunk ragel to compile and was able to find some errors in my tests. I’ve created two tickets for the two problems with code blocks and attached a patch with the updated two tests to Ticket-45. https://code.why…

---

## [SashWindowLayout design](https://www.ruby-forum.com/t/sashwindowlayout-design/120059)

<div class="topic-metadata">

**Author:** [@Jari\_W](https://www.ruby-forum.com/u/Jari_W)\
**Replies:** 3\
**Last updated:** [November 13, 2007, 9:52pm UTC](https://www.ruby-forum.com/t/sashwindowlayout-design/120059 "2007-11-13T21:52:47Z")

</div>

Hello! I want a SashWindowLayout with 3 small panels (below each other) on the left side and the big remaining area to the right. All walls movable. The approach that I’ve used to get kind of the effect I wanted was t…

---

## [Question about how engine plugin handles migrations](https://www.ruby-forum.com/t/question-about-how-engine-plugin-handles-migrations/119400)

<div class="topic-metadata">

**Author:** [@Daniel\_Wintschel](https://www.ruby-forum.com/u/Daniel_Wintschel)\
**Replies:** 0\
**Last updated:** [November 6, 2007, 6:59pm UTC](https://www.ruby-forum.com/t/question-about-how-engine-plugin-handles-migrations/119400 "2007-11-06T18:59:01Z")

</div>

Hi all, I have a question about how engines deals with migrations (really, I could test this myself, but since I haven’t used engines I was wondering if someone might have a definitive or ‘official’ answer). Let’s …

---

## [Where is wrong with contoller test?](https://www.ruby-forum.com/t/where-is-wrong-with-contoller-test/114576)

<div class="topic-metadata">

**Author:** [@zlai](https://www.ruby-forum.com/u/zlai)\
**Replies:** 3\
**Last updated:** [September 17, 2007, 8:21pm UTC](https://www.ruby-forum.com/t/where-is-wrong-with-contoller-test/114576 "2007-09-17T20:21:30Z")

</div>

Hi, everybody! I got a strange question when I did a controller test as below On controller.rb: def send\_welcome\_message(person) some codes; end there ‘person’ is instance variables. the controller\_test.rb: def t…

---

## [Rake weirdness (production vs development)](https://www.ruby-forum.com/t/rake-weirdness-production-vs-development/113624)

<div class="topic-metadata">

**Author:** [@jonlog](https://www.ruby-forum.com/u/jonlog)\
**Replies:** 3\
**Last updated:** [September 3, 2007, 1:57am UTC](https://www.ruby-forum.com/t/rake-weirdness-production-vs-development/113624 "2007-09-03T01:57:08Z")

</div>

I’ve got a few custom rake tasks and all work find in development. I recently wrote a rake task that I intend to run periodically in a cron on the server to perform certain maintenance tasks. The new rake task works …

---

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

<div class="topic-metadata">

**Author:** [@markcasio](https://www.ruby-forum.com/u/markcasio)\
**Replies:** 3\
**Last updated:** [August 9, 2007, 7:01pm UTC](https://www.ruby-forum.com/t/rubygems-org-down/111567 "2007-08-09T19:01:33Z")

</div>

Is the rubygems.org site still operational? Maybe it’s just down right now. Mark V.

---

## [Avoiding reflection errors in migrations](https://www.ruby-forum.com/t/avoiding-reflection-errors-in-migrations/108481)

<div class="topic-metadata">

**Author:** [@andrew\_chase](https://www.ruby-forum.com/u/andrew_chase)\
**Replies:** 3\
**Last updated:** [July 4, 2007, 4:22pm UTC](https://www.ruby-forum.com/t/avoiding-reflection-errors-in-migrations/108481 "2007-07-04T16:22:17Z")

</div>

I’ve hit an issue a couple times now with migrations that I’ve solved by hacking around, but now I’m interested in finding a more robust solution. The problem comes when a migration contains some logic that requires …

---

## [Arguments into method calls?](https://www.ruby-forum.com/t/arguments-into-method-calls/107873)

<div class="topic-metadata">

**Author:** [@torreys](https://www.ruby-forum.com/u/torreys)\
**Replies:** 3\
**Last updated:** [June 27, 2007, 4:36pm UTC](https://www.ruby-forum.com/t/arguments-into-method-calls/107873 "2007-06-27T16:36:12Z")

</div>

I’m working on a program that takes user input via command line, then calls whatever method is related to that input text. For instance, if they type /help it calls the method help, if they type /quit it calls the met…

---

## [Validates\_presence\_of of polymophic fields](https://www.ruby-forum.com/t/validates-presence-of-of-polymophic-fields/107818)

<div class="topic-metadata">

**Author:** [@pedz](https://www.ruby-forum.com/u/pedz)\
**Replies:** 0\
**Last updated:** [June 26, 2007, 3:11pm UTC](https://www.ruby-forum.com/t/validates-presence-of-of-polymophic-fields/107818 "2007-06-26T15:11:18Z")

</div>

My models looks like: class Relationship \< ActiveRecord::Base belongs\_to :link\_type belongs\_to :parent, :polymorphic =\> true belongs\_to :child, :polymorphic =\> true validates\_presence\_of :link\_type\_id validates\_pr…

---

## [Restful design - make everything restful?](https://www.ruby-forum.com/t/restful-design-make-everything-restful/105887)

<div class="topic-metadata">

**Author:** [@Tarscher](https://www.ruby-forum.com/u/Tarscher)\
**Replies:** 3\
**Last updated:** [June 4, 2007, 3:26pm UTC](https://www.ruby-forum.com/t/restful-design-make-everything-restful/105887 "2007-06-04T15:26:41Z")

</div>

hi all, I want to have a administrator view where users can be altered, site structures can be changed, layout can be defined, … I can perfectly see how to define a restful user, sitestructure and layout controller b…

---

## [MVC design question](https://www.ruby-forum.com/t/mvc-design-question/103328)

<div class="topic-metadata">

**Author:** [@mlangenberg](https://www.ruby-forum.com/u/mlangenberg)\
**Replies:** 3\
**Last updated:** [May 4, 2007, 8:29pm UTC](https://www.ruby-forum.com/t/mvc-design-question/103328 "2007-05-04T20:29:35Z")

</div>

How much business logic is actually allowed in a (Rails) controller? In the attachement I’ve put down three different approaches to the same problem. Which if the three approaches is preferable? Calling Payment.crea…

---

## [Help on extracting data from string](https://www.ruby-forum.com/t/help-on-extracting-data-from-string/92835)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 3\
**Last updated:** [April 25, 2007, 12:10am UTC](https://www.ruby-forum.com/t/help-on-extracting-data-from-string/92835 "2007-04-25T00:10:41Z")

</div>

Hi, Has anyone got any suggestions on the bes way to solve perform this, I have tried using HTMLTokenizer but had no luck. I have a string which will have an unlimited amounts of ruby stuff here in it, I want to be …

---

## [Not quite sure how to do this?](https://www.ruby-forum.com/t/not-quite-sure-how-to-do-this/92510)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [April 24, 2007, 12:15am UTC](https://www.ruby-forum.com/t/not-quite-sure-how-to-do-this/92510 "2007-04-24T00:15:48Z")

</div>

Everyone’s has to seen this but don’t know what it is called nor where to start. Take youtube for example, in their comments or tags section there is a (more) or (less) link that expands and collapses. Is this AJAX?…

---

## [Painting myself into a corner !help!](https://www.ruby-forum.com/t/painting-myself-into-a-corner-help/92470)

<div class="topic-metadata">

**Author:** [@bitsmith](https://www.ruby-forum.com/u/bitsmith)\
**Replies:** 3\
**Last updated:** [April 19, 2007, 11:02pm UTC](https://www.ruby-forum.com/t/painting-myself-into-a-corner-help/92470 "2007-04-19T23:02:46Z")

</div>

i just finished writing a 200 line ruby monthend processing (non OO procedural, without class/methods)script that i would like to run inline (not as thread) invoked like this from the main script if option==“yes” the…

---

## [Capture information with a split and maybe a match?](https://www.ruby-forum.com/t/capture-information-with-a-split-and-maybe-a-match/81965)

<div class="topic-metadata">

**Author:** [@anon1m0us](https://www.ruby-forum.com/u/anon1m0us)\
**Replies:** 3\
**Last updated:** [April 5, 2007, 8:21pm UTC](https://www.ruby-forum.com/t/capture-information-with-a-split-and-maybe-a-match/81965 "2007-04-05T20:21:21Z")

</div>

Hi; Here is my line of code that I need help in: result\_of\_na\_citrix=net group na-citrix /dom.split(" ") This gets all the users in in it’s own index split on a space. However, there is a bunch of garbage (stuff that…

---

## [Howto populate database with model data?](https://www.ruby-forum.com/t/howto-populate-database-with-model-data/90520)

<div class="topic-metadata">

**Author:** [@mixplate](https://www.ruby-forum.com/u/mixplate)\
**Replies:** 3\
**Last updated:** [March 29, 2007, 8:24pm UTC](https://www.ruby-forum.com/t/howto-populate-database-with-model-data/90520 "2007-03-29T20:24:02Z")

</div>

is there a rails way? my brute force thinking is just put a while loop and a case statement in the index function like this num = 0 typenum = 0 while num \< 200 when typenum case 1 @something = Model.new @somethi…

---

## [Is reading from input hidden cached somehow?](https://www.ruby-forum.com/t/is-reading-from-input-hidden-cached-somehow/89930)

<div class="topic-metadata">

**Author:** [@Tomasz\_Tomczyk](https://www.ruby-forum.com/u/Tomasz_Tomczyk)\
**Replies:** 3\
**Last updated:** [March 26, 2007, 11:50pm UTC](https://www.ruby-forum.com/t/is-reading-from-input-hidden-cached-somehow/89930 "2007-03-26T23:50:12Z")

</div>

Hi, I found a problem with dynamic reading from input hidden. To better explain my problem I will describe the process: user clicks a “select employer” link which opens dialog dialog is to select proper employer, whi…

---

## [New to radiant](https://www.ruby-forum.com/t/new-to-radiant/88079)

<div class="topic-metadata">

**Author:** [@ali\_b](https://www.ruby-forum.com/u/ali_b)\
**Replies:** 3\
**Last updated:** [March 7, 2007, 11:36pm UTC](https://www.ruby-forum.com/t/new-to-radiant/88079 "2007-03-07T23:36:19Z")

</div>

hi everybody, I’m new to radiant and to rails. I’ve got a problem with : ‘script/server -e production’ I get a :‘script’ is not recognized as an internal or external command, operable program or batch file. I don’t…

---

## [Question about variable scope](https://www.ruby-forum.com/t/question-about-variable-scope/83619)

<div class="topic-metadata">

**Author:** [@robin](https://www.ruby-forum.com/u/robin)\
**Replies:** 3\
**Last updated:** [January 28, 2007, 1:05am UTC](https://www.ruby-forum.com/t/question-about-variable-scope/83619 "2007-01-28T01:05:56Z")

</div>

Does the following code behave as you’d expect? 2.times{|n| i,j = n,i; puts “i=#{i}, j=#{j.inspect}”} Can you explain why j is nil rather than 0, the second time round? Thanks, Robin

---

## [Range index](https://www.ruby-forum.com/t/range-index/80533)

<div class="topic-metadata">

**Author:** [@Josselin](https://www.ruby-forum.com/u/Josselin)\
**Replies:** 3\
**Last updated:** [December 28, 2006, 7:35pm UTC](https://www.ruby-forum.com/t/range-index/80533 "2006-12-28T19:35:20Z")

</div>

is there any dry way to get the index of an element in a range without converting the range into an array ? (“A”…“Z”).each do | alpha | -\> puts alpha.index (?) or something like that … \<- end

---

## [Sorting on one of two columns in database](https://www.ruby-forum.com/t/sorting-on-one-of-two-columns-in-database/76105)

<div class="topic-metadata">

**Author:** [@jimmyether](https://www.ruby-forum.com/u/jimmyether)\
**Replies:** 3\
**Last updated:** [November 17, 2006, 1:52am UTC](https://www.ruby-forum.com/t/sorting-on-one-of-two-columns-in-database/76105 "2006-11-17T01:52:42Z")

</div>

Hi, all. I’ve got a list of jobs I’m trying to sort based on the ‘location’ column. The location column is actually filled in by a method in the location model, and it’s “name” if the locations.name column is not nu…

---

## [Understanding the RoR API, noob questions here?](https://www.ruby-forum.com/t/understanding-the-ror-api-noob-questions-here/73996)

<div class="topic-metadata">

**Author:** [@koloa](https://www.ruby-forum.com/u/koloa)\
**Replies:** 3\
**Last updated:** [October 29, 2006, 3:22am UTC](https://www.ruby-forum.com/t/understanding-the-ror-api-noob-questions-here/73996 "2006-10-29T03:22:40Z")

</div>

sorry for another post. id really like to understand the documentation but this whole RoR stuff is nothing like c++. everything just magically happens using ror. my first question is this about the api… /////////////…

---

## [Problemas con el plugin FileColumn](https://www.ruby-forum.com/t/problemas-con-el-plugin-filecolumn/70169)

<div class="topic-metadata">

**Author:** [@emili](https://www.ruby-forum.com/u/emili)\
**Replies:** 3\
**Last updated:** [September 27, 2006, 10:38am UTC](https://www.ruby-forum.com/t/problemas-con-el-plugin-filecolumn/70169 "2006-09-27T10:38:38Z")

</div>

Acabo de instalar FileColumn despuÃ©s de leer maravillas de este plugin, lo he hecho con el siguiente comando ruby script/plugin install http://opensvn.csie.org/rails\_file\_column/plugins/file\_column/trunk y parece qu…

---

## [Re-formatting email line breaks](https://www.ruby-forum.com/t/re-formatting-email-line-breaks/99282)

<div class="topic-metadata">

**Author:** [@Jonathan\_del\_Stroth](https://www.ruby-forum.com/u/Jonathan_del_Stroth)\
**Replies:** 3\
**Last updated:** [July 26, 2006, 11:58pm UTC](https://www.ruby-forum.com/t/re-formatting-email-line-breaks/99282 "2006-07-26T23:58:05Z")

</div>

I’m trying to re-flow email messages, removing the line breaks that get added by mail programs so that the lines don’t exceed 72 characters. Mail.app and Thunderbird seem to insert a space character before each added …

---

## [Sorting results by column](https://www.ruby-forum.com/t/sorting-results-by-column/96091)

<div class="topic-metadata">

**Author:** [@jasbur](https://www.ruby-forum.com/u/jasbur)\
**Replies:** 3\
**Last updated:** [July 5, 2006, 3:19pm UTC](https://www.ruby-forum.com/t/sorting-results-by-column/96091 "2006-07-05T15:19:51Z")

</div>

I have the acts\_as\_ferret plugin installed. Everything searches great, but I would like to limit the results (i.e. by ‘end\_date’) and sort them (by ‘end\_date’). ‘end\_date’ is a valid column in my “posts” table. Here’s…

---

## [Best place for storing configuration information?](https://www.ruby-forum.com/t/best-place-for-storing-configuration-information/94533)

<div class="topic-metadata">

**Author:** [@seanhussey](https://www.ruby-forum.com/u/seanhussey)\
**Replies:** 3\
**Last updated:** [May 6, 2006, 5:49pm UTC](https://www.ruby-forum.com/t/best-place-for-storing-configuration-information/94533 "2006-05-06T17:49:19Z")

</div>

Hi all, Where do you store your non-Rails-specific configuration info? For instance, I want to be able to login to LDAP as a particular admin user. I don’t want the u/p combo in any of the models…does it go in envi…

---

## [LoginEngine File\_column interop](https://www.ruby-forum.com/t/loginengine-file-column-interop/58964)

<div class="topic-metadata">

**Author:** [@Ray\_Slakinski](https://www.ruby-forum.com/u/Ray_Slakinski)\
**Replies:** 3\
**Last updated:** [April 27, 2006, 9:59pm UTC](https://www.ruby-forum.com/t/loginengine-file-column-interop/58964 "2006-04-27T21:59:18Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Hello all, I hope someone can help me with this issue, I have the SVN file\_column and using LoginEngine/UserEngine with Rails 1.1.2. My issue is that I’m overloadi…

---

## [Canada on Rails, Day One](https://www.ruby-forum.com/t/canada-on-rails-day-one/57804)

<div class="topic-metadata">

**Author:** [@combas](https://www.ruby-forum.com/u/combas)\
**Replies:** 3\
**Last updated:** [April 15, 2006, 9:16pm UTC](https://www.ruby-forum.com/t/canada-on-rails-day-one/57804 "2006-04-15T21:16:36Z")

</div>

For those of you unable to be here in Vancouver I have writen a summary (with photos) for Day One of the conference. Enjoy! http://noodlejunkie.com If there is any errors please let me know.

---

## [Select\_time help needed (Noob)](https://www.ruby-forum.com/t/select-time-help-needed-noob/54678)

<div class="topic-metadata">

**Author:** [@stuartbrand](https://www.ruby-forum.com/u/stuartbrand)\
**Replies:** 3\
**Last updated:** [March 13, 2006, 9:13pm UTC](https://www.ruby-forum.com/t/select-time-help-needed-noob/54678 "2006-03-13T21:13:40Z")

</div>

I can’t seem to get a handle on how the select\_time helper is supposed to work. I’m a complete noob to rails so bear with me please. I’m trying to add fields to a form to allow for time (hh:mm) selection ie. call rece…

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

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