# Top

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

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

---

## [Issue with Getopt-declare incorrect parameter specification](https://www.ruby-forum.com/t/issue-with-getopt-declare-incorrect-parameter-specification/89512)

<div class="topic-metadata">

**Author:** [@Nexos](https://www.ruby-forum.com/u/Nexos)\
**Replies:** 4\
**Last updated:** [March 21, 2007, 8:50pm UTC](https://www.ruby-forum.com/t/issue-with-getopt-declare-incorrect-parameter-specification/89512 "2007-03-21T20:50:32Z")

</div>

Hi, I’m having a weird problem with the “Getopt-declare” library. I wrote: require ‘rubygems’ require ‘Getopt/Declare’ pattern = “.\*” args = Getopt::Declare.new(%q@ -p some regexp; defaults to “.\*” (explanation) …

---

## [Outputting graphs in a PDF from a Rails app?](https://www.ruby-forum.com/t/outputting-graphs-in-a-pdf-from-a-rails-app/88857)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [March 18, 2007, 3:26am UTC](https://www.ruby-forum.com/t/outputting-graphs-in-a-pdf-from-a-rails-app/88857 "2007-03-18T03:26:29Z")

</div>

Hi there I have a Rails app that is used to conduct surveys. I now wish to be able to output a report in pdf format with graphs of the survey results. The graphs themselves are quite simple bar charts, but is there a…

---

## [Accessing data in a separate table w/out relationship](https://www.ruby-forum.com/t/accessing-data-in-a-separate-table-w-out-relationship/69159)

<div class="topic-metadata">

**Author:** [@subatomic](https://www.ruby-forum.com/u/subatomic)\
**Replies:** 4\
**Last updated:** [September 19, 2006, 7:00am UTC](https://www.ruby-forum.com/t/accessing-data-in-a-separate-table-w-out-relationship/69159 "2006-09-19T07:00:28Z")

</div>

This question has two parts I currently have setup two models and 1 controller. In the view of the controller I have setup a form with a select form component and would like the values of this select component to be …

---

## [\[Ticket 29\] When you collapse a branch in the admin page men](https://www.ruby-forum.com/t/ticket-29-when-you-collapse-a-branch-in-the-admin-page-men/95688)

<div class="topic-metadata">

**Author:** [@dasch](https://www.ruby-forum.com/u/dasch)\
**Replies:** 4\
**Last updated:** [June 13, 2006, 5:13pm UTC](https://www.ruby-forum.com/t/ticket-29-when-you-collapse-a-branch-in-the-admin-page-men/95688 "2006-06-13T17:13:33Z")

</div>

\<\<showBranch.txt\>\> The attached is a new version of the showBranch function that should fix this up. Couldn’t post it to the ticket - it redirected me to port 9007, which I couldn’t connect to.

---

## [\[Question} how best to use attribute driven db with Rails](https://www.ruby-forum.com/t/question-how-best-to-use-attribute-driven-db-with-rails/63054)

<div class="topic-metadata">

**Author:** [@teddio](https://www.ruby-forum.com/u/teddio)\
**Replies:** 4\
**Last updated:** [June 11, 2006, 4:48pm UTC](https://www.ruby-forum.com/t/question-how-best-to-use-attribute-driven-db-with-rails/63054 "2006-06-11T16:48:03Z")

</div>

I designed out a mostly attribute driven database. Originally i was going to use PHP, but have now decided to use RoR. Being able to use the built in OR functionality would be nice, but I am not sure how well it melds…

---

## [Cvs+svn updates / audio / config files](https://www.ruby-forum.com/t/cvs-svn-updates-audio-config-files/56531)

<div class="topic-metadata">

**Author:** [@blair](https://www.ruby-forum.com/u/blair)\
**Replies:** 4\
**Last updated:** [April 1, 2006, 6:46am UTC](https://www.ruby-forum.com/t/cvs-svn-updates-audio-config-files/56531 "2006-04-01T06:46:42Z")

</div>

Hi Folks, There have been a lot of updates in CVS and a few in svn over the last few days. Yes, I know that that having some of the stuff in CVS and some in subversion is a pain. Consider it an experiment that will …

---

## [Creating objects with has\_many :through relationship](https://www.ruby-forum.com/t/creating-objects-with-has-many-through-relationship/54189)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 4\
**Last updated:** [February 26, 2006, 10:48pm UTC](https://www.ruby-forum.com/t/creating-objects-with-has-many-through-relationship/54189 "2006-02-26T22:48:16Z")

</div>

Three tables: users: id clients: id admin\_contacts: user\_id, client\_id class Client has\_many :admin\_contacts has\_many :contacts, :through =\> :admin\_contacts, :foreign\_key =\> :user\_id, :class\_name =\> ‘User’ end I…

---

## [SHow do you suppress ERB newlines globally](https://www.ruby-forum.com/t/show-do-you-suppress-erb-newlines-globally/54015)

<div class="topic-metadata">

**Author:** [@Lindsay\_B](https://www.ruby-forum.com/u/Lindsay_B)\
**Replies:** 4\
**Last updated:** [February 20, 2006, 5:10pm UTC](https://www.ruby-forum.com/t/show-do-you-suppress-erb-newlines-globally/54015 "2006-02-20T17:10:23Z")

</div>

Is there a config flag to suppress the newline at the end of every ERB ‘%\>’ tag, so it would not be necessary to type '-%\> each time?

---

## [Login\_Engine: trouble configuring](https://www.ruby-forum.com/t/login-engine-trouble-configuring/64882)

<div class="topic-metadata">

**Author:** [@soderic](https://www.ruby-forum.com/u/soderic)\
**Replies:** 4\
**Last updated:** [February 11, 2006, 3:44am UTC](https://www.ruby-forum.com/t/login-engine-trouble-configuring/64882 "2006-02-11T03:44:09Z")

</div>

Hi Guys, I’m having some trouble getting login\_engine to work. I’ve followed the steps in the README file to the letter (I think) with the exception of the Mailer stuff and cannot get my application to run. Heres what…

---

## [C extensions and class constants nested within modules](https://www.ruby-forum.com/t/c-extensions-and-class-constants-nested-within-modules/52704)

<div class="topic-metadata">

**Author:** [@Daniel.Berger](https://www.ruby-forum.com/u/Daniel.Berger)\
**Replies:** 4\
**Last updated:** [November 22, 2005, 8:03pm UTC](https://www.ruby-forum.com/t/c-extensions-and-class-constants-nested-within-modules/52704 "2005-11-22T20:03:34Z")

</div>

Hi all, This appears to be perfectly legal Ruby code: module Foo class Bar end class Bar::Baz end end p Foo::Bar.new # ok p Foo::Bar::Baz.new # ok However, an equivalent C extension has problems: void I…

---

## [LONG\_LONG availability](https://www.ruby-forum.com/t/long-long-availability/228946)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 6\
**Last updated:** [May 15, 2013, 2:16pm UTC](https://www.ruby-forum.com/t/long-long-availability/228946 "2013-05-15T14:16:34Z")

</div>

$B5$$,$D$$$F$7$^$C$?$N$G$9$,!"(BRuby 1.9.2 $B$N$3$m$+$i(B include/ruby/ruby.h $B$K0J2\<$N%3!\<%I$,$"$j$^$9!#(B #ifdef SIZEOF\_LONG\_LONG typedef char ruby\_check\_sizeof\_long\_long\[SIZEOF\_LONG\_LONG == sizeof(LONG\_LONG) ? 1 …

---

## [Ruby on rails get ids to my database](https://www.ruby-forum.com/t/ruby-on-rails-get-ids-to-my-database/228950)

<div class="topic-metadata">

**Author:** [@cristhiancampoverde](https://www.ruby-forum.com/u/cristhiancampoverde)\
**Replies:** 6\
**Last updated:** [May 14, 2013, 10:37am UTC](https://www.ruby-forum.com/t/ruby-on-rails-get-ids-to-my-database/228950 "2013-05-14T10:37:59Z")

</div>

I want to save the IDS of my 3 models to my table DETAILS between these, my BD is Mysql. SUBJECTS–MALLAS–LEVELS--------\>SUBJECT\_ID–\_MALLA\_ID–\_LEVEL\_ID In the view MALLA, i list my subjects, mallas and levels, and in t…

---

## [Il nuovo tryruby!](https://www.ruby-forum.com/t/il-nuovo-tryruby/212473)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [October 6, 2011, 1:53pm UTC](https://www.ruby-forum.com/t/il-nuovo-tryruby/212473 "2011-10-06T13:53:36Z")

</div>

Giusto in caso qualcuno se lo fosse perso, all’ultima rubyconf hanno rilanciato TryRuby, molto pi carino ora (e sospetto il tutorial sia un po’ pi lungo) . Tanto per dirvelo in caso vi voleste fare provare ruby a qu…

---

## [Generalisation in RoR](https://www.ruby-forum.com/t/generalisation-in-ror/207266)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [May 23, 2011, 7:47pm UTC](https://www.ruby-forum.com/t/generalisation-in-ror/207266 "2011-05-23T19:47:58Z")

</div>

Hello G.s, does anybody know wheter RoR is able to implement a generalisation of a database? I didn’t find any solution for that on the internet. Example Person : Customer or Person : Employee in the database such…

---

## [How to connect a form field to a table from another database?](https://www.ruby-forum.com/t/how-to-connect-a-form-field-to-a-table-from-another-database/206890)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [May 17, 2011, 6:31pm UTC](https://www.ruby-forum.com/t/how-to-connect-a-form-field-to-a-table-from-another-database/206890 "2011-05-17T18:31:51Z")

</div>

I have a form with some fields. In one of these ones the user can put data of type address, like “example street” and so on. I want that the user can select from a list of streets but these streets are in a table fro…

---

## [How to set default\_scope for the whole application?](https://www.ruby-forum.com/t/how-to-set-default-scope-for-the-whole-application/202592)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [February 3, 2011, 10:28am UTC](https://www.ruby-forum.com/t/how-to-set-default-scope-for-the-whole-application/202592 "2011-02-03T10:28:52Z")

</div>

I know I can set default\_scope for individual active record model, but can I set one up for the whole application? thanks

---

## [First Test Failures: Anything Obvious?](https://www.ruby-forum.com/t/first-test-failures-anything-obvious/193403)

<div class="topic-metadata">

**Author:** [@callyworld](https://www.ruby-forum.com/u/callyworld)\
**Replies:** 6\
**Last updated:** [August 18, 2010, 7:42am UTC](https://www.ruby-forum.com/t/first-test-failures-anything-obvious/193403 "2010-08-18T07:42:37Z")

</div>

Still following my rails book (more like, adapting to my project as I go). My first attempt at a unit test failed. Adapting the example in the book, I came up with this: require ‘test\_helper’ class RecordingTest \< Ac…

---

## [How can I use Ruby with MS Excel?](https://www.ruby-forum.com/t/how-can-i-use-ruby-with-ms-excel/189835)

<div class="topic-metadata">

**Author:** [@leveille](https://www.ruby-forum.com/u/leveille)\
**Replies:** 6\
**Last updated:** [June 10, 2010, 2:10am UTC](https://www.ruby-forum.com/t/how-can-i-use-ruby-with-ms-excel/189835 "2010-06-10T02:10:19Z")

</div>

As much as I hate to say it, Microsoft Excel is here to stay and will continue to be the most popular tool among engineers and scientists. When I say engineers, I mean mechanical, civil, environmental, chemical engine…

---

## [Read efficiency?](https://www.ruby-forum.com/t/read-efficiency/183827)

<div class="topic-metadata">

**Author:** [@guyminuslife](https://www.ruby-forum.com/u/guyminuslife)\
**Replies:** 6\
**Last updated:** [February 22, 2010, 4:40pm UTC](https://www.ruby-forum.com/t/read-efficiency/183827 "2010-02-22T16:40:46Z")

</div>

I’m wondering if anyone knows much about Ruby’s efficiency with IO#read. Specifically, I’m wondering about libraries I might use to speed up disk reads. To see what I mean, here’s some test code that iterates over an …

---

## [Should I send patch here? - xslt\_enable "only enable xslt transform for certain user agent"](https://www.ruby-forum.com/t/should-i-send-patch-here-xslt-enable-only-enable-xslt-transform-for-certain-user-agent/182384)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [January 27, 2010, 1:50pm UTC](https://www.ruby-forum.com/t/should-i-send-patch-here-xslt-enable-only-enable-xslt-transform-for-certain-user-agent/182384 "2010-01-27T13:50:14Z")

</div>

Maybe not many people using xslt as main web layout. but I do. This patch is similar to gzip\_disable. xslt\_enable only enable xslt transform for certain user agent. e.g. xslt\_enable “Googlebot” will only enable xsl…

---

## [How to get real reference to an object?](https://www.ruby-forum.com/t/how-to-get-real-reference-to-an-object/172578)

<div class="topic-metadata">

**Author:** [@elgato](https://www.ruby-forum.com/u/elgato)\
**Replies:** 6\
**Last updated:** [July 23, 2009, 8:25pm UTC](https://www.ruby-forum.com/t/how-to-get-real-reference-to-an-object/172578 "2009-07-23T20:25:11Z")

</div>

Assume a big hash and/or a nested structure and the need of a plenty of operations on some hash\[…\]\[…\]\[…\] which is Float. How can one avoid the repetitious evaluation of the indices? I have not been able to get a “real…

---

## [Retrieving Count (\*)](https://www.ruby-forum.com/t/retrieving-count/171619)

<div class="topic-metadata">

**Author:** [@railslist](https://www.ruby-forum.com/u/railslist)\
**Replies:** 6\
**Last updated:** [July 6, 2009, 6:49pm UTC](https://www.ruby-forum.com/t/retrieving-count/171619 "2009-07-06T18:49:30Z")

</div>

I have a find statement in my controller like the following: @c = Model.find(:all, :select=\>“count(\*) as total”, :conditions=\>\[some conditions\]) This returns some value or “0” (if none found). How do I retrieve this …

---

## [No error but mail not sent?](https://www.ruby-forum.com/t/no-error-but-mail-not-sent/162419)

<div class="topic-metadata">

**Author:** [@loader](https://www.ruby-forum.com/u/loader)\
**Replies:** 6\
**Last updated:** [March 10, 2009, 12:29am UTC](https://www.ruby-forum.com/t/no-error-but-mail-not-sent/162419 "2009-03-10T00:29:06Z")

</div>

Hello everyone! In the console, it says “Email sent” with all informations. But when I check my inbox I got nothing. Any help? Thank you!

---

## [Uniuq no](https://www.ruby-forum.com/t/uniuq-no/160316)

<div class="topic-metadata">

**Author:** [@vetrivel](https://www.ruby-forum.com/u/vetrivel)\
**Replies:** 6\
**Last updated:** [February 25, 2009, 4:43pm UTC](https://www.ruby-forum.com/t/uniuq-no/160316 "2009-02-25T16:43:15Z")

</div>

I want to create new unique id in ruby.I have used the following coding.But I don’'t know whether it works perfectly or not. t = Time.new p “%10.5f” % t.to\_f does it give unique value always.I you know some other way…

---

## [Syntax to include custom Java classes](https://www.ruby-forum.com/t/syntax-to-include-custom-java-classes/150145)

<div class="topic-metadata">

**Author:** [@thiagobrandam](https://www.ruby-forum.com/u/thiagobrandam)\
**Replies:** 6\
**Last updated:** [October 5, 2008, 3:04pm UTC](https://www.ruby-forum.com/t/syntax-to-include-custom-java-classes/150145 "2008-10-05T15:04:03Z")

</div>

Hi guys. This is a newbie’s question: how do I do to include custom Java classes in a .rb file? Do I have to make a .jar file and then call a require? If so, what’s the next thing I have to do to use a Java class in t…

---

## [Skip validation when this\_action](https://www.ruby-forum.com/t/skip-validation-when-this-action/140968)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 6\
**Last updated:** [June 20, 2008, 12:40pm UTC](https://www.ruby-forum.com/t/skip-validation-when-this-action/140968 "2008-06-20T12:40:42Z")

</div>

How can I write a condition in a validation that will skip validation if it comes from a certain action? :if =\> don’t\_validate\_when\_this\_action Or how do you handle this, with validation, when you have an update form …

---

## [Add a class attribut into a form\_tag](https://www.ruby-forum.com/t/add-a-class-attribut-into-a-form-tag/140522)

<div class="topic-metadata">

**Author:** [@z4n9ief](https://www.ruby-forum.com/u/z4n9ief)\
**Replies:** 6\
**Last updated:** [June 16, 2008, 2:09pm UTC](https://www.ruby-forum.com/t/add-a-class-attribut-into-a-form-tag/140522 "2008-06-16T14:09:00Z")

</div>

Hi, do you know how to add into this balise a class attribut: \<% form\_tag :action =\> ‘search’ do -%\> in order to doing this in HTML: Thanks :slight\_smile:

---

## [Yaml issues](https://www.ruby-forum.com/t/yaml-issues/139993)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 6\
**Last updated:** [June 10, 2008, 2:10pm UTC](https://www.ruby-forum.com/t/yaml-issues/139993 "2008-06-10T14:10:34Z")

</div>

i thought yaml was built into Ruby 1.8.6. i seem to be getting exceptions in creating a store. irb(main):021:0\> require ‘yaml’ =\> false irb(main):022:0\> y=YAML::Store.new(“c:\\temp\\yaml.store.1”) NameError: uninitial…

---

## [C++ daughterboard code \[was MATLAB...\]](https://www.ruby-forum.com/t/c-daughterboard-code-was-matlab/134340)

<div class="topic-metadata">

**Author:** [@blair](https://www.ruby-forum.com/u/blair)\
**Replies:** 6\
**Last updated:** [April 21, 2008, 2:45pm UTC](https://www.ruby-forum.com/t/c-daughterboard-code-was-matlab/134340 "2008-04-21T14:45:30Z")

</div>

On Wed, Apr 09, 2008 at 03:45:56PM -0400, Kevin Rudd wrote: it and GNU Radio for several months. Unfortunately, it now sits in my office unused. It is unfortunate, because I know how useful it can be. I hope that o…

---

## [Reescribir url](https://www.ruby-forum.com/t/reescribir-url/129448)

<div class="topic-metadata">

**Author:** [@trancos123](https://www.ruby-forum.com/u/trancos123)\
**Replies:** 6\
**Last updated:** [February 18, 2008, 7:50pm UTC](https://www.ruby-forum.com/t/reescribir-url/129448 "2008-02-18T19:50:26Z")

</div>

Saludos Tengo la home (el profile) de unos usuarios en el controlador user es decir http://127.0.0.1:3000/user/user1 http://127.0.0.1:3000/user/user2 … En routes.rb : map.connect ‘user/:screen\_name’, :controller =\>…

---

## [Relations problem](https://www.ruby-forum.com/t/relations-problem/126698)

<div class="topic-metadata">

**Author:** [@kaizerkaizer](https://www.ruby-forum.com/u/kaizerkaizer)\
**Replies:** 6\
**Last updated:** [January 22, 2008, 12:19pm UTC](https://www.ruby-forum.com/t/relations-problem/126698 "2008-01-22T12:19:14Z")

</div>

I’m using Restful Authentication (which I hope some of you know), so I’m using that Users-table as my main table. Now, I’ve added a table called ‘Presentations’. I’ve also added a presentation\_id in my Users-table so …

---

## [Class variable not retaining its old val after server start](https://www.ruby-forum.com/t/class-variable-not-retaining-its-old-val-after-server-start/124275)

<div class="topic-metadata">

**Author:** [@vidya1111](https://www.ruby-forum.com/u/vidya1111)\
**Replies:** 6\
**Last updated:** [December 28, 2007, 6:00am UTC](https://www.ruby-forum.com/t/class-variable-not-retaining-its-old-val-after-server-start/124275 "2007-12-28T06:00:00Z")

</div>

I want to get the names of the subclasses. In my model class, I have cattr\_accessor :subtypes def self.inherited(sub) super @@subtypes ||= \[\] @@subtypes.push(sub.name) session\[:subtypes\] = @@subtypes end @subtyp…

---

## [Name this method](https://www.ruby-forum.com/t/name-this-method/121920)

<div class="topic-metadata">

**Author:** [@dewie](https://www.ruby-forum.com/u/dewie)\
**Replies:** 6\
**Last updated:** [December 3, 2007, 5:13am UTC](https://www.ruby-forum.com/t/name-this-method/121920 "2007-12-03T05:13:58Z")

</div>

First off, if there’s already a method that does this please point it out; I couldn’t find one so I wrote my own. It’s currently called #to\_elapsed\_time and is attached to Fixnum. What it does… 10.to\_elapsed\_time …

---

## [How do I create an array to represent an empty record?](https://www.ruby-forum.com/t/how-do-i-create-an-array-to-represent-an-empty-record/77612)

<div class="topic-metadata">

**Author:** [@shauna](https://www.ruby-forum.com/u/shauna)\
**Replies:** 6\
**Last updated:** [November 29, 2006, 2:08pm UTC](https://www.ruby-forum.com/t/how-do-i-create-an-array-to-represent-an-empty-record/77612 "2006-11-29T14:08:59Z")

</div>

Here’s something that’s a snap to do in desktop database management systems (like Paradox or Access) but I haven’t figured out how to do it in RoR, and can’t seem to find any examples by googling, etc. My overall goal…

---

## [Regexp Parsing -- What's the right way?](https://www.ruby-forum.com/t/regexp-parsing-whats-the-right-way/102454)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [August 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/regexp-parsing-whats-the-right-way/102454 "2006-08-15T14:18:24Z")

</div>

Greetings, I’m trying to parse the following line: “00608 P 135 001 LEC Tu 2-5P 210 WHEELER Information Tech and Soceity 3 LAGUERRE” i’ve constructed the following regexp: /(\\d{5}).(\\D\\s\\w{2,4}).(\\d{1,4}\\s\\D{3}).(\\D…

---

## [Gui](https://www.ruby-forum.com/t/gui/101637)

<div class="topic-metadata">

**Author:** [@tdellaringa](https://www.ruby-forum.com/u/tdellaringa)\
**Replies:** 6\
**Last updated:** [August 7, 2006, 8:26am UTC](https://www.ruby-forum.com/t/gui/101637 "2006-08-07T08:26:59Z")

</div>

Hello All, Though a lot has already been asked about GUI’s and Ruby here another question. Does anyone know of a platform independent GUI solution, which uses XML (XUL, UIML, or even XAML)? To show you some research…

---

## [Non-greediness in a regex - need some help verifying syntax](https://www.ruby-forum.com/t/non-greediness-in-a-regex-need-some-help-verifying-syntax/101276)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 6\
**Last updated:** [August 4, 2006, 4:30pm UTC](https://www.ruby-forum.com/t/non-greediness-in-a-regex-need-some-help-verifying-syntax/101276 "2006-08-04T16:30:28Z")

</div>

All, Need some medium - level regex help. Here’s my regex: /~^LNK:\[\\t\\r\\n\]+?^~/m I’m trying to find all occurrences of strings in my big string that are between ~^LNK: and ^~ sequences of characters that have at lea…

---

## [Isset kinda function](https://www.ruby-forum.com/t/isset-kinda-function/62477)

<div class="topic-metadata">

**Author:** [@copot](https://www.ruby-forum.com/u/copot)\
**Replies:** 6\
**Last updated:** [June 5, 2006, 1:32pm UTC](https://www.ruby-forum.com/t/isset-kinda-function/62477 "2006-06-05T13:32:36Z")

</div>

Looking for something like PHP’s isset.

---

## [Validation of aggregates](https://www.ruby-forum.com/t/validation-of-aggregates/54418)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 6\
**Last updated:** [March 5, 2006, 1:41am UTC](https://www.ruby-forum.com/t/validation-of-aggregates/54418 "2006-03-05T01:41:10Z")

</div>

This may not be possible… I have an aggregation of clwholename defined in my model. the aggregation builds clwholename from :first\_name, middle\_initial, last\_name and it generally works fine. I am trying to add a va…

---

## [How can I access the value of params\[:tags\] in my validate f](https://www.ruby-forum.com/t/how-can-i-access-the-value-of-params-tags-in-my-validate-f/53693)

<div class="topic-metadata">

**Author:** [@softwareengineer\_99](https://www.ruby-forum.com/u/softwareengineer_99)\
**Replies:** 6\
**Last updated:** [February 15, 2006, 1:49am UTC](https://www.ruby-forum.com/t/how-can-i-access-the-value-of-params-tags-in-my-validate-f/53693 "2006-02-15T01:49:18Z")

</div>

I would like to have tags mandatory in my app. The following keeps giving me error that params is nill. def validate() if (@params\[:tags\]) errors.add(@params\[:tags\], ":tags must be entered ") end end Why cannot I …

---

## [Very new to Ruby--needs help](https://www.ruby-forum.com/t/very-new-to-ruby-needs-help/50675)

<div class="topic-metadata">

**Author:** [@beginner](https://www.ruby-forum.com/u/beginner)\
**Replies:** 6\
**Last updated:** [December 20, 2005, 3:57pm UTC](https://www.ruby-forum.com/t/very-new-to-ruby-needs-help/50675 "2005-12-20T15:57:37Z")

</div>

Dear Ruby Gurus, I would like to load a \*.lib file into my \*.rb file. How to do that. I did mentioned the path but was not successful. I did this: load (or require) “PATH name:\*.lib” thx, Mankan

---

## [Nginx Load Balancer - Random file named "download" when using Chrome](https://www.ruby-forum.com/t/nginx-load-balancer-random-file-named-download-when-using-chrome/243749)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [December 30, 2015, 11:53am UTC](https://www.ruby-forum.com/t/nginx-load-balancer-random-file-named-download-when-using-chrome/243749 "2015-12-30T11:53:39Z")

</div>

Hi guys, We are using Nginx 1.4.6 as a Load Balancer for our website. Sometimes, when a user loads the website, the browser will start downloading a file named “download” which contains the HTTP Response headers. So …

---

## [Cannot run ASP.NET Web API with Nginx and Mono on Ubuntu](https://www.ruby-forum.com/t/cannot-run-asp-net-web-api-with-nginx-and-mono-on-ubuntu/232996)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [November 10, 2014, 7:59pm UTC](https://www.ruby-forum.com/t/cannot-run-asp-net-web-api-with-nginx-and-mono-on-ubuntu/232996 "2014-11-10T19:59:58Z")

</div>

Good day, first of all I am new to Linux OS and mono. I am tryiing to run my ASP.NET Web API on Ubuntu with Nginx and Mono. Here is what I’ve done so far: I have installed mono, nginx, fastcgi-server4 and all succes…

---

## [Mkdir command failed in fileutils.rb](https://www.ruby-forum.com/t/mkdir-command-failed-in-fileutils-rb/230309)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [June 10, 2014, 2:01am UTC](https://www.ruby-forum.com/t/mkdir-command-failed-in-fileutils-rb/230309 "2014-06-10T02:01:47Z")

</div>

Hi, Ruby-group: Please help me with the following question. When I run the script, I got the following errors, regarding “mkdir” cannot be executed in fileutils.rb. Since this error is located in the lib file, shoul…

---

## [Installing rvm on SLES 11 sp3(SUSE Linux Enterprise Server 11)](https://www.ruby-forum.com/t/installing-rvm-on-sles-11-sp3-suse-linux-enterprise-server-11/241220)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [May 20, 2014, 9:55am UTC](https://www.ruby-forum.com/t/installing-rvm-on-sles-11-sp3-suse-linux-enterprise-server-11/241220 "2014-05-20T09:55:22Z")

</div>

Hello everyone. Does anyone had experience of installing rvm for this linux server? During rvm installation an error pops up that says i dont have the following libs: sqlite-devel gdbm-devel zlib-devel openssl-devel …

---

## [Streaming audio through internet](https://www.ruby-forum.com/t/streaming-audio-through-internet/235933)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [July 25, 2013, 5:29pm UTC](https://www.ruby-forum.com/t/streaming-audio-through-internet/235933 "2013-07-25T17:29:13Z")

</div>

Hello, I would like to stream demodulated audio through GNU Radio to the internet The way I want to achieve this is follows. Create virtual sound card available as audio sink, connect some source (e.g. sine wave) U…

---

## [Advise on learning Ruby](https://www.ruby-forum.com/t/advise-on-learning-ruby/218666)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 7\
**Last updated:** [April 7, 2012, 7:39pm UTC](https://www.ruby-forum.com/t/advise-on-learning-ruby/218666 "2012-04-07T19:39:15Z")

</div>

Hello, I’m still new to programming, with some familiarity of HTML, CSS, and a bit of PHP/delphi. Just recently I was learning Java and came across the fundementals of Programming such as constructors, methods etc. I…

---

## [Named audio device sink under Windows?](https://www.ruby-forum.com/t/named-audio-device-sink-under-windows/210163)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [August 1, 2011, 4:42pm UTC](https://www.ruby-forum.com/t/named-audio-device-sink-under-windows/210163 "2011-08-01T16:42:37Z")

</div>

Hi, is there a way to specify an audio device name under Windows? The code seems to ignore the device name that is passed to the audio\_windows\_sink, and to use WAVE\_MAPPER in the call to waveOutOpen no matter what the…

---

## [Question about Double / Float values in GRC](https://www.ruby-forum.com/t/question-about-double-float-values-in-grc/204486)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [March 14, 2011, 9:00am UTC](https://www.ruby-forum.com/t/question-about-double-float-values-in-grc/204486 "2011-03-14T09:00:55Z")

</div>

Hello All I have a basic/beginner question. I am using mkfifo to pipe output from a C++ application to a GRC script using a named pipe. I’m using C++ code that another student wrote and I am not too keen on making d…

---

## [Hosting IronRuby/DLR in long running applications](https://www.ruby-forum.com/t/hosting-ironruby-dlr-in-long-running-applications/189220)

<div class="topic-metadata">

**Author:** [@Josh\_Flanagan](https://www.ruby-forum.com/u/Josh_Flanagan)\
**Replies:** 1\
**Last updated:** [May 27, 2010, 7:06am UTC](https://www.ruby-forum.com/t/hosting-ironruby-dlr-in-long-running-applications/189220 "2010-05-27T07:06:54Z")

</div>

Following up on this discussion on ASP.NET: http://rubyforge.org/pipermail/ironruby-core/2010-February/006225.html We are considering hosting IronRuby in our application (ASP.NET website & a couple windows services). …

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

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