# Top

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

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

---

## [Glassfish gem log format](https://www.ruby-forum.com/t/glassfish-gem-log-format/179853)

<div class="topic-metadata">

**Author:** [@Jonas\_T](https://www.ruby-forum.com/u/Jonas_T)\
**Replies:** 5\
**Last updated:** [December 10, 2009, 6:36am UTC](https://www.ruby-forum.com/t/glassfish-gem-log-format/179853 "2009-12-10T06:36:49Z")

</div>

Hi Is it possible to change the log format in the glassfish gem? I find the multi-line format from java.util.logging.SimpleFormatter really hard to read, especially combined with the multi line output from Rails. Lo…

---

## [System ( ) call but suppressing =\>true](https://www.ruby-forum.com/t/system-call-but-suppressing-true/123601)

<div class="topic-metadata">

**Author:** [@jackster](https://www.ruby-forum.com/u/jackster)\
**Replies:** 5\
**Last updated:** [December 20, 2007, 4:43am UTC](https://www.ruby-forum.com/t/system-call-but-suppressing-true/123601 "2007-12-20T04:43:26Z")

</div>

I have a Perl script that takes a command line argument that I’m trying call from a Ruby (in Rails). The Perl script needs an IP address on the command line and runs as follows: /usr/bin/router.pl 172.21.1.1 The fol…

---

## [Ofdm\_chanest\_vcvc\_impl.cc](https://www.ruby-forum.com/t/ofdm-chanest-vcvc-impl-cc/233948)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [February 2, 2015, 3:03pm UTC](https://www.ruby-forum.com/t/ofdm-chanest-vcvc-impl-cc/233948 "2015-02-02T15:03:35Z")

</div>

Hi all: Thank you in advance.I have read the source code:ofdm\_chanest\_vcvc\_impl.cc.But i have a question. void ofdm\_chanest\_vcvc\_impl::get\_chan\_taps( const gr\_complex \*sync\_sym1, const gr\_complex \*sync\_sym2, int carr\_…

---

## [Backwards compatibility](https://www.ruby-forum.com/t/backwards-compatibility/174324)

<div class="topic-metadata">

**Author:** [@artrat](https://www.ruby-forum.com/u/artrat)\
**Replies:** 6\
**Last updated:** [August 25, 2009, 11:56pm UTC](https://www.ruby-forum.com/t/backwards-compatibility/174324 "2009-08-25T23:56:49Z")

</div>

does any one know how revert between rails versions without rewriting lots of code, i.e. backwards compatibility, isnt there a framework that handles the changes so your applications will work\>?

---

## [New to ruby on rails and programming stuck on page 23](https://www.ruby-forum.com/t/new-to-ruby-on-rails-and-programming-stuck-on-page-23/48154)

<div class="topic-metadata">

**Author:** [@tomfarm](https://www.ruby-forum.com/u/tomfarm)\
**Replies:** 6\
**Last updated:** [April 16, 2007, 6:01pm UTC](https://www.ruby-forum.com/t/new-to-ruby-on-rails-and-programming-stuck-on-page-23/48154 "2007-04-16T18:01:23Z")

</div>

hi all, I been spending days tring to resolse this error… I am following curt hobbs tutorial "rolling with ruby on rails. originally i installed MySQL with a pasword so i was running into problems trying to connect. …

---

## [How to compute square root?](https://www.ruby-forum.com/t/how-to-compute-square-root/187853)

<div class="topic-metadata">

**Author:** [@JAS\_DEO](https://www.ruby-forum.com/u/JAS_DEO)\
**Replies:** 2\
**Last updated:** [May 2, 2010, 12:51pm UTC](https://www.ruby-forum.com/t/how-to-compute-square-root/187853 "2010-05-02T12:51:04Z")

</div>

Hi, I am doing linc transmitter by using gnu radio.In which i want to separate OFDM signal in two constant envelope(software part) and then power amplify it seprately, finally combine two signal(hardware part).I hav…

---

## [fxRuby and NetBeans - error](https://www.ruby-forum.com/t/fxruby-and-netbeans-error/135942)

<div class="topic-metadata">

**Author:** [@inari](https://www.ruby-forum.com/u/inari)\
**Replies:** 2\
**Last updated:** [February 16, 2009, 2:06am UTC](https://www.ruby-forum.com/t/fxruby-and-netbeans-error/135942 "2009-02-16T02:06:15Z")

</div>

Initial caveat: I come from a M$ VS world so … yes I’m lazy. :stuck\_out\_tongue: Ok I definately think Ruby’s got a lot of potential so I’m trying to play with it. I bassically need two things in order to make my life …

---

## [WP7 limitations](https://www.ruby-forum.com/t/wp7-limitations/214752)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 4, 2012, 5:20am UTC](https://www.ruby-forum.com/t/wp7-limitations/214752 "2012-01-04T05:20:15Z")

</div>

Hi, In the article from 2010, Tomáš was describing the limitations on WP7: “The most significant are calls to methods with out or ref parameters. You also won’t be able to inherit a Ruby class from a CLR class or im…

---

## [Mongrel Cluster fails to start](https://www.ruby-forum.com/t/mongrel-cluster-fails-to-start/194005)

<div class="topic-metadata">

**Author:** [@gnaroji](https://www.ruby-forum.com/u/gnaroji)\
**Replies:** 3\
**Last updated:** [September 3, 2010, 2:56am UTC](https://www.ruby-forum.com/t/mongrel-cluster-fails-to-start/194005 "2010-09-03T02:56:13Z")

</div>

Mongrel Cluster fails to start Hello, I have an issue with Mongrel cluster start-up, when I start the cluster I am getting the following error: /usr/local/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31:in ‘gem…

---

## [Automate a button click](https://www.ruby-forum.com/t/automate-a-button-click/166322)

<div class="topic-metadata">

**Author:** [@liberte](https://www.ruby-forum.com/u/liberte)\
**Replies:** 3\
**Last updated:** [April 24, 2009, 11:26am UTC](https://www.ruby-forum.com/t/automate-a-button-click/166322 "2009-04-24T11:26:45Z")

</div>

Anyone know what’s the matter with this code to automate a button click? def make\_event\_button(window, x, y, button, type) case type when :press event\_button = Gdk::EventButton.new(Gdk::Event::BUTTON\_PRESS) when :re…

---

## ["deprecate" a column](https://www.ruby-forum.com/t/deprecate-a-column/114378)

<div class="topic-metadata">

**Author:** [@chillexistence](https://www.ruby-forum.com/u/chillexistence)\
**Replies:** 3\
**Last updated:** [September 12, 2007, 1:22am UTC](https://www.ruby-forum.com/t/deprecate-a-column/114378 "2007-09-12T01:22:49Z")

</div>

Does anyone know of a plugin to “deprecate” a column so active record won’t try and save the column back to the DB? This would allow the old column to eventually be dropped without having to take down your site or st…

---

## [Validate your forms with a table-less model](https://www.ruby-forum.com/t/validate-your-forms-with-a-table-less-model/65173)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 3\
**Last updated:** [November 23, 2006, 12:27pm UTC](https://www.ruby-forum.com/t/validate-your-forms-with-a-table-less-model/65173 "2006-11-23T12:27:36Z")

</div>

Ive followed this example of how to validate a form with a tableless model: http://rails.techno-weenie.net/tip/2005/11/19/validate\_your\_forms\_with\_a\_table\_less\_model Ive got this example working but when validation fa…

---

## [Rails on Pair networks](https://www.ruby-forum.com/t/rails-on-pair-networks/58409)

<div class="topic-metadata">

**Author:** [@Ian\_Beveridge](https://www.ruby-forum.com/u/Ian_Beveridge)\
**Replies:** 3\
**Last updated:** [July 14, 2006, 12:22pm UTC](https://www.ruby-forum.com/t/rails-on-pair-networks/58409 "2006-07-14T12:22:31Z")

</div>

I’ve been looking to play about with Ruby on Rails for a while just to see what the fuss is about and now that I have, it looks very impressive. Unfortunately I can’t seem to get it to run on my shared web server whic…

---

## [Gem install fails due to invalid option](https://www.ruby-forum.com/t/gem-install-fails-due-to-invalid-option/236737)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [September 29, 2013, 10:23am UTC](https://www.ruby-forum.com/t/gem-install-fails-due-to-invalid-option/236737 "2013-09-29T10:23:11Z")

</div>

Hi y’ll, On attempting to install rails on a windows7 system it fails with: H:\>gem install rails Building native extensions. This could take a while… ERROR: Error installing rails: ERROR: Failed to build gem nativ…

---

## [Disable Escaping](https://www.ruby-forum.com/t/disable-escaping/181121)

<div class="topic-metadata">

**Author:** [@basic](https://www.ruby-forum.com/u/basic)\
**Replies:** 1\
**Last updated:** [January 27, 2010, 1:02pm UTC](https://www.ruby-forum.com/t/disable-escaping/181121 "2010-01-27T13:02:14Z")

</div>

Is it possible to disable the HTML escaping? I’m not sure where its happening. I’m trying to use add a custom textile syntax(ruby) … in which the syntax method uses a parser (UV) to convert the code into a coloured sy…

---

## [Output UTF-16LE BOM to file - 1.9](https://www.ruby-forum.com/t/output-utf-16le-bom-to-file-1-9/165182)

<div class="topic-metadata">

**Author:** [@chrismalek](https://www.ruby-forum.com/u/chrismalek)\
**Replies:** 1\
**Last updated:** [April 12, 2009, 6:39pm UTC](https://www.ruby-forum.com/t/output-utf-16le-bom-to-file-1-9/165182 "2009-04-12T18:39:04Z")

</div>

ruby 1.9.1p0 (2009-01-30 revision 21907) \[i386-mswin32\] With this code: File.open(‘zz.txt’, ‘w:UTF-16LE’) do |f| f.print “Hello Uni-world” end …I get no BOM guts = File.read(‘zz.txt’) puts guts.bytes.to\_a.inspect …

---

## [Help to refactor my code](https://www.ruby-forum.com/t/help-to-refactor-my-code/239042)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 8\
**Last updated:** [February 9, 2014, 2:31pm UTC](https://www.ruby-forum.com/t/help-to-refactor-my-code/239042 "2014-02-09T14:31:09Z")

</div>

I want to delete the first 3 duplicate entries - I wrote a code : def del\_first\_three(a) num\_to\_del = a.find { |e| a.count(e) \>= 3 } return a if num\_to\_del.nil? 3.times do ind = a.index { |e| e == num\_to\_del } a.d…

---

## [Empty JRuby runtime from JRuby](https://www.ruby-forum.com/t/empty-jruby-runtime-from-jruby/218431)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [March 31, 2012, 10:15pm UTC](https://www.ruby-forum.com/t/empty-jruby-runtime-from-jruby/218431 "2012-03-31T22:15:34Z")

</div>

Hello, is it possible to create empty JRuby environment from JRuby program? I have experimented with several variants of starting scripting container, e.g. but contants (classes) are surviving among calls …

---

## [Broadcast FM is crap!](https://www.ruby-forum.com/t/broadcast-fm-is-crap/217011)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [February 20, 2012, 6:59pm UTC](https://www.ruby-forum.com/t/broadcast-fm-is-crap/217011 "2012-02-20T18:59:57Z")

</div>

Spent some time yesterday evening building up a stereo FM receiver in GRC. I know there are already a few of these for broadcast FM, but for personal education reasons, I thought I’d build something up. Attached is m…

---

## [How to remove empty space in a string and others](https://www.ruby-forum.com/t/how-to-remove-empty-space-in-a-string-and-others/71503)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 4\
**Last updated:** [October 9, 2006, 6:48pm UTC](https://www.ruby-forum.com/t/how-to-remove-empty-space-in-a-string-and-others/71503 "2006-10-09T18:48:11Z")

</div>

Hi all, I read lines from a file and put them into one string. There are many empty sapces within the string. Which method is used to remove the spaces? I try gsub!("\\s",’’) but it doesn’t work. Any help will be ap…

---

## [STDIN.gets() with default value?](https://www.ruby-forum.com/t/stdin-gets-with-default-value/236699)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [September 27, 2013, 2:55am UTC](https://www.ruby-forum.com/t/stdin-gets-with-default-value/236699 "2013-09-27T02:55:49Z")

</div>

Hello ruby-forum community, is there a way to give STDIN.gets() a default value? The user should see a value by gets() and can edit this or just press enter

---

## [Couldn't find \<Class\> without an ID](https://www.ruby-forum.com/t/couldnt-find-class-without-an-id/85653)

<div class="topic-metadata">

**Author:** [@randall](https://www.ruby-forum.com/u/randall)\
**Replies:** 2\
**Last updated:** [February 15, 2007, 4:55pm UTC](https://www.ruby-forum.com/t/couldnt-find-class-without-an-id/85653 "2007-02-15T16:55:31Z")

</div>

I’m just starting to use forms and I’m stuck. I’m working with two models: class Department \< ActiveRecord::Base has\_many :employees end class Employee \< ActiveRecord::Base belongs\_to :department end I can cre…

---

## [Maxtrix inverse](https://www.ruby-forum.com/t/maxtrix-inverse/239848)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [March 20, 2014, 5:26pm UTC](https://www.ruby-forum.com/t/maxtrix-inverse/239848 "2014-03-20T17:26:18Z")

</div>

hi, when i deal data in my block,i want to scramble the positions symbol in a frame,and at receiver-end descramble these symbols,get correct the order,for this purpose,i need to compute the inverse of 64\*64 matrix…

---

## [Transfer-encoding chunked hex markers appearing in output?](https://www.ruby-forum.com/t/transfer-encoding-chunked-hex-markers-appearing-in-output/217558)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [March 5, 2012, 7:38am UTC](https://www.ruby-forum.com/t/transfer-encoding-chunked-hex-markers-appearing-in-output/217558 "2012-03-05T07:38:53Z")

</div>

I’ve written a very simple script which acts as a specific proxy for XML feeds, reading from a source URL and passing the content straight through. It’s trivial and it’s working fine when run as a standalone HTTP serv…

---

## [GridCellNumberEditor peculiarities](https://www.ruby-forum.com/t/gridcellnumbereditor-peculiarities/183919)

<div class="topic-metadata">

**Author:** [@tony44](https://www.ruby-forum.com/u/tony44)\
**Replies:** 5\
**Last updated:** [March 8, 2010, 3:16pm UTC](https://www.ruby-forum.com/t/gridcellnumbereditor-peculiarities/183919 "2010-03-08T15:16:06Z")

</div>

Hi, I’m using wxruby 2.0.1 w/ Ruby 1.8.7 on OS X 10.6.2. So far I have successfully implemented a grid with bool, choice and text edit controls. To combine the edit code with my app, I have subclassed the editor cont…

---

## [How to create subpages](https://www.ruby-forum.com/t/how-to-create-subpages/222268)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [August 20, 2012, 9:58pm UTC](https://www.ruby-forum.com/t/how-to-create-subpages/222268 "2012-08-20T21:58:45Z")

</div>

What I am trying to do is create subpages within the main page. So if the top navigation is Home www.example.com/ About www.example.com/about Contact www.example.com/contact Support www.example.com/suppo…

---

## [Como implementar un sistema de votacion multi-modelo?](https://www.ruby-forum.com/t/como-implementar-un-sistema-de-votacion-multi-modelo/122837)

<div class="topic-metadata">

**Author:** [@Jaime\_I](https://www.ruby-forum.com/u/Jaime_I)\
**Replies:** 7\
**Last updated:** [December 12, 2007, 8:29pm UTC](https://www.ruby-forum.com/t/como-implementar-un-sistema-de-votacion-multi-modelo/122837 "2007-12-12T20:29:51Z")

</div>

Estoy dándole vueltas a cómo hacer un sistema de votación (estilo digg o meneame), para una comunidad de usuarios, donde los usuarios escriben su blog y suben sus fotos, y todo es votable. O sea, a diferencia de menea…

---

## [Having an Action Mailer that doesn't mail](https://www.ruby-forum.com/t/having-an-action-mailer-that-doesnt-mail/211203)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [August 29, 2011, 3:16pm UTC](https://www.ruby-forum.com/t/having-an-action-mailer-that-doesnt-mail/211203 "2011-08-29T15:16:59Z")

</div>

…is like to have a cutter that doesn’t cut! :slight\_smile: Hello, I’m working on Action Mailer, with a simple email confirmation when a user signs up. So, basically when I try to register myself on my local server, th…

---

## [I need a new type of polymorphic has\_many association with dynamic foreign\_key](https://www.ruby-forum.com/t/i-need-a-new-type-of-polymorphic-has-many-association-with-dynamic-foreign-key/186524)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 6\
**Last updated:** [April 10, 2010, 6:47am UTC](https://www.ruby-forum.com/t/i-need-a-new-type-of-polymorphic-has-many-association-with-dynamic-foreign-key/186524 "2010-04-10T06:47:18Z")

</div>

A vanilla polymorphic belongs\_to association allows different association instances to have targets in different classes. I want to do a has\_many association where different association instances have different forei…

---

## [Lighttpd and fastcgi problems](https://www.ruby-forum.com/t/lighttpd-and-fastcgi-problems/75808)

<div class="topic-metadata">

**Author:** [@dabeeeenster](https://www.ruby-forum.com/u/dabeeeenster)\
**Replies:** 6\
**Last updated:** [March 7, 2006, 8:34pm UTC](https://www.ruby-forum.com/t/lighttpd-and-fastcgi-problems/75808 "2006-03-07T20:34:08Z")

</div>

Hi, I’m having difficulty getting ruby running via Lighttpd and fastcgi. My lighttpd.conf reads: server.port = 81 server.pid-file = “/tmp/test\_lighttpd.pid” server.modules = ( “mod\_redirect”, “mod\_access”, “mod\_fast…

---

## [\[solved\] Display Image from URL with Tk](https://www.ruby-forum.com/t/solved-display-image-from-url-with-tk/243681)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [December 20, 2015, 10:12am UTC](https://www.ruby-forum.com/t/solved-display-image-from-url-with-tk/243681 "2015-12-20T10:12:48Z")

</div>

I’m new to Ruby, and experiment around a bit. I want to grab the image of a webcam, and show it with Tk in a window: #!/usr/bin/ruby require ‘tk’ image = TkPhotoImage.new(:file =\> “http://www.exampleurlhere.jpg”) la…

---

## [Problem with non-ascii characters in forms: "incompatible character encodings: UTF-8 and ASCII-8BIT](https://www.ruby-forum.com/t/problem-with-non-ascii-characters-in-forms-incompatible-character-encodings-utf-8-and-ascii-8bit/192519)

<div class="topic-metadata">

**Author:** [@Rolf\_P](https://www.ruby-forum.com/u/Rolf_P)\
**Replies:** 3\
**Last updated:** [August 2, 2010, 9:47pm UTC](https://www.ruby-forum.com/t/problem-with-non-ascii-characters-in-forms-incompatible-character-encodings-utf-8-and-ascii-8bit/192519 "2010-08-02T21:47:57Z")

</div>

Hi First off, I’m using Ruby 1.9.1p378 and Rails 2.3.8. I was creating a minimal application to test handling of Norwegian special characters when I bumped into this strange problem… I have a simple Car model with f…

---

## [European Date Format (newbie!)](https://www.ruby-forum.com/t/european-date-format-newbie/151494)

<div class="topic-metadata">

**Author:** [@Nicktabs](https://www.ruby-forum.com/u/Nicktabs)\
**Replies:** 3\
**Last updated:** [October 22, 2008, 9:26pm UTC](https://www.ruby-forum.com/t/european-date-format-newbie/151494 "2008-10-22T21:26:24Z")

</div>

Rails 2.0 Hi there, There are a few topics on here that relate to my problem but none are helping as i’m new to this and there are lots of confusing posts on google. I need to chage the way dates are input and displ…

---

## [Gem install specific version](https://www.ruby-forum.com/t/gem-install-specific-version/103669)

<div class="topic-metadata">

**Author:** [@barjunk](https://www.ruby-forum.com/u/barjunk)\
**Replies:** 3\
**Last updated:** [May 11, 2007, 3:06am UTC](https://www.ruby-forum.com/t/gem-install-specific-version/103669 "2007-05-11T03:06:55Z")

</div>

I know that I can do: gem install --version ‘\> 0.3.2’ packagename but what if there is a “mswin” and a “ruby” version? Any way to get it to pick the right one? Mike B.

---

## [A build of nginx with static-linked OpenSSL fails on Mac](https://www.ruby-forum.com/t/a-build-of-nginx-with-static-linked-openssl-fails-on-mac/233759)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [January 12, 2015, 8:50pm UTC](https://www.ruby-forum.com/t/a-build-of-nginx-with-static-linked-openssl-fails-on-mac/233759 "2015-01-12T20:50:30Z")

</div>

Hello. A build of nginx with static-linked OpenSSL seems to fail on Mac. $ uname -ar Darwin host 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE\_X86\_64 x86\_64 $ cd ngi…

---

## [Controller-specific stylesheets and stylesheet\_link\_tag and](https://www.ruby-forum.com/t/controller-specific-stylesheets-and-stylesheet-link-tag-and/230645)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 2\
**Last updated:** [June 27, 2014, 4:54pm UTC](https://www.ruby-forum.com/t/controller-specific-stylesheets-and-stylesheet-link-tag-and/230645 "2014-06-27T16:54:20Z")

</div>

Hello, I would like to use controller-specific stylesheets instead of the usual application.css. So, if a page were rendered by controller Foo it would include only the stylesheet whose source is app/assets/styleshee…

---

## [Google Analytics with nginx reverse proxy](https://www.ruby-forum.com/t/google-analytics-with-nginx-reverse-proxy/238027)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [December 12, 2013, 6:23pm UTC](https://www.ruby-forum.com/t/google-analytics-with-nginx-reverse-proxy/238027 "2013-12-12T18:23:41Z")

</div>

I am using NGINX as reverse proxy and forward the traffic to Apache server where Google Analytics is configured. I have configured proxy\_set\_header and from Apache server I can view users IP address. But in Googel An…

---

## [Loaderror- "No such file to load"?](https://www.ruby-forum.com/t/loaderror-no-such-file-to-load/214038)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [November 22, 2011, 8:41pm UTC](https://www.ruby-forum.com/t/loaderror-no-such-file-to-load/214038 "2011-11-22T20:41:49Z")

</div>

Hello, sorry I’m new to ruby. I have got ruby and some gems on my mac installed. Then I run this: sh-3.2# ruby myrubyserver.rb And get this: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/ru…

---

## [How vector sink/source work?](https://www.ruby-forum.com/t/how-vector-sink-source-work/140672)

<div class="topic-metadata">

**Author:** [@mehdimolu](https://www.ruby-forum.com/u/mehdimolu)\
**Replies:** 2\
**Last updated:** [June 17, 2008, 5:48pm UTC](https://www.ruby-forum.com/t/how-vector-sink-source-work/140672 "2008-06-17T17:48:17Z")

</div>

hi, I have data below src\_data = (0,1,1,0,1,0,1,0,1,1,10) and I put them in a vector by using src = gr.vector\_source\_b (src\_data,False) . I want to put this vector in vector sink and read data in sink, I use comman…

---

## [Is there any chance of getting the oniguruma patch into ruby 1.8.6 for windows](https://www.ruby-forum.com/t/is-there-any-chance-of-getting-the-oniguruma-patch-into-ruby-1-8-6-for-windows/201450)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [January 10, 2011, 10:04am UTC](https://www.ruby-forum.com/t/is-there-any-chance-of-getting-the-oniguruma-patch-into-ruby-1-8-6-for-windows/201450 "2011-01-10T10:04:07Z")

</div>

Hi Is there any chance getting the Oniguruma Patch 2.5.9 into Ruby-1.8.6 for Windows? I believe there are a lot of Applications out there that still use Ruby 1.8.6 and they want to use Regular Expressions as well wit…

---

## [Invoke member and dynamic binding isn't the same?](https://www.ruby-forum.com/t/invoke-member-and-dynamic-binding-isnt-the-same/179459)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 4\
**Last updated:** [November 30, 2009, 8:21pm UTC](https://www.ruby-forum.com/t/invoke-member-and-dynamic-binding-isnt-the-same/179459 "2009-11-30T20:21:08Z")

</div>

Hi I have some ruby code, which through a process of instance\_eval and other meta programming tricks builds an object with a method assign defined on it. I have this code in C# var scope = Engine.CreateScope(); sc…

---

## [How to install, and use "tidy" gem](https://www.ruby-forum.com/t/how-to-install-and-use-tidy-gem/159167)

<div class="topic-metadata">

**Author:** [@dcian](https://www.ruby-forum.com/u/dcian)\
**Replies:** 4\
**Last updated:** [February 2, 2009, 1:44pm UTC](https://www.ruby-forum.com/t/how-to-install-and-use-tidy-gem/159167 "2009-02-02T13:44:20Z")

</div>

Hi, Ruby newbie here. I’m trying to install the gem tidy so that it can be used as a filter by webby. I thought it was “gem install tidy” - but this tells me it is installed. - version 1.1.2! There is a comment on…

---

## [Fwd: Write a source block in python](https://www.ruby-forum.com/t/fwd-write-a-source-block-in-python/233928)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [March 25, 2015, 1:04am UTC](https://www.ruby-forum.com/t/fwd-write-a-source-block-in-python/233928 "2015-03-25T01:04:20Z")

</div>

Hi I wrote a simple source block that reads a string (as a parameter) and outputs the corresponding array of bytes. Here is the code: class myblock(gr.sync\_block): def \_\_init\_\_(self, helloMsg): gr.sync\_block.\_\_i…

---

## [Cannot store correct Time in timezone](https://www.ruby-forum.com/t/cannot-store-correct-time-in-timezone/224928)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [December 3, 2012, 9:22pm UTC](https://www.ruby-forum.com/t/cannot-store-correct-time-in-timezone/224928 "2012-12-03T21:22:48Z")

</div>

I am storing a Time record w a timezone like : an event at 9:30 in Paris time (rdb:1) Time.zone = “Europe/Paris” “Europe/Paris” (rdb:1) Time.new(2012, 12, 3, 9, 30, 0).in\_time\_zone(“Europe/Paris”) Mon, 03 Dec…

---

## [How to instanciate a System::String\[\] from IronRuby?](https://www.ruby-forum.com/t/how-to-instanciate-a-system-string-from-ironruby/164564)

<div class="topic-metadata">

**Author:** [@thbar](https://www.ruby-forum.com/u/thbar)\
**Replies:** 5\
**Last updated:** [April 3, 2009, 1:43am UTC](https://www.ruby-forum.com/t/how-to-instanciate-a-system-string-from-ironruby/164564 "2009-04-03T01:43:21Z")

</div>

Hi, while trying to call some C# code from IronRuby, I get this: my\_csharp\_class\_instance.call(%w(some array)) :0: can’t convert Array into System::String\[\] (TypeError) Is there some easy way to construct an array of…

---

## [Question about split method](https://www.ruby-forum.com/t/question-about-split-method/130094)

<div class="topic-metadata">

**Author:** [@glenn](https://www.ruby-forum.com/u/glenn)\
**Replies:** 5\
**Last updated:** [March 16, 2009, 4:17pm UTC](https://www.ruby-forum.com/t/question-about-split-method/130094 "2009-03-16T16:17:00Z")

</div>

Hello, I’m wondering if there is a method for the String class that splits a string on some characters and keeps the split characters in the elements of the resulting array? The split method returns an array in this …

---

## [Cleaner way to build a "one or the other" validation?](https://www.ruby-forum.com/t/cleaner-way-to-build-a-one-or-the-other-validation/151495)

<div class="topic-metadata">

**Author:** [@mrkohrea](https://www.ruby-forum.com/u/mrkohrea)\
**Replies:** 5\
**Last updated:** [October 22, 2008, 11:43pm UTC](https://www.ruby-forum.com/t/cleaner-way-to-build-a-one-or-the-other-validation/151495 "2008-10-22T23:43:30Z")

</div>

I have an object called dealer. Dealer has two fields dealer\_number and sub\_dealer\_number. It must have 1 OR the other… but not both. To validate this I have: class Dealer \< ActiveRecord::Base validate :dealer\_id? …

---

## [Best practice for sharing code between rails apps](https://www.ruby-forum.com/t/best-practice-for-sharing-code-between-rails-apps/100276)

<div class="topic-metadata">

**Author:** [@Tim\_U](https://www.ruby-forum.com/u/Tim_U)\
**Replies:** 5\
**Last updated:** [July 29, 2006, 4:00am UTC](https://www.ruby-forum.com/t/best-practice-for-sharing-code-between-rails-apps/100276 "2006-07-29T04:00:59Z")

</div>

Is there a writeup about how to structrure your rails applications so that you can share models, gems, libraries, helpers, and controllers between them. It would be especially helpful if the discussion involved how to…

---

## [Nginx Upload Progress Module stops functioning once behind reverse-proxy](https://www.ruby-forum.com/t/nginx-upload-progress-module-stops-functioning-once-behind-reverse-proxy/234216)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [February 18, 2015, 10:14pm UTC](https://www.ruby-forum.com/t/nginx-upload-progress-module-stops-functioning-once-behind-reverse-proxy/234216 "2015-02-18T22:14:31Z")

</div>

Hello, I’ve recently compiled nginx-1.7.10 with a third-party upload-progress tracking module, which is described at NGINX Upload Progress Module | NGINX . This module works perfectly well, until I attempt to put the…

---

## [Nokogiri xpath method](https://www.ruby-forum.com/t/nokogiri-xpath-method/229349)

<div class="topic-metadata">

**Author:** [@mudgilgaurav](https://www.ruby-forum.com/u/mudgilgaurav)\
**Replies:** 3\
**Last updated:** [February 3, 2013, 9:14am UTC](https://www.ruby-forum.com/t/nokogiri-xpath-method/229349 "2013-02-03T09:14:29Z")

</div>

Hi I am having a problem in nokogiri::HTML::Document.xpath method for the site http://services.ptcmysore.gov.in/RNetTracking/Track.aspx?RNetNo=RK633253644IN Code doc= agent.get(“http://services.ptcmysore.gov.in/RNet…

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

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