# Top

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

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

---

## [Does the option :host work in link\_to?](https://www.ruby-forum.com/t/does-the-option-host-work-in-link-to/105278)

<div class="topic-metadata">

**Author:** [@Shiwei](https://www.ruby-forum.com/u/Shiwei)\
**Replies:** 2\
**Last updated:** [May 28, 2007, 5:08pm UTC](https://www.ruby-forum.com/t/does-the-option-host-work-in-link-to/105278 "2007-05-28T17:08:36Z")

</div>

Hi, I used the following code line in a View file on machine http://xx.test.com:7777: \<%= link\_to “GoToAnotherHost”, { :protocol =\> “http”, :host =\> “app1books.test.com:7777”, :controller =\> “admin”, :action =\> “list…

---

## [Rails routing without slash separator](https://www.ruby-forum.com/t/rails-routing-without-slash-separator/103597)

<div class="topic-metadata">

**Author:** [@asetzler](https://www.ruby-forum.com/u/asetzler)\
**Replies:** 2\
**Last updated:** [May 8, 2007, 3:24pm UTC](https://www.ruby-forum.com/t/rails-routing-without-slash-separator/103597 "2007-05-08T15:24:32Z")

</div>

Hey all… I’m here with a bit of a gripe that I hope somebody can help me with… Basically I don’t want to use slashes as seperators for routes in rails… is this possible? if so how? I’ve got a designer that needs t…

---

## [Undersampling with USRP](https://www.ruby-forum.com/t/undersampling-with-usrp/92341)

<div class="topic-metadata">

**Author:** [@jgeggatt](https://www.ruby-forum.com/u/jgeggatt)\
**Replies:** 2\
**Last updated:** [April 24, 2007, 8:56pm UTC](https://www.ruby-forum.com/t/undersampling-with-usrp/92341 "2007-04-24T20:56:50Z")

</div>

Hi all, I’m having some problems with sub-sampling signals using with the USRP. I currently have the board connected to a signal generator with a sinusoidal input at 0dBm. I’m using the usrp\_rx\_cfile.py script from…

---

## [RE: CSS in base al browser](https://www.ruby-forum.com/t/re-css-in-base-al-browser/79140)

<div class="topic-metadata">

**Author:** [@esox\_ch](https://www.ruby-forum.com/u/esox_ch)\
**Replies:** 2\
**Last updated:** [December 12, 2006, 3:36pm UTC](https://www.ruby-forum.com/t/re-css-in-base-al-browser/79140 "2006-12-12T15:36:17Z")

</div>

Hai provato con i conditional comments? J.

---

## [Model layer access control](https://www.ruby-forum.com/t/model-layer-access-control/60634)

<div class="topic-metadata">

**Author:** [@Isak\_H](https://www.ruby-forum.com/u/Isak_H)\
**Replies:** 2\
**Last updated:** [May 16, 2006, 3:48pm UTC](https://www.ruby-forum.com/t/model-layer-access-control/60634 "2006-05-16T15:48:48Z")

</div>

I already have a simple role based access control system (User, Role, Privilege, Client) in place for my web layer, which checks User.authorized?(controller, action, client) from a before filter. What do you think abo…

---

## [Problems with compiling in development](https://www.ruby-forum.com/t/problems-with-compiling-in-development/245442)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [May 31, 2013, 4:28pm UTC](https://www.ruby-forum.com/t/problems-with-compiling-in-development/245442 "2013-05-31T16:28:24Z")

</div>

I have a strange problem that I suspect has to do with compiling. In development do I need to do anything after I change the code? It still loads a file, looking in the log file, that it shouldn’t. I thought Rails did…

---

## [BRASS v1.0.0 released](https://www.ruby-forum.com/t/brass-v1-0-0-released/216090)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [January 25, 2012, 8:09pm UTC](https://www.ruby-forum.com/t/brass-v1-0-0-released/216090 "2012-01-25T20:09:14Z")

</div>

BRASS 1.0.0 has been released. BRASS stands for Bare-Metal Ruby Assertion System Standard. It is a very basic foundational assertions framework for other assertion and test frameworks to make use so they can all work …

---

## [Polymorphic Associations](https://www.ruby-forum.com/t/polymorphic-associations/211261)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [September 1, 2011, 6:30am UTC](https://www.ruby-forum.com/t/polymorphic-associations/211261 "2011-09-01T06:30:09Z")

</div>

I have Titles and People, and I want a single Image class that can apply to either. I’m reading the Rails API on Polymorphic Associations, and I’m getting confused by the example. Can anyone explain how to do this: T…

---

## [Table connection issue](https://www.ruby-forum.com/t/table-connection-issue/195455)

<div class="topic-metadata">

**Author:** [@PalaniKannan\_K](https://www.ruby-forum.com/u/PalaniKannan_K)\
**Replies:** 5\
**Last updated:** [September 23, 2010, 5:42pm UTC](https://www.ruby-forum.com/t/table-connection-issue/195455 "2010-09-23T17:42:19Z")

</div>

Dear all, I included models, controller and View. Please, find the mistake in it and tell me. I need to fetch the data of included tables “city and country” using the query of “first name and second name” of table ‘n…

---

## [Rake-compiler fails on Fedora 13](https://www.ruby-forum.com/t/rake-compiler-fails-on-fedora-13/190614)

<div class="topic-metadata">

**Author:** [@Gloria](https://www.ruby-forum.com/u/Gloria)\
**Replies:** 5\
**Last updated:** [June 24, 2010, 3:51pm UTC](https://www.ruby-forum.com/t/rake-compiler-fails-on-fedora-13/190614 "2010-06-24T15:51:51Z")

</div>

Hi there, I get the following: \[root@li137-46 tenderlove-nokogiri-0e2a3d9\]# rake-compiler /usr/lib/ruby/gems/1.8/gems/rake-compiler-0.7.0/lib/rake/ extensioncompiler.rb:28:in mingw\_host': No MinGW tools or unknown se…

---

## [Strange Encoding Behavior](https://www.ruby-forum.com/t/strange-encoding-behavior/181729)

<div class="topic-metadata">

**Author:** [@night\_stalker](https://www.ruby-forum.com/u/night_stalker)\
**Replies:** 5\
**Last updated:** [January 18, 2010, 5:23am UTC](https://www.ruby-forum.com/t/strange-encoding-behavior/181729 "2010-01-18T05:23:12Z")

</div>

The encoding of FILE is always the same as Encoding.default\_external even if there is a magic column. Sometimes it is necessary to convert the string into another encoding. Here is some code to demonstrate the issue: …

---

## [About USRP2\_MIN\_RX\_SAMPLES](https://www.ruby-forum.com/t/about-usrp2-min-rx-samples/175558)

<div class="topic-metadata">

**Author:** [@Ulrika\_U](https://www.ruby-forum.com/u/Ulrika_U)\
**Replies:** 5\
**Last updated:** [September 16, 2009, 6:50pm UTC](https://www.ruby-forum.com/t/about-usrp2-min-rx-samples/175558 "2009-09-16T18:50:24Z")

</div>

Hi all! I ran into the constant USRP2\_MIN\_RX\_SAMPLES = 371 defined in usrp2\_base.h, but I don’t get what it is used for (it comes with the comment “BIG ASS FIXME: get from lower layer MTU calculation”). Does anyone k…

---

## [Insert record in table error](https://www.ruby-forum.com/t/insert-record-in-table-error/173501)

<div class="topic-metadata">

**Author:** [@wap](https://www.ruby-forum.com/u/wap)\
**Replies:** 5\
**Last updated:** [August 11, 2009, 7:34am UTC](https://www.ruby-forum.com/t/insert-record-in-table-error/173501 "2009-08-11T07:34:56Z")

</div>

i have cateadd.html.erb file in admins folder and i want call admins controller and define method like this def cateadd @pro\_categorie = ProCategorie.new respond\_to do |formate| format.html # new.html.erb …

---

## [Padawan seeks advice from jedi masters to create toggle box via ajax/rjs before slitting wrists wit](https://www.ruby-forum.com/t/padawan-seeks-advice-from-jedi-masters-to-create-toggle-box-via-ajax-rjs-before-slitting-wrists-wit/172624)

<div class="topic-metadata">

**Author:** [@Tim\_Rand](https://www.ruby-forum.com/u/Tim_Rand)\
**Replies:** 5\
**Last updated:** [July 24, 2009, 6:12pm UTC](https://www.ruby-forum.com/t/padawan-seeks-advice-from-jedi-masters-to-create-toggle-box-via-ajax-rjs-before-slitting-wrists-wit/172624 "2009-07-24T18:12:32Z")

</div>

I AM TRYING TO MAKE A DAMN TOGGLE BOX, BUT USING MY OWN GRAPHIC AND HAVING THE MOUSECLICK TRIGGER BOTH SWITCHING THE GRAPHIC (via AJAX) AND SAVING THE STATE IN THE DATABASE. I GOT IT ALL WORKING WITH NORMAL HTML GET…

---

## [Rewrite rule help](https://www.ruby-forum.com/t/rewrite-rule-help/169085)

<div class="topic-metadata">

**Author:** [@Anoop\_A](https://www.ruby-forum.com/u/Anoop_A)\
**Replies:** 5\
**Last updated:** [June 2, 2009, 7:03am UTC](https://www.ruby-forum.com/t/rewrite-rule-help/169085 "2009-06-02T07:03:26Z")

</div>

Hello, It would be great if someone can help me port the following apache rewrite rules to nginx ===================== RewriteRule @^/paOS(.+)@i /?/paos$1 \[L\] RewriteRule ^SOap(.+) /?/paos$1 \[L\] RewriteRule ^paos(…

---

## [Problem deploying an app with passenger](https://www.ruby-forum.com/t/problem-deploying-an-app-with-passenger/160367)

<div class="topic-metadata">

**Author:** [@landry\_soules](https://www.ruby-forum.com/u/landry_soules)\
**Replies:** 5\
**Last updated:** [February 16, 2009, 9:15pm UTC](https://www.ruby-forum.com/t/problem-deploying-an-app-with-passenger/160367 "2009-02-16T21:15:48Z")

</div>

Hello, I’m desperatly trying to install an app with phusion passenger. I’ve already spent 2 days with no success, can somebody help me, please ? Here is my problem : I already installed phusion passenger with no prob…

---

## [Form\_for + catch the complete action](https://www.ruby-forum.com/t/form-for-catch-the-complete-action/159550)

<div class="topic-metadata">

**Author:** [@petan](https://www.ruby-forum.com/u/petan)\
**Replies:** 5\
**Last updated:** [February 6, 2009, 9:36pm UTC](https://www.ruby-forum.com/t/form-for-catch-the-complete-action/159550 "2009-02-06T21:36:21Z")

</div>

Hi I am using classic form\_for to upload pictures using ajax. \<% form\_for(:images, :url =\> formatted\_images\_path(:format =\> ‘js’), :html =\> { :multipart =\> true, :target =\> ‘upload\_frame’ }) do |f| %\> Is there a way t…

---

## [Initial release of Elemental](https://www.ruby-forum.com/t/initial-release-of-elemental/159281)

<div class="topic-metadata">

**Author:** [@mwlang88](https://www.ruby-forum.com/u/mwlang88)\
**Replies:** 5\
**Last updated:** [February 4, 2009, 4:05am UTC](https://www.ruby-forum.com/t/initial-release-of-elemental/159281 "2009-02-04T04:05:49Z")

</div>

Posted By: Michael Lang Date: 2009-02-02 18:42 Summary: \[ANN\] Initial release of Elemental Project: Elemental Enumerated Types I am happy to announce the initial release of Elemental 0.1.1. Elemental provides enumer…

---

## [Runner suddenly fails](https://www.ruby-forum.com/t/runner-suddenly-fails/158283)

<div class="topic-metadata">

**Author:** [@mattias](https://www.ruby-forum.com/u/mattias)\
**Replies:** 5\
**Last updated:** [January 23, 2009, 12:15pm UTC](https://www.ruby-forum.com/t/runner-suddenly-fails/158283 "2009-01-23T12:15:07Z")

</div>

I have some jobs running through cron jobs and runner that suddenly starts failing. This is how it looks: from /usr/local/lib/ruby/gems/1.8/gems/rails-2.1.2/lib/commands/runner.rb:47 from /usr/local/lib/ruby/site\_r…

---

## [\[ANN\] babelfish 0.0.1](https://www.ruby-forum.com/t/ann-babelfish-0-0-1/156579)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 5\
**Last updated:** [January 1, 2009, 8:48am UTC](https://www.ruby-forum.com/t/ann-babelfish-0-0-1/156579 "2009-01-01T08:48:41Z")

</div>

babelfish : Ruby interface to Yahoo! BabelFish translation service This is a completely unofficial (and incredibly simple) Ruby interface to the Yahoo! BabelFish translation service. Enjoy! The source code is availab…

---

## [Named location explicit config](https://www.ruby-forum.com/t/named-location-explicit-config/149196)

<div class="topic-metadata">

**Author:** [@igorclark](https://www.ruby-forum.com/u/igorclark)\
**Replies:** 5\
**Last updated:** [September 22, 2008, 4:53pm UTC](https://www.ruby-forum.com/t/named-location-explicit-config/149196 "2008-09-22T16:53:30Z")

</div>

Hi, Is it possible to route specific types directly to a named location without using error\_page? e.g. location .php$ { @phpapp; } That doesn’t work, but is there any way to do this? Thanks very much, Igor

---

## [Mysql & Ruby in windows, it's possible ?!](https://www.ruby-forum.com/t/mysql-ruby-in-windows-its-possible/139637)

<div class="topic-metadata">

**Author:** [@m4lloc](https://www.ruby-forum.com/u/m4lloc)\
**Replies:** 5\
**Last updated:** [June 6, 2008, 5:42pm UTC](https://www.ruby-forum.com/t/mysql-ruby-in-windows-its-possible/139637 "2008-06-06T17:42:18Z")

</div>

\#Program: require ‘mysql’ m = Mysql.new(“localhost”,“root”,“your\_password”,“library”) r = m.query(“SELECT \* FROM autor ORDER BY nome”) r.each\_hash do |f| print “#{f\[‘nome’\]} - #{f\[‘sobrenome’\]}” end #error C:/Ins…

---

## [Ruby on Rails Authentication & Access Control](https://www.ruby-forum.com/t/ruby-on-rails-authentication-access-control/138358)

<div class="topic-metadata">

**Author:** [@Walter\_Lockhart](https://www.ruby-forum.com/u/Walter_Lockhart)\
**Replies:** 5\
**Last updated:** [May 24, 2008, 10:40am UTC](https://www.ruby-forum.com/t/ruby-on-rails-authentication-access-control/138358 "2008-05-24T10:40:41Z")

</div>

Hi Forum, I hope someone can help me. I have a client who has asked me to develop a project status tracking application using Ruby on Rails which will enable various business partners to view the status of various pr…

---

## [Recieve email from gmail using POP3](https://www.ruby-forum.com/t/recieve-email-from-gmail-using-pop3/138227)

<div class="topic-metadata">

**Author:** [@hloooi](https://www.ruby-forum.com/u/hloooi)\
**Replies:** 5\
**Last updated:** [May 21, 2008, 10:12am UTC](https://www.ruby-forum.com/t/recieve-email-from-gmail-using-pop3/138227 "2008-05-21T10:12:13Z")

</div>

can someone help me out with this folder… im stuck and i cant trouble shoot where is the error thx alot~~~

---

## [Regexp+hash problem](https://www.ruby-forum.com/t/regexp-hash-problem/137384)

<div class="topic-metadata">

**Author:** [@Le\_Lann\_Jean-Christ](https://www.ruby-forum.com/u/Le_Lann_Jean-Christ)\
**Replies:** 5\
**Last updated:** [May 12, 2008, 7:25pm UTC](https://www.ruby-forum.com/t/regexp-hash-problem/137384 "2008-05-12T19:25:16Z")

</div>

Hello ! I becoming totally mad about this simple script, whose goal is to capture various information (written in a single file) about some chess games : the conversion I need for the month seems to be the problem : I …

---

## [What's with all of the recent Rails gem updates on Windows?](https://www.ruby-forum.com/t/whats-with-all-of-the-recent-rails-gem-updates-on-windows/133222)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 5\
**Last updated:** [April 2, 2008, 6:04pm UTC](https://www.ruby-forum.com/t/whats-with-all-of-the-recent-rails-gem-updates-on-windows/133222 "2008-04-02T18:04:01Z")

</div>

There have been 3 updates of Rails for Windows in the last 2 weeks or so. Anybody know why? Are they platform-specific security updates or something? Thanks, Wes

---

## [Database optimization (ways to decrease the number of sql selects)](https://www.ruby-forum.com/t/database-optimization-ways-to-decrease-the-number-of-sql-selects/125465)

<div class="topic-metadata">

**Author:** [@blackflash](https://www.ruby-forum.com/u/blackflash)\
**Replies:** 5\
**Last updated:** [January 18, 2008, 1:46am UTC](https://www.ruby-forum.com/t/database-optimization-ways-to-decrease-the-number-of-sql-selects/125465 "2008-01-18T01:46:09Z")

</div>

Is there any way to optimize (decrease) SQL selects without using pure SQL (find\_by\_sql command)? Example: I have persons - professions (many to many relation), with only id and name columns to both tables. When a u…

---

## [Getting Ruby to work with Postgres on Windows XP](https://www.ruby-forum.com/t/getting-ruby-to-work-with-postgres-on-windows-xp/121005)

<div class="topic-metadata">

**Author:** [@dapperd](https://www.ruby-forum.com/u/dapperd)\
**Replies:** 5\
**Last updated:** [November 24, 2007, 2:13am UTC](https://www.ruby-forum.com/t/getting-ruby-to-work-with-postgres-on-windows-xp/121005 "2007-11-24T02:13:55Z")

</div>

Hi there, I have postgres 8.2 installed (not from the source, just the installer) and would like to get ruby to talk to my postgres databases simply. I have ruby-postgres installed and am using the extconf.rb to insta…

---

## [Application.rb methods not accessible](https://www.ruby-forum.com/t/application-rb-methods-not-accessible/111986)

<div class="topic-metadata">

**Author:** [@Glen](https://www.ruby-forum.com/u/Glen)\
**Replies:** 5\
**Last updated:** [August 15, 2007, 6:30pm UTC](https://www.ruby-forum.com/t/application-rb-methods-not-accessible/111986 "2007-08-15T18:30:10Z")

</div>

For some reason I seem to be unable to call methods defined in application.rb All controllers are supposed to inherit from application.rb correct? I have a bit of code that does some filtering and I want it accessible …

---

## [Functional.rb](https://www.ruby-forum.com/t/functional-rb/85752)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 5\
**Last updated:** [February 17, 2007, 12:56am UTC](https://www.ruby-forum.com/t/functional-rb/85752 "2007-02-17T00:56:29Z")

</div>

A look through RAA and rubyforge doesn’t show any functional programming libraries, are there any that I haven’t noticed? Any one interested in starting functional.rb? Here are some functional helpers I have used. c…

---

## [What runs when running tests?](https://www.ruby-forum.com/t/what-runs-when-running-tests/85571)

<div class="topic-metadata">

**Author:** [@kelly](https://www.ruby-forum.com/u/kelly)\
**Replies:** 5\
**Last updated:** [February 15, 2007, 12:55am UTC](https://www.ruby-forum.com/t/what-runs-when-running-tests/85571 "2007-02-15T00:55:59Z")

</div>

I guess I’m still learning ruby. While looking through the test code I realized I don’t see what actually runs. My tests extend Test::Unit::TestCase, and define tests as def test\_sometestname some testing stuff end …

---

## [Why does openstruct not respond to =?](https://www.ruby-forum.com/t/why-does-openstruct-not-respond-to/77902)

<div class="topic-metadata">

**Author:** [@Martin\_DeMello](https://www.ruby-forum.com/u/Martin_DeMello)\
**Replies:** 5\
**Last updated:** [December 1, 2006, 2:35pm UTC](https://www.ruby-forum.com/t/why-does-openstruct-not-respond-to/77902 "2006-12-01T14:35:55Z")

</div>

Took me aback - there seems to be no reason for OpenStruct not to permit member access via ostruct\[:field\] and ostruct\[‘field’\]. martin

---

## [||= in an expression](https://www.ruby-forum.com/t/in-an-expression/100127)

<div class="topic-metadata">

**Author:** [@rejoc](https://www.ruby-forum.com/u/rejoc)\
**Replies:** 5\
**Last updated:** [July 27, 2006, 10:46am UTC](https://www.ruby-forum.com/t/in-an-expression/100127 "2006-07-27T10:46:50Z")

</div>

Hello, I new to Ruby and curious about this language I do use (yeet). I was browsing through some libraries/modules and I found a line looking like a\[:i\] ||= “a string” I could not find this syntax in any manual onl…

---

## [Ruby security question](https://www.ruby-forum.com/t/ruby-security-question/62176)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 5\
**Last updated:** [June 1, 2006, 8:53am UTC](https://www.ruby-forum.com/t/ruby-security-question/62176 "2006-06-01T08:53:27Z")

</div>

I work for a fortune 100 company in the telecom space. They are absolutely dirtying their shorts over security concerns. They haven’t had any major fallout yet, but they figure it’s inevitable. They have been flyin…

---

## [RJS call from controller issues javascript that doesn't get](https://www.ruby-forum.com/t/rjs-call-from-controller-issues-javascript-that-doesnt-get/89621)

<div class="topic-metadata">

**Author:** [@Ovidiu\_EFTIMIE](https://www.ruby-forum.com/u/Ovidiu_EFTIMIE)\
**Replies:** 5\
**Last updated:** [March 29, 2006, 8:15pm UTC](https://www.ruby-forum.com/t/rjs-call-from-controller-issues-javascript-that-doesnt-get/89621 "2006-03-29T20:15:37Z")

</div>

Hi, I’m on Rails 1.1 and I have a problem wit RJS In my cotroller i have ==\>\>\> def show @contact = Contact.find(params\[:id\]) render :update do |page| page\[:contactInfo\].replace\_html :partial=\>“contactInfo” end e…

---

## [Subversion help!](https://www.ruby-forum.com/t/subversion-help/77576)

<div class="topic-metadata">

**Author:** [@mshah](https://www.ruby-forum.com/u/mshah)\
**Replies:** 5\
**Last updated:** [March 7, 2006, 12:37pm UTC](https://www.ruby-forum.com/t/subversion-help/77576 "2006-03-07T12:37:24Z")

</div>

I created a subversion repository on my new vps and i’m trying to setup my rails app there. However i keep getting this error: subversion/libsvn\_subr/io.c:2516: (apr\_err=13) svn: Can’t create directory ‘/home/svnad…

---

## [Re: DB2 Driver on RHEL 4 x86\_64](https://www.ruby-forum.com/t/re-db2-driver-on-rhel-4-x86-64/54021)

<div class="topic-metadata">

**Author:** [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Replies:** 5\
**Last updated:** [February 21, 2006, 1:04am UTC](https://www.ruby-forum.com/t/re-db2-driver-on-rhel-4-x86-64/54021 "2006-02-21T01:04:43Z")

</div>

FWIW, I’m using DB2 8.1, and have set DB2DIR=/opt/IBM/db2/V8.1 ; I’m pretty sure the path is correct, and I’m installing as root. I’m trying to install from ruby-db2-0.4.4 Is your Ruby 32 or 64 bit (i.e. what doe…

---

## [Ruby and perl](https://www.ruby-forum.com/t/ruby-and-perl/97732)

<div class="topic-metadata">

**Author:** [@Mathias](https://www.ruby-forum.com/u/Mathias)\
**Replies:** 5\
**Last updated:** [January 27, 2006, 1:03am UTC](https://www.ruby-forum.com/t/ruby-and-perl/97732 "2006-01-27T01:03:41Z")

</div>

Hello Community, is it possible to include perl scripts into a ruby view (.rhtml)? If yes, the structure has to be /public --\> /cgi-bin like in a web application with cgi scripts? Best regards, Mathias

---

## [See what happens in the following code?](https://www.ruby-forum.com/t/see-what-happens-in-the-following-code/245156)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [November 26, 2016, 3:51pm UTC](https://www.ruby-forum.com/t/see-what-happens-in-the-following-code/245156 "2016-11-26T15:51:20Z")

</div>

see what happens in the following code ??? class BookInStock attr\_reader :isbn attr\_accessor :price , :isbn def initialize(isbn, price) @isbn = isbn @price = Float(price) end def price\_in\_cents Integer(price\*1…

---

## [RX/TX transceiver](https://www.ruby-forum.com/t/rx-tx-transceiver/243049)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 18, 2015, 4:17pm UTC](https://www.ruby-forum.com/t/rx-tx-transceiver/243049 "2015-08-18T16:17:16Z")

</div>

Hi All, I have some issues when using UHD sink and source blocks in same flow graph. When I transmit data with UHD sink, I use tx\_sob and tx\_eob. I don’t get any underflow error. But, the problem is that I can see a…

---

## [Repeated include /etc/includes/ssl.conf Passes configtest, fails SSL Handshake](https://www.ruby-forum.com/t/repeated-include-etc-includes-ssl-conf-passes-configtest-fails-ssl-handshake/231245)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 31, 2014, 4:37pm UTC](https://www.ruby-forum.com/t/repeated-include-etc-includes-ssl-conf-passes-configtest-fails-ssl-handshake/231245 "2014-07-31T16:37:27Z")

</div>

Hi all, Had a chat with a helpful person on IRC but both are stumped as to why my configuration passes a check (nginx -t) but fails to properly handle SSL. Ive split a couple of repetitive blocks out into /etc/nginx…

---

## [Delucidazione extender + instance\_eval + dcell](https://www.ruby-forum.com/t/delucidazione-extender-instance-eval-dcell/240417)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [April 14, 2014, 12:47pm UTC](https://www.ruby-forum.com/t/delucidazione-extender-instance-eval-dcell/240417 "2014-04-14T12:47:27Z")

</div>

Ciao a tutti, qualcuno sarebbe cosi gentile da portermi aiutare a capire cosa fa una parte di codice che ho visto su questo file: Il file in questione è un modulo scritto da Tenderlove per gestire le notifiche tra pr…

---

## [Trouble with rspec and FactoryGirl Sequence](https://www.ruby-forum.com/t/trouble-with-rspec-and-factorygirl-sequence/236859)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [October 8, 2013, 9:05am UTC](https://www.ruby-forum.com/t/trouble-with-rspec-and-factorygirl-sequence/236859 "2013-10-08T09:05:37Z")

</div>

I’m following Michael H.'s Ruby on Rails 3 Tutorial but I’m using Rails 3.2.8 and FactoryGirl 4.2.0 and rspec 2.14.1 I’m in chapter 10 trying to generate tests for pagination (using will\_paginate 3.2.5 which works f…

---

## [Return file when it's in cache/check if file exists in cache](https://www.ruby-forum.com/t/return-file-when-its-in-cache-check-if-file-exists-in-cache/236433)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [September 6, 2013, 10:49am UTC](https://www.ruby-forum.com/t/return-file-when-its-in-cache-check-if-file-exists-in-cache/236433 "2013-09-06T10:49:03Z")

</div>

I’m using ngnix as proxy server. There is a situation when backend server is down and I know about it. Thus I’m adding ‘Check-Cache’ header to request and what I want to do is get the file when it is in cache, and wh…

---

## [Set USRP clock to system time in GRC](https://www.ruby-forum.com/t/set-usrp-clock-to-system-time-in-grc/227991)

<div class="topic-metadata">

**Author:** [@raven13](https://www.ruby-forum.com/u/raven13)\
**Replies:** 1\
**Last updated:** [April 5, 2013, 6:52pm UTC](https://www.ruby-forum.com/t/set-usrp-clock-to-system-time-in-grc/227991 "2013-04-05T18:52:10Z")

</div>

Hi list, I am wondering if it is possible to set a USRP clock to the system time within GRC. I know this is straightforward in Python and C++ using the set\_time\_now method, but as I use GRC a lot I don’t want to edit …

---

## [GtkMessageType](https://www.ruby-forum.com/t/gtkmessagetype/215969)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [January 20, 2012, 9:51pm UTC](https://www.ruby-forum.com/t/gtkmessagetype/215969 "2012-01-20T21:51:59Z")

</div>

Hello I am working on the implementation of GtkInfoBar \[ http://developer.gnome.org/gtk/stable/GtkInfoBar.html\]. It uses GtkMessageType \[ http://developer.gnome.org/gtk/stable/GtkMessageDialog.html#GtkMessageType\]. …

---

## [\[RAILS\] \[rspec 2.4.0\] helper spec works but rails escapes all output](https://www.ruby-forum.com/t/rails-rspec-2-4-0-helper-spec-works-but-rails-escapes-all-output/202621)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [February 3, 2011, 10:54am UTC](https://www.ruby-forum.com/t/rails-rspec-2-4-0-helper-spec-works-but-rails-escapes-all-output/202621 "2011-02-03T10:54:52Z")

</div>

Hi, rspec version: 2.4.0 Given this helper - snippet: def participants\_summary table table.participants.collect{|participant| show\_short\_participant\_link(participant) }.join(’, ') end def show\_table\_link(table) li…

---

## [Using ERB inline templates w/ Sinatra on 1.9.2-p0 broken?](https://www.ruby-forum.com/t/using-erb-inline-templates-w-sinatra-on-1-9-2-p0-broken/195418)

<div class="topic-metadata">

**Author:** [@asoto](https://www.ruby-forum.com/u/asoto)\
**Replies:** 1\
**Last updated:** [September 23, 2010, 9:11am UTC](https://www.ruby-forum.com/t/using-erb-inline-templates-w-sinatra-on-1-9-2-p0-broken/195418 "2010-09-23T09:11:42Z")

</div>

This works under 1.8.7: get “/” do erb :text end END @@text If you can read this then we're up & running But running it under 1.9.2-p0 results in this error: No such file or directory /home/ubuntu/load/\<inter…

---

## [Sinatra Error - \`read ': Invalid argument .. (Errno::EINVAL)](https://www.ruby-forum.com/t/sinatra-error-read-invalid-argument-errno-einval/194614)

<div class="topic-metadata">

**Author:** [@bhayzone](https://www.ruby-forum.com/u/bhayzone)\
**Replies:** 1\
**Last updated:** [September 8, 2010, 2:55am UTC](https://www.ruby-forum.com/t/sinatra-error-read-invalid-argument-errno-einval/194614 "2010-09-08T02:55:26Z")

</div>

I’m hoping someone can help me here. I am a complete newbie to Ruby and Sinatra and cannot find any information related to this problem anywhere. Any help would be greatly appreciated. Ruby version=1.9.2 I also have …

---

## [Sessions](https://www.ruby-forum.com/t/sessions/187592)

<div class="topic-metadata">

**Author:** [@mailtorajuit](https://www.ruby-forum.com/u/mailtorajuit)\
**Replies:** 7\
**Last updated:** [April 27, 2010, 7:33pm UTC](https://www.ruby-forum.com/t/sessions/187592 "2010-04-27T19:33:55Z")

</div>

hi all, in my application, i have login form. while login into the application iam maintaning the details in session. i want to remove the stale sessions and while removing the stale sessions i want to perform some o…

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

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