# Top

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

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

---

## [Cygwin: no such file to load -- ubygem](https://www.ruby-forum.com/t/cygwin-no-such-file-to-load-ubygem/104144)

<div class="topic-metadata">

**Author:** [@ronaldfischer](https://www.ruby-forum.com/u/ronaldfischer)\
**Replies:** 5\
**Last updated:** [May 15, 2007, 12:26am UTC](https://www.ruby-forum.com/t/cygwin-no-such-file-to-load-ubygem/104144 "2007-05-15T00:26:29Z")

</div>

I now have - thanks to the help of many readers of this mailing list - installed Ruby 1.8.5 and gem 0.9.3 for both Cygwin and Windows. Under Cygwin, however, ruby doesn’t seem to make use of the installed gems: ~/tm…

---

## [Gtk+-2.10-enabled release?](https://www.ruby-forum.com/t/gtk-2-10-enabled-release/73565)

<div class="topic-metadata">

**Author:** [@Nikolai\_W](https://www.ruby-forum.com/u/Nikolai_W)\
**Replies:** 5\
**Last updated:** [November 7, 2006, 11:04am UTC](https://www.ruby-forum.com/t/gtk-2-10-enabled-release/73565 "2006-11-07T11:04:10Z")

</div>

Hi! The documentation on the web page discusses stuff added in Gtk+ 2.10, but the 0.15 release doesn’t seem to include these updates. Are they in CVS? I’d really need an msvcrt release that includes these updates. …

---

## [Production deployment speed "wakeup" issue](https://www.ruby-forum.com/t/production-deployment-speed-wakeup-issue/57656)

<div class="topic-metadata">

**Author:** [@Matt\_Jankowski](https://www.ruby-forum.com/u/Matt_Jankowski)\
**Replies:** 5\
**Last updated:** [April 16, 2006, 5:39am UTC](https://www.ruby-forum.com/t/production-deployment-speed-wakeup-issue/57656 "2006-04-16T05:39:51Z")

</div>

The deployment scenario… Apache2 on shared host, proxying to lighttpd, which has 3 external fcgis running on localhost. The fcgis are managed by spinner/spawner. We’re noticing a definite speed issue on “first reques…

---

## [\[ruby-trunk - Bug #8679\]\[Open\] Time.newのutc offset文字列で、 MMが60-99の場合にも例外を出して欲しい](https://www.ruby-forum.com/t/ruby-trunk-bug-8679-open-time-new-utc-offset-mm-60-99/245852)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 12, 2014, 6:51am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-8679-open-time-new-utc-offset-mm-60-99/245852 "2014-08-12T06:51:53Z")

</div>

Issue #8679 has been reported by kachick (Kenichi K.). Bug #8679: Time.newのutc\_offset文字列で、 MMが60-99の場合にも例外を出して欲しい Author: kachick (Kenichi K.) Status: Open Priority: Normal Assignee: Category: Target version: r…

---

## [Nginx: pread() "/opt/nginx" failed (21: Is a directory)](https://www.ruby-forum.com/t/nginx-pread-opt-nginx-failed-21-is-a-directory/226279)

<div class="topic-metadata">

**Author:** [@GrayS\_SteveS\_Wipro](https://www.ruby-forum.com/u/GrayS_SteveS_Wipro)\
**Replies:** 1\
**Last updated:** [April 30, 2012, 1:39pm UTC](https://www.ruby-forum.com/t/nginx-pread-opt-nginx-failed-21-is-a-directory/226279 "2012-04-30T13:39:37Z")

</div>

nginx mailing list removed\_email\_address@domain.invalid http://mailman.nginx.org/mailman/listinfo/nginx

---

## [\[ANN\] PageFactory 2.0](https://www.ruby-forum.com/t/ann-pagefactory-2-0/200002)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [December 2, 2010, 8:06pm UTC](https://www.ruby-forum.com/t/ann-pagefactory-2-0/200002 "2010-12-02T20:06:02Z")

</div>

If anyone wants to jump on the bleeding edge, I think the next generation of PageFactory is ready for public use. It works pretty much like PageFactory 1, but drops the PageFactory::Base class. Instead, all part manag…

---

## [\[Rails\] \`parse!': invalid option: --autotest (OptionParser::InvalidOption)](https://www.ruby-forum.com/t/rails-parse-invalid-option-autotest-optionparser-invalidoption/198915)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 1\
**Last updated:** [November 10, 2010, 5:25pm UTC](https://www.ruby-forum.com/t/rails-parse-invalid-option-autotest-optionparser-invalidoption/198915 "2010-11-10T17:25:10Z")

</div>

Well, here it is. I am learning Rails and rSpec at the same time courtesy of Michael H.'s tutorial. All was going good when this happened. rspec is woking on my other projects so I have no idea what I did wrong. I tr…

---

## [Typo or Rails HTTPS =\> HTTP...:443 bug](https://www.ruby-forum.com/t/typo-or-rails-https-http-443-bug/48717)

<div class="topic-metadata">

**Author:** [@jamie](https://www.ruby-forum.com/u/jamie)\
**Replies:** 1\
**Last updated:** [November 24, 2005, 1:15am UTC](https://www.ruby-forum.com/t/typo-or-rails-https-http-443-bug/48717 "2005-11-24T01:15:11Z")

</div>

I recently upgraded to the latest Rails and Typo. Now when I am in the admin section of Typo and I submit a form I often get this error: Bad Request Your browser sent a request that this server could not understand. …

---

## [Application playback module](https://www.ruby-forum.com/t/application-playback-module/242675)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [July 15, 2015, 8:47pm UTC](https://www.ruby-forum.com/t/application-playback-module/242675 "2015-07-15T20:47:43Z")

</div>

There are cases where we are required by law to be able to playback requests that have changed something in the database. Is there a module that can navigate through log history and show all pages that were submitted? …

---

## [Vim for Ruby?](https://www.ruby-forum.com/t/vim-for-ruby/239202)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [February 17, 2014, 8:10pm UTC](https://www.ruby-forum.com/t/vim-for-ruby/239202 "2014-02-17T20:10:57Z")

</div>

I’d like your opinion on this: I claimed that being able to use vim is an essential skill for people who code in dynamic languages (for reasons you’ll see in the article). I haven’t got complete agreement from the f…

---

## [Create a synchronous block using GRExtras](https://www.ruby-forum.com/t/create-a-synchronous-block-using-grextras/224241)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [November 6, 2012, 2:26am UTC](https://www.ruby-forum.com/t/create-a-synchronous-block-using-grextras/224241 "2012-11-06T02:26:51Z")

</div>

Hi All, Now I’m doing a block that uses stream instead of message passing. However, my code is based on those provided in GRExtras. My block should be a gr\_sync\_block, however in GRExtras is used block() instead. How…

---

## [Erb syntax - unknown syntax](https://www.ruby-forum.com/t/erb-syntax-unknown-syntax/224093)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [November 2, 2012, 4:10am UTC](https://www.ruby-forum.com/t/erb-syntax-unknown-syntax/224093 "2012-11-02T04:10:36Z")

</div>

Hi, I am a very beginner on Ruby and related stuff, Could you please tell me what a tag like this “\<%!” means in the following code. Also, I would really appreciate if you can give me some ref to erb templates. \<%! i…

---

## [Regular expresso: mi sono un pò perso](https://www.ruby-forum.com/t/regular-expresso-mi-sono-un-po-perso/223131)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [October 8, 2012, 1:48pm UTC](https://www.ruby-forum.com/t/regular-expresso-mi-sono-un-po-perso/223131 "2012-10-08T13:48:29Z")

</div>

Ciao a tutti, ho bisogno del vostro aiuto. Non riesco a ricavare da una pagina html, tutti i link che mi servono, utilizzando questo script #main è la pagina scaricata in maniera corretta ed è di tipo String er=Array…

---

## [Can't get rails gem](https://www.ruby-forum.com/t/cant-get-rails-gem/217259)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [February 27, 2012, 3:18am UTC](https://www.ruby-forum.com/t/cant-get-rails-gem/217259 "2012-02-27T03:18:31Z")

</div>

Hi, I’m brand new to rails, and I have a mac 10.7 that I bought today. I try the following: joelrwesley$ sudo gem install rails Password: Building native extensions. This could take a while… ERROR: Error installi…

---

## [How to link gnuradio library with applications outside of gnuradio/usrp?](https://www.ruby-forum.com/t/how-to-link-gnuradio-library-with-applications-outside-of-gnuradio-usrp/210776)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [August 17, 2011, 3:49pm UTC](https://www.ruby-forum.com/t/how-to-link-gnuradio-library-with-applications-outside-of-gnuradio-usrp/210776 "2011-08-17T15:49:34Z")

</div>

Hi, I want to use the C++ classes for FFTW that are present in gnuradio for a non-gnuradio application. How do I link the gnuradio library to such an application? Thanks

---

## [Gr-dsp Library Block Parameters](https://www.ruby-forum.com/t/gr-dsp-library-block-parameters/209430)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [July 14, 2011, 8:11pm UTC](https://www.ruby-forum.com/t/gr-dsp-library-block-parameters/209430 "2011-07-14T20:11:35Z")

</div>

Hi Al, We’re trying to use your gr-dsp library and are having difficulty verifying the output of your DSP.fir\_ccf blocks. To allow for easy comparison to the standard filter type, gr.fir\_filter\_ccf, we generated a v…

---

## [Expire cache in rake issue](https://www.ruby-forum.com/t/expire-cache-in-rake-issue/121873)

<div class="topic-metadata">

**Author:** [@vinay](https://www.ruby-forum.com/u/vinay)\
**Replies:** 6\
**Last updated:** [September 8, 2010, 6:05pm UTC](https://www.ruby-forum.com/t/expire-cache-in-rake-issue/121873 "2010-09-08T18:05:36Z")

</div>

Hi All, I am trying to expire a fragment cache in rake. I know that the best practice to expire the cache is in the Sweepers. But as I have to expire the cache at the end of the month I was thinking on the lines of do…

---

## [FasterCSV (faster\_csv) and Question of understanding](https://www.ruby-forum.com/t/fastercsv-faster-csv-and-question-of-understanding/175084)

<div class="topic-metadata">

**Author:** [@baiki](https://www.ruby-forum.com/u/baiki)\
**Replies:** 6\
**Last updated:** [September 10, 2009, 3:54pm UTC](https://www.ruby-forum.com/t/fastercsv-faster-csv-and-question-of-understanding/175084 "2009-09-10T15:54:35Z")

</div>

Dear Experts, I got a question for you: I need to produce a Ruby code which does the following: I get a CSV file (more or less like this: name,id,in,out,ot,ab,x1,x2,x3,x4) I need to remove some columns (like the x1……

---

## [Childrens book](https://www.ruby-forum.com/t/childrens-book/157753)

<div class="topic-metadata">

**Author:** [@aslakhellesoy](https://www.ruby-forum.com/u/aslakhellesoy)\
**Replies:** 6\
**Last updated:** [January 15, 2009, 2:53am UTC](https://www.ruby-forum.com/t/childrens-book/157753 "2009-01-15T02:53:01Z")

</div>

In a weak moment of vanity I googled myself and found this: http://www.target.com/Island-Care-Beans-VeggieTales-Personalized/dp/B001N8YQZS So I’m starring in a childrens’ book with a cuke. WEIRD

---

## [Rails 1.2 isn't detecting the PostgreSQL 8.3 adapter (ruby-pg)](https://www.ruby-forum.com/t/rails-1-2-isnt-detecting-the-postgresql-8-3-adapter-ruby-pg/151905)

<div class="topic-metadata">

**Author:** [@The\_N](https://www.ruby-forum.com/u/The_N)\
**Replies:** 6\
**Last updated:** [October 27, 2008, 11:12pm UTC](https://www.ruby-forum.com/t/rails-1-2-isnt-detecting-the-postgresql-8-3-adapter-ruby-pg/151905 "2008-10-27T23:12:32Z")

</div>

Hi everyone. When I run the rake db:migrate instruction, I get the following error (with --trace): (in /home/jescajadillo/aptana/workspace/amazing) \*\* Invoke db:migrate (first\_time) \*\* Invoke environment (first\_time…

---

## [Passing more than one parameters to redirect\_to](https://www.ruby-forum.com/t/passing-more-than-one-parameters-to-redirect-to/151660)

<div class="topic-metadata">

**Author:** [@selva\_rails](https://www.ruby-forum.com/u/selva_rails)\
**Replies:** 6\
**Last updated:** [October 27, 2008, 11:49am UTC](https://www.ruby-forum.com/t/passing-more-than-one-parameters-to-redirect-to/151660 "2008-10-27T11:49:11Z")

</div>

Hi, I am getting some error which I am clue less. I try to pass more than one parameter with redirect\_to, For example, My params are… search =\> {“name”=\>"", “bus\_group”=\>“1”, “region”=\>"", “unapproved”=\>"", “tech\_ow…

---

## [Using rjs after a redirect](https://www.ruby-forum.com/t/using-rjs-after-a-redirect/144941)

<div class="topic-metadata">

**Author:** [@chunkyslink](https://www.ruby-forum.com/u/chunkyslink)\
**Replies:** 6\
**Last updated:** [August 4, 2008, 8:10pm UTC](https://www.ruby-forum.com/t/using-rjs-after-a-redirect/144941 "2008-08-04T20:10:42Z")

</div>

Let’s say I have an app where a user creates something, e.g. maybe they create a new recipe, and the app redirects to the :show action of the recipes controller after a successful post to the :create action. How would…

---

## [Comment recupere la classe d'un attribut de clÃ© etrangere](https://www.ruby-forum.com/t/comment-recupere-la-classe-dun-attribut-de-cla-etrangere/130949)

<div class="topic-metadata">

**Author:** [@ricardvince](https://www.ruby-forum.com/u/ricardvince)\
**Replies:** 6\
**Last updated:** [March 5, 2008, 3:49pm UTC](https://www.ruby-forum.com/t/comment-recupere-la-classe-dun-attribut-de-cla-etrangere/130949 "2008-03-05T15:49:31Z")

</div>

Bonjour, Je vous explique mon probleme : J’ai une table “line\_items” avec comme attribut “product\_id” et “order\_id” qui son des clÃ© etrangere sur mes tables “product” et “order”. J’aurai voulu savoir comment il ete…

---

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

<div class="topic-metadata">

**Author:** [@tomrobinson](https://www.ruby-forum.com/u/tomrobinson)\
**Replies:** 6\
**Last updated:** [June 15, 2007, 5:23pm UTC](https://www.ruby-forum.com/t/ofdm-implementation/106755 "2007-06-15T17:23:20Z")

</div>

Just the status report from the work done the past couple of weeks on OFDM. With Matt E., Bob McGwier, and Eric B., we successfully transmitted and received OFDM over the air with BPSK, QPSK, and 16QAM. I have merged …

---

## [Strong encapsulation, static typing and unit testing](https://www.ruby-forum.com/t/strong-encapsulation-static-typing-and-unit-testing/80689)

<div class="topic-metadata">

**Author:** [@npenkov](https://www.ruby-forum.com/u/npenkov)\
**Replies:** 6\
**Last updated:** [December 31, 2006, 10:30am UTC](https://www.ruby-forum.com/t/strong-encapsulation-static-typing-and-unit-testing/80689 "2006-12-31T10:30:07Z")

</div>

Hi Everyone, I’ve been following the discussion on strong encapsulation with interest… It’s a really interesting topic. Reading through the posts and some of the Ruby books and documentation, I’ve come across the ide…

---

## [Newbie: Invalid number dealing with Identity columns in Orac](https://www.ruby-forum.com/t/newbie-invalid-number-dealing-with-identity-columns-in-orac/79494)

<div class="topic-metadata">

**Author:** [@gpatino](https://www.ruby-forum.com/u/gpatino)\
**Replies:** 6\
**Last updated:** [December 15, 2006, 9:48pm UTC](https://www.ruby-forum.com/t/newbie-invalid-number-dealing-with-identity-columns-in-orac/79494 "2006-12-15T21:48:14Z")

</div>

Hi all, I wonder how can I solve in RoR the problem of accessing a simple table because the URL http://localhost:3000/customers/show/2.0 is raising an Oracle error OCIError: ORA-01722: invalid number. The reason of …

---

## [\[PATCH\] Support for DB Clusters/Replication in ActiveRecord](https://www.ruby-forum.com/t/patch-support-for-db-clusters-replication-in-activerecord/99643)

<div class="topic-metadata">

**Author:** [@stephen](https://www.ruby-forum.com/u/stephen)\
**Replies:** 6\
**Last updated:** [July 26, 2006, 8:33pm UTC](https://www.ruby-forum.com/t/patch-support-for-db-clusters-replication-in-activerecord/99643 "2006-07-26T20:33:42Z")

</div>

Hello, I am still dressing this patch up for prime time but I would like to get some feedback from the community on the approach. This currently does pass a full “rake” I have done some extensive work on active r…

---

## [Embedding ruby code in a \[flash :notice\]](https://www.ruby-forum.com/t/embedding-ruby-code-in-a-flash-notice/96217)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 6\
**Last updated:** [July 1, 2006, 5:26pm UTC](https://www.ruby-forum.com/t/embedding-ruby-code-in-a-flash-notice/96217 "2006-07-01T17:26:36Z")

</div>

The ruby code in this isn’t evaluated… flash\[:notice\] = “Your last recorded entry was \<%= @in\_out.time\_in %\> You are currently marked as ‘In’, you probably want to check ‘Out’” Is there a way? Craig

---

## [How access to the tables whitout a model](https://www.ruby-forum.com/t/how-access-to-the-tables-whitout-a-model/58440)

<div class="topic-metadata">

**Author:** [@X-1101](https://www.ruby-forum.com/u/X-1101)\
**Replies:** 6\
**Last updated:** [April 21, 2006, 7:38pm UTC](https://www.ruby-forum.com/t/how-access-to-the-tables-whitout-a-model/58440 "2006-04-21T19:38:36Z")

</div>

i have a table called Products whit a model product, but in the view i need show the category od the product, but whitout a model of categories…

---

## [\[OT-ish\] Rails, Mongrel and apache](https://www.ruby-forum.com/t/ot-ish-rails-mongrel-and-apache/73272)

<div class="topic-metadata">

**Author:** [@brian](https://www.ruby-forum.com/u/brian)\
**Replies:** 6\
**Last updated:** [February 28, 2006, 1:24am UTC](https://www.ruby-forum.com/t/ot-ish-rails-mongrel-and-apache/73272 "2006-02-28T01:24:52Z")

</div>

This is kind of off topic. I want to put my fancy rails app (myapp) as a subdirectory on my os x server. so my osx server works fine right now as www.mydomain.com. How do I tell apache (1.3 i think) to proxy web re…

---

## [Officeofgreatideas.com](https://www.ruby-forum.com/t/officeofgreatideas-com/48232)

<div class="topic-metadata">

**Author:** [@michael.schwab](https://www.ruby-forum.com/u/michael.schwab)\
**Replies:** 6\
**Last updated:** [November 19, 2005, 12:58am UTC](https://www.ruby-forum.com/t/officeofgreatideas-com/48232 "2005-11-19T00:58:47Z")

</div>

Good evening, I am thrilled to announce the launch of my website http://www.officeofgreatideas.com . I do hope that some of you will find time to scope it out and submit a few ideas (I welcome computing-related idea…

---

## [Does anyone know RoR reporting tools?](https://www.ruby-forum.com/t/does-anyone-know-ror-reporting-tools/232628)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [October 20, 2014, 2:37pm UTC](https://www.ruby-forum.com/t/does-anyone-know-ror-reporting-tools/232628 "2014-10-20T14:37:12Z")

</div>

I am new RoR developer. By now, I’ve learn rails MVC concept and build some application. I’ve tried to export the data on screen to report (pdf or excel file) but do not work yet. If anyone have any idea pls let me …

---

## [Switching to nginx: php and rewrite rules from apache](https://www.ruby-forum.com/t/switching-to-nginx-php-and-rewrite-rules-from-apache/230264)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 4\
**Last updated:** [June 10, 2014, 3:39pm UTC](https://www.ruby-forum.com/t/switching-to-nginx-php-and-rewrite-rules-from-apache/230264 "2014-06-10T15:39:10Z")

</div>

Hello list, I’m moving a bunch of sites from Apache to nginx 1.5.13 :). Everything went fine for the static ones and for the sites under wp or joomla. I have one site in php developped by the customer that seemed ok …

---

## [DataMapper and SQLITE3 with JRUBY 1.6.3](https://www.ruby-forum.com/t/datamapper-and-sqlite3-with-jruby-1-6-3/210448)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [November 3, 2011, 10:33pm UTC](https://www.ruby-forum.com/t/datamapper-and-sqlite3-with-jruby-1-6-3/210448 "2011-11-03T22:33:45Z")

</div>

I am working on a small sintra app and using jruby and datamapper. I used ruby and this worked fine as well as deployed to heroku which also works. I copied the code over to a jruby machine and i can’t seem to get th…

---

## [How to find all matches using ruby regex?](https://www.ruby-forum.com/t/how-to-find-all-matches-using-ruby-regex/211069)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [August 25, 2011, 2:19am UTC](https://www.ruby-forum.com/t/how-to-find-all-matches-using-ruby-regex/211069 "2011-08-25T02:19:56Z")

</div>

I have the following ruby code and I want to find all matched “data-1.2.5.tar.gz” and “data-1.2.7.tar.gz”, then stored in $1 and $2. When I executed it and I found $1 is “data-1.2.5.tar.gz”, but $2 is nil. How can I g…

---

## [The scope of metaprogramming in JRuby](https://www.ruby-forum.com/t/the-scope-of-metaprogramming-in-jruby/180286)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 4\
**Last updated:** [December 16, 2009, 7:13pm UTC](https://www.ruby-forum.com/t/the-scope-of-metaprogramming-in-jruby/180286 "2009-12-16T19:13:13Z")

</div>

All, A couple of days ago a friend asked me what level of Ruby metaprogramming was achievable in JRuby. I wasn’t sure how to answer him. Are there limitations on standard Ruby metaprogramming practices when using J…

---

## [Getting the runtime type](https://www.ruby-forum.com/t/getting-the-runtime-type/179579)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 4\
**Last updated:** [November 29, 2009, 9:25pm UTC](https://www.ruby-forum.com/t/getting-the-runtime-type/179579 "2009-11-29T21:25:06Z")

</div>

Hi I’d like to get the runtime type of a ruby class The IronPython guys can do something like this (python substituted for ruby) require ‘clr’ class Person \< Struct.new(:id, :name, :age) end they can then do clr.C…

---

## [Which webrat gem should be used?](https://www.ruby-forum.com/t/which-webrat-gem-should-be-used/157854)

<div class="topic-metadata">

**Author:** [@nickh](https://www.ruby-forum.com/u/nickh)\
**Replies:** 4\
**Last updated:** [January 16, 2009, 8:19pm UTC](https://www.ruby-forum.com/t/which-webrat-gem-should-be-used/157854 "2009-01-16T20:19:44Z")

</div>

Hi guys. Which webrat gem should be used? There seem to be a few: $ gem search -r webrat \*\*\* REMOTE GEMS \*\*\* aslakhellesoy-webrat (0.3.2.2) benschwarz-webrat (0.3.2.1) brynary-webrat (0.3.2.2) flazz-webrat (0.3.2.…

---

## [Def method help](https://www.ruby-forum.com/t/def-method-help/113180)

<div class="topic-metadata">

**Author:** [@naveenpalani](https://www.ruby-forum.com/u/naveenpalani)\
**Replies:** 4\
**Last updated:** [August 29, 2007, 9:24am UTC](https://www.ruby-forum.com/t/def-method-help/113180 "2007-08-29T09:24:57Z")

</div>

I have problems in getting the value from one def method to another. For example For Example: class UserController \< ApplicationController def dialout(id) # “id” - is taken from database table field temp = id end …

---

## [\[ANN\] Backdoor extension: allows executing Ruby code directl](https://www.ruby-forum.com/t/ann-backdoor-extension-allows-executing-ruby-code-directl/112834)

<div class="topic-metadata">

**Author:** [@Aitor\_Garay-Romero](https://www.ruby-forum.com/u/Aitor_Garay-Romero)\
**Replies:** 4\
**Last updated:** [August 28, 2007, 3:03am UTC](https://www.ruby-forum.com/t/ann-backdoor-extension-allows-executing-ruby-code-directl/112834 "2007-08-28T03:03:47Z")

</div>

Hi! I had this idea in my head for a long time and finally implemented it. More info in the project home page: http://backdoor.rubyforge.org/ . Comments, etc welcomed. /AITOR

---

## [W/ fixtures, ERB gives $end unexpected. Options?](https://www.ruby-forum.com/t/w-fixtures-erb-gives-end-unexpected-options/110572)

<div class="topic-metadata">

**Author:** [@Hugh\_S](https://www.ruby-forum.com/u/Hugh_S)\
**Replies:** 4\
**Last updated:** [July 27, 2007, 8:06pm UTC](https://www.ruby-forum.com/t/w-fixtures-erb-gives-end-unexpected-options/110572 "2007-07-27T20:06:32Z")

</div>

With my fixtures, I am getting: Fixture::FormatError: a YAML error occurred parsing /home/hgs/aeg\_intranet/csest ore/config/…/test/fixtures/loans.yml. Please note that YAML must be consistentl y indented using space…

---

## [File upload with REST POST?](https://www.ruby-forum.com/t/file-upload-with-rest-post/107546)

<div class="topic-metadata">

**Author:** [@chirag](https://www.ruby-forum.com/u/chirag)\
**Replies:** 4\
**Last updated:** [June 28, 2007, 5:44pm UTC](https://www.ruby-forum.com/t/file-upload-with-rest-post/107546 "2007-06-28T17:44:51Z")

</div>

Does anyone know how I exactly I would post a file from a non-web client? In my case, I want to upload different file formats (.csv, .txt, etc) from the client’s file system. How does this work exactly if I’m not usin…

---

## [Calling JS from controller and RJS](https://www.ruby-forum.com/t/calling-js-from-controller-and-rjs/82908)

<div class="topic-metadata">

**Author:** [@mravo](https://www.ruby-forum.com/u/mravo)\
**Replies:** 4\
**Last updated:** [January 22, 2007, 3:31pm UTC](https://www.ruby-forum.com/t/calling-js-from-controller-and-rjs/82908 "2007-01-22T15:31:25Z")

</div>

Hi, I have solved this issue by myself, but I think it’s a dirty way to go. Please if someone knows a better way to do it, please let me know. This is how I call JS from the controller controller.rb: def someAction …

---

## [The Typo trunk will soon be unstable](https://www.ruby-forum.com/t/the-typo-trunk-will-soon-be-unstable/65433)

<div class="topic-metadata">

**Author:** [@slembcke](https://www.ruby-forum.com/u/slembcke)\
**Replies:** 4\
**Last updated:** [August 19, 2006, 2:54am UTC](https://www.ruby-forum.com/t/the-typo-trunk-will-soon-be-unstable/65433 "2006-08-19T02:54:16Z")

</div>

This is just a heads-up–I’m going to commit a big block of 4.1 code soon-ish and then head out of town for a couple days, possibly without network access. I’d like to get the code into peoples’ hands, and it passes t…

---

## [Error while trying to install rmagick](https://www.ruby-forum.com/t/error-while-trying-to-install-rmagick/233334)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [December 6, 2014, 2:18am UTC](https://www.ruby-forum.com/t/error-while-trying-to-install-rmagick/233334 "2014-12-06T02:18:43Z")

</div>

I’m trying to install “rmagick”. When I did the following: gem install rmagick I got the following: ERROR: Could not find a valid gem ‘rmagick’ (\>= 0), here is why: Unable to download data from https://rubygems.o…

---

## [File upload error(can't convert Tempfile into String)](https://www.ruby-forum.com/t/file-upload-error-cant-convert-tempfile-into-string/185792)

<div class="topic-metadata">

**Author:** [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Replies:** 2\
**Last updated:** [March 27, 2010, 4:46am UTC](https://www.ruby-forum.com/t/file-upload-error-cant-convert-tempfile-into-string/185792 "2010-03-27T04:46:04Z")

</div>

i tried a method to implementa file uploader by using amethod below this is ma controlller method to upload def save\_imports Contactslist.save(params\[:list\]) render :text =\> “File uploaded successfully” th…

---

## [Engines.current small useful patch](https://www.ruby-forum.com/t/engines-current-small-useful-patch/82467)

<div class="topic-metadata">

**Author:** [@Samuel\_W](https://www.ruby-forum.com/u/Samuel_W)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 10:34pm UTC](https://www.ruby-forum.com/t/engines-current-small-useful-patch/82467 "2007-09-25T22:34:31Z")

</div>

Hello. I wrote some code that I use to simplify including images. This function needs to know about engines as it is used within engine views, and can access images within the engine public repository. I have made a …

---

## [Simple FileUtils question](https://www.ruby-forum.com/t/simple-fileutils-question/63310)

<div class="topic-metadata">

**Author:** [@Darkwax](https://www.ruby-forum.com/u/Darkwax)\
**Replies:** 2\
**Last updated:** [June 14, 2006, 7:55pm UTC](https://www.ruby-forum.com/t/simple-fileutils-question/63310 "2006-06-14T19:55:16Z")

</div>

Hi, I have a quick question. I am trying to create folders dinamically using FileUtils.mkdir, the problem is that if the folder already exist it gives me an error. Does anyone know if there are any options to mkdir th…

---

## [Open-uri error](https://www.ruby-forum.com/t/open-uri-error/95605)

<div class="topic-metadata">

**Author:** [@curi](https://www.ruby-forum.com/u/curi)\
**Replies:** 2\
**Last updated:** [June 8, 2006, 10:19am UTC](https://www.ruby-forum.com/t/open-uri-error/95605 "2006-06-08T10:19:23Z")

</div>

I am writing a script to download warcraft 3 replays for me. It got a few (which work) then had an error: URI::InvalidURIError: bad URI(is not URI?): http://ftp.replays.net/ w3g/060607/060606\_mYm\]Lucifer(UD)\_vs\_mTw-La…

---

## [Request Id for logging purposes](https://www.ruby-forum.com/t/request-id-for-logging-purposes/234084)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [February 4, 2015, 8:34pm UTC](https://www.ruby-forum.com/t/request-id-for-logging-purposes/234084 "2015-02-04T20:34:36Z")

</div>

hi, I want to be able to identify requests by a unique id. I’m able to do this in the location section: proxy\_set\_header X-Request-Id $pid-$msec-$remote\_addr-$request\_length; but I want instead to set it to a…

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

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