# Top

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

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

---

## [String scan question](https://www.ruby-forum.com/t/string-scan-question/91319)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 8\
**Last updated:** [April 6, 2007, 8:35pm UTC](https://www.ruby-forum.com/t/string-scan-question/91319 "2007-04-06T20:35:10Z")

</div>

this is probably elementary but I just havent found the right/ reliable way to do this (that works always) if a string has content in tags such as content goes here \</ TagName\> whats the best way to put the content…

---

## [Upgrade RUby on Mac OS X](https://www.ruby-forum.com/t/upgrade-ruby-on-mac-os-x/69086)

<div class="topic-metadata">

**Author:** [@laurent](https://www.ruby-forum.com/u/laurent)\
**Replies:** 8\
**Last updated:** [September 19, 2006, 4:09pm UTC](https://www.ruby-forum.com/t/upgrade-ruby-on-mac-os-x/69086 "2006-09-19T16:09:03Z")

</div>

I actually have Ruby vers. 1.8.2 on Mac OS X (Intel based) 10.4.9 I’d like to upgrade the Ruby Stack to be able to install Mongrel, which requires Ruby 1.8.4 (mini.) Has somebody already done this upgrade? Thx Laure…

---

## [OT: Good virtual server host with debian?](https://www.ruby-forum.com/t/ot-good-virtual-server-host-with-debian/63036)

<div class="topic-metadata">

**Author:** [@bdeverea](https://www.ruby-forum.com/u/bdeverea)\
**Replies:** 8\
**Last updated:** [June 12, 2006, 9:28pm UTC](https://www.ruby-forum.com/t/ot-good-virtual-server-host-with-debian/63036 "2006-06-12T21:28:54Z")

</div>

Hey all, I’m casually shopping around for a host that will give me a virtual server running Debian. It would host some of my rails projects and probably some svn. Does anyone know of a good host? Anecdotes about sati…

---

## [Problem with running foxruby on windows 2000](https://www.ruby-forum.com/t/problem-with-running-foxruby-on-windows-2000/52032)

<div class="topic-metadata">

**Author:** [@mohsena](https://www.ruby-forum.com/u/mohsena)\
**Replies:** 8\
**Last updated:** [January 10, 2006, 4:29pm UTC](https://www.ruby-forum.com/t/problem-with-running-foxruby-on-windows-2000/52032 "2006-01-10T16:29:00Z")

</div>

Hello How are you ,I installed ruby 1.8.2 with fxruby 1.2.6 for windows ,I use windows 2000 ,I want to do the foxruby tutorials and I need to run foxruby ,but I donâ??t know realy how to do it in windows 2000 ,I do…

---

## [Frappr! map for ruby-lang](https://www.ruby-forum.com/t/frappr-map-for-ruby-lang/48911)

<div class="topic-metadata">

**Author:** [@daniel](https://www.ruby-forum.com/u/daniel)\
**Replies:** 8\
**Last updated:** [November 28, 2005, 5:51pm UTC](https://www.ruby-forum.com/t/frappr-map-for-ruby-lang/48911 "2005-11-28T17:51:13Z")

</div>

Hi, I created a ruby-lang frappr! map: Hopefully this can help with locating ruby neighbors as well as organizing groups/conferences/jobs. Contact me about any admin questions. Thanks, DCC

---

## [How to implement the html theme purchased from themeforest](https://www.ruby-forum.com/t/how-to-implement-the-html-theme-purchased-from-themeforest/244396)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [April 3, 2016, 8:33am UTC](https://www.ruby-forum.com/t/how-to-implement-the-html-theme-purchased-from-themeforest/244396 "2016-04-03T08:33:19Z")

</div>

I have one html theme template from themeforest and it has it own css and js. I search in google but failed to find any good tutorials to implement the theme. Can you help me out how can I use that html theme I my sit…

---

## [\`require': no such file to load -- activerecord](https://www.ruby-forum.com/t/require-no-such-file-to-load-activerecord/200381)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [December 12, 2010, 7:04am UTC](https://www.ruby-forum.com/t/require-no-such-file-to-load-activerecord/200381 "2010-12-12T07:04:06Z")

</div>

I’m trying to upgrade my Rails 2.3.5 app to Rails 3, and when I try and start the rails server with ‘rails s’ I get this: /Library/Ruby/Gems/1.8/gems/activesupport-3.0.3/lib/active\_support/ dependencies.rb:239:in \`req…

---

## [Qameha recherche un stagiaire](https://www.ruby-forum.com/t/qameha-recherche-un-stagiaire/170123)

<div class="topic-metadata">

**Author:** [@Alexis\_P](https://www.ruby-forum.com/u/Alexis_P)\
**Replies:** 3\
**Last updated:** [June 13, 2009, 12:16am UTC](https://www.ruby-forum.com/t/qameha-recherche-un-stagiaire/170123 "2009-06-13T00:16:47Z")

</div>

Bonjour Notre start up (www.qameha.com) a besoin de mettre un coup de collier avant mise sur le marché d’une application SaaS B2B. Nous recherchons un(e) stagiaire autonome sur RoR pour épauler l’associé \[@alexip\] en…

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/164520)

<div class="topic-metadata">

**Author:** [@r2d2](https://www.ruby-forum.com/u/r2d2)\
**Replies:** 3\
**Last updated:** [April 2, 2009, 10:40pm UTC](https://www.ruby-forum.com/t/no-subject/164520 "2009-04-02T22:40:44Z")

</div>

Si no es mucha molestia Fernando, podrias decirme donde conseguir el curso de ruby on rails que estaba en el sitio de Vicent G.? estuve indagando en el blog de Vicent ?http://www.vicentgozalbes.com/ parece que ya no e…

---

## [Big pb installation de gems](https://www.ruby-forum.com/t/big-pb-installation-de-gems/156245)

<div class="topic-metadata">

**Author:** [@bbnnt](https://www.ruby-forum.com/u/bbnnt)\
**Replies:** 3\
**Last updated:** [December 23, 2008, 2:32pm UTC](https://www.ruby-forum.com/t/big-pb-installation-de-gems/156245 "2008-12-23T14:32:52Z")

</div>

bonjour, Serveur ubuntu herdy heron installÃ©, tout marche nickel; capistrano, subvesion, bref, super utile. Cependant, les rubygems semblent trÃ¨s fortement poser problÃ¨mes depuis quelques temps; plus principaleme…

---

## [Re: Retardo en la carga de paginas](https://www.ruby-forum.com/t/re-retardo-en-la-carga-de-paginas/154369)

<div class="topic-metadata">

**Author:** [@fmk](https://www.ruby-forum.com/u/fmk)\
**Replies:** 3\
**Last updated:** [November 28, 2008, 12:11pm UTC](https://www.ruby-forum.com/t/re-retardo-en-la-carga-de-paginas/154369 "2008-11-28T12:11:30Z")

</div>

Lo tengo montado con ngnix y un cluster de mongrels sobre un linux(ubuntu server) y lo tenenmos alojado en la empresa en la que trabajo, ah , y con Rails 2. Siento si no fui mÃ¡s conciso en la primera pregunta, pero e…

---

## [JRuby 1.1.5 + BSF: local variables no longer persist between calls to eval()](https://www.ruby-forum.com/t/jruby-1-1-5-bsf-local-variables-no-longer-persist-between-calls-to-eval/152573)

<div class="topic-metadata">

**Author:** [@adammontgomery](https://www.ruby-forum.com/u/adammontgomery)\
**Replies:** 3\
**Last updated:** [November 9, 2008, 1:18am UTC](https://www.ruby-forum.com/t/jruby-1-1-5-bsf-local-variables-no-longer-persist-between-calls-to-eval/152573 "2008-11-09T01:18:20Z")

</div>

I am embedding JRuby in an environment where I allow for interactive evaluation of scripts. It’s similar to irb, but implemented in Java so I am making repeated eval() calls to Ruby from the Java side. Up until now I …

---

## [Multi\_site restrict access to radiant](https://www.ruby-forum.com/t/multi-site-restrict-access-to-radiant/144987)

<div class="topic-metadata">

**Author:** [@marc\_a](https://www.ruby-forum.com/u/marc_a)\
**Replies:** 3\
**Last updated:** [August 6, 2008, 10:47am UTC](https://www.ruby-forum.com/t/multi-site-restrict-access-to-radiant/144987 "2008-08-06T10:47:15Z")

</div>

Hello everybody! I’ve recently discover the multi\_site extension which appears to be really interesting. But there is some things that I still don’t know if it is possible and how to do them. 1-Imagine I have a radi…

---

## [Not all mongrel starting (Errno:EEXIST)](https://www.ruby-forum.com/t/not-all-mongrel-starting-errno-eexist/127630)

<div class="topic-metadata">

**Author:** [@John\_Woodward](https://www.ruby-forum.com/u/John_Woodward)\
**Replies:** 3\
**Last updated:** [January 31, 2008, 4:27pm UTC](https://www.ruby-forum.com/t/not-all-mongrel-starting-errno-eexist/127630 "2008-01-31T16:27:27Z")

</div>

I’m playing with the mongrel clustering, and am having a problem getting 2 mongrels to start up reliably. This should be a pretty simple cluster, with just 2 instances running. My mongrel config (mongrel\_cluster.yml…

---

## [Wrong number of arguments (2 for 1) attributes\_with\_quotes](https://www.ruby-forum.com/t/wrong-number-of-arguments-2-for-1-attributes-with-quotes/118117)

<div class="topic-metadata">

**Author:** [@chas](https://www.ruby-forum.com/u/chas)\
**Replies:** 3\
**Last updated:** [December 23, 2007, 6:45pm UTC](https://www.ruby-forum.com/t/wrong-number-of-arguments-2-for-1-attributes-with-quotes/118117 "2007-12-23T18:45:01Z")

</div>

I get this error whenever I use update\_attributes. I am using rails v.8008. I’ve uninstalled the rails gem, so I am definitely using the rails in vendor/rails (v. 8008). There was a change made to attributes\_with\_quot…

---

## [Preserve mtime when using FTP?](https://www.ruby-forum.com/t/preserve-mtime-when-using-ftp/75977)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 3\
**Last updated:** [November 15, 2006, 10:31am UTC](https://www.ruby-forum.com/t/preserve-mtime-when-using-ftp/75977 "2006-11-15T10:31:24Z")

</div>

I am using Net::FTP to copy files, but the file stats are not preserved. In particular, I would like to preserve mtime (time of last modification). There is an FTP mtime method that can get the mtime of the remote fi…

---

## [Public\_key in X509 format?](https://www.ruby-forum.com/t/public-key-in-x509-format/68258)

<div class="topic-metadata">

**Author:** [@phudson1442](https://www.ruby-forum.com/u/phudson1442)\
**Replies:** 3\
**Last updated:** [September 11, 2006, 9:37am UTC](https://www.ruby-forum.com/t/public-key-in-x509-format/68258 "2006-09-11T09:37:31Z")

</div>

Hi All, Is there any way to get an RSA public key in X509 format? By default RSA pub keys are dumped out in PKCS#1 format but I really need X509. I know that the C call that’s being used to create the public key is …

---

## [Noob question about layout in FXRuby](https://www.ruby-forum.com/t/noob-question-about-layout-in-fxruby/55629)

<div class="topic-metadata">

**Author:** [@Arie\_van\_Wingerden](https://www.ruby-forum.com/u/Arie_van_Wingerden)\
**Replies:** 3\
**Last updated:** [March 23, 2006, 12:59pm UTC](https://www.ruby-forum.com/t/noob-question-about-layout-in-fxruby/55629 "2006-03-23T12:59:00Z")

</div>

Hi all, I am new to Ruby as well as FXRuby. When I tried to dig in, I wrote the next small program (which I derived from the FXRuby user’s guide). #===================================================================…

---

## [Action mailer settings and dkim signing](https://www.ruby-forum.com/t/action-mailer-settings-and-dkim-signing/234210)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [February 19, 2015, 3:20am UTC](https://www.ruby-forum.com/t/action-mailer-settings-and-dkim-signing/234210 "2015-02-19T03:20:28Z")

</div>

I am trying to figure out why this block of code in my environments/production.rb file is causing the dkim signing to break. I have email being sent from a rake task with my UserMailer class. It is derived from Devi…

---

## [Confusion with Ruby binary number](https://www.ruby-forum.com/t/confusion-with-ruby-binary-number/236992)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 7\
**Last updated:** [October 17, 2013, 10:05pm UTC](https://www.ruby-forum.com/t/confusion-with-ruby-binary-number/236992 "2013-10-17T22:05:58Z")

</div>

Can anyone tell me what’s happening in the below code ? c = 0b101010011 c # =\> 339 c\[0\] # =\> 1 c\[1\] # =\> 1 c\[2\] # =\> 0 c\[3\] # =\> 0 c\[4\] # =\> 1 here c is not an array,but how then c\[0\],c\[1\], etc producing output …

---

## [Ruby 1.9.3p237 in cygwin](https://www.ruby-forum.com/t/ruby-1-9-3p237-in-cygwin/224701)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [November 27, 2012, 9:23am UTC](https://www.ruby-forum.com/t/ruby-1-9-3p237-in-cygwin/224701 "2012-11-27T09:23:24Z")

</div>

definitely not a ruby-core dev here, so hope this is ok to post. my cygwin compile for latest ruby is failing with the ff msg… file.o:file.c:(.text+0x4342): undefined reference to \`\_wcsicmp’ collect2: ld returned 1 ex…

---

## [Any easy way to change a Name for a Model?](https://www.ruby-forum.com/t/any-easy-way-to-change-a-name-for-a-model/195263)

<div class="topic-metadata">

**Author:** [@nobosh](https://www.ruby-forum.com/u/nobosh)\
**Replies:** 7\
**Last updated:** [September 21, 2010, 2:23pm UTC](https://www.ruby-forum.com/t/any-easy-way-to-change-a-name-for-a-model/195263 "2010-09-21T14:23:44Z")

</div>

Hello, I’ve been building an app recently that has a model Books that is a database table and linked to several models/controllers. I recently learned that instead of Books it needs to be called publications (just an …

---

## [Nginx HTTP Push Module v0.69](https://www.ruby-forum.com/t/nginx-http-push-module-v0-69/179157)

<div class="topic-metadata">

**Author:** [@slact](https://www.ruby-forum.com/u/slact)\
**Replies:** 7\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/nginx-http-push-module-v0-69/179157 "2009-12-19T15:25:21Z")

</div>

This module turns Nginx into an adept HTTP Push and Comet server. It takes care of all the connection juggling, and exposes a simple interface to broadcast messages to clients via plain old HTTP requests. This lets on…

---

## [Error & Question about audio\_alsa\_sink](https://www.ruby-forum.com/t/error-question-about-audio-alsa-sink/172519)

<div class="topic-metadata">

**Author:** [@Milo\_W](https://www.ruby-forum.com/u/Milo_W)\
**Replies:** 1\
**Last updated:** [July 22, 2009, 7:32pm UTC](https://www.ruby-forum.com/t/error-question-about-audio-alsa-sink/172519 "2009-07-22T19:32:48Z")

</div>

Hi all, I have a question about one of the examples in GNUradio 3.2.2 under Ubuntu9.04. I tried to run usrp\_nbfm\_rcv.py to test the usrp board. However, I met the following errors: Using RX d’board A: Flex 2400 Rx MI…

---

## [Problem with select\_tag and observe\_field](https://www.ruby-forum.com/t/problem-with-select-tag-and-observe-field/168905)

<div class="topic-metadata">

**Author:** [@vikas](https://www.ruby-forum.com/u/vikas)\
**Replies:** 7\
**Last updated:** [May 27, 2009, 3:05pm UTC](https://www.ruby-forum.com/t/problem-with-select-tag-and-observe-field/168905 "2009-05-27T15:05:25Z")

</div>

Hello All, I have problem with select\_tag and observe\_field. I get following error " NoMethodError in Businesses#plan\_pricing Showing app/views/businesses/\_refresh\_subscription\_types.html.haml where line #1 raised: Y…

---

## [Style issue](https://www.ruby-forum.com/t/style-issue/166320)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 7\
**Last updated:** [April 24, 2009, 9:51am UTC](https://www.ruby-forum.com/t/style-issue/166320 "2009-04-24T09:51:20Z")

</div>

In one of my features I have to check to see if a file is created by an external script and then determine if that file contains specific information. So, I ended up with these step definitions: When /currency exchan…

---

## [Dynamic select menu](https://www.ruby-forum.com/t/dynamic-select-menu/164345)

<div class="topic-metadata">

**Author:** [@shuaib85](https://www.ruby-forum.com/u/shuaib85)\
**Replies:** 7\
**Last updated:** [April 9, 2009, 5:42am UTC](https://www.ruby-forum.com/t/dynamic-select-menu/164345 "2009-04-09T05:42:10Z")

</div>

Hi there I have seen railscasts episode 88 about dynamic select menus and I implemented it. However, it has some bugs, I managed to tackle some. But I saw a better way to do that using related select forms http://ag…

---

## [Problem with "Hello World Program"](https://www.ruby-forum.com/t/problem-with-hello-world-program/158438)

<div class="topic-metadata">

**Author:** [@agrinshtein](https://www.ruby-forum.com/u/agrinshtein)\
**Replies:** 7\
**Last updated:** [January 23, 2009, 2:56pm UTC](https://www.ruby-forum.com/t/problem-with-hello-world-program/158438 "2009-01-23T14:56:33Z")

</div>

Hey I am new to RoR. I used Dan Benjamins install. Installing MySQL and RoR using the terminal. I made two files. One the controller, called say\_controller and than I made a views file, called hello.html.erb Instea…

---

## [Where to initialize session variables?](https://www.ruby-forum.com/t/where-to-initialize-session-variables/154327)

<div class="topic-metadata">

**Author:** [@Jej](https://www.ruby-forum.com/u/Jej)\
**Replies:** 1\
**Last updated:** [November 27, 2008, 8:05pm UTC](https://www.ruby-forum.com/t/where-to-initialize-session-variables/154327 "2008-11-27T20:05:34Z")

</div>

Hi all, I would like to initialize some session variables when the user visits the app for the first time. Currently I do it in an application before\_filter (escaped if the session already exists), but that occurs fo…

---

## [\#\<Object:0x2c1c8f0\> \<--- why is the displayed number == obje](https://www.ruby-forum.com/t/object-0x2c1c8f0-why-is-the-displayed-number-obje/106120)

<div class="topic-metadata">

**Author:** [@Meinrad\_R](https://www.ruby-forum.com/u/Meinrad_R)\
**Replies:** 7\
**Last updated:** [June 7, 2007, 7:26pm UTC](https://www.ruby-forum.com/t/object-0x2c1c8f0-why-is-the-displayed-number-obje/106120 "2007-06-07T19:26:04Z")

</div>

irb(main):001:0\> VERSION =\> “1.8.5” irb(main):002:0\> o=Object.new =\> #Object:0x2c1c8f0 irb(main):003:0\> ObjectSpace.\_id2ref 0x2c1c8f0 RangeError: 0x2c1c8f0 is not id value from (irb):3:in \`\_id2ref’ from (irb):3 i…

---

## [Unit testing and stale ActiveRecords](https://www.ruby-forum.com/t/unit-testing-and-stale-activerecords/103051)

<div class="topic-metadata">

**Author:** [@seanhussey](https://www.ruby-forum.com/u/seanhussey)\
**Replies:** 7\
**Last updated:** [May 2, 2007, 2:54pm UTC](https://www.ruby-forum.com/t/unit-testing-and-stale-activerecords/103051 "2007-05-02T14:54:29Z")

</div>

I’m having real trouble unit testing my Rails ActiveRecord models. It seems like more than half the time the data is stale. All I have to do is reference a variable and it suddenly the test will start passing. I’m n…

---

## [Design firefox e plugin](https://www.ruby-forum.com/t/design-firefox-e-plugin/92122)

<div class="topic-metadata">

**Author:** [@stb](https://www.ruby-forum.com/u/stb)\
**Replies:** 7\
**Last updated:** [April 17, 2007, 3:44pm UTC](https://www.ruby-forum.com/t/design-firefox-e-plugin/92122 "2007-04-17T15:44:25Z")

</div>

Ciao, dovrei implementare un design per un plugin di firefox tramite xul e css. avrei bisogno di qualche info generica, qualcuno ha mai fatto un tema per firefox o un design per un plugin? Saluti Andrea

---

## [How to: programmatically choose a partial to render](https://www.ruby-forum.com/t/how-to-programmatically-choose-a-partial-to-render/91150)

<div class="topic-metadata">

**Author:** [@d6veteran](https://www.ruby-forum.com/u/d6veteran)\
**Replies:** 7\
**Last updated:** [April 7, 2007, 12:35pm UTC](https://www.ruby-forum.com/t/how-to-programmatically-choose-a-partial-to-render/91150 "2007-04-07T12:35:28Z")

</div>

I have a scenario where after updating a section on a page with a partial, I then need to update that same area with a new partial. This is easy, however, at this stage I need to display partial A if the user is logg…

---

## [Reverting module changes](https://www.ruby-forum.com/t/reverting-module-changes/80328)

<div class="topic-metadata">

**Author:** [@azreal](https://www.ruby-forum.com/u/azreal)\
**Replies:** 7\
**Last updated:** [December 24, 2006, 2:33pm UTC](https://www.ruby-forum.com/t/reverting-module-changes/80328 "2006-12-24T14:33:52Z")

</div>

Hi, I want to mock standard Kernel.system with my own method and then revert back to the original version. I was able to do the former, but not the latter. Currently I’m overwriting Kernel.system method definition wi…

---

## [How extract data from a web site?](https://www.ruby-forum.com/t/how-extract-data-from-a-web-site/57944)

<div class="topic-metadata">

**Author:** [@ingoweiss](https://www.ruby-forum.com/u/ingoweiss)\
**Replies:** 7\
**Last updated:** [April 17, 2006, 10:46pm UTC](https://www.ruby-forum.com/t/how-extract-data-from-a-web-site/57944 "2006-04-17T22:46:48Z")

</div>

Hi, I would like to use Ruby to read the content of a web site, and then extract certain data from it. The site is machine generated so the format doesnt’ change, but unfortunately it is far from being valid XHTML or…

---

## [All My Rails Apps Died Over the Holidays](https://www.ruby-forum.com/t/all-my-rails-apps-died-over-the-holidays/94918)

<div class="topic-metadata">

**Author:** [@marcus](https://www.ruby-forum.com/u/marcus)\
**Replies:** 7\
**Last updated:** [January 10, 2006, 4:53pm UTC](https://www.ruby-forum.com/t/all-my-rails-apps-died-over-the-holidays/94918 "2006-01-10T16:53:17Z")

</div>

I have several Rails (version 1.0) apps I’m working on on a Win XP box using Webrick that were working fine before I left for the holidays. I came back, started up and they all get the same syntax and compile errors: …

---

## [Problem loading modules through ActiveSupport on\_load](https://www.ruby-forum.com/t/problem-loading-modules-through-activesupport-on-load/216028)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [January 23, 2012, 10:44am UTC](https://www.ruby-forum.com/t/problem-loading-modules-through-activesupport-on-load/216028 "2012-01-23T10:44:08Z")

</div>

Working with modules to group certain methods. Currently I have this set up and it works: # app/models/a.rb class A has\_history end # lib/history.rb module History module Model def self.included(base) …

---

## [Nginx for media streaming](https://www.ruby-forum.com/t/nginx-for-media-streaming/244027)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [February 10, 2016, 11:36am UTC](https://www.ruby-forum.com/t/nginx-for-media-streaming/244027 "2016-02-10T11:36:13Z")

</div>

I want to setup nginx for media streaming web site like youtube I have some movie on my server with HD quality and I want to serve video like YouTube its mean that nginx should change video’s quality by user internet …

---

## [GRCon15 Talk recordings](https://www.ruby-forum.com/t/grcon15-talk-recordings/243180)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [September 4, 2015, 12:01am UTC](https://www.ruby-forum.com/t/grcon15-talk-recordings/243180 "2015-09-04T00:01:32Z")

</div>

Hi, For anyone interested into digging into this, here are some recordings of the mic RF signal during talks at GRCon 15 http://people.osmocom.org/~tnt/grcon/mic-f5.030000e%2B08-s2.000000e%2B06-t20150826090018.cfile h…

---

## [OMP Data. GNURadio overhead?](https://www.ruby-forum.com/t/omp-data-gnuradio-overhead/243012)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [August 15, 2015, 6:22am UTC](https://www.ruby-forum.com/t/omp-data-gnuradio-overhead/243012 "2015-08-15T06:22:40Z")

</div>

Sorry for the HTML… I have been done some work applying OpenMP to GNURadio and collected some data. This data was collected WITHOUT GNURadio overhead. Specifically, I interfaced directly with my detector passing 30 se…

---

## [Sonar server (using JRuby) on Raspberry Pi with OpenJDK, arm CPU and tomcat 7](https://www.ruby-forum.com/t/sonar-server-using-jruby-on-raspberry-pi-with-openjdk-arm-cpu-and-tomcat-7/224035)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 30, 2012, 1:03pm UTC](https://www.ruby-forum.com/t/sonar-server-using-jruby-on-raspberry-pi-with-openjdk-arm-cpu-and-tomcat-7/224035 "2012-10-30T13:03:08Z")

</div>

Hi, I’m getting a JRuby error message when trying to run Sonar server on raspberry pi ( http://www.raspberrypi.org/ ). For me it’s like a fun challenge. :slight\_smile: Raspberry Pi stats: 700MHz - 1GHz(dynamic overc…

---

## [Problem encoding from csv to mysql](https://www.ruby-forum.com/t/problem-encoding-from-csv-to-mysql/186290)

<div class="topic-metadata">

**Author:** [@salautom](https://www.ruby-forum.com/u/salautom)\
**Replies:** 2\
**Last updated:** [November 23, 2010, 10:00pm UTC](https://www.ruby-forum.com/t/problem-encoding-from-csv-to-mysql/186290 "2010-11-23T22:00:41Z")

</div>

Hello, I do have a problem with encoding from a (ANSI) csv file on a Windows platform to a utf-8 encoded mysql table. I get the following error: Mysql::Error: Incorrect string value: ‘\\xE9basti…’ for column ‘display\_…

---

## [Database and xml parsers](https://www.ruby-forum.com/t/database-and-xml-parsers/177719)

<div class="topic-metadata">

**Author:** [@kturner](https://www.ruby-forum.com/u/kturner)\
**Replies:** 2\
**Last updated:** [October 22, 2009, 7:22pm UTC](https://www.ruby-forum.com/t/database-and-xml-parsers/177719 "2009-10-22T19:22:29Z")

</div>

Hi, I’m converting a RoR app to run under JRuby. Things are going well so far. There are some data-intensive portions to this intranet site, parsing large XML files and populating database (MySQL) tables with the co…

---

## [Imap port 993 perl + nginx](https://www.ruby-forum.com/t/imap-port-993-perl-nginx/161348)

<div class="topic-metadata">

**Author:** [@eltercero](https://www.ruby-forum.com/u/eltercero)\
**Replies:** 2\
**Last updated:** [February 25, 2009, 6:58pm UTC](https://www.ruby-forum.com/t/imap-port-993-perl-nginx/161348 "2009-02-25T18:58:35Z")

</div>

Hello nginx’s users I have an error in the connection nginx against by the ssl Dovecot espesificamente port 993 this work excelent. #cat nginx.conf server { listen 993; protocol imap; proxy on; ssl …

---

## [Nginx as Proxy to Squid Forward Proxy](https://www.ruby-forum.com/t/nginx-as-proxy-to-squid-forward-proxy/156562)

<div class="topic-metadata">

**Author:** [@Curtis\_Spencer](https://www.ruby-forum.com/u/Curtis_Spencer)\
**Replies:** 2\
**Last updated:** [December 31, 2008, 9:11pm UTC](https://www.ruby-forum.com/t/nginx-as-proxy-to-squid-forward-proxy/156562 "2008-12-31T21:11:03Z")

</div>

Hi, This is kind of a strange request. What i want to do is get nginx to proxy urls such as the following http://www.mywebsite.com/proxy/www.yahoo.com to a squid forward proxy, essentially grabbing the content of w…

---

## [Getting access to request.env in a model observer?](https://www.ruby-forum.com/t/getting-access-to-request-env-in-a-model-observer/143372)

<div class="topic-metadata">

**Author:** [@HSWade\_M](https://www.ruby-forum.com/u/HSWade_M)\
**Replies:** 2\
**Last updated:** [July 17, 2008, 9:13pm UTC](https://www.ruby-forum.com/t/getting-access-to-request-env-in-a-model-observer/143372 "2008-07-17T21:13:04Z")

</div>

Does anyone know how I would get access to the request.env object within a model observer? I’m using restful\_authentication to send email, and need to include some of that request data in there. I have it working wit…

---

## [Hanging byte-range requests for remote backend](https://www.ruby-forum.com/t/hanging-byte-range-requests-for-remote-backend/130939)

<div class="topic-metadata">

**Author:** [@Brendan\_Schwartz](https://www.ruby-forum.com/u/Brendan_Schwartz)\
**Replies:** 2\
**Last updated:** [March 12, 2008, 8:55am UTC](https://www.ruby-forum.com/t/hanging-byte-range-requests-for-remote-backend/130939 "2008-03-12T08:55:57Z")

</div>

Hello, I’m attempting to proxy requests to a remote backend that supports byte-range requests (Amazon’s S3 in this case). When I access an asset through the proxy with a byte-range request, it downloads 99% of the re…

---

## [Monkey-patching generators?](https://www.ruby-forum.com/t/monkey-patching-generators/107206)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 2\
**Last updated:** [June 27, 2007, 10:22pm UTC](https://www.ruby-forum.com/t/monkey-patching-generators/107206 "2007-06-27T22:22:54Z")

</div>

The new scaffold and resource generators are pretty nifty. One drawback they have is that they do not support the --skip-migration option that the model generator does. I’ve made a patch for the scaffold and resource …

---

## [Validating and saving a MAC address using only one format](https://www.ruby-forum.com/t/validating-and-saving-a-mac-address-using-only-one-format/74750)

<div class="topic-metadata">

**Author:** [@brainstorm](https://www.ruby-forum.com/u/brainstorm)\
**Replies:** 2\
**Last updated:** [December 5, 2006, 6:28pm UTC](https://www.ruby-forum.com/t/validating-and-saving-a-mac-address-using-only-one-format/74750 "2006-12-05T18:28:09Z")

</div>

Hi people, I’m developing my first rails app, and I’m having a little issue with model validations: == require\_gem ‘netaddr’ (…) (AR model definition) protected def validate @eui = NetAddr::EUI.create(mac).addres…

---

## [Accessing cookie and session objects](https://www.ruby-forum.com/t/accessing-cookie-and-session-objects/76240)

<div class="topic-metadata">

**Author:** [@Lindsay\_B](https://www.ruby-forum.com/u/Lindsay_B)\
**Replies:** 2\
**Last updated:** [March 3, 2006, 5:24pm UTC](https://www.ruby-forum.com/t/accessing-cookie-and-session-objects/76240 "2006-03-03T17:24:38Z")

</div>

Is it possible to directly access session and cookie objects from within a Model? When I try to read the session object in my User Model I get the following error: NameError (undefined local variable or method \`sessio…

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

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