# Top

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

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

---

## [String extraction](https://www.ruby-forum.com/t/string-extraction/125639)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 8\
**Last updated:** [January 10, 2008, 10:09pm UTC](https://www.ruby-forum.com/t/string-extraction/125639 "2008-01-10T22:09:03Z")

</div>

Hi all, What is the Ruby way to extract a string like this? old\_string=“5’-AAAAAAAA CCCCCCCC TTT GGGGG GGGG-3’” new\_string=“AAAAAAAACCCCCCCCTTTGGGGGGGGG” Thank you very much, Li

---

## [Splitting a string into words using multiple possible separa](https://www.ruby-forum.com/t/splitting-a-string-into-words-using-multiple-possible-separa/92553)

<div class="topic-metadata">

**Author:** [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Replies:** 3\
**Last updated:** [April 20, 2007, 5:31pm UTC](https://www.ruby-forum.com/t/splitting-a-string-into-words-using-multiple-possible-separa/92553 "2007-04-20T17:31:27Z")

</div>

Hi, I’m using ruby 1.8.5 i have an input string whose ‘words’ are separated by whitespace and/or commas and/or semicolons I want to remove the separators (,;\\s) and place each ‘word’ into an array e.g., this strin…

---

## [Has\_one vs. Belongs\_to?](https://www.ruby-forum.com/t/has-one-vs-belongs-to/92364)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [April 18, 2007, 8:13pm UTC](https://www.ruby-forum.com/t/has-one-vs-belongs-to/92364 "2007-04-18T20:13:47Z")

</div>

I have clients, (table - model-controller) and I have plans (table - model - controller). A client can have several plans and a plan can only map to one client. I would assume that in the model for clients i need a …

---

## [Appt. Calendaring](https://www.ruby-forum.com/t/appt-calendaring/91726)

<div class="topic-metadata">

**Author:** [@cwd](https://www.ruby-forum.com/u/cwd)\
**Replies:** 8\
**Last updated:** [April 13, 2007, 3:40am UTC](https://www.ruby-forum.com/t/appt-calendaring/91726 "2007-04-13T03:40:36Z")

</div>

I need to incorporate appointment calendaring into my app, including recurring events (like “every other Thursday” or “annually on July 17th”). Before I get into this, I want to make sure I’m not reinventing the whee…

---

## [Drop down list with ability to take a new entry](https://www.ruby-forum.com/t/drop-down-list-with-ability-to-take-a-new-entry/83752)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [January 29, 2007, 7:37pm UTC](https://www.ruby-forum.com/t/drop-down-list-with-ability-to-take-a-new-entry/83752 "2007-01-29T19:37:11Z")

</div>

Hi there! I’d like to build a drop down selection list that allows the user to a) select an alternative from a set of presets b) enter his own alternative if the one he’s looking for is not in the list of presets. Wh…

---

## [What am i doing wrong?](https://www.ruby-forum.com/t/what-am-i-doing-wrong/82808)

<div class="topic-metadata">

**Author:** [@noob2everything](https://www.ruby-forum.com/u/noob2everything)\
**Replies:** 8\
**Last updated:** [January 21, 2007, 9:27pm UTC](https://www.ruby-forum.com/t/what-am-i-doing-wrong/82808 "2007-01-21T21:27:55Z")

</div>

I realize this is an extremely noobish question, but i’m stuck and can’t seem to figure it out (aside from some very simple HTML, i know nothing about programming). I’m trying to follow Chris P. guide here: http://pi…

---

## [Using TextMate with Rails .log Files](https://www.ruby-forum.com/t/using-textmate-with-rails-log-files/81107)

<div class="topic-metadata">

**Author:** [@tom](https://www.ruby-forum.com/u/tom)\
**Replies:** 3\
**Last updated:** [January 6, 2007, 7:18pm UTC](https://www.ruby-forum.com/t/using-textmate-with-rails-log-files/81107 "2007-01-06T19:18:03Z")

</div>

When I open up my Rails .log files in TextMate, I see some kind of coding (e.g. \[4;36;1mSQL ) in the log. I assume this is for color coding or something of the text. How can I get TextMate to render it correctly? T…

---

## [Credit Card validation using rails? can i do it on rails?](https://www.ruby-forum.com/t/credit-card-validation-using-rails-can-i-do-it-on-rails/97478)

<div class="topic-metadata">

**Author:** [@Kenji](https://www.ruby-forum.com/u/Kenji)\
**Replies:** 3\
**Last updated:** [August 3, 2006, 2:24pm UTC](https://www.ruby-forum.com/t/credit-card-validation-using-rails-can-i-do-it-on-rails/97478 "2006-08-03T14:24:13Z")

</div>

help me with this one, i need any tutorials regarding this credit card validator

---

## [New to Ruby... installation questions](https://www.ruby-forum.com/t/new-to-ruby-installation-questions/57135)

<div class="topic-metadata">

**Author:** [@Kevin\_Price-Ward](https://www.ruby-forum.com/u/Kevin_Price-Ward)\
**Replies:** 8\
**Last updated:** [April 8, 2006, 11:42pm UTC](https://www.ruby-forum.com/t/new-to-ruby-installation-questions/57135 "2006-04-08T23:42:07Z")

</div>

Hi all, I’m looking into installing Ruby on Rails on my dedicated server which is RH Linux with a traditional PHP/MySQL/Apache configuration. I’m not an expert Linux user, but I can hold my own. My server hosts aroun…

---

## [Newbie question - Automatically update \_form.rhtml?](https://www.ruby-forum.com/t/newbie-question-automatically-update-form-rhtml/54236)

<div class="topic-metadata">

**Author:** [@azgar](https://www.ruby-forum.com/u/azgar)\
**Replies:** 8\
**Last updated:** [February 28, 2006, 4:55am UTC](https://www.ruby-forum.com/t/newbie-question-automatically-update-form-rhtml/54236 "2006-02-28T04:55:01Z")

</div>

Hi all, I’ve got an odd issue. I’m new to Ruby/Rails and have a bit of a silly question. I’m following along with the nice little tutorial here, to get an idea of the system: However, I’m running into an issue where…

---

## [Irb and ruby](https://www.ruby-forum.com/t/irb-and-ruby/74823)

<div class="topic-metadata">

**Author:** [@uval](https://www.ruby-forum.com/u/uval)\
**Replies:** 3\
**Last updated:** [November 18, 2005, 6:38pm UTC](https://www.ruby-forum.com/t/irb-and-ruby/74823 "2005-11-18T18:38:04Z")

</div>

Hello all, I am reading this page http://www.rubyist.net/~slagell/ruby/accesscontrol.html especially the “fish”.square example I am puzzled by different behaviours of ruby itself and the irb irb(main):101:0\> def squ…

---

## [Is it a bug(about constant reference on dynamic class)](https://www.ruby-forum.com/t/is-it-a-bug-about-constant-reference-on-dynamic-class/235134)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [June 3, 2013, 9:28am UTC](https://www.ruby-forum.com/t/is-it-a-bug-about-constant-reference-on-dynamic-class/235134 "2013-06-03T09:28:13Z")

</div>

When I use a dynamic class, It can not reference constants. See follow code and remark. And is there any way to work around it? #!/usr/bin/env ruby class T def hello puts self.class.constants.join " " # right, A…

---

## [How do I structure gem to avoid LoadError in my Rails project?](https://www.ruby-forum.com/t/how-do-i-structure-gem-to-avoid-loaderror-in-my-rails-project/211429)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [September 4, 2011, 10:32pm UTC](https://www.ruby-forum.com/t/how-do-i-structure-gem-to-avoid-loaderror-in-my-rails-project/211429 "2011-09-04T22:32:07Z")

</div>

Hi, I’m new to gem development. I just completed a gem for use with a Rails 3.0.7 project. The gem itself passes its tests. I’ve listed the gem in the Rails project’s Gemfile… Unfortunately, Rails is choking on some …

---

## [Array#=== as set equality](https://www.ruby-forum.com/t/array-as-set-equality/194228)

<div class="topic-metadata">

**Author:** [@tcsnide](https://www.ruby-forum.com/u/tcsnide)\
**Replies:** 6\
**Last updated:** [September 1, 2010, 6:01pm UTC](https://www.ruby-forum.com/t/array-as-set-equality/194228 "2010-09-01T18:01:59Z")

</div>

It looks like Array#== and Array#=== are the same. Is that correct? That being so, would there be any serious consequences if Array#=== were redefined to mean “set equality”, e.g. \[:a,:b\] === \[:b,:a\] #=\> true I ca…

---

## [Non Model form with Validation](https://www.ruby-forum.com/t/non-model-form-with-validation/190498)

<div class="topic-metadata">

**Author:** [@railslist](https://www.ruby-forum.com/u/railslist)\
**Replies:** 6\
**Last updated:** [June 22, 2010, 2:12pm UTC](https://www.ruby-forum.com/t/non-model-form-with-validation/190498 "2010-06-22T14:12:10Z")

</div>

Hi Everybody, I need to create a non model form. But also I would like to validate the form fields as you would validate a model form using validates\_presence\_of, validates\_numericality\_of…etc. How can I do this? I…

---

## [Gem install failure - probably easy to fix](https://www.ruby-forum.com/t/gem-install-failure-probably-easy-to-fix/174797)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 6\
**Last updated:** [September 2, 2009, 11:24pm UTC](https://www.ruby-forum.com/t/gem-install-failure-probably-easy-to-fix/174797 "2009-09-02T23:24:24Z")

</div>

I can get “gem install …” to execute, but not “sudo gem install…”. I’ve always had to use the latter, and to my best knowledge still do, but at present only the former works. I’ve never seen this problem, and am baffl…

---

## [Bulk email solutions](https://www.ruby-forum.com/t/bulk-email-solutions/174105)

<div class="topic-metadata">

**Author:** [@aldoitalo](https://www.ruby-forum.com/u/aldoitalo)\
**Replies:** 6\
**Last updated:** [August 20, 2009, 11:47pm UTC](https://www.ruby-forum.com/t/bulk-email-solutions/174105 "2009-08-20T23:47:17Z")

</div>

i need to send massive emails to various customers, here 2 solutions i have think: 1- customers = Customer.find(:all, :conditions =\> “newsletter = 1”) customers.each do |c| @email = c.email Mailer.deliver\_send\_news…

---

## [Adding string and numbers](https://www.ruby-forum.com/t/adding-string-and-numbers/146833)

<div class="topic-metadata">

**Author:** [@iggysx](https://www.ruby-forum.com/u/iggysx)\
**Replies:** 6\
**Last updated:** [August 26, 2008, 5:41pm UTC](https://www.ruby-forum.com/t/adding-string-and-numbers/146833 "2008-08-26T17:41:42Z")

</div>

i’m new at programing. and i was trying to figure out how you add numbers. or string? here is the coding puts ‘what is your first name?’ name1= gets.chomp puts ‘how about your middle?’ name2= gets.chomp puts ‘and w…

---

## [Ssl/non-ssl](https://www.ruby-forum.com/t/ssl-non-ssl/140958)

<div class="topic-metadata">

**Author:** [@jemminger](https://www.ruby-forum.com/u/jemminger)\
**Replies:** 6\
**Last updated:** [June 20, 2008, 7:00pm UTC](https://www.ruby-forum.com/t/ssl-non-ssl/140958 "2008-06-20T19:00:58Z")

</div>

I have two php sites running, site1 under ssl and site2 is not. site1 redirects all port 80 traffic to port 443. i have noticed however if i try to access site2 using https, it will serve site1… is there a way to red…

---

## [Having difficulties using custom C# dlls with namespaces within IronRuby code](https://www.ruby-forum.com/t/having-difficulties-using-custom-c-dlls-with-namespaces-within-ironruby-code/140273)

<div class="topic-metadata">

**Author:** [@pmouawad](https://www.ruby-forum.com/u/pmouawad)\
**Replies:** 6\
**Last updated:** [June 12, 2008, 6:35pm UTC](https://www.ruby-forum.com/t/having-difficulties-using-custom-c-dlls-with-namespaces-within-ironruby-code/140273 "2008-06-12T18:35:35Z")

</div>

Ironruby-core mailing list removed\_email\_address@domain.invalid http://rubyforge.org/mailman/listinfo/ironruby-core

---

## [Raven, rake, ant and ruby](https://www.ruby-forum.com/t/raven-rake-ant-and-ruby/132619)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 6\
**Last updated:** [April 2, 2008, 2:11am UTC](https://www.ruby-forum.com/t/raven-rake-ant-and-ruby/132619 "2008-04-02T02:11:11Z")

</div>

I don’t really know how to put these together. What I do know is that my previous experience with ant was that I found it awkward, so I’d rather use rake. I’m not so sure about raven if only because I’m not convince…

---

## [Using same validation-set in more than one class](https://www.ruby-forum.com/t/using-same-validation-set-in-more-than-one-class/126796)

<div class="topic-metadata">

**Author:** [@gabru](https://www.ruby-forum.com/u/gabru)\
**Replies:** 6\
**Last updated:** [January 22, 2008, 11:28am UTC](https://www.ruby-forum.com/t/using-same-validation-set-in-more-than-one-class/126796 "2008-01-22T11:28:18Z")

</div>

hello, lets describe my situation: i have two classes which have a lot same validations defined … to stay DRY i want to put them in one place and use it within both ActiveRecord classes. i think subclassing is not …

---

## [Rdebug / emacs / gud](https://www.ruby-forum.com/t/rdebug-emacs-gud/116122)

<div class="topic-metadata">

**Author:** [@jimweirich](https://www.ruby-forum.com/u/jimweirich)\
**Replies:** 6\
**Last updated:** [November 26, 2007, 1:24am UTC](https://www.ruby-forum.com/t/rdebug-emacs-gud/116122 "2007-11-26T01:24:29Z")

</div>

I’m trying to run rdebug from within emacs using gud (Grand Unified Debugger, or something like that). I see there is a rdebug.el package for this. And using it gives me the ability to set breakpoints by visiting the…

---

## [Warning: require\_gem is obsolete. Use gem instead](https://www.ruby-forum.com/t/warning-require-gem-is-obsolete-use-gem-instead/103579)

<div class="topic-metadata">

**Author:** [@karry](https://www.ruby-forum.com/u/karry)\
**Replies:** 6\
**Last updated:** [November 13, 2007, 7:31pm UTC](https://www.ruby-forum.com/t/warning-require-gem-is-obsolete-use-gem-instead/103579 "2007-11-13T19:31:24Z")

</div>

Hello Friends, This is a very common warning that everyone gets. I upgarded my gem and rails version to gem 0.9.2 and rails1.2.3 After i changed the version i got the warning “warning: require\_gem is obsolete. Use g…

---

## [Limiting columns in model association](https://www.ruby-forum.com/t/limiting-columns-in-model-association/88190)

<div class="topic-metadata">

**Author:** [@taylorstrait](https://www.ruby-forum.com/u/taylorstrait)\
**Replies:** 6\
**Last updated:** [March 9, 2007, 8:13pm UTC](https://www.ruby-forum.com/t/limiting-columns-in-model-association/88190 "2007-03-09T20:13:52Z")

</div>

So we have this model: class Post \< ActiveRecord::Base belongs\_to :person But when I join @post.person I only want the id and name. The docs fleetingly mention using :select to accomplish this but there are no exa…

---

## [Using a nonstandard foreign key](https://www.ruby-forum.com/t/using-a-nonstandard-foreign-key/84128)

<div class="topic-metadata">

**Author:** [@BSLars](https://www.ruby-forum.com/u/BSLars)\
**Replies:** 6\
**Last updated:** [February 1, 2007, 7:31pm UTC](https://www.ruby-forum.com/t/using-a-nonstandard-foreign-key/84128 "2007-02-01T19:31:50Z")

</div>

Hopefully this is an interesting question. I have a “user” table with a field “email\_address”. I would like the part of “email\_address” after the ‘@’ to be a foreign key to a “companies” table populated by a companie…

---

## [Avete un ruby-installer?](https://www.ruby-forum.com/t/avete-un-ruby-installer/76682)

<div class="topic-metadata">

**Author:** [@paolodona](https://www.ruby-forum.com/u/paolodona)\
**Replies:** 6\
**Last updated:** [November 21, 2006, 11:38am UTC](https://www.ruby-forum.com/t/avete-un-ruby-installer/76682 "2006-11-21T11:38:23Z")

</div>

Ciao cari, la sfiga vuole che sul mio computer sia magicamente sparito “ruby.exe” anche se tutto il resto dell’installazione esiste ancora. Non chiedetemi come sia successo… fatto sta che devo reistallare ruby e ru…

---

## [Multiple items in the where clause while updating](https://www.ruby-forum.com/t/multiple-items-in-the-where-clause-while-updating/74240)

<div class="topic-metadata">

**Author:** [@Prasanna\_kumar\_N](https://www.ruby-forum.com/u/Prasanna_kumar_N)\
**Replies:** 6\
**Last updated:** [November 7, 2006, 11:01am UTC](https://www.ruby-forum.com/t/multiple-items-in-the-where-clause-while-updating/74240 "2006-11-07T11:01:10Z")

</div>

Hi The following is a database table named friends. ±----±-----±-----±------+ | sid | id | fid | ftype | ±----±-----±-----±------+ | 30 | 1 | 2 | F | | 31 | 1 | 3 | R | | 32 | 3 | 2…

---

## [FXRuby not seeing Ruby headers](https://www.ruby-forum.com/t/fxruby-not-seeing-ruby-headers/61693)

<div class="topic-metadata">

**Author:** [@elamericano](https://www.ruby-forum.com/u/elamericano)\
**Replies:** 6\
**Last updated:** [June 3, 2006, 4:53am UTC](https://www.ruby-forum.com/t/fxruby-not-seeing-ruby-headers/61693 "2006-06-03T04:53:09Z")

</div>

I’m trying to install FXRuby (in order to user FreeRIDE. Are there any better free Ruby IDE’s out there?) but get the following when trying to configure it: strauss@bash ~/Downloads/Ruby/ext/fxruby-1.4.6 \> ruby instal…

---

## [I'm Collecting Media Refernces for Ruby and Rails](https://www.ruby-forum.com/t/im-collecting-media-refernces-for-ruby-and-rails/62120)

<div class="topic-metadata">

**Author:** [@curthibbs](https://www.ruby-forum.com/u/curthibbs)\
**Replies:** 6\
**Last updated:** [June 1, 2006, 5:25am UTC](https://www.ruby-forum.com/t/im-collecting-media-refernces-for-ruby-and-rails/62120 "2006-06-01T05:25:03Z")

</div>

I’m trying to collect media references (URLs) to articles, podcasts, and videos about Ruby and Ruby on Rails, like this month’s Linux Journal ( http://www.linuxjournal.com/issue/147) or the recent DDJ article ( http:/…

---

## [Newbie: how to dynamically add methods?](https://www.ruby-forum.com/t/newbie-how-to-dynamically-add-methods/53907)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 6\
**Last updated:** [February 17, 2006, 9:08pm UTC](https://www.ruby-forum.com/t/newbie-how-to-dynamically-add-methods/53907 "2006-02-17T21:08:49Z")

</div>

The PickAxe doesn’t seem to cover details of how to dynamically create class or add methods to existing classes. For example, sometimes I see people doing things like this: class \<\< self … and I’m wondering exactly…

---

## [Misunderstanding the Passing of references](https://www.ruby-forum.com/t/misunderstanding-the-passing-of-references/98699)

<div class="topic-metadata">

**Author:** [@sporkyy](https://www.ruby-forum.com/u/sporkyy)\
**Replies:** 6\
**Last updated:** [February 1, 2006, 10:54pm UTC](https://www.ruby-forum.com/t/misunderstanding-the-passing-of-references/98699 "2006-02-01T22:54:37Z")

</div>

I’m to to ruby… Currently, I’m stuck in a situation where I’m changing values I’m not intending to and I don’t know how to correct it. I have… A class “Model” and a class “DataObject”. The “Data Object” class has a …

---

## [Using file\_column and switchtower](https://www.ruby-forum.com/t/using-file-column-and-switchtower/53002)

<div class="topic-metadata">

**Author:** [@joevandyk](https://www.ruby-forum.com/u/joevandyk)\
**Replies:** 6\
**Last updated:** [December 11, 2005, 6:03am UTC](https://www.ruby-forum.com/t/using-file-column-and-switchtower/53002 "2005-12-11T06:03:13Z")

</div>

I haven’t actually tried it yet, but I think switchtower conflicts somewhat with file\_column. file\_column puts uploads in the public directory. But when you do a ‘rake deploy’ with switchtower, then the files that we…

---

## [Ruby Developer Meeting Japan 2013-07-27](https://www.ruby-forum.com/t/ruby-developer-meeting-japan-2013-07-27/245826)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [July 26, 2013, 10:03am UTC](https://www.ruby-forum.com/t/ruby-developer-meeting-japan-2013-07-27/245826 "2013-07-26T10:03:54Z")

</div>

Hi, As I wrote in \[ruby-core:55689\], we have Ruby Developer Meeting Japan on 2013-07-27. If you have an agenda, prepare a slide and attach it to a Redmine ticket. See \[ruby-core:45474\] for its detail. The submissio…

---

## [Where to find info about seed.rb, db:seed functionality?](https://www.ruby-forum.com/t/where-to-find-info-about-seed-rb-db-seed-functionality/228412)

<div class="topic-metadata">

**Author:** [@zvooq](https://www.ruby-forum.com/u/zvooq)\
**Replies:** 5\
**Last updated:** [April 21, 2013, 6:26pm UTC](https://www.ruby-forum.com/t/where-to-find-info-about-seed-rb-db-seed-functionality/228412 "2013-04-21T18:26:48Z")

</div>

There is no any mention about it neither in API nor in Guide. How to use these features? The only gist with two sentences is in db/seed.rb file. That’s really not enough.

---

## [Regex hostnames?](https://www.ruby-forum.com/t/regex-hostnames/225572)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [January 16, 2013, 9:01am UTC](https://www.ruby-forum.com/t/regex-hostnames/225572 "2013-01-16T09:01:47Z")

</div>

Not versed in regex, hopefully someone can help me out. How can I return only the domain from a string like host\[0-9\].temp.temp.com or \[0-9\]host.temp.com So it only returns “temp.temp.com” or “temp.com”. Essentially…

---

## [Dynamic Mass vhosts / reverse proxying](https://www.ruby-forum.com/t/dynamic-mass-vhosts-reverse-proxying/225078)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [December 11, 2012, 4:34pm UTC](https://www.ruby-forum.com/t/dynamic-mass-vhosts-reverse-proxying/225078 "2012-12-11T16:34:41Z")

</div>

I’m trying to configure mass (300+) dynamic vhosts and reverse proxying. users come in at: https://test.abc.example.com and should be transparantly proxied to: http://foo.abc.somethingelse.net Anyone who has this kin…

---

## [Script/console on production server](https://www.ruby-forum.com/t/script-console-on-production-server/195047)

<div class="topic-metadata">

**Author:** [@trapper](https://www.ruby-forum.com/u/trapper)\
**Replies:** 5\
**Last updated:** [September 16, 2010, 6:43pm UTC](https://www.ruby-forum.com/t/script-console-on-production-server/195047 "2010-09-16T18:43:03Z")

</div>

I migrated my app using vlad-git and it runs. Now I logged in via ssh and tried to run script/console on the production server. The result is: Loading development environment (Rails 2.3.5) /opt/ruby-1.8.7-p249/lib/ru…

---

## [RDoc 2.4.2 Released](https://www.ruby-forum.com/t/rdoc-2-4-2-released/163903)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 5\
**Last updated:** [April 25, 2009, 3:04am UTC](https://www.ruby-forum.com/t/rdoc-2-4-2-released/163903 "2009-04-25T03:04:28Z")

</div>

rdoc version 2.4.2 has been released! RDoc Project Page - http://rubyforge.org/projects/rdoc/ RDoc Documentation - http://rdoc.rubyforge.org/ RDoc Bug Tracker - http://rubyforge.org/tracker/?atid=2472&group\_id=627&f…

---

## [Local variables: Ruby vs. IronRuby difference?](https://www.ruby-forum.com/t/local-variables-ruby-vs-ironruby-difference/157271)

<div class="topic-metadata">

**Author:** [@alex\_2k8](https://www.ruby-forum.com/u/alex_2k8)\
**Replies:** 5\
**Last updated:** [January 9, 2009, 12:22pm UTC](https://www.ruby-forum.com/t/local-variables-ruby-vs-ironruby-difference/157271 "2009-01-09T12:22:49Z")

</div>

Hello, Ruby: irb(main):001:0\> foo = 3 =\> 3 irb(main):002:0\> foo =\> 3 IronRuby: foo = 3 =\> 3 foo :0: undefined method \`foo’ for main:Object (NoMethodError) Any idea, why this error thrown by IronRuby? …

---

## [Obtener un valor al Partial](https://www.ruby-forum.com/t/obtener-un-valor-al-partial/148240)

<div class="topic-metadata">

**Author:** [@newbieruby](https://www.ruby-forum.com/u/newbieruby)\
**Replies:** 5\
**Last updated:** [September 12, 2008, 10:32pm UTC](https://www.ruby-forum.com/t/obtener-un-valor-al-partial/148240 "2008-09-12T22:32:26Z")

</div>

Mi problema es que tengo un partial que contiene un collection\_select y quiero obtener el valor que contenga ese collection\_select, ahora el problema principal que tengo es que el parcial se acutializa deacuerdo a otr…

---

## [How call alert method from controller (something like rende :ajax =\> 'some text')?](https://www.ruby-forum.com/t/how-call-alert-method-from-controller-something-like-rende-ajax-some-text/145922)

<div class="topic-metadata">

**Author:** [@lz-coelho](https://www.ruby-forum.com/u/lz-coelho)\
**Replies:** 5\
**Last updated:** [August 16, 2008, 8:57pm UTC](https://www.ruby-forum.com/t/how-call-alert-method-from-controller-something-like-rende-ajax-some-text/145922 "2008-08-16T20:57:52Z")

</div>

Yeah, I’m needing to show a popup window after the execution of method. I’m trying something like: def bla respond\_to do |format| format.html { redirect\_to … } format.js end end bla.rjs page.alert(‘some text’) …

---

## [Updated\_at with client time not server time](https://www.ruby-forum.com/t/updated-at-with-client-time-not-server-time/140882)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 5\
**Last updated:** [June 20, 2008, 9:37pm UTC](https://www.ruby-forum.com/t/updated-at-with-client-time-not-server-time/140882 "2008-06-20T21:37:10Z")

</div>

Hi, I use the t.timestamps that are automatically added by rails. So there is the created\_at and updated\_at columns in the DB. When I create an entry those are filled with the server time when the request is created …

---

## [rÃ©cuperer les valeur d'un tableau](https://www.ruby-forum.com/t/ra-cuperer-les-valeur-dun-tableau/140260)

<div class="topic-metadata">

**Author:** [@kyo](https://www.ruby-forum.com/u/kyo)\
**Replies:** 5\
**Last updated:** [June 12, 2008, 11:09pm UTC](https://www.ruby-forum.com/t/ra-cuperer-les-valeur-dun-tableau/140260 "2008-06-12T23:09:47Z")

</div>

Bonjour , je veux savoir comment récuperer une valeur d’un tableau dans le controleur , par exemple pour un text\_field " \<%= text\_field “p”,“m”) " on récupére sa valeur par : params\[:p\]\[:m\] mais comment faire ca pour…

---

## [Ruby on rails et mysq](https://www.ruby-forum.com/t/ruby-on-rails-et-mysq/139995)

<div class="topic-metadata">

**Author:** [@foulla](https://www.ruby-forum.com/u/foulla)\
**Replies:** 5\
**Last updated:** [June 11, 2008, 2:38pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-et-mysq/139995 "2008-06-11T14:38:43Z")

</div>

bonjour, je suis débutante en ruby, je connais absolument rien, je veux tout d’abord savoir est ce qu’il fonctionne avec une base de données MySQL? si oui comment établir une connexion à la base MySQL à partir de Ruby…

---

## [Autenticazione su tutto](https://www.ruby-forum.com/t/autenticazione-su-tutto/136009)

<div class="topic-metadata">

**Author:** [@miclab](https://www.ruby-forum.com/u/miclab)\
**Replies:** 5\
**Last updated:** [April 28, 2008, 11:15am UTC](https://www.ruby-forum.com/t/autenticazione-su-tutto/136009 "2008-04-28T11:15:45Z")

</div>

Vorrei forzare il login su tutti gli “oggetti” del sito, dalle pagine ai dati presenti in /public. Qualcuno sa come fare? Ciao Michele!

---

## [Process.setrlimit question](https://www.ruby-forum.com/t/process-setrlimit-question/126056)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 5\
**Last updated:** [January 15, 2008, 6:26am UTC](https://www.ruby-forum.com/t/process-setrlimit-question/126056 "2008-01-15T06:26:35Z")

</div>

why does this not blow up? cfp:~ \> cat a.rb require ‘yaml’ factor = 100000000000000000 soft, hard = Process.getrlimit Process::RLIMIT\_RSS y ‘soft’ =\> soft, ‘hard’ =\> hard Process.setrlimit Process::RLIMIT\_RSS, soft…

---

## [How can i get rubys on rails on my computer(fast and ez)?](https://www.ruby-forum.com/t/how-can-i-get-rubys-on-rails-on-my-computer-fast-and-ez/122878)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [January 10, 2008, 7:25am UTC](https://www.ruby-forum.com/t/how-can-i-get-rubys-on-rails-on-my-computer-fast-and-ez/122878 "2008-01-10T07:25:51Z")

</div>

How can i get rubys on rails on my computer(fast and ez)?

---

## [PDF of Flanagan and Matsumoto Ruby book?](https://www.ruby-forum.com/t/pdf-of-flanagan-and-matsumoto-ruby-book/120406)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [November 17, 2007, 2:06am UTC](https://www.ruby-forum.com/t/pdf-of-flanagan-and-matsumoto-ruby-book/120406 "2007-11-17T02:06:49Z")

</div>

Hello, Apologies if this topic has already come up - I searched google groups but didn’t find anything recent. I notice that “The Ruby P.ming Language” by David Flanagan and Yukihiro M. is scheduled for a Dec07/Jan…

---

## [Adding array of numbers](https://www.ruby-forum.com/t/adding-array-of-numbers/116231)

<div class="topic-metadata">

**Author:** [@dacbo](https://www.ruby-forum.com/u/dacbo)\
**Replies:** 5\
**Last updated:** [October 12, 2007, 9:30pm UTC](https://www.ruby-forum.com/t/adding-array-of-numbers/116231 "2007-10-12T21:30:04Z")

</div>

Given a file that looks like so: 7 ==\> training Set length 11 ==\> file length 1 0 0 0 0 1 0 0 0 1 1 1 0 0 1 0 1 0 1 0 1 0 1 …

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

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