# Top

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

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

---

## [FileDialog in a IronRuby App](https://www.ruby-forum.com/t/filedialog-in-a-ironruby-app/192280)

<div class="topic-metadata">

**Author:** [@michbukana](https://www.ruby-forum.com/u/michbukana)\
**Replies:** 2\
**Last updated:** [July 28, 2010, 3:46am UTC](https://www.ruby-forum.com/t/filedialog-in-a-ironruby-app/192280 "2010-07-28T03:46:40Z")

</div>

Hi all, How can I call the filedialog window from an IronRuby program, getting the list of files selected in the dialog in a String or Array variable? Thank you in advance… Eduardo B.

---

## [Rspec, Mocha Expectations Not Met Bug?](https://www.ruby-forum.com/t/rspec-mocha-expectations-not-met-bug/179929)

<div class="topic-metadata">

**Author:** [@sweb](https://www.ruby-forum.com/u/sweb)\
**Replies:** 2\
**Last updated:** [December 8, 2009, 5:01pm UTC](https://www.ruby-forum.com/t/rspec-mocha-expectations-not-met-bug/179929 "2009-12-08T17:01:36Z")

</div>

Code and tests at, I have debugged this code and both destroy and email! are being called! However, rspec/mocha says that the two expectations at the bottom of these tests are not met: both tests fail. Any help wou…

---

## [Trying to upload image in database](https://www.ruby-forum.com/t/trying-to-upload-image-in-database/117684)

<div class="topic-metadata">

**Author:** [@priyasaini](https://www.ruby-forum.com/u/priyasaini)\
**Replies:** 2\
**Last updated:** [October 22, 2007, 8:14am UTC](https://www.ruby-forum.com/t/trying-to-upload-image-in-database/117684 "2007-10-22T08:14:17Z")

</div>

Hi All, I got the Error message when i try to upload a image file into database using Ruby on Rails , PGError: ERROR: unterminated quoted string at or near “'ï¿½ï¿½ï¿½ï¿½” LINE 1: …O photos (“description”, “picture”…

---

## [RSpec seems to be having a hard time loading Helper classes](https://www.ruby-forum.com/t/rspec-seems-to-be-having-a-hard-time-loading-helper-classes/116899)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 2\
**Last updated:** [October 11, 2007, 3:33pm UTC](https://www.ruby-forum.com/t/rspec-seems-to-be-having-a-hard-time-loading-helper-classes/116899 "2007-10-11T15:33:00Z")

</div>

I am getting the error when I run the command: rake spec This is a new project with not current test written besides the ones auto-created for me. +++++++++ $ rake spec (in /Users/chrisolsen/Projects/Rails/chrisolse…

---

## [..and UserEngine isn't logging me out!](https://www.ruby-forum.com/t/and-userengine-isnt-logging-me-out/83159)

<div class="topic-metadata">

**Author:** [@hatless](https://www.ruby-forum.com/u/hatless)\
**Replies:** 2\
**Last updated:** [March 18, 2006, 6:05pm UTC](https://www.ruby-forum.com/t/and-userengine-isnt-logging-me-out/83159 "2006-03-18T18:05:32Z")

</div>

So now here I am thinking I’m getting incrementally closer to having a UserEngine setup that works, copying a controller into my app, putting sitewide authorization in application.rb and assigning privileges on my “pu…

---

## [Pad block in ieee802\_15\_4\_mac block](https://www.ruby-forum.com/t/pad-block-in-ieee802-15-4-mac-block/240018)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [March 25, 2014, 9:14pm UTC](https://www.ruby-forum.com/t/pad-block-in-ieee802-15-4-mac-block/240018 "2014-03-25T21:14:41Z")

</div>

Hello GR, How can I have a file source connected as a pad source to an hierarchical block ? More precisely, I have for example the hierarchical block ieee802\_15\_4\_mac, and instead of feeding the block in input with…

---

## [Is it possible with Rails to interact with SVN Server and/or the server's shell?](https://www.ruby-forum.com/t/is-it-possible-with-rails-to-interact-with-svn-server-and-or-the-servers-shell/237327)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [November 6, 2013, 10:40pm UTC](https://www.ruby-forum.com/t/is-it-possible-with-rails-to-interact-with-svn-server-and-or-the-servers-shell/237327 "2013-11-06T22:40:04Z")

</div>

Hello! I’m fairly new to Ruby and Rails, and currently I don’t have any knowledge on interacting with the server’s shell or a SVN server, but now I have to develop an app where admins allow/restrict access to files an…

---

## [ATSC Magic coupling constant](https://www.ruby-forum.com/t/atsc-magic-coupling-constant/236018)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 5\
**Last updated:** [July 31, 2013, 2:13am UTC](https://www.ruby-forum.com/t/atsc-magic-coupling-constant/236018 "2013-07-31T02:13:29Z")

</div>

Hello all, I’m working on fixing up gr-atsc and I have been working on a little problem for a while now, there is a constant ( FPLL\_BTLOOP\_COUPLING\_CONST ) that sets the reference for an AGC, the value is ( 2.5 \* 3.1…

---

## [Write a method intersection that takes two ranges](https://www.ruby-forum.com/t/write-a-method-intersection-that-takes-two-ranges/235234)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [June 10, 2013, 11:16am UTC](https://www.ruby-forum.com/t/write-a-method-intersection-that-takes-two-ranges/235234 "2013-06-10T11:16:00Z")

</div>

How do I write a method intersection(range1, range2) that takes two ranges (a pair of start and stop coordinates on a line) and returns (a) an array of subranges of range1 which are not contained in range2, (b) an arr…

---

## [Case of lost milliseconds](https://www.ruby-forum.com/t/case-of-lost-milliseconds/222764)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [September 11, 2012, 2:58pm UTC](https://www.ruby-forum.com/t/case-of-lost-milliseconds/222764 "2012-09-11T14:58:25Z")

</div>

Can anyone explain where are the milliseconds getting lost - Completed 200 OK in 438ms (Views: 145.0ms | ActiveRecord: 15.0ms) Completed 200 OK in 378ms (Views: 206.0ms | ActiveRecord: 2.0ms) Completed 200 OK in 275ms…

---

## [Any syntax to see the methods provided by the module Enumerable?](https://www.ruby-forum.com/t/any-syntax-to-see-the-methods-provided-by-the-module-enumerable/207878)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [June 9, 2011, 6:04pm UTC](https://www.ruby-forum.com/t/any-syntax-to-see-the-methods-provided-by-the-module-enumerable/207878 "2011-06-09T18:04:27Z")

</div>

Enumerable module, a module that supplies about 20 useful counting- and iteration-related methods, including collect, detect, find, find\_all, include?, max, min, select, sort, and to\_a. What is the syntax to view the…

---

## [Javascript Q: Is there a way to determine the # of lines of text that will fit on a page?](https://www.ruby-forum.com/t/javascript-q-is-there-a-way-to-determine-the-of-lines-of-text-that-will-fit-on-a-page/207760)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [June 2, 2011, 9:50am UTC](https://www.ruby-forum.com/t/javascript-q-is-there-a-way-to-determine-the-of-lines-of-text-that-will-fit-on-a-page/207760 "2011-06-02T09:50:38Z")

</div>

If I’m displaying lines of text (e.g. list of records from a database), how can I determine how many lines will fit in the browser window? Does javascript have the equivalent of SIGWINCH? Thanks, Joe

---

## [Hash vs methods](https://www.ruby-forum.com/t/hash-vs-methods/205709)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [April 14, 2011, 5:26pm UTC](https://www.ruby-forum.com/t/hash-vs-methods/205709 "2011-04-14T17:26:52Z")

</div>

Hey all, Hash vs methods may seem like a silly question, but in certain situations I don’t understand why you would use a method over a hash. For example, take a look at this method: #this is defined in a class calle…

---

## [Regular Expression help - Replacing Regexp that worked with Oniguruma in 1.8.6](https://www.ruby-forum.com/t/regular-expression-help-replacing-regexp-that-worked-with-oniguruma-in-1-8-6/203460)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [February 22, 2011, 9:18am UTC](https://www.ruby-forum.com/t/regular-expression-help-replacing-regexp-that-worked-with-oniguruma-in-1-8-6/203460 "2011-02-22T09:18:28Z")

</div>

Hi On our way to shifting to Ruby 1.8.7 - away from the beloved Oniguruma-Patch - I am tripping over our usefull regular expression used in Ruby 1.8.6 - so if anybody is strong in refactoring regular expressions, ple…

---

## [Find by Date Regardless of Time](https://www.ruby-forum.com/t/find-by-date-regardless-of-time/187691)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 5\
**Last updated:** [April 29, 2010, 6:05pm UTC](https://www.ruby-forum.com/t/find-by-date-regardless-of-time/187691 "2010-04-29T18:05:53Z")

</div>

I have a datetime field in the database. How do I find records for a particular date regardless of the time of day? The method I’m trying does not work… tasks.find(:all, :conditions =\> \[“date == ?”, Date.today\]) – …

---

## [Array.transpose on \] or \[\[\],\[\]\]](https://www.ruby-forum.com/t/array-transpose-on-or/174885)

<div class="topic-metadata">

**Author:** [@Ralf\_M](https://www.ruby-forum.com/u/Ralf_M)\
**Replies:** 5\
**Last updated:** [September 4, 2009, 1:07pm UTC](https://www.ruby-forum.com/t/array-transpose-on-or/174885 "2009-09-04T13:07:48Z")

</div>

Hi, I wondered why \[\[\]\].transpose = \[\] and \[\[\],\[\]\].transpose = \[\] I expected them to be \[\[\]\], because the result would still be an array of arrays. Or did I miss anything about these special cases? Best regards Ral…

---

## [ActionMailer plain text problem and UPPERCASE chars](https://www.ruby-forum.com/t/actionmailer-plain-text-problem-and-uppercase-chars/170781)

<div class="topic-metadata">

**Author:** [@elliottg](https://www.ruby-forum.com/u/elliottg)\
**Replies:** 5\
**Last updated:** [June 22, 2009, 8:37pm UTC](https://www.ruby-forum.com/t/actionmailer-plain-text-problem-and-uppercase-chars/170781 "2009-06-22T20:37:31Z")

</div>

Hello, I am using ActionMailer 2.3.3 to send out a very simple plain text email. I am having a very strange issue where the email will not be sent out if some of the the lines in the view are set to all caps. I can’t…

---

## [I have 1.9.1, win32-service gem looking for 1.8](https://www.ruby-forum.com/t/i-have-1-9-1-win32-service-gem-looking-for-1-8/167446)

<div class="topic-metadata">

**Author:** [@gblakeman](https://www.ruby-forum.com/u/gblakeman)\
**Replies:** 5\
**Last updated:** [May 8, 2009, 2:47pm UTC](https://www.ruby-forum.com/t/i-have-1-9-1-win32-service-gem-looking-for-1-8/167446 "2009-05-08T14:47:47Z")

</div>

I have 1.9.1 installed (from zip). My scripts use the win32-service gem, so installed it with: gem install win32-service This installed the following gems without error: win32-api (1.4.0) win32-service (0.6.1) w…

---

## [Can RoR replace a Clipper app?](https://www.ruby-forum.com/t/can-ror-replace-a-clipper-app/134450)

<div class="topic-metadata">

**Author:** [@walter\_j](https://www.ruby-forum.com/u/walter_j)\
**Replies:** 5\
**Last updated:** [April 11, 2008, 10:27pm UTC](https://www.ruby-forum.com/t/can-ror-replace-a-clipper-app/134450 "2008-04-11T22:27:52Z")

</div>

I developed a clipper app years ago, and am considering updating it. I’m considering Ruby on Rails for this project, but would like advice before jumping in regarding the capabilities of Ruby. Would Mysql be a good r…

---

## [Gr\_vector\_source\_c.cc segmentation fault](https://www.ruby-forum.com/t/gr-vector-source-c-cc-segmentation-fault/87385)

<div class="topic-metadata">

**Author:** [@liuxue](https://www.ruby-forum.com/u/liuxue)\
**Replies:** 5\
**Last updated:** [March 3, 2007, 11:13am UTC](https://www.ruby-forum.com/t/gr-vector-source-c-cc-segmentation-fault/87385 "2007-03-03T11:13:29Z")

</div>

Hello, All: My program got Segmentation Fault. I used gdb to trace the process and got the following return: (gdb) continue Continuing. \[New Thread -1223844944 (LWP 25403)\] Program received signal SIGSEGV, Segmenta…

---

## [Enumerated Types](https://www.ruby-forum.com/t/enumerated-types/84379)

<div class="topic-metadata">

**Author:** [@Dan\_Stevens\_SIAmAI](https://www.ruby-forum.com/u/Dan_Stevens_SIAmAI)\
**Replies:** 5\
**Last updated:** [February 6, 2007, 12:34am UTC](https://www.ruby-forum.com/t/enumerated-types/84379 "2007-02-06T00:34:35Z")

</div>

As part of a solution, I wish the value of an attribute to be one of a finite set of values, in other words I believe I want an ‘enumerated type’. I’ve look at the ‘Enumerable’ and ‘Enumerator’ class and they appear t…

---

## [1337 Speak For Ruby and an ActiveRecord 1337 Speak Extension](https://www.ruby-forum.com/t/1337-speak-for-ruby-and-an-activerecord-1337-speak-extension/102355)

<div class="topic-metadata">

**Author:** [@zdennis](https://www.ruby-forum.com/u/zdennis)\
**Replies:** 5\
**Last updated:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/1337-speak-for-ruby-and-an-activerecord-1337-speak-extension/102355 "2006-08-15T14:19:48Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ActiveRecord Extension 1337 - 0.0.1 is released! A 1337 speak module for ruby is released! It is bundled with the ActiveRecord extension activerecord\_1337. This allows yo…

---

## [Mystified by ActiveRecord.serialize](https://www.ruby-forum.com/t/mystified-by-activerecord-serialize/58353)

<div class="topic-metadata">

**Author:** [@edlau](https://www.ruby-forum.com/u/edlau)\
**Replies:** 5\
**Last updated:** [June 4, 2006, 7:47pm UTC](https://www.ruby-forum.com/t/mystified-by-activerecord-serialize/58353 "2006-06-04T19:47:40Z")

</div>

I’m either missing a step, confused or seeing some odd behavior with ActiveRecord’s serialize feature. When I load an ActiveRecord object from the database, my serialized attribute is a YAML::Object, not the original …

---

## [DL: Array of symbols in a dynamic lib](https://www.ruby-forum.com/t/dl-array-of-symbols-in-a-dynamic-lib/61702)

<div class="topic-metadata">

**Author:** [@Benjohn\_B](https://www.ruby-forum.com/u/Benjohn_B)\
**Replies:** 5\
**Last updated:** [May 27, 2006, 1:11am UTC](https://www.ruby-forum.com/t/dl-array-of-symbols-in-a-dynamic-lib/61702 "2006-05-27T01:11:57Z")

</div>

With DL, is there a way to ask for the symbols that exist within a module that I’ve loaded? For instance, once I’ve done… module\_handle = DL::dlopen('my\_lib') Can I then ask module\_handle for an array of symbols? I c…

---

## [Need to link to something like JasperReports](https://www.ruby-forum.com/t/need-to-link-to-something-like-jasperreports/75574)

<div class="topic-metadata">

**Author:** [@dgm](https://www.ruby-forum.com/u/dgm)\
**Replies:** 5\
**Last updated:** [March 2, 2006, 7:44pm UTC](https://www.ruby-forum.com/t/need-to-link-to-something-like-jasperreports/75574 "2006-03-02T19:44:08Z")

</div>

Hello everyone, Has anyone linked Rails to a report generator such as Jasper Reports (http://jasperreports.sourceforge.net/)? At the moment, I think I need something along these lines for a project I’m working on, so…

---

## [How to upgrade rails application on client server](https://www.ruby-forum.com/t/how-to-upgrade-rails-application-on-client-server/234069)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [February 5, 2015, 10:53am UTC](https://www.ruby-forum.com/t/how-to-upgrade-rails-application-on-client-server/234069 "2015-02-05T10:53:11Z")

</div>

We ship our rails application to customer and customer deploy on their own server. If we release a new version that include bug fixes, and we want to apply to those bug fixes to all clients. What is the good approach…

---

## [Updated Reserved Words?](https://www.ruby-forum.com/t/updated-reserved-words/216330)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [February 8, 2012, 6:01pm UTC](https://www.ruby-forum.com/t/updated-reserved-words/216330 "2012-02-08T18:01:35Z")

</div>

In another thread, status was apparently outed as a reserved word, but I can’t find that documented anywhere. The latest list that Google could find was from July 2011, and it didn’t include that word. The “old” wiki …

---

## [502 Bad Gateway/while SSL handshaking to upstream](https://www.ruby-forum.com/t/502-bad-gateway-while-ssl-handshaking-to-upstream/187452)

<div class="topic-metadata">

**Author:** [@teege](https://www.ruby-forum.com/u/teege)\
**Replies:** 1\
**Last updated:** [April 23, 2010, 10:37am UTC](https://www.ruby-forum.com/t/502-bad-gateway-while-ssl-handshaking-to-upstream/187452 "2010-04-23T10:37:26Z")

</div>

I have been fighting with this one for some time, would appreciate some assistance. in my test environment on ec2, I have: \[ nginx → haproxy \] → \[ apache w/ ajp → tomcat \] → \[ mysql cluster \] nginx and haproxy on the…

---

## [Want to set cron job for local machine](https://www.ruby-forum.com/t/want-to-set-cron-job-for-local-machine/187051)

<div class="topic-metadata">

**Author:** [@rahul\_m](https://www.ruby-forum.com/u/rahul_m)\
**Replies:** 7\
**Last updated:** [April 16, 2010, 9:05am UTC](https://www.ruby-forum.com/t/want-to-set-cron-job-for-local-machine/187051 "2010-04-16T09:05:04Z")

</div>

hiii alll, want to set the cron job on my local window installation is it possible and how , please help. thanks rahul …

---

## [Schema\_migrations and schema\_info](https://www.ruby-forum.com/t/schema-migrations-and-schema-info/157199)

<div class="topic-metadata">

**Author:** [@antonaylward](https://www.ruby-forum.com/u/antonaylward)\
**Replies:** 1\
**Last updated:** [August 18, 2009, 10:03am UTC](https://www.ruby-forum.com/t/schema-migrations-and-schema-info/157199 "2009-08-18T10:03:05Z")

</div>

i’m using Aptana Studio for developing my rails application, and it generates migrations files with names like 20090107231713\_name\_of\_migration. Sequence number of migration is generated from current timestamp. In my …

---

## [Add .html extension by default](https://www.ruby-forum.com/t/add-html-extension-by-default/161220)

<div class="topic-metadata">

**Author:** [@gerold](https://www.ruby-forum.com/u/gerold)\
**Replies:** 7\
**Last updated:** [February 24, 2009, 3:15pm UTC](https://www.ruby-forum.com/t/add-html-extension-by-default/161220 "2009-02-24T15:15:05Z")

</div>

Hi all, i would like to add the .html extension by default to all my resources. What is the best way to do that? The reason for this is that i need to download the generated sites via wget and i need the .html extens…

---

## [ORA-12546: TNS:permission denied](https://www.ruby-forum.com/t/ora-12546-tns-permission-denied/160599)

<div class="topic-metadata">

**Author:** [@Kyung\_won\_C](https://www.ruby-forum.com/u/Kyung_won_C)\
**Replies:** 1\
**Last updated:** [February 18, 2009, 8:00am UTC](https://www.ruby-forum.com/t/ora-12546-tns-permission-denied/160599 "2009-02-18T08:00:31Z")

</div>

OS: CentOs4.7 Oracle: 9.2.0.4.0 ruby: ruby 1.8.7 I’m trying install ruby & dbi & oci8 root have to connect sqlplus for oci8 oracle user connect sqlplus but root not \[root\]# sqlplus user/pass SQL\*Plus: Release 9.2.…

---

## [Polymprphic == confusion](https://www.ruby-forum.com/t/polymprphic-confusion/157180)

<div class="topic-metadata">

**Author:** [@scottnj](https://www.ruby-forum.com/u/scottnj)\
**Replies:** 7\
**Last updated:** [January 9, 2009, 12:08am UTC](https://www.ruby-forum.com/t/polymprphic-confusion/157180 "2009-01-09T00:08:26Z")

</div>

I have been having trouble setting up some relations. I want to be able to do this: user.contact\_items # an array of addresses, websites, phone numbers, etc. user.addresses # an array of addresses user.we…

---

## [Youtube videos](https://www.ruby-forum.com/t/youtube-videos/130957)

<div class="topic-metadata">

**Author:** [@javiel](https://www.ruby-forum.com/u/javiel)\
**Replies:** 7\
**Last updated:** [March 12, 2008, 5:26pm UTC](https://www.ruby-forum.com/t/youtube-videos/130957 "2008-03-12T17:26:27Z")

</div>

hola! alguien ha probado youtube-g o algun otro gem o plugin para videos de youtube? yo he probado youtube-g y lo mas que obtengo es una bonita pantalla en blanco, ni siquiera un error. alguien alguien sabe usarlo y …

---

## [Page \<\< "window.open('http://www.google.com');" \<\<--- HAS NO EFFECT](https://www.ruby-forum.com/t/page-window-open-http-www-google-com-has-no-effect/118073)

<div class="topic-metadata">

**Author:** [@aravet](https://www.ruby-forum.com/u/aravet)\
**Replies:** 7\
**Last updated:** [October 23, 2007, 6:45pm UTC](https://www.ruby-forum.com/t/page-window-open-http-www-google-com-has-no-effect/118073 "2007-10-23T18:45:44Z")

</div>

Hi all, In an AJAX action, I want to open a new window. problem: the code below does not work : I see the 2 alerts, but ‘window.open’ does not open a new window. controller : def test1 render(:update){ |page| page…

---

## [How to cache this kind of action?](https://www.ruby-forum.com/t/how-to-cache-this-kind-of-action/85284)

<div class="topic-metadata">

**Author:** [@Tiger\_Dong](https://www.ruby-forum.com/u/Tiger_Dong)\
**Replies:** 7\
**Last updated:** [February 15, 2007, 3:40pm UTC](https://www.ruby-forum.com/t/how-to-cache-this-kind-of-action/85284 "2007-02-15T15:40:15Z")

</div>

I have an action. It renders files specified by URL. If the file is a source code, the action will do something on it, like highlighting. If the file is a plaintext or an image, the action just sends it as is. This c…

---

## [Can't dump anonymous class Class](https://www.ruby-forum.com/t/cant-dump-anonymous-class-class/63864)

<div class="topic-metadata">

**Author:** [@gers4302](https://www.ruby-forum.com/u/gers4302)\
**Replies:** 1\
**Last updated:** [June 20, 2006, 12:29am UTC](https://www.ruby-forum.com/t/cant-dump-anonymous-class-class/63864 "2006-06-20T00:29:37Z")

</div>

I’m trying to create a document upload system, where most of the code is the super class Document and just the path to file on the system is controlled by the sub classes. When I attempt to use my code, I get the fol…

---

## [X.times dont work](https://www.ruby-forum.com/t/x-times-dont-work/58823)

<div class="topic-metadata">

**Author:** [@eneon](https://www.ruby-forum.com/u/eneon)\
**Replies:** 7\
**Last updated:** [April 27, 2006, 8:13am UTC](https://www.ruby-forum.com/t/x-times-dont-work/58823 "2006-04-27T08:13:40Z")

</div>

Hi In irb i wrote 3.time(puts “dsds”) and it doesn’t work why? Here i pasted log: irb(main):027:0\> 3.times(puts “Hello!”) (irb):27: warning: parenthesize argument(s) for future version Hello! ArgumentError: wrong n…

---

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

<div class="topic-metadata">

**Author:** [@stewartm](https://www.ruby-forum.com/u/stewartm)\
**Replies:** 7\
**Last updated:** [March 26, 2006, 11:01pm UTC](https://www.ruby-forum.com/t/mvc-design/87276 "2006-03-26T23:01:57Z")

</div>

Hello I have been using LAMP for the last 6 years and i am now finally making the choice to move over to RoR. This MVC stuff is all very new to me. As i have no trouble understanding ruby code… or any code for that ma…

---

## [Wilcard search](https://www.ruby-forum.com/t/wilcard-search/80342)

<div class="topic-metadata">

**Author:** [@mich](https://www.ruby-forum.com/u/mich)\
**Replies:** 7\
**Last updated:** [March 15, 2006, 3:29pm UTC](https://www.ruby-forum.com/t/wilcard-search/80342 "2006-03-15T15:29:44Z")

</div>

Hello, I’m writing a search function for my application, but I am unsure on how to search for all results that contain my search string; here’s what I’ve got: def search @products = Product.find(:all, …

---

## [Searching a file for keywords?](https://www.ruby-forum.com/t/searching-a-file-for-keywords/89382)

<div class="topic-metadata">

**Author:** [@comtux](https://www.ruby-forum.com/u/comtux)\
**Replies:** 7\
**Last updated:** [January 5, 2006, 7:57pm UTC](https://www.ruby-forum.com/t/searching-a-file-for-keywords/89382 "2006-01-05T19:57:29Z")

</div>

I am trying to find out how to search a file and find certain key words then print them. Example: #!/usr/bin/ruby system(“cat /proc/partitions \> drives.txt”) Output: 8 0 1007616 sda 8 1 1007600 sda1 …

---

## [Customizing erb's recognized tags](https://www.ruby-forum.com/t/customizing-erbs-recognized-tags/49918)

<div class="topic-metadata">

**Author:** [@ljw1001](https://www.ruby-forum.com/u/ljw1001)\
**Replies:** 7\
**Last updated:** [December 10, 2005, 3:44am UTC](https://www.ruby-forum.com/t/customizing-erbs-recognized-tags/49918 "2005-12-10T03:44:29Z")

</div>

Hi Does anyone know if it’s possible to change the tags that erb recognizes so that for instance, I can have it replace on #{} instead of \<%= %\> ? If so, could you point me an example of how it’s done? thanks. tha…

---

## [Reg: Heroku sending mails from Rails App](https://www.ruby-forum.com/t/reg-heroku-sending-mails-from-rails-app/244137)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [February 26, 2016, 12:20am UTC](https://www.ruby-forum.com/t/reg-heroku-sending-mails-from-rails-app/244137 "2016-02-26T00:20:02Z")

</div>

Hi I deployed one small app in heroku built on ROR , now i want to send mails .How is it possible can anyone give me a details how to do it thanks

---

## [Why Should I Learn Ruby?](https://www.ruby-forum.com/t/why-should-i-learn-ruby/243996)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [February 10, 2016, 9:11am UTC](https://www.ruby-forum.com/t/why-should-i-learn-ruby/243996 "2016-02-10T09:11:56Z")

</div>

I know this question sounds really corny, I’m aware of that. But I have to ask. I am a beginner programmer. Well, not even beginner. I taught myself a bit of front-end development, and before I dive into the back-end …

---

## [Proxy URL contains Chinese cause very slow access](https://www.ruby-forum.com/t/proxy-url-contains-chinese-cause-very-slow-access/231342)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [August 5, 2014, 8:18pm UTC](https://www.ruby-forum.com/t/proxy-url-contains-chinese-cause-very-slow-access/231342 "2014-08-05T20:18:13Z")

</div>

Proxy URL contains Chinese cause very slow access For example:http://search1.10086.cn/search?start=1&content=话费充值&areacode=100&areaName=北京 nginx/1.4.7 removed\_email\_address@domain.invalid

---

## [Assets:precompile](https://www.ruby-forum.com/t/assets-precompile/236593)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [September 18, 2013, 2:37pm UTC](https://www.ruby-forum.com/t/assets-precompile/236593 "2013-09-18T14:37:00Z")

</div>

Ciao, sto cercando di precompilare localmente la mia applicazione. Non ho mai avuto alcun tipo di problema, tranne oggi in cui ricevo questo: bundle exec rake assets:precompile --trace \*\* Invoke assets:precompile (fi…

---

## [Heads Up: RubyGems.org and universal-dotnet](https://www.ruby-forum.com/t/heads-up-rubygems-org-and-universal-dotnet/189136)

<div class="topic-metadata">

**Author:** [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Replies:** 3\
**Last updated:** [May 25, 2010, 5:56pm UTC](https://www.ruby-forum.com/t/heads-up-rubygems-org-and-universal-dotnet/189136 "2010-05-25T17:56:04Z")

</div>

Just a heads up: If you do manage to upgrade your Ruby Gems version to 1.3.7 (as I demonstrate here: http://hotgazpacho.org/2010/05/ironruby-gem-update-system/), you will not be able to install gems that have a plat…

---

## [Raise\_error suggestion](https://www.ruby-forum.com/t/raise-error-suggestion/186952)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 3\
**Last updated:** [April 15, 2010, 10:47pm UTC](https://www.ruby-forum.com/t/raise-error-suggestion/186952 "2010-04-15T22:47:58Z")

</div>

I remember reading a post where somebody mentioned something like "sometimes after a refactoring, a test block like lambda { ... }.should raise\_error catches a NoMethodError in error, thus is actually failing, but th…

---

## [FYI: ir -S gem doesn't work on \*nix](https://www.ruby-forum.com/t/fyi-ir-s-gem-doesnt-work-on-nix/183041)

<div class="topic-metadata">

**Author:** [@xjivan](https://www.ruby-forum.com/u/xjivan)\
**Replies:** 3\
**Last updated:** [February 6, 2010, 8:46pm UTC](https://www.ruby-forum.com/t/fyi-ir-s-gem-doesnt-work-on-nix/183041 "2010-02-06T20:46:53Z")

</div>

http://ironruby.codeplex.com/WorkItem/View.aspx?WorkItemId=3898 it looks in the current directory for the script Â» ir -S gem list unknown: Could not find file “/Users/ivan/Dropbox/CloudSlide/Presentations/fosdem/sam…

---

## [Usando validate para algo un poco complejo](https://www.ruby-forum.com/t/usando-validate-para-algo-un-poco-complejo/169971)

<div class="topic-metadata">

**Author:** [@carlos\_blazquez](https://www.ruby-forum.com/u/carlos_blazquez)\
**Replies:** 3\
**Last updated:** [June 11, 2009, 2:03pm UTC](https://www.ruby-forum.com/t/usando-validate-para-algo-un-poco-complejo/169971 "2009-06-11T14:03:34Z")

</div>

VerÃ©is, tengo un sistema de ofertas en mi aplicaciÃ³n de tal modo que un Club puede hacer una Offer a un Player de otro Club, el problema viene en que necesito validar que un mismo Player no hace 2 veces la misma ofe…

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

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