# Top

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

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

---

## [Serving images with send\_file performance issue](https://www.ruby-forum.com/t/serving-images-with-send-file-performance-issue/88656)

<div class="topic-metadata">

**Author:** [@robbie](https://www.ruby-forum.com/u/robbie)\
**Replies:** 4\
**Last updated:** [March 14, 2007, 8:25am UTC](https://www.ruby-forum.com/t/serving-images-with-send-file-performance-issue/88656 "2007-03-14T08:25:45Z")

</div>

I’ve got an app serving images on the filesystem from outside the /public directory so I can authenticate users first. I’m serving the images and thumbnails up using send\_file, (1 large 60k image and 9 6k thumbnails) …

---

## [Hosting](https://www.ruby-forum.com/t/hosting/80003)

<div class="topic-metadata">

**Author:** [@jmw](https://www.ruby-forum.com/u/jmw)\
**Replies:** 4\
**Last updated:** [December 21, 2006, 8:17am UTC](https://www.ruby-forum.com/t/hosting/80003 "2006-12-21T08:17:38Z")

</div>

I’m currently looking around for a hosting solution that offers virtual hosting / virtual dedicated hosting for Ruby/Rails, Java (prefferebly with tomcat as part of the package, maybe even jboss) and Python/(turbogear…

---

## [Re: Dawei Shen's tutorials](https://www.ruby-forum.com/t/re-dawei-shens-tutorials/70370)

<div class="topic-metadata">

**Author:** [@TM\_Tiwari](https://www.ruby-forum.com/u/TM_Tiwari)\
**Replies:** 4\
**Last updated:** [October 2, 2006, 11:34pm UTC](https://www.ruby-forum.com/t/re-dawei-shens-tutorials/70370 "2006-10-02T23:34:12Z")

</div>

Hi Eric, I was serching for the tutorials but I could not find it. Can you please help me in this regard, because I am just about to start the GNU Radio project? Thank you Tarun

---

## [Disc quota exceeded when attempting to write session](https://www.ruby-forum.com/t/disc-quota-exceeded-when-attempting-to-write-session/101144)

<div class="topic-metadata">

**Author:** [@paul-au](https://www.ruby-forum.com/u/paul-au)\
**Replies:** 4\
**Last updated:** [August 3, 2006, 2:23pm UTC](https://www.ruby-forum.com/t/disc-quota-exceeded-when-attempting-to-write-session/101144 "2006-08-03T14:23:15Z")

</div>

Hi All, When trying to write sessions file, I’m getting disc quota errors. Looking into the sessions folder, I see: -rw------- 1 www www 188 Aug 2 21:03 ruby\_sess.d39a2c77b4750b72 -rw-r–r-- 1 www www 0 Aug…

---

## [Pilot symbols in ofdm](https://www.ruby-forum.com/t/pilot-symbols-in-ofdm/230338)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 3\
**Last updated:** [June 11, 2014, 6:11pm UTC](https://www.ruby-forum.com/t/pilot-symbols-in-ofdm/230338 "2014-06-11T18:11:41Z")

</div>

Hi Looking at the ofdm receiver at ofdm\_rx grc, I see that schmidl and cox synchronisation algorithm uses sync1 and sync2 which are two ofdm training symbols that help in frequency offset correction and also timing …

---

## [Possibly incorrect gr\_msg\_queue.delete\_head\_nowait() implementation](https://www.ruby-forum.com/t/possibly-incorrect-gr-msg-queue-delete-head-nowait-implementation/246360)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [October 4, 2013, 1:05am UTC](https://www.ruby-forum.com/t/possibly-incorrect-gr-msg-queue-delete-head-nowait-implementation/246360 "2013-10-04T01:05:07Z")

</div>

According to the documentation comments, gr\_msg\_queue::delete\_head\_nowait() should return 0 if no message is available. The current implementation, however, results in a core dump. For example, when executed in a scr…

---

## ["zero size buf in output"](https://www.ruby-forum.com/t/zero-size-buf-in-output/222341)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [September 13, 2012, 9:12pm UTC](https://www.ruby-forum.com/t/zero-size-buf-in-output/222341 "2012-09-13T21:12:38Z")

</div>

Hello, We have strange messages in our error.log - but everything works. We tried to re-produce this in a testing-environment - but we couldn’t. Thanks a lot Sandy 2012/08/23 19:14:54 \[alert\] 17017#0: \*1378690 zero …

---

## [LLLL error printout](https://www.ruby-forum.com/t/llll-error-printout/222337)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 27, 2012, 2:05pm UTC](https://www.ruby-forum.com/t/llll-error-printout/222337 "2012-08-27T14:05:51Z")

</div>

Hello, Very quick question, I’m trying to transmit a signal that I have created, and in the console output at the beginning of the transmission, I get this printout: LLLLLLLLLL. The error is not continuous, it stops…

---

## [Si possono fare applicazioni web con database?](https://www.ruby-forum.com/t/si-possono-fare-applicazioni-web-con-database/215269)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [December 29, 2011, 9:52am UTC](https://www.ruby-forum.com/t/si-possono-fare-applicazioni-web-con-database/215269 "2011-12-29T09:52:05Z")

</div>

Buongiorno, Vorrei sapere se usando Ruby e Ruby on Rails si possono fare applicazioni gestionali con database su web? I componenti che eventualmente servono sono a pagamento? Come database io ora uso access, che da…

---

## [Designing An Application (UML, Class Diagrams)](https://www.ruby-forum.com/t/designing-an-application-uml-class-diagrams/189009)

<div class="topic-metadata">

**Author:** [@sso](https://www.ruby-forum.com/u/sso)\
**Replies:** 8\
**Last updated:** [November 18, 2010, 11:25pm UTC](https://www.ruby-forum.com/t/designing-an-application-uml-class-diagrams/189009 "2010-11-18T23:25:18Z")

</div>

Hi Is there any freeware anybody would recommend for showing database models and how they relate to each other? I’m picking up an app another developer left in a mess and I’m trying to sort it out. Diagrams would be…

---

## [Layout in application\_controller](https://www.ruby-forum.com/t/layout-in-application-controller/185152)

<div class="topic-metadata">

**Author:** [@msan](https://www.ruby-forum.com/u/msan)\
**Replies:** 8\
**Last updated:** [March 15, 2010, 1:34pm UTC](https://www.ruby-forum.com/t/layout-in-application-controller/185152 "2010-03-15T13:34:24Z")

</div>

Ho inserito nel file application\_controller layout “main” in modo che tutti i controller avessero lo stesso layout. In main.html.erb ho: \<%= javascript\_include\_tag :defaults %\>. In index.html.erb del controller X ho…

---

## [HTTP Header Transfer-Encoding](https://www.ruby-forum.com/t/http-header-transfer-encoding/179806)

<div class="topic-metadata">

**Author:** [@sameer](https://www.ruby-forum.com/u/sameer)\
**Replies:** 3\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/http-header-transfer-encoding/179806 "2009-12-19T15:25:30Z")

</div>

Hi, I recently upgraded from nginx-0.6.36 to 0.7.62. We are setting cache friendly headers and after the upgrade we started seeing this Transfer-Encoding: chunked. This has broken caching. How can I remove this from …

---

## [BInary Files](https://www.ruby-forum.com/t/binary-files/164487)

<div class="topic-metadata">

**Author:** [@genevayngrib](https://www.ruby-forum.com/u/genevayngrib)\
**Replies:** 8\
**Last updated:** [April 6, 2009, 8:35am UTC](https://www.ruby-forum.com/t/binary-files/164487 "2009-04-06T08:35:57Z")

</div>

Hi I’m pretty new to Ruby and writing code in general. That being said Im trying to learn how to create and modify(by a percentage) a binary file. Any advise or pointers would be apprieciated.

---

## [How can i quickly handle alternate config for site downtime?](https://www.ruby-forum.com/t/how-can-i-quickly-handle-alternate-config-for-site-downtime/156409)

<div class="topic-metadata">

**Author:** [@jonny](https://www.ruby-forum.com/u/jonny)\
**Replies:** 8\
**Last updated:** [January 15, 2009, 3:17pm UTC](https://www.ruby-forum.com/t/how-can-i-quickly-handle-alternate-config-for-site-downtime/156409 "2009-01-15T15:17:49Z")

</div>

for the pat few years, i have stuff like this: file: /hosts/findmeon content: include /hosts/findmeon/www.findmeon.com ; #include /hosts/findmeon/www.findmeon.com-downtime ; when i want to take a domain up/down, i …

---

## [Compilation error in cont.c](https://www.ruby-forum.com/t/compilation-error-in-cont-c/137069)

<div class="topic-metadata">

**Author:** [@deliak](https://www.ruby-forum.com/u/deliak)\
**Replies:** 8\
**Last updated:** [May 12, 2008, 11:42am UTC](https://www.ruby-forum.com/t/compilation-error-in-cont-c/137069 "2008-05-12T11:42:04Z")

</div>

Hi, with ruby 1.9.0-1, I get the following error during the cross-compilation : cont.o -c cont.c cont.c: In function cont\_restore\_0': cont.c:327: error: structure has no member namedmachine\_stack\_src’ make: \*\*\* \[con…

---

## ["interning empty string" error in test setup](https://www.ruby-forum.com/t/interning-empty-string-error-in-test-setup/133944)

<div class="topic-metadata">

**Author:** [@andy](https://www.ruby-forum.com/u/andy)\
**Replies:** 3\
**Last updated:** [April 6, 2008, 5:22pm UTC](https://www.ruby-forum.com/t/interning-empty-string-error-in-test-setup/133944 "2008-04-06T17:22:46Z")

</div>

On running unit tests with a setup method, I’m suddenly getting ArgumentError: interning empty string C:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.6/lib/ active\_record/fixture s.rb:251:in to\_sym' C:/ruby/lib/ruby…

---

## [USRP Transmit from C++](https://www.ruby-forum.com/t/usrp-transmit-from-c/106523)

<div class="topic-metadata">

**Author:** [@Jeffrey\_K](https://www.ruby-forum.com/u/Jeffrey_K)\
**Replies:** 3\
**Last updated:** [June 11, 2007, 10:08pm UTC](https://www.ruby-forum.com/t/usrp-transmit-from-c/106523 "2007-06-11T22:08:43Z")

</div>

Are there any additional C++ example programs floating around? I wish to start writing a program that can tx via the USRP from C code and just want to get a better feel for the make process. Thanks Jeff

---

## [Routes and link generation](https://www.ruby-forum.com/t/routes-and-link-generation/87020)

<div class="topic-metadata">

**Author:** [@jordelver](https://www.ruby-forum.com/u/jordelver)\
**Replies:** 8\
**Last updated:** [March 3, 2007, 2:47pm UTC](https://www.ruby-forum.com/t/routes-and-link-generation/87020 "2007-03-03T14:47:46Z")

</div>

Hi, I’m setting up some routes for an online shop. I want to the urls to look like: /category/department/product The problem I’m having is how to generate the urls needed. Do I have to specify the category and depa…

---

## [Ruby threads and the system call](https://www.ruby-forum.com/t/ruby-threads-and-the-system-call/66583)

<div class="topic-metadata">

**Author:** [@gnuvince](https://www.ruby-forum.com/u/gnuvince)\
**Replies:** 3\
**Last updated:** [August 27, 2006, 8:17pm UTC](https://www.ruby-forum.com/t/ruby-threads-and-the-system-call/66583 "2006-08-27T20:17:00Z")

</div>

Hello ! I’ve recently had quite a fair bit of trouble with Ruby threads (on a Linux box). I wrote three different programs (attached) that write numbers from within threads: one with a standard puts one with a syste…

---

## [Building multiple find conditions](https://www.ruby-forum.com/t/building-multiple-find-conditions/70601)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 8\
**Last updated:** [April 14, 2006, 5:59pm UTC](https://www.ruby-forum.com/t/building-multiple-find-conditions/70601 "2006-04-14T17:59:25Z")

</div>

I am trying to allow for AND type ‘find’ but to allow for simply a single set of find criteria. controller code… @vw\_string = @vw\_string1 = @vw\_string2 = @vw\_string3 = \[\] if params\[:beg\_intake\_date\] != "" then …

---

## [Small practice programs](https://www.ruby-forum.com/t/small-practice-programs/48393)

<div class="topic-metadata">

**Author:** [@brianmartin](https://www.ruby-forum.com/u/brianmartin)\
**Replies:** 8\
**Last updated:** [November 20, 2005, 6:02pm UTC](https://www.ruby-forum.com/t/small-practice-programs/48393 "2005-11-20T18:02:03Z")

</div>

For someone with some programming background and an interest in learning Ruby, what are a few good “practice” programs to write? Brian

---

## [Belongs\_to and table name quotes - DO NOT DO THIS](https://www.ruby-forum.com/t/belongs-to-and-table-name-quotes-do-not-do-this/47585)

<div class="topic-metadata">

**Author:** [@codeslush](https://www.ruby-forum.com/u/codeslush)\
**Replies:** 3\
**Last updated:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/belongs-to-and-table-name-quotes-do-not-do-this/47585 "2005-11-12T12:49:32Z")

</div>

Hello, I’m a ROR newbie and have been pulling my hair out for a day trying to figure out why I was getting an ActiveRecord::StatementInvalid when trying to create a new record with a simple relationship. I have been …

---

## [Getting error while starting server plz help](https://www.ruby-forum.com/t/getting-error-while-starting-server-plz-help/221726)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [July 29, 2012, 7:08pm UTC](https://www.ruby-forum.com/t/getting-error-while-starting-server-plz-help/221726 "2012-07-29T19:08:58Z")

</div>

c:/Ruby193/lib/ruby/gems/1.9.1/gems/rails-2.3.14/lib/rails\_generator/options.rb:32:in default\_options': undefi ned methodwrite\_inheritable\_attribute’ for Rails::Generator::Base:Class (NoMethodError) from c:/Ruby193/l…

---

## [Un aiuto per la ricerca di dati in un database](https://www.ruby-forum.com/t/un-aiuto-per-la-ricerca-di-dati-in-un-database/214561)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [December 5, 2011, 11:46pm UTC](https://www.ruby-forum.com/t/un-aiuto-per-la-ricerca-di-dati-in-un-database/214561 "2011-12-05T23:46:33Z")

</div>

Scusate se faccio magari una domanda stupida ma sono totalmente nuovo di ruby e ror. Ho questo controller: def show @posts=Post.find(params\[:id\]) end Che non fa altro che ricevere un id e caricare uno specifico pos…

---

## [Alarm Clock( )](https://www.ruby-forum.com/t/alarm-clock/187450)

<div class="topic-metadata">

**Author:** [@vijar82](https://www.ruby-forum.com/u/vijar82)\
**Replies:** 1\
**Last updated:** [April 23, 2010, 2:27pm UTC](https://www.ruby-forum.com/t/alarm-clock/187450 "2010-04-23T14:27:46Z")

</div>

Hi Everyone, I am creating an musical alarm clock e.g. play a youtube video at 5:30 am . What I want is a Ruby Library\\Gem where I can specify the time and I will have a call back at that particular time or a synchro…

---

## [Very simple authenticatation](https://www.ruby-forum.com/t/very-simple-authenticatation/163351)

<div class="topic-metadata">

**Author:** [@johnsonmlw](https://www.ruby-forum.com/u/johnsonmlw)\
**Replies:** 7\
**Last updated:** [March 19, 2009, 10:43pm UTC](https://www.ruby-forum.com/t/very-simple-authenticatation/163351 "2009-03-19T22:43:17Z")

</div>

Could someone help me with this. It really only needs to be this simple. I don’t need user models or plugins etc. I think it’s clear what I’d like (either admin or slt to authenticate), but it’s obviously flawed and l…

---

## [How to install patches?](https://www.ruby-forum.com/t/how-to-install-patches/64091)

<div class="topic-metadata">

**Author:** [@haries](https://www.ruby-forum.com/u/haries)\
**Replies:** 7\
**Last updated:** [March 4, 2009, 10:58pm UTC](https://www.ruby-forum.com/t/how-to-install-patches/64091 "2009-03-04T22:58:55Z")

</div>

Hi, Can someone explain how do I install patches. Once I go to the page, I am not sure what to download and how to apply? I am RoR newbie. -Thanks Hari

---

## [Small troubles with tags links](https://www.ruby-forum.com/t/small-troubles-with-tags-links/158586)

<div class="topic-metadata">

**Author:** [@harryspier](https://www.ruby-forum.com/u/harryspier)\
**Replies:** 1\
**Last updated:** [January 25, 2009, 2:53pm UTC](https://www.ruby-forum.com/t/small-troubles-with-tags-links/158586 "2009-01-25T14:53:22Z")

</div>

Hi, Since the Typo update, I have some small troubles with the tags. In the article body, the links to tags look like: http://harryseldon.thinkosphere.com/tags/show/controls However, these links in ‘tags/show’ do not…

---

## [Un modelo no puede leer una variable session?](https://www.ruby-forum.com/t/un-modelo-no-puede-leer-una-variable-session/138171)

<div class="topic-metadata">

**Author:** [@alarkspur](https://www.ruby-forum.com/u/alarkspur)\
**Replies:** 7\
**Last updated:** [May 21, 2008, 12:52am UTC](https://www.ruby-forum.com/t/un-modelo-no-puede-leer-una-variable-session/138171 "2008-05-21T00:52:14Z")

</div>

Saludos, Tenia en una variable de session (session\[:user\_id) almacenado el id del usuario para así poder controlarlo entre los distintos controllers, pero resulta que si un modelo por el motivo “x” requiere saber ese…

---

## [Problems installing Rmagick on Ubuntu](https://www.ruby-forum.com/t/problems-installing-rmagick-on-ubuntu/128082)

<div class="topic-metadata">

**Author:** [@peter](https://www.ruby-forum.com/u/peter)\
**Replies:** 7\
**Last updated:** [February 8, 2008, 11:07am UTC](https://www.ruby-forum.com/t/problems-installing-rmagick-on-ubuntu/128082 "2008-02-08T11:07:08Z")

</div>

I want to install Rmagick on Ubuntu 7.10, but i am getting this error when running gem install rmagick: Can’t install RMagick 2.2.0. You must have ImageMagick 6.3.0 or later. (I installed imagemagick and libmagick9-de…

---

## [Includes: The Ruby Way?](https://www.ruby-forum.com/t/includes-the-ruby-way/77427)

<div class="topic-metadata">

**Author:** [@kim](https://www.ruby-forum.com/u/kim)\
**Replies:** 7\
**Last updated:** [December 14, 2007, 5:54pm UTC](https://www.ruby-forum.com/t/includes-the-ruby-way/77427 "2007-12-14T17:54:30Z")

</div>

I was wondering if anyone had an opinion on how to do file includes in RoR. I am currently doing it with JavaScript. I am building a CMS for a dynamic website. I want a tool that lets non-programmers build a website b…

---

## [FCGI Issues on Dreamhost](https://www.ruby-forum.com/t/fcgi-issues-on-dreamhost/81685)

<div class="topic-metadata">

**Author:** [@neilbain](https://www.ruby-forum.com/u/neilbain)\
**Replies:** 7\
**Last updated:** [January 11, 2007, 3:15pm UTC](https://www.ruby-forum.com/t/fcgi-issues-on-dreamhost/81685 "2007-01-11T15:15:03Z")

</div>

Hey everyone, I use DreamHost for my web hosting and have just setup the Mephisto blogging engine at http://blog.hanabi.co.uk At the moment I am receiving a Rails Application error message. I contacted DreamHost supp…

---

## [How do you create a controller & view to create a list of ob](https://www.ruby-forum.com/t/how-do-you-create-a-controller-view-to-create-a-list-of-ob/95396)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 7\
**Last updated:** [June 1, 2006, 9:51pm UTC](https://www.ruby-forum.com/t/how-do-you-create-a-controller-view-to-create-a-list-of-ob/95396 "2006-06-01T21:51:38Z")

</div>

I’m trying to figure out how to design a view and controller to work with a simple collection. I have a Foo that has many Bars, so here’s what I did: $ ruby script/generate model Foo $ ruby script/generate model Ba…

---

## [Before\_filter: how to give :except more than 1 value?](https://www.ruby-forum.com/t/before-filter-how-to-give-except-more-than-1-value/61100)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 7\
**Last updated:** [January 15, 2006, 9:50pm UTC](https://www.ruby-forum.com/t/before-filter-how-to-give-except-more-than-1-value/61100 "2006-01-15T21:50:44Z")

</div>

Hi all I have the following class: class MemberController \< ApplicationController before\_filter :authorize, :except =\> :index def index … end Now I want to give the before\_filter more than one :except argument. I …

---

## [Nuby: do models have to inherit directly from ActiveRecord?](https://www.ruby-forum.com/t/nuby-do-models-have-to-inherit-directly-from-activerecord/52445)

<div class="topic-metadata">

**Author:** [@John\_McGrath](https://www.ruby-forum.com/u/John_McGrath)\
**Replies:** 7\
**Last updated:** [January 14, 2006, 8:25pm UTC](https://www.ruby-forum.com/t/nuby-do-models-have-to-inherit-directly-from-activerecord/52445 "2006-01-14T20:25:11Z")

</div>

Hello, I have a few models – book, cd, dvd – for which I’d like to have an abstract base superclass to hold some common stuff. That abstract class, I was thinking, would inherit from ActiveRecord. Didn’t work, thoug…

---

## [Important Algorithm Finally Ported](https://www.ruby-forum.com/t/important-algorithm-finally-ported/52304)

<div class="topic-metadata">

**Author:** [@Hampton](https://www.ruby-forum.com/u/Hampton)\
**Replies:** 7\
**Last updated:** [January 12, 2006, 10:07pm UTC](https://www.ruby-forum.com/t/important-algorithm-finally-ported/52304 "2006-01-12T22:07:05Z")

</div>

After months of work, gruelling hours, and a nice cup of coffee, the world’s most famous (and infamous) algorithm has been ported to the ruby language! {applause} Thank you, thank you. The Slim Shady algorithm is a …

---

## [Json vs json\_pure, which is default](https://www.ruby-forum.com/t/json-vs-json-pure-which-is-default/252048)

<div class="topic-metadata">

**Author:** [@rajashree](https://www.ruby-forum.com/u/rajashree)\
**Replies:** 2\
**Last updated:** [March 18, 2019, 2:40pm UTC](https://www.ruby-forum.com/t/json-vs-json-pure-which-is-default/252048 "2019-03-18T14:40:05Z")

</div>

Here is the snapshot of gem list in my system jmespath (1.4.0) json (default: 2.1.0) json\_pure (2.2.0) mini\_portile2 (2.4.0) Issue: json is not getting installed via bundler. Hence I used json\_pure and gave the …

---

## [Restart Nginx than root user?](https://www.ruby-forum.com/t/restart-nginx-than-root-user/243907)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [February 3, 2016, 11:32pm UTC](https://www.ruby-forum.com/t/restart-nginx-than-root-user/243907 "2016-02-03T23:32:34Z")

</div>

Hi Team, root user is must for NGinx restart? Everytime of restart, prompts for root user than other users. PID’s are not getting killed…for the running process with project users. I tried solution of adding entry t…

---

## [RoR app, “Failed to load resource: the server responded with a status of 404 (Not Found)”](https://www.ruby-forum.com/t/ror-app-failed-to-load-resource-the-server-responded-with-a-status-of-404-not-found/232604)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 18, 2014, 2:45am UTC](https://www.ruby-forum.com/t/ror-app-failed-to-load-resource-the-server-responded-with-a-status-of-404-not-found/232604 "2014-10-18T02:45:16Z")

</div>

Hi, I am running a ruby application on Nginx. It is working fine on Apache. When I try to load the ruby application on Nginx, I get this error: “Failed to load resource: the server responded with a status of 404 (Not…

---

## [Problemas con mis vistas](https://www.ruby-forum.com/t/problemas-con-mis-vistas/198183)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [October 27, 2010, 6:48pm UTC](https://www.ruby-forum.com/t/problemas-con-mis-vistas/198183 "2010-10-27T18:48:42Z")

</div>

Saludos, estimados tengo una app ror funcionando (ultra-básica del estilo (funciona como dice en el ejemplo) Tutor de Ruby on Rails - Nuestra primera aplicación), pero no se como jugar con mis vistas, en el directorio…

---

## [Zlib gzip Iconv, what is going on with UTF-8](https://www.ruby-forum.com/t/zlib-gzip-iconv-what-is-going-on-with-utf-8/182691)

<div class="topic-metadata">

**Author:** [@inprogs](https://www.ruby-forum.com/u/inprogs)\
**Replies:** 2\
**Last updated:** [February 1, 2010, 5:08pm UTC](https://www.ruby-forum.com/t/zlib-gzip-iconv-what-is-going-on-with-utf-8/182691 "2010-02-01T17:08:25Z")

</div>

Hi. I googled rly hard but nothing is working. I got ruby 1.8.6 (test has been performed on windows) My problem is when I try receive gziped response from some sites which is not in UTF-8 itself. For instance this on…

---

## [How can I do this](https://www.ruby-forum.com/t/how-can-i-do-this/230073)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 6\
**Last updated:** [May 30, 2014, 3:03am UTC](https://www.ruby-forum.com/t/how-can-i-do-this/230073 "2014-05-30T03:03:59Z")

</div>

Hello, I have a exercise where I must count differences between two strings. Now I can do for 0 … string1.length But is there a better mor rubisch way to do this ? Roelof

---

## [A simple flow-graph that is giving me infinite grief](https://www.ruby-forum.com/t/a-simple-flow-graph-that-is-giving-me-infinite-grief/208866)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [July 4, 2011, 2:58pm UTC](https://www.ruby-forum.com/t/a-simple-flow-graph-that-is-giving-me-infinite-grief/208866 "2011-07-04T14:58:35Z")

</div>

I’ve attached both the .grc and python for a relatively-straightforward flow-graph that is giving me loads of grief. A few things to observe about it: o The virtual size of this thing in execution is elephantine o Ma…

---

## [Gestione sicurezza](https://www.ruby-forum.com/t/gestione-sicurezza/202377)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [January 28, 2011, 10:51am UTC](https://www.ruby-forum.com/t/gestione-sicurezza/202377 "2011-01-28T10:51:08Z")

</div>

Ciao a tutti Sto sviluppando la mia prima app con Rails e sto cercando di risolvere un problema per cui gli utenti possono vedere solo alcuni set di dati. Mi spiego, ho un elenco di clienti (customers/index), da qui p…

---

## [Play audio file (AAC) from ruby program](https://www.ruby-forum.com/t/play-audio-file-aac-from-ruby-program/188583)

<div class="topic-metadata">

**Author:** [@sentinel](https://www.ruby-forum.com/u/sentinel)\
**Replies:** 6\
**Last updated:** [May 15, 2010, 9:22am UTC](https://www.ruby-forum.com/t/play-audio-file-aac-from-ruby-program/188583 "2010-05-15T09:22:49Z")

</div>

I need to play, pause and resume AAC files from a ruby console program (much like iTunes or any music player). After much searching, I’ve come across these libraries: mp3info metadata id3lib-ruby rvideo (uses ffmpeg) …

---

## [String::gsub$B$K$\*$1$k(Binvalid byte sequence$B$N8!=P$K$D$$$F(B](https://www.ruby-forum.com/t/string-gsub-b-k-1-k-binvalid-byte-sequence-b-n8-p-k-d-f-b/179247)

<div class="topic-metadata">

**Author:** [@TAKEGAWA\_Hiroshi](https://www.ruby-forum.com/u/TAKEGAWA_Hiroshi)\
**Replies:** 6\
**Last updated:** [November 24, 2009, 11:12am UTC](https://www.ruby-forum.com/t/string-gsub-b-k-1-k-binvalid-byte-sequence-b-n8-p-k-d-f-b/179247 "2009-11-24T11:12:32Z")

</div>

ç«¹å·ã¨ç”³ã—ã¾ã™ã€‚ ruby 1.9ã§ã€ã‚ã‚‹UTF-8ã®Stringã«å¯¾ã—ã¦gsubã‚’å‘¼ã³å‡ºã—ãŸã¨ã“ã‚ã€ä»¥ä¸‹ã®ã‚¨ ãƒ©ãƒ¼ã«ãªã‚Šã¾ã™ã€‚ $ cat sample/testdata.txt | ruby sample/gsub.rb sample/gsub.rb:5:in gsub'…

---

## [USRP2 - BasicTX first Nyquist zone frequencies](https://www.ruby-forum.com/t/usrp2-basictx-first-nyquist-zone-frequencies/162995)

<div class="topic-metadata">

**Author:** [@ronaldo1](https://www.ruby-forum.com/u/ronaldo1)\
**Replies:** 6\
**Last updated:** [March 20, 2009, 2:06pm UTC](https://www.ruby-forum.com/t/usrp2-basictx-first-nyquist-zone-frequencies/162995 "2009-03-20T14:06:20Z")

</div>

Hello, I read in faq that the bigger frequency of the first Nyquist zone of USRP2 is about 170 MHz, using a BasicTX daughter board. My USRP2 couldn’t get more than 50 MHz with this daughter board. I’m using 9939 firm…

---

## [Progress on ironrubymvc :)](https://www.ruby-forum.com/t/progress-on-ironrubymvc/159014)

<div class="topic-metadata">

**Author:** [@barby](https://www.ruby-forum.com/u/barby)\
**Replies:** 6\
**Last updated:** [February 1, 2009, 10:46pm UTC](https://www.ruby-forum.com/t/progress-on-ironrubymvc/159014 "2009-02-01T22:46:03Z")

</div>

Hi I think I can have a very basic version of ironruby mvc going over the weekend… that will probably be without support for things like filters etc. yet… but you should be able to define a controller and actions in …

---

## [Why no rspec-rails gem?](https://www.ruby-forum.com/t/why-no-rspec-rails-gem/149668)

<div class="topic-metadata">

**Author:** [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Replies:** 6\
**Last updated:** [October 1, 2008, 6:29am UTC](https://www.ruby-forum.com/t/why-no-rspec-rails-gem/149668 "2008-10-01T06:29:15Z")

</div>

I was getting a little tired of adding 2 plugins every time I create a new rails project, so I just built an rspec-rails gemspec, and it works perfectly well. Does anybody know why there isn’t a public rspec-rails ge…

---

## [RSS Validation matcher for RSpec/Rails](https://www.ruby-forum.com/t/rss-validation-matcher-for-rspec-rails/128552)

<div class="topic-metadata">

**Author:** [@rykkers](https://www.ruby-forum.com/u/rykkers)\
**Replies:** 6\
**Last updated:** [February 9, 2008, 12:55am UTC](https://www.ruby-forum.com/t/rss-validation-matcher-for-rspec-rails/128552 "2008-02-09T00:55:35Z")

</div>

As I posted to rails-talk yesterday, I whipped up an Rspec matcher using the feedvalidator gem, which lets you write response.should be\_valid\_feed in view specs or controller specs which integrate\_views I wrote about…

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

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