# Top

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

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

---

## [\[rails\] :date o :datetime?](https://www.ruby-forum.com/t/rails-date-o-datetime/117290)

<div class="topic-metadata">

**Author:** [@stratboy](https://www.ruby-forum.com/u/stratboy)\
**Replies:** 4\
**Last updated:** [October 15, 2007, 6:59pm UTC](https://www.ruby-forum.com/t/rails-date-o-datetime/117290 "2007-10-15T18:59:09Z")

</div>

Salve! Ultima domanda del giorno, promesso, anche se in pochissimi sono riusciti ad affrontare le mie precedenti… :wink: Scusate, che differenza c’Ã¨ fra :date e :datetime? Nel senso, quando dovrei scegliere l’uno e q…

---

## [NO NAME (Because of --dry-run) output](https://www.ruby-forum.com/t/no-name-because-of-dry-run-output/116511)

<div class="topic-metadata">

**Author:** [@joshua\_s](https://www.ruby-forum.com/u/joshua_s)\
**Replies:** 4\
**Last updated:** [October 14, 2007, 5:47am UTC](https://www.ruby-forum.com/t/no-name-because-of-dry-run-output/116511 "2007-10-14T05:47:20Z")

</div>

I’m just getting started with rspec, I’m running on edge for both. In a fresh project, I freeze edge, install the edge rspec plugin. I generate a simple rspec\_model and run the spec. It passes. When I run rake spe…

---

## [Using YARV?](https://www.ruby-forum.com/t/using-yarv/116317)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 4\
**Last updated:** [October 4, 2007, 3:12pm UTC](https://www.ruby-forum.com/t/using-yarv/116317 "2007-10-04T15:12:35Z")

</div>

Hi, I’ve been trying to read up on YARV and what I’ve read sounds really damn good, just don’t know how to use it. I’ve got a devbox running Ubuntu + Ruby on Rails + Apache + Mongrel, so i’m thinking YARV will replace…

---

## [Error en read\_attribute](https://www.ruby-forum.com/t/error-en-read-attribute/113935)

<div class="topic-metadata">

**Author:** [@josegalvan](https://www.ruby-forum.com/u/josegalvan)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 11:09pm UTC](https://www.ruby-forum.com/t/error-en-read-attribute/113935 "2007-09-25T23:09:17Z")

</div>

Me he bajado este codigo de internet para que me devuelva la edad segun la fecha de nacimiento def self.age years = Date.today.year - read\_attribute(:birthdate).year if Date.today.month \< read\_attribute(:birthdate).m…

---

## [Ayuda: Error al intentar instalar la gema rmagick](https://www.ruby-forum.com/t/ayuda-error-al-intentar-instalar-la-gema-rmagick/92826)

<div class="topic-metadata">

**Author:** [@torpedero69](https://www.ruby-forum.com/u/torpedero69)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 11:08pm UTC](https://www.ruby-forum.com/t/ayuda-error-al-intentar-instalar-la-gema-rmagick/92826 "2007-09-25T23:08:43Z")

</div>

Hola a todos, Estoy intentando instalar la gema rmagick ( sudo gem install rmagick) en una Ubuntu 6.06, tengo instalado el paquete imagemagick 6.2.4.5-06, el cual requiere, pero me aparece el siguiente error: Buil…

---

## [Costanti](https://www.ruby-forum.com/t/costanti/109001)

<div class="topic-metadata">

**Author:** [@Lucea](https://www.ruby-forum.com/u/Lucea)\
**Replies:** 4\
**Last updated:** [July 10, 2007, 6:21pm UTC](https://www.ruby-forum.com/t/costanti/109001 "2007-07-10T18:21:13Z")

</div>

Salve a tutti. In un controller ho delle costanti usate da più action. Dove posso definirle affinché non sia costretta a metterle dentro ad ogni action? Pensavo fosse sufficiente definirle nel controller stesso, all’e…

---

## [Newbie alert! Making back links work](https://www.ruby-forum.com/t/newbie-alert-making-back-links-work/84690)

<div class="topic-metadata">

**Author:** [@newtorails](https://www.ruby-forum.com/u/newtorails)\
**Replies:** 4\
**Last updated:** [February 7, 2007, 1:59am UTC](https://www.ruby-forum.com/t/newbie-alert-making-back-links-work/84690 "2007-02-07T01:59:36Z")

</div>

Hello all, I am trying to make “Back” link functionality work in my app. Basically the referring page has a list of items and on clicking I display the details on the items. But when the user clicks “Back”, the user …

---

## [RoR Templates to create a web site](https://www.ruby-forum.com/t/ror-templates-to-create-a-web-site/74057)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 4\
**Last updated:** [October 30, 2006, 3:21am UTC](https://www.ruby-forum.com/t/ror-templates-to-create-a-web-site/74057 "2006-10-30T03:21:11Z")

</div>

Hi all are there any templates to create a web site, similar to these mambo templates: http://www.siteground.com/mambo-hosting/mambo-templates.htm thanks jsn

---

## [Override has\_many :order at run-time?](https://www.ruby-forum.com/t/override-has-many-order-at-run-time/97454)

<div class="topic-metadata">

**Author:** [@csn](https://www.ruby-forum.com/u/csn)\
**Replies:** 4\
**Last updated:** [January 26, 2006, 3:40am UTC](https://www.ruby-forum.com/t/override-has-many-order-at-run-time/97454 "2006-01-26T03:40:32Z")

</div>

Is it possible to override has\_many’s :order attribute at run-time? e.g. something like: \<% for category in @site.categories(:order=\>‘name’) %\> … \<% for category in @site.categories(:order=\>‘rank’) %\> … thanks csn …

---

## [Member.buddies.sort \>\> undefined method \`\<=\>'](https://www.ruby-forum.com/t/member-buddies-sort-undefined-method/95066)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 4\
**Last updated:** [January 12, 2006, 10:38am UTC](https://www.ruby-forum.com/t/member-buddies-sort-undefined-method/95066 "2006-01-12T10:38:29Z")

</div>

Hi all I have a model Member that has a habtm relationship to buddies (also members). Now I wanted to sort them using sort, but this ends in an error “undefined method \<=\>”! Where’s the problem here? Sorry, I’m still …

---

## [Problem with NGINX on MIPS processor](https://www.ruby-forum.com/t/problem-with-nginx-on-mips-processor/242857)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [August 6, 2015, 10:11am UTC](https://www.ruby-forum.com/t/problem-with-nginx-on-mips-processor/242857 "2015-08-06T10:11:19Z")

</div>

Hi, I am trying to run nginx on a MIPS processor. In my NGINX server configuration, i have used only worker process. When i try connecting with openssl s\_client application, i am able to connect only once. After thi…

---

## [Suggestions For Deprecation Of \`serialized\_attributes\`](https://www.ruby-forum.com/t/suggestions-for-deprecation-of-serialized-attributes/242744)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [July 23, 2015, 4:08pm UTC](https://www.ruby-forum.com/t/suggestions-for-deprecation-of-serialized-attributes/242744 "2015-07-23T16:08:40Z")

</div>

I read through the pull request (Deprecate \`serialized\_attributes\` without replacement by sgrif · Pull Request #15704 · rails/rails · GitHub) of the deprecation of serialized\_attributes. I was wondering what I should…

---

## [XP/IE8 HTTPS support :(](https://www.ruby-forum.com/t/xp-ie8-https-support/232652)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 20, 2014, 5:56pm UTC](https://www.ruby-forum.com/t/xp-ie8-https-support/232652 "2014-10-20T17:56:00Z")

</div>

I have a few users that are having issues with my website now that I disabled SSLv3. Turns out the only cipher that would/should work with XP/IE8 is TLS1.0: “TLS\_RSA\_WITH\_3DES\_EDE\_CBC\_SHA” (there are two RC4’s that a…

---

## [Nginx proxy with websocket not returning data](https://www.ruby-forum.com/t/nginx-proxy-with-websocket-not-returning-data/238830)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [February 4, 2014, 6:42am UTC](https://www.ruby-forum.com/t/nginx-proxy-with-websocket-not-returning-data/238830 "2014-02-04T06:42:37Z")

</div>

Hi, I am trying to configure nginx proxy with websockets I am using jetty server with cometd framework. I am able to do the websocket handshake and send my login request to the server but I am not getting any respons…

---

## [How to query a Gtk::Window for its current height and width?](https://www.ruby-forum.com/t/how-to-query-a-gtk-window-for-its-current-height-and-width/214732)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [December 12, 2011, 10:00pm UTC](https://www.ruby-forum.com/t/how-to-query-a-gtk-window-for-its-current-height-and-width/214732 "2011-12-12T22:00:36Z")

</div>

Hi, I need to react on a resize event. But I also need width and height, before, and after the resize event. How can I find out these two values? Thanks.

---

## [DAC I/Q swap and bit inversion](https://www.ruby-forum.com/t/dac-i-q-swap-and-bit-inversion/212760)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [October 13, 2011, 6:16pm UTC](https://www.ruby-forum.com/t/dac-i-q-swap-and-bit-inversion/212760 "2011-10-13T18:16:31Z")

</div>

Esteemed Colleagues, Many thanks to the members of this community that my responded to my previous query. They were most helpful. I will have you know that the status of my endeavor of sending SMS messages over CDMA …

---

## [Fwd: ruby-gnome2/ruby-gnome2 Remove generated files](https://www.ruby-forum.com/t/fwd-ruby-gnome2-ruby-gnome2-remove-generated-files/212487)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [October 4, 2011, 3:35pm UTC](https://www.ruby-forum.com/t/fwd-ruby-gnome2-ruby-gnome2-remove-generated-files/212487 "2011-10-04T15:35:03Z")

</div>

Do we still need this list? Isn’t RSS plus this list enough? ---------- Forwarded message ---------- From: removed\_email\_address@domain.invalid Date: Tue, Oct 4, 2011 at 15:17 Subject: ruby-gnome2/ruby-gnome2 \[mast…

---

## [Pending tests fail when I switch to mock\_with :mocha](https://www.ruby-forum.com/t/pending-tests-fail-when-i-switch-to-mock-with-mocha/199020)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [November 13, 2010, 5:06pm UTC](https://www.ruby-forum.com/t/pending-tests-fail-when-i-switch-to-mock-with-mocha/199020 "2010-11-13T17:06:13Z")

</div>

First of all, please direct me into how better to search existing threads in this mailing list. Ok to my rspec 2.0.1 mocha 0.9.8 issue: given a controller test before do subject.expects(:authenticate).once end it…

---

## [Afficher champ belongs\_to](https://www.ruby-forum.com/t/afficher-champ-belongs-to/186171)

<div class="topic-metadata">

**Author:** [@niber](https://www.ruby-forum.com/u/niber)\
**Replies:** 2\
**Last updated:** [April 1, 2010, 5:07pm UTC](https://www.ruby-forum.com/t/afficher-champ-belongs-to/186171 "2010-04-01T17:07:15Z")

</div>

Bonjour, J’ai les modÃ¨les suivants Child has\_many :fosters Bed has\_many :fosters Foster belongs\_to :child belongs\_to :bed Dans le formulaire bed/edit je souhaite afficher la liste des fosters et pour chaque fo…

---

## [Modify root URL generated by \<%= link\_to %\>](https://www.ruby-forum.com/t/modify-root-url-generated-by-link-to/169720)

<div class="topic-metadata">

**Author:** [@indigoi](https://www.ruby-forum.com/u/indigoi)\
**Replies:** 2\
**Last updated:** [June 9, 2009, 5:48pm UTC](https://www.ruby-forum.com/t/modify-root-url-generated-by-link-to/169720 "2009-06-09T17:48:19Z")

</div>

Is there a way to manually specify the root url that a \<%= link\_to %\> generates? So i can make an auto generated url that used to go to mywebsite.myhost.com/comments be go to example.com/comments ? The reason, if you’…

---

## [Ruby 1.9.1 compatibility, again](https://www.ruby-forum.com/t/ruby-1-9-1-compatibility-again/166597)

<div class="topic-metadata">

**Author:** [@liberte](https://www.ruby-forum.com/u/liberte)\
**Replies:** 2\
**Last updated:** [May 4, 2009, 12:15pm UTC](https://www.ruby-forum.com/t/ruby-1-9-1-compatibility-again/166597 "2009-05-04T12:15:09Z")

</div>

Hi all, this patch against svn head allowed me to build Ruby-GNOME2 with Ruby 1.9.1. I have played around with it a bit in irb - simple windows and buttons and stuff - and it seems to work. Is that likely to be it, o…

---

## [Insert into an Oracle table no working](https://www.ruby-forum.com/t/insert-into-an-oracle-table-no-working/105024)

<div class="topic-metadata">

**Author:** [@david\_salisbury](https://www.ruby-forum.com/u/david_salisbury)\
**Replies:** 2\
**Last updated:** [May 29, 2007, 9:38pm UTC](https://www.ruby-forum.com/t/insert-into-an-oracle-table-no-working/105024 "2007-05-29T21:38:48Z")

</div>

Beginner here, so this should be easy. I created an RoR application that worked against and sqlite3 table. But the next step was for it to work against an Oracle table. So, I’ve changed the database.yml file to look …

---

## [Counter\_cache won't increment](https://www.ruby-forum.com/t/counter-cache-wont-increment/90740)

<div class="topic-metadata">

**Author:** [@eleo](https://www.ruby-forum.com/u/eleo)\
**Replies:** 2\
**Last updated:** [April 2, 2007, 2:13am UTC](https://www.ruby-forum.com/t/counter-cache-wont-increment/90740 "2007-04-02T02:13:18Z")

</div>

I’m having an odd problem. I’ve pinpointed what’s causing it, but it’s not making any sense. class Discussion \< ActiveRecord::Base has\_many :posts, :dependent =\> :destroy def bump update\_attribute(:bumped\_on, Time…

---

## [DBI/unixODBC/FreeTDS weird problems on Linux](https://www.ruby-forum.com/t/dbi-unixodbc-freetds-weird-problems-on-linux/77119)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 2\
**Last updated:** [February 21, 2007, 12:07am UTC](https://www.ruby-forum.com/t/dbi-unixodbc-freetds-weird-problems-on-linux/77119 "2007-02-21T00:07:22Z")

</div>

Hey :slight\_smile: I’m trying to migrate my rails app that uses an MS SQL server to Linux. I’ve setup freetds and unixodbc, installed ruby-dbi and ruby-odbc. isql and tsql work fine with this query: SELECT TOP 1 \* FR…

---

## [Problem with permalink URLs on latest trunk (1193)](https://www.ruby-forum.com/t/problem-with-permalink-urls-on-latest-trunk-1193/101726)

<div class="topic-metadata">

**Author:** [@Jason\_Burks](https://www.ruby-forum.com/u/Jason_Burks)\
**Replies:** 2\
**Last updated:** [August 7, 2006, 6:45pm UTC](https://www.ruby-forum.com/t/problem-with-permalink-urls-on-latest-trunk-1193/101726 "2006-08-07T18:45:55Z")

</div>

I’m having a problem with permalinks on the latest trunk (r1193) that I need help tracking down. I’m pretty sure I know what’s going on, I just don’t know how to fix it. The URL for my blog is www.jasonburks.com. Th…

---

## [Variable Dump](https://www.ruby-forum.com/t/variable-dump/77959)

<div class="topic-metadata">

**Author:** [@Dan\_Smorey\_Jr](https://www.ruby-forum.com/u/Dan_Smorey_Jr)\
**Replies:** 2\
**Last updated:** [December 28, 2005, 12:58am UTC](https://www.ruby-forum.com/t/variable-dump/77959 "2005-12-28T00:58:57Z")

</div>

I’d like to know how to grab a dump of all variable associated with a script. Here is a test script I am using… #!/usr/bin/env ruby class Binding def info\_locals() vars = eval(“local\_variables”, self) vars.each { …

---

## [Rails 3.2 Extending String Core Classe as per Rails doc](https://www.ruby-forum.com/t/rails-3-2-extending-string-core-classe-as-per-rails-doc/224655)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [November 21, 2012, 12:23am UTC](https://www.ruby-forum.com/t/rails-3-2-extending-string-core-classe-as-per-rails-doc/224655 "2012-11-21T00:23:34Z")

</div>

As per Rails doc ( The Basics of Creating Rails Plugins — Ruby on Rails Guides ) my app being yoodle I added in yoodle/lib yoodle.rb require “yoodle/core\_ext” module Yoodle end in yoodle/lib/my\_app/core\_ext Str…

---

## [\[Ruby 1.9 - Bug #4457\] \[Open\] Time#strftime で %z 指定子などに大きな幅を指定した際の不具合](https://www.ruby-forum.com/t/ruby-1-9-bug-4457-open-time-strftime-z/203951)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [August 1, 2011, 3:50pm UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-4457-open-time-strftime-z/203951 "2011-08-01T15:50:33Z")

</div>

Issue #4457 has been reported by tadayoshi funaba. Bug #4457: Time#strftime で %z 指定子などに大きな幅を指定した際の不具合 Author: tadayoshi funaba Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9…

---

## [Redmine & rubygem](https://www.ruby-forum.com/t/redmine-rubygem/205475)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [April 7, 2011, 2:58pm UTC](https://www.ruby-forum.com/t/redmine-rubygem/205475 "2011-04-07T14:58:18Z")

</div>

Ciao, ho il seguente ambiente: so: CentOS release 5.5 (Final) ruby: ruby 1.8.7 (2010-12-23 patchlevel 330) \[x86\_64-linux\] gem: 1.3.1 rails: 2.3.5 rack: 1.0.1 redmine: 1.1.2 senza il file config/email.yml riesce a…

---

## [Rails3 UJS AJAX links when DOM is not loaded](https://www.ruby-forum.com/t/rails3-ujs-ajax-links-when-dom-is-not-loaded/198320)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 5\
**Last updated:** [October 29, 2010, 7:52pm UTC](https://www.ruby-forum.com/t/rails3-ujs-ajax-links-when-dom-is-not-loaded/198320 "2010-10-29T19:52:12Z")

</div>

Hello fellow Rails programmers, I really love the new way of AJAX requests in Rails3. It really cleans up my HTML code and it makes using AJAX in your application a lot easier. I only have one - kinda big - problem wi…

---

## [Folder Update Triggering](https://www.ruby-forum.com/t/folder-update-triggering/197772)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [October 22, 2010, 7:47am UTC](https://www.ruby-forum.com/t/folder-update-triggering/197772 "2010-10-22T07:47:13Z")

</div>

Hi All, Big time Ruby novice here; I apologize in advance. I’m looking to create a Ruby app that generates a folder/sub-folder index file every time the main folder is updated (i.e., new sub-folders are added, rename…

---

## [Using sig\_source\_c on a USRP2](https://www.ruby-forum.com/t/using-sig-source-c-on-a-usrp2/183845)

<div class="topic-metadata">

**Author:** [@cbandes](https://www.ruby-forum.com/u/cbandes)\
**Replies:** 5\
**Last updated:** [February 22, 2010, 11:16pm UTC](https://www.ruby-forum.com/t/using-sig-source-c-on-a-usrp2/183845 "2010-02-22T23:16:06Z")

</div>

Hello, I have been playing around with the USRP2, mainly to get a feeling for how much data I can pass across the Ethernet. I have noticed something odd When I use sig\_source\_c with a sample rate of 20 Ms/s and a f…

---

## [JRuby 1.4.0RC3 java integration problem?](https://www.ruby-forum.com/t/jruby-1-4-0rc3-java-integration-problem/178207)

<div class="topic-metadata">

**Author:** [@lennylmiller](https://www.ruby-forum.com/u/lennylmiller)\
**Replies:** 5\
**Last updated:** [October 30, 2009, 9:35pm UTC](https://www.ruby-forum.com/t/jruby-1-4-0rc3-java-integration-problem/178207 "2009-10-30T21:35:37Z")

</div>

I just gave 1.4RC3 a quick wirl but I’m seeing some issues. We are running Jruby/Rails apps that integrate with older Spring/Hibernate service/models. We’re basically using a SingleHibernateSessionPerRequest strategy …

---

## [Can someone explain the difference: Array\[\] and Array.fetch](https://www.ruby-forum.com/t/can-someone-explain-the-difference-array-and-array-fetch/169640)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 5\
**Last updated:** [June 6, 2009, 7:31pm UTC](https://www.ruby-forum.com/t/can-someone-explain-the-difference-array-and-array-fetch/169640 "2009-06-06T19:31:42Z")

</div>

array = \[“a”,“b”,“c”\] # =\> \[“a”, “b”, “c”\] array\[1\] # =\> “b” array.fetch 1 # =\> “b” ================================================== So far, so fine. =======================…

---

## [File upload cosa usare?](https://www.ruby-forum.com/t/file-upload-cosa-usare/162644)

<div class="topic-metadata">

**Author:** [@Tucano](https://www.ruby-forum.com/u/Tucano)\
**Replies:** 5\
**Last updated:** [March 12, 2009, 12:56pm UTC](https://www.ruby-forum.com/t/file-upload-cosa-usare/162644 "2009-03-12T12:56:43Z")

</div>

Ciao a tutti. Sto lavorando ad un’applicazione dove vengono uploadati e storati nel filesystem dei files. ho visto che in rete ci sono diverse plugins: file\_column, attachment\_fu, etc… Attualmente sto usando rails 2…

---

## [Rails 2.2.0 and Gettext incompatible?](https://www.ruby-forum.com/t/rails-2-2-0-and-gettext-incompatible/151830)

<div class="topic-metadata">

**Author:** [@stanislav](https://www.ruby-forum.com/u/stanislav)\
**Replies:** 5\
**Last updated:** [December 14, 2008, 7:49am UTC](https://www.ruby-forum.com/t/rails-2-2-0-and-gettext-incompatible/151830 "2008-12-14T07:49:11Z")

</div>

Hi all, Today I tried to upgrade one my Rails app to use version 2.2.0 of the framework. However mongrel could not start because of some incompatibility problems. The version of gettext gem is 1.93.0 Here it is the …

---

## [Back on the List - Two questions](https://www.ruby-forum.com/t/back-on-the-list-two-questions/144828)

<div class="topic-metadata">

**Author:** [@lstrecv](https://www.ruby-forum.com/u/lstrecv)\
**Replies:** 5\
**Last updated:** [August 2, 2008, 11:01pm UTC](https://www.ruby-forum.com/t/back-on-the-list-two-questions/144828 "2008-08-02T23:01:42Z")

</div>

It’s been a while but it feels good to be back. I have a quick question for the group: Given the following: content = \[ \[“something special a”, “ok cool a”, “tahsnk a”\], \[“something specccccccccial a”, “ok cooooool …

---

## [Where is that method defined?](https://www.ruby-forum.com/t/where-is-that-method-defined/125380)

<div class="topic-metadata">

**Author:** [@alexmic](https://www.ruby-forum.com/u/alexmic)\
**Replies:** 5\
**Last updated:** [January 8, 2008, 8:57pm UTC](https://www.ruby-forum.com/t/where-is-that-method-defined/125380 "2008-01-08T20:57:06Z")

</div>

I’m looking at ruby code for a class, for which I can call a method but which I don’t find in the class source code. I suppose this is a feature of Ruby that I have yet to learn. Can anyone help me please? Specifical…

---

## [Validation of other model fields](https://www.ruby-forum.com/t/validation-of-other-model-fields/103095)

<div class="topic-metadata">

**Author:** [@Daniello](https://www.ruby-forum.com/u/Daniello)\
**Replies:** 5\
**Last updated:** [May 2, 2007, 5:11pm UTC](https://www.ruby-forum.com/t/validation-of-other-model-fields/103095 "2007-05-02T17:11:37Z")

</div>

I’ve got in my Form not only fileds from my model but also fields from ither models. How can I validate them like other fields. Example names od input tag fields Name1 \<%= text\_field 'model1', 'name1' , :size =\> 40 %\> …

---

## [Sending irb session to a file in windows](https://www.ruby-forum.com/t/sending-irb-session-to-a-file-in-windows/91576)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 5\
**Last updated:** [April 11, 2007, 5:14pm UTC](https://www.ruby-forum.com/t/sending-irb-session-to-a-file-in-windows/91576 "2007-04-11T17:14:12Z")

</div>

I’m looking to send an irb session to a file. How do people do this on Windows? Andy

---

## [Re: Ruby extension issue](https://www.ruby-forum.com/t/re-ruby-extension-issue/80586)

<div class="topic-metadata">

**Author:** [@Wim\_Vander\_S](https://www.ruby-forum.com/u/Wim_Vander_S)\
**Replies:** 5\
**Last updated:** [December 29, 2006, 10:15am UTC](https://www.ruby-forum.com/t/re-ruby-extension-issue/80586 "2006-12-29T10:15:17Z")

</div>

I was able to fix the problem by changing my extconf.rb to: require 'mkmf' dir\_config('gamer') have\_library("SDL", "SDL\_Init") have\_header("SDL/SDL.h") pkg\_config("sdl") create\_makefile('gamer') However, I don’t know W…

---

## [Problem linking on a Bluegene-L](https://www.ruby-forum.com/t/problem-linking-on-a-bluegene-l/76015)

<div class="topic-metadata">

**Author:** [@underbluewaters](https://www.ruby-forum.com/u/underbluewaters)\
**Replies:** 5\
**Last updated:** [November 16, 2006, 10:37pm UTC](https://www.ruby-forum.com/t/problem-linking-on-a-bluegene-l/76015 "2006-11-16T22:37:57Z")

</div>

I am trying to get mpi-ruby-0.4 working on a Bluegene-L system. I compiled ruby-1.8.4 with --enable-shared. make test seemed ok except it bombed on the SOAP library. mpi-ruby-0.4 could not detect my machine configurat…

---

## [What am I missing with this closure example?](https://www.ruby-forum.com/t/what-am-i-missing-with-this-closure-example/54303)

<div class="topic-metadata">

**Author:** [@ssk](https://www.ruby-forum.com/u/ssk)\
**Replies:** 5\
**Last updated:** [August 15, 2006, 2:09pm UTC](https://www.ruby-forum.com/t/what-am-i-missing-with-this-closure-example/54303 "2006-08-15T14:09:57Z")

</div>

Hello! Since my last question about closure(http://groups.google.com/group/comp.lang.ruby/browse\_frm/thread/0d7e258107e1683e/12e182a6ff493232?hl=en#12e182a6ff493232) I am testing my understanding making some examples. …

---

## [Apply more than one condition to a find(:all](https://www.ruby-forum.com/t/apply-more-than-one-condition-to-a-find-all/62506)

<div class="topic-metadata">

**Author:** [@scott](https://www.ruby-forum.com/u/scott)\
**Replies:** 5\
**Last updated:** [June 5, 2006, 6:26pm UTC](https://www.ruby-forum.com/t/apply-more-than-one-condition-to-a-find-all/62506 "2006-06-05T18:26:52Z")

</div>

Hi I have the find statement below, how can I apply another condition to this to say AND status \> 3 @projectReport = Project.find(:all, :conditions =\> ‘status != 7’) Thanks scott

---

## [How HTML\_Option works?](https://www.ruby-forum.com/t/how-html-option-works/61262)

<div class="topic-metadata">

**Author:** [@alain](https://www.ruby-forum.com/u/alain)\
**Replies:** 5\
**Last updated:** [May 22, 2006, 4:46pm UTC](https://www.ruby-forum.com/t/how-html-option-works/61262 "2006-05-22T16:46:12Z")

</div>

Hi all, all the form helpers can take a serie for options but I cant find any documentation about them. Any one can point me toward one? Or at least tell me how I can for example add a function that would be call wit…

---

## [How to upload only jpeg & gif & png images into public/image](https://www.ruby-forum.com/t/how-to-upload-only-jpeg-gif-png-images-into-public-image/59572)

<div class="topic-metadata">

**Author:** [@surekha](https://www.ruby-forum.com/u/surekha)\
**Replies:** 5\
**Last updated:** [May 12, 2006, 3:15pm UTC](https://www.ruby-forum.com/t/how-to-upload-only-jpeg-gif-png-images-into-public-image/59572 "2006-05-12T15:15:13Z")

</div>

Hello iam new to rubyonrails. Please any one help me out in “How to upload only jpeg & gif & png images into public/images using rubyonrails” Thanks in Advance

---

## [OFFTOPIC: console text viewer](https://www.ruby-forum.com/t/offtopic-console-text-viewer/58190)

<div class="topic-metadata">

**Author:** [@dani](https://www.ruby-forum.com/u/dani)\
**Replies:** 5\
**Last updated:** [April 21, 2006, 11:23pm UTC](https://www.ruby-forum.com/t/offtopic-console-text-viewer/58190 "2006-04-21T23:23:48Z")

</div>

Hi, I need TXT file viewer, like cat or type, that works with Win9x, XP and has a linux version too. Has anyone idea? regards, Daniel

---

## [Re: Scope of an @variable](https://www.ruby-forum.com/t/re-scope-of-an-variable/54879)

<div class="topic-metadata">

**Author:** [@William\_SBillS\_Froe](https://www.ruby-forum.com/u/William_SBillS_Froe)\
**Replies:** 5\
**Last updated:** [March 17, 2006, 2:13am UTC](https://www.ruby-forum.com/t/re-scope-of-an-variable/54879 "2006-03-17T02:13:42Z")

</div>

I’m also a newbie so others feel free to correct me as well :wink: Your understanding is correct in that @name applies to the specific instance of the class and the @@name applies to all instances of the class. Hope …

---

## [Text\_field not populating, but object exists!](https://www.ruby-forum.com/t/text-field-not-populating-but-object-exists/72427)

<div class="topic-metadata">

**Author:** [@adam](https://www.ruby-forum.com/u/adam)\
**Replies:** 5\
**Last updated:** [February 24, 2006, 5:17am UTC](https://www.ruby-forum.com/t/text-field-not-populating-but-object-exists/72427 "2006-02-24T05:17:20Z")

</div>

Hi I’m having a problem with a little code here, hopefully it’s easy to see what’s happening: \<% @lectures.each do |lecture| %\> \<%= lecture.location%\>\<br /\> \<%= text\_field 'lecture', 'location' %\> \<% end %\> The outp…

---

## [Is there an easy way to extend an object?](https://www.ruby-forum.com/t/is-there-an-easy-way-to-extend-an-object/51209)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 5\
**Last updated:** [December 28, 2005, 8:18am UTC](https://www.ruby-forum.com/t/is-there-an-easy-way-to-extend-an-object/51209 "2005-12-28T08:18:04Z")

</div>

Given an object, is there a clean way of creating a new object that wraps the original and then adds a new method? It doesn’t have to wrap the old object if there’s a way to directly add a new method to the object (I’…

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

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