# Top

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

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

---

## [Problems calling a DLL from Ruby](https://www.ruby-forum.com/t/problems-calling-a-dll-from-ruby/223719)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 15, 2012, 2:55pm UTC](https://www.ruby-forum.com/t/problems-calling-a-dll-from-ruby/223719 "2012-10-15T14:55:59Z")

</div>

Hello everyone, I’m trying to call a third-party DLL from a Ruby script. I have no control over this DLL. The examples I have for calling this DLL’s functions are all in Visual Basic. I have registered the DLL using …

---

## [RE: Re: erb Regex?](https://www.ruby-forum.com/t/re-re-erb-regex/62789)

<div class="topic-metadata">

**Author:** [@Ross\_D](https://www.ruby-forum.com/u/Ross_D)\
**Replies:** 2\
**Last updated:** [June 8, 2006, 5:14am UTC](https://www.ruby-forum.com/t/re-re-erb-regex/62789 "2006-06-08T05:14:49Z")

</div>

Track \<%= product.sku\[-2,2\] %\> # -2 says “start at the right, 2nd place” , 2 says “get 2 characters” all is fine! now I just have to get only 1 character if the first is 0 - ‘0123\_02’ - get 2 instead of 02 …

---

## [Iterate over a collection/save associated model](https://www.ruby-forum.com/t/iterate-over-a-collection-save-associated-model/244449)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 7\
**Last updated:** [April 12, 2016, 10:21pm UTC](https://www.ruby-forum.com/t/iterate-over-a-collection-save-associated-model/244449 "2016-04-12T22:21:57Z")

</div>

I have a profile model that has a user state model (emotional state) - What I would like to do is give the user object the ability to change their state through the profile model. The code that I’ve written is below. …

---

## [TX/RX with USRPN200 and GNURadio](https://www.ruby-forum.com/t/tx-rx-with-usrpn200-and-gnuradio/232603)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [October 20, 2014, 1:51pm UTC](https://www.ruby-forum.com/t/tx-rx-with-usrpn200-and-gnuradio/232603 "2014-10-20T13:51:56Z")

</div>

Discuss-gnuradio mailing list removed\_email\_address@domain.invalid https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

---

## [How to start JRuby in client mode with Bundler?](https://www.ruby-forum.com/t/how-to-start-jruby-in-client-mode-with-bundler/214701)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [December 9, 2011, 5:15pm UTC](https://www.ruby-forum.com/t/how-to-start-jruby-in-client-mode-with-bundler/214701 "2011-12-09T17:15:30Z")

</div>

Hi all, Sorry for the stupid question. But I was looking at the And not sure how I can pass the options to jruby when using Bundler: I tried: bundle exec rspec --client -J-d32 spec/ But it gives me: OptionParser::I…

---

## [ActiveRecord filesystem based backend](https://www.ruby-forum.com/t/activerecord-filesystem-based-backend/150396)

<div class="topic-metadata">

**Author:** [@soderic](https://www.ruby-forum.com/u/soderic)\
**Replies:** 7\
**Last updated:** [October 8, 2008, 9:00pm UTC](https://www.ruby-forum.com/t/activerecord-filesystem-based-backend/150396 "2008-10-08T21:00:31Z")

</div>

Hi, I hoping to find/write an ActiveRecord backend which stores each record as a file in a directory, rather than as a row in a table in a database. I’m not concerned about scaling or concurrency issues. My questions …

---

## [RMagick: How to run scripts in rails](https://www.ruby-forum.com/t/rmagick-how-to-run-scripts-in-rails/117258)

<div class="topic-metadata">

**Author:** [@ratschi85](https://www.ruby-forum.com/u/ratschi85)\
**Replies:** 7\
**Last updated:** [October 22, 2007, 8:45am UTC](https://www.ruby-forum.com/t/rmagick-how-to-run-scripts-in-rails/117258 "2007-10-22T08:45:25Z")

</div>

Hey, I just managed to install ImageMagick and the RMagick gem for rails. But I’m not sure how to run the scripts from the documentation. For example: require ‘RMagick’ include Magick cat = ImageList.new(“Cheetah.…

---

## [How can I intercept attribute calls?](https://www.ruby-forum.com/t/how-can-i-intercept-attribute-calls/96865)

<div class="topic-metadata">

**Author:** [@antonk](https://www.ruby-forum.com/u/antonk)\
**Replies:** 7\
**Last updated:** [July 3, 2006, 6:38pm UTC](https://www.ruby-forum.com/t/how-can-i-intercept-attribute-calls/96865 "2006-07-03T18:38:41Z")

</div>

Hi. I have two types of fields in my database, e.g. “name” and “name\_ru”. First one is a user’s name in english and the second one is in russian. I want to intercept calls like “c.name” and add “\_ru” to it if current …

---

## [Sticky equivalent](https://www.ruby-forum.com/t/sticky-equivalent/230445)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 8\
**Last updated:** [June 20, 2014, 2:08pm UTC](https://www.ruby-forum.com/t/sticky-equivalent/230445 "2014-06-20T14:08:27Z")

</div>

Hi guys, I am running nginx 1.4 right now on a bunch of front end servers, i am running freebsd, and have nginx with sticky patch compiled from ports. I can’t upgrade to 1.6 or later, because the sticky port seems to …

---

## [Server level url rewrite & config rewrite or internal redirection cycle](https://www.ruby-forum.com/t/server-level-url-rewrite-config-rewrite-or-internal-redirection-cycle/179854)

<div class="topic-metadata">

**Author:** [@etetet](https://www.ruby-forum.com/u/etetet)\
**Replies:** 8\
**Last updated:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/server-level-url-rewrite-config-rewrite-or-internal-redirection-cycle/179854 "2009-12-19T15:25:33Z")

</div>

Hi, I am using “nginx version: nginx/0.7.64”, the latest stable version. I notice that rewrite on the server level won’t respect the ‘break’ or ‘last’ flag. Is this a feature or a bug? According to the module doc, it …

---

## [Position Mouse Curser - RoR way](https://www.ruby-forum.com/t/position-mouse-curser-ror-way/82729)

<div class="topic-metadata">

**Author:** [@kim](https://www.ruby-forum.com/u/kim)\
**Replies:** 8\
**Last updated:** [January 22, 2007, 8:41pm UTC](https://www.ruby-forum.com/t/position-mouse-curser-ror-way/82729 "2007-01-22T20:41:32Z")

</div>

Does anyone know how to set the mouse curser in a text box/area. For example: When a user is presented with a form - I want the mouse curser positioned in the first form item. Another example - I want to create a wik…

---

## [Convert ruby.rb to msdos exe file?](https://www.ruby-forum.com/t/convert-ruby-rb-to-msdos-exe-file/211652)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [September 9, 2011, 11:55pm UTC](https://www.ruby-forum.com/t/convert-ruby-rb-to-msdos-exe-file/211652 "2011-09-09T23:55:18Z")

</div>

I am rewriting numerous vbscript programs in ruby. Is there a way to make an exe file that includes ruby interpreter and my .rb into an exe executable? Thanks in advance Joe

---

## [Com.kenai code in jrubycomplete](https://www.ruby-forum.com/t/com-kenai-code-in-jrubycomplete/210480)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [August 10, 2011, 12:52am UTC](https://www.ruby-forum.com/t/com-kenai-code-in-jrubycomplete/210480 "2011-08-10T00:52:12Z")

</div>

All: I had an issue a while back in which my jruby code barfed when com.kenai.constantine.Platform got the package name (issue discussed here: Trying to embed jruby within an app in onejar - JRuby - Ruby-Forum). This…

---

## [JRuby and Java serialization](https://www.ruby-forum.com/t/jruby-and-java-serialization/161789)

<div class="topic-metadata">

**Author:** [@marabout](https://www.ruby-forum.com/u/marabout)\
**Replies:** 4\
**Last updated:** [October 23, 2009, 9:02pm UTC](https://www.ruby-forum.com/t/jruby-and-java-serialization/161789 "2009-10-23T21:02:16Z")

</div>

Hi, I am trying to produce a small Ruby DSL above a Java library that requires some objects to be Serializable. However, I am facing problems when a JRuby class extends a Java Serializable class. For example: #---- …

---

## [Rspec and prawn](https://www.ruby-forum.com/t/rspec-and-prawn/162456)

<div class="topic-metadata">

**Author:** [@deadinplastic](https://www.ruby-forum.com/u/deadinplastic)\
**Replies:** 4\
**Last updated:** [March 10, 2009, 1:50pm UTC](https://www.ruby-forum.com/t/rspec-and-prawn/162456 "2009-03-10T13:50:37Z")

</div>

Hi, I’ve just started using prawn but am at a bit of a loss how to create my view specs for it. For example, my normal view spec has things like response.should have\_tag(“blah”) or response.body.should =~ /somethin…

---

## [Dates stored as UNIX timestamps](https://www.ruby-forum.com/t/dates-stored-as-unix-timestamps/145972)

<div class="topic-metadata">

**Author:** [@Christian\_RishSSSSj](https://www.ruby-forum.com/u/Christian_RishSSSSj)\
**Replies:** 4\
**Last updated:** [August 16, 2008, 4:15pm UTC](https://www.ruby-forum.com/t/dates-stored-as-unix-timestamps/145972 "2008-08-16T16:15:02Z")

</div>

Dear list I am working with a legacy MySQL database which has dates stored as UNIX timestamps. Ideally, I would like to have the dates converted to proper Ruby objects when fetched from the database, and converted to …

---

## [Java 8](https://www.ruby-forum.com/t/java-8/240085)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [March 27, 2014, 3:52pm UTC](https://www.ruby-forum.com/t/java-8/240085 "2014-03-27T15:52:11Z")

</div>

What are the ramifications of Java 8? Is the current version of JRuby compatible with it? What are the main benefits and drawbacks? (I didn’t see this covered elsewhere – let me know if it is)

---

## [PaperClip: Attach files through script/console](https://www.ruby-forum.com/t/paperclip-attach-files-through-script-console/182050)

<div class="topic-metadata">

**Author:** [@ndorphine](https://www.ruby-forum.com/u/ndorphine)\
**Replies:** 3\
**Last updated:** [January 22, 2010, 10:23am UTC](https://www.ruby-forum.com/t/paperclip-attach-files-through-script-console/182050 "2010-01-22T10:23:28Z")

</div>

I’m wondering is it possible to attach a file through script/console?

---

## [Has\_many and validates\_associated](https://www.ruby-forum.com/t/has-many-and-validates-associated/131027)

<div class="topic-metadata">

**Author:** [@grey-lantern](https://www.ruby-forum.com/u/grey-lantern)\
**Replies:** 3\
**Last updated:** [March 7, 2008, 8:59pm UTC](https://www.ruby-forum.com/t/has-many-and-validates-associated/131027 "2008-03-07T20:59:16Z")

</div>

Given the following code: class MyClass \< ActiveRecord::Base has\_many :technical\_contacts has\_many :schedule\_contacts validates\_associated :technical\_contacts, :schedule\_contacts protected def validate validate\_co…

---

## [Check if server is alive in drb](https://www.ruby-forum.com/t/check-if-server-is-alive-in-drb/113165)

<div class="topic-metadata">

**Author:** [@mr\_tibs](https://www.ruby-forum.com/u/mr_tibs)\
**Replies:** 3\
**Last updated:** [September 10, 2007, 8:28am UTC](https://www.ruby-forum.com/t/check-if-server-is-alive-in-drb/113165 "2007-09-10T08:28:03Z")

</div>

Hi, Is there any elegant method for checking if a drb server is still alive from the client side? My server notifies my client when it finished a job through the observer method. However, it is possible that the serv…

---

## [Undefined method each\_pair](https://www.ruby-forum.com/t/undefined-method-each-pair/224116)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [November 2, 2012, 2:18pm UTC](https://www.ruby-forum.com/t/undefined-method-each-pair/224116 "2012-11-02T14:18:50Z")

</div>

Hello, I get a strage Error on a Project which runs without Problems on the Server and on a other developer machine. I traced the error to a function which checks for a .nil? error: undefined method \`each\_pair’ for …

---

## [Rspec + Shoulda + FactoryGirl = undefined method \`reflect\_on\_association'](https://www.ruby-forum.com/t/rspec-shoulda-factorygirl-undefined-method-reflect-on-association/184065)

<div class="topic-metadata">

**Author:** [@dmht81](https://www.ruby-forum.com/u/dmht81)\
**Replies:** 2\
**Last updated:** [February 25, 2010, 2:03pm UTC](https://www.ruby-forum.com/t/rspec-shoulda-factorygirl-undefined-method-reflect-on-association/184065 "2010-02-25T14:03:16Z")

</div>

I have Rspec + Shoulda + FactoryGirl and I am receiving the following error when attempting to call Shoulda’s have\_many or belong\_to methods. All Shoulda methods used in the “validations” group work fine: \> NoMetho…

---

## [Gem3](https://www.ruby-forum.com/t/gem3/196588)

<div class="topic-metadata">

**Author:** [@gmichelson](https://www.ruby-forum.com/u/gmichelson)\
**Replies:** 2\
**Last updated:** [February 2, 2008, 4:55pm UTC](https://www.ruby-forum.com/t/gem3/196588 "2008-02-02T16:55:33Z")

</div>

– http://gmosx.me.gr http://joy.gr http://cull.gr http://nitroproject.org http://phidz.com http://joyerz.com

---

## [Asset Pipeline: Asset attempted to compress while creating page response & not during asset request](https://www.ruby-forum.com/t/asset-pipeline-asset-attempted-to-compress-while-creating-page-response-not-during-asset-request/235725)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [July 15, 2013, 12:50pm UTC](https://www.ruby-forum.com/t/asset-pipeline-asset-attempted-to-compress-while-creating-page-response-not-during-asset-request/235725 "2013-07-15T12:50:40Z")

</div>

Hi, I am stuck in a weird situation where in my production environment, an asset is being attempted to compress while rendering a view. I’ve all my assets put into public/assets folder via rake “assets:precompile” p…

---

## [Two Shared Indices(sp?) in aaf.rb file (for Acts\_as\_ferret)](https://www.ruby-forum.com/t/two-shared-indices-sp-in-aaf-rb-file-for-acts-as-ferret/159164)

<div class="topic-metadata">

**Author:** [@Philip\_Ingram](https://www.ruby-forum.com/u/Philip_Ingram)\
**Replies:** 6\
**Last updated:** [February 24, 2009, 2:43am UTC](https://www.ruby-forum.com/t/two-shared-indices-sp-in-aaf-rb-file-for-acts-as-ferret/159164 "2009-02-24T02:43:41Z")

</div>

Hi all, I’m trying to add two shared indices to the aaf.rb file, however it is not working. I currently have one shared index, but that index has a condition on it, and i’m not sure how to go about creating another …

---

## [\#localize for numbers](https://www.ruby-forum.com/t/localize-for-numbers/231227)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 28, 2014, 9:00pm UTC](https://www.ruby-forum.com/t/localize-for-numbers/231227 "2014-07-28T21:00:40Z")

</div>

Hey guys, it’s been a while since I’ve been active on this list. :wink: There’s something that’s been bothering me for ages and I’m finally ready to do something about it: That something is the localization of number…

---

## [Monitoring d'une applis Rails](https://www.ruby-forum.com/t/monitoring-dune-applis-rails/170983)

<div class="topic-metadata">

**Author:** [@tranquiliste](https://www.ruby-forum.com/u/tranquiliste)\
**Replies:** 5\
**Last updated:** [June 26, 2009, 10:04am UTC](https://www.ruby-forum.com/t/monitoring-dune-applis-rails/170983 "2009-06-26T10:04:54Z")

</div>

Bonjour, Je me demandais ce que vous utilisiez pour monitorer vos appli rails. J’ai vu rawk qui analyse le fichier log, http://newrelic.com/ mais qui ne fonctionnera pas a priori sur mon environnement de dev (fascg…

---

## [How set background image inside \<td \> tag dynamically](https://www.ruby-forum.com/t/how-set-background-image-inside-td-tag-dynamically/83758)

<div class="topic-metadata">

**Author:** [@vijayendra](https://www.ruby-forum.com/u/vijayendra)\
**Replies:** 5\
**Last updated:** [January 29, 2007, 5:48pm UTC](https://www.ruby-forum.com/t/how-set-background-image-inside-td-tag-dynamically/83758 "2007-01-29T17:48:17Z")

</div>

how set background image inside tag dynamically - plz help me

---

## [MTU Size](https://www.ruby-forum.com/t/mtu-size/221638)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [July 23, 2012, 7:12pm UTC](https://www.ruby-forum.com/t/mtu-size/221638 "2012-07-23T19:12:09Z")

</div>

Hi all, I’m currently getting overflow errors that I believe could be remedied by increasing the MTU size. Is there a way to change the recv\_frame\_size and send\_frame\_size in Python? I’ve read the Transport Applica…

---

## [Why return HTTP 500 when use the require "resty.memcached" in HttpLuaModule module?](https://www.ruby-forum.com/t/why-return-http-500-when-use-the-require-resty-memcached-in-httpluamodule-module/220674)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [June 16, 2012, 5:33pm UTC](https://www.ruby-forum.com/t/why-return-http-500-when-use-the-require-resty-memcached-in-httpluamodule-module/220674 "2012-06-16T17:33:45Z")

</div>

i use agentzh’s three modules. CentOS 5.5 x86\_64 nginx version is 1.3.1 LUA version: \[root@db2 conf\]# \*lua -v \*Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio \[root@db2 conf\]# \*luac -v \*Lua 5.1.5 Copyright…

---

## [Plugin ou Rails pour i18n?](https://www.ruby-forum.com/t/plugin-ou-rails-pour-i18n/184618)

<div class="topic-metadata">

**Author:** [@cyrille](https://www.ruby-forum.com/u/cyrille)\
**Replies:** 4\
**Last updated:** [February 16, 2011, 4:53am UTC](https://www.ruby-forum.com/t/plugin-ou-rails-pour-i18n/184618 "2011-02-16T04:53:02Z")

</div>

Bonjour a tous, je voudrais traduire une appli Rails en francais. Toutes mes applis jusque la etaient en anglais uniquement. Question de neophyte donc: qu’est-ce que vous utilisez pour vos applis multilingues? L’API …

---

## [Q: how to start a module name with a lower case character?](https://www.ruby-forum.com/t/q-how-to-start-a-module-name-with-a-lower-case-character/107710)

<div class="topic-metadata">

**Author:** [@marksbrain](https://www.ruby-forum.com/u/marksbrain)\
**Replies:** 4\
**Last updated:** [June 25, 2007, 8:08pm UTC](https://www.ruby-forum.com/t/q-how-to-start-a-module-name-with-a-lower-case-character/107710 "2007-06-25T20:08:18Z")

</div>

I am trying to write Ruby classes to model RDF, RDFS, and Owl, much like SWCLOS does for Common Lisp: module Rdfs … end x = Rdfs::Class.new(Rdfs::Label =\> “label\_1”) It would be nice to have a hack that would allow…

---

## [Reporteadores para ruby on rails](https://www.ruby-forum.com/t/reporteadores-para-ruby-on-rails/79520)

<div class="topic-metadata">

**Author:** [@jasv](https://www.ruby-forum.com/u/jasv)\
**Replies:** 4\
**Last updated:** [December 16, 2006, 9:08pm UTC](https://www.ruby-forum.com/t/reporteadores-para-ruby-on-rails/79520 "2006-12-16T21:08:10Z")

</div>

Siguiendo con mi evaluación de rails para un sistema de la empresa, quiero preguntarles sobre la generación de reportes. Actualmente el sistema de la empresa está en visual fox pro :-(, y la ventaja que tiene esta her…

---

## [Checking for nil](https://www.ruby-forum.com/t/checking-for-nil/183132)

<div class="topic-metadata">

**Author:** [@ketema](https://www.ruby-forum.com/u/ketema)\
**Replies:** 7\
**Last updated:** [February 8, 2010, 11:10pm UTC](https://www.ruby-forum.com/t/checking-for-nil/183132 "2010-02-08T23:10:27Z")

</div>

HI, I have inherited support on a rails website and I am encountering the following problem: \<% if @request.env\[‘HTTP\_USER\_AGENT’\].downcase.index(‘msie 6.0’)!=nil %\> \<%= stylesheet\_link\_tag ‘ie6’ %\> \<% elsif @reques…

---

## [Using qui rather than rbuic for qtdesigner .ui files](https://www.ruby-forum.com/t/using-qui-rather-than-rbuic-for-qtdesigner-ui-files/157653)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 7\
**Last updated:** [January 21, 2009, 10:58am UTC](https://www.ruby-forum.com/t/using-qui-rather-than-rbuic-for-qtdesigner-ui-files/157653 "2009-01-21T10:58:06Z")

</div>

I’m trying to load .ui files at runtime using the qui extension and WidgetFactory rather than pre-translating the .ui XML file to ruby with rbuic. Here’s a simple program: require 'Qt' require 'qui' a = Qt::App…

---

## [Rb\_funcall() Ruby code callback invoked from within a native](https://www.ruby-forum.com/t/rb-funcall-ruby-code-callback-invoked-from-within-a-native/70950)

<div class="topic-metadata">

**Author:** [@ru551an](https://www.ruby-forum.com/u/ru551an)\
**Replies:** 1\
**Last updated:** [October 4, 2006, 7:51am UTC](https://www.ruby-forum.com/t/rb-funcall-ruby-code-callback-invoked-from-within-a-native/70950 "2006-10-04T07:51:40Z")

</div>

Dear All, I have created a Ruby extension that runs under both Windows (Ruby 1.8.4) and Linux (Ruby 1.8.5), using SWIG. The extension is written in C and is multi-threaded, thanks to PThreads. Several C functions are …

---

## [ANN: Watir WebRecorder for Ruby](https://www.ruby-forum.com/t/ann-watir-webrecorder-for-ruby/53665)

<div class="topic-metadata">

**Author:** [@Marcus\_Tettmar](https://www.ruby-forum.com/u/Marcus_Tettmar)\
**Replies:** 7\
**Last updated:** [March 27, 2006, 5:37pm UTC](https://www.ruby-forum.com/t/ann-watir-webrecorder-for-ruby/53665 "2006-03-27T17:37:37Z")

</div>

Hi, We have released a free Watir version of our WebRecorder product that creates Ruby Watir code. WebRecorder is an IE based tabbed browser which records activity to create Ruby/Watir scripts for automating/testing…

---

## [Question about EXE file](https://www.ruby-forum.com/t/question-about-exe-file/245151)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 8\
**Last updated:** [November 25, 2016, 1:31pm UTC](https://www.ruby-forum.com/t/question-about-exe-file/245151 "2016-11-25T13:31:12Z")

</div>

Hello! I made EXE file from my ruby script. And it take a really long time to launch. Can anyone please tell me if there is any way to increase the launch speed? Thank you.

---

## [Need help with parsing a file and formatting matches](https://www.ruby-forum.com/t/need-help-with-parsing-a-file-and-formatting-matches/232679)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 8\
**Last updated:** [October 24, 2014, 1:46pm UTC](https://www.ruby-forum.com/t/need-help-with-parsing-a-file-and-formatting-matches/232679 "2014-10-24T13:46:28Z")

</div>

What I’m trying to do is format matching text from a file. Currently I’ve got the basic output working, but ideally I’d like to do two additional things. Sort the paragraphs of output by group name, alphabetically. …

---

## [Deny certain words](https://www.ruby-forum.com/t/deny-certain-words/231837)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 8\
**Last updated:** [September 3, 2014, 5:14pm UTC](https://www.ruby-forum.com/t/deny-certain-words/231837 "2014-09-03T17:14:02Z")

</div>

Hi, Somehow my server gets hit by torrent requests which look like this: GET /?info\_hash=… after the = come long strings of seemingly random hashes torrent clients are looking for. I’d like to deny all such requests…

---

## [\[ANN\] Typo 6.1.3 and a new Website](https://www.ruby-forum.com/t/ann-typo-6-1-3-and-a-new-website/229833)

<div class="topic-metadata">

**Author:** [@SSFrSSdSSric\_de\_Vil](https://www.ruby-forum.com/u/SSFrSSdSSric_de_Vil)\
**Replies:** 0\
**Last updated:** [February 1, 2013, 9:50pm UTC](https://www.ruby-forum.com/t/ann-typo-6-1-3-and-a-new-website/229833 "2013-02-01T21:50:43Z")

</div>

Good evening, Yesterday, we have deployed Typo 6.1.3 in the wild. This is a bugfix only release, and we hope it to be the latest before Typo 6.2. If you’re running Typo \< 6.1.2, then you must upgrade as it fixes a cri…

---

## [Activerecord update progress bar](https://www.ruby-forum.com/t/activerecord-update-progress-bar/206883)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [May 13, 2011, 11:43am UTC](https://www.ruby-forum.com/t/activerecord-update-progress-bar/206883 "2011-05-13T11:43:00Z")

</div>

Hi, I have a button that links to a controller which is updating all my entries in my db with new data, called from an external xml-based web service. That can take several minutes, so I want to show the actual progr…

---

## [Rspec-2 around/before(:all) hooks](https://www.ruby-forum.com/t/rspec-2-around-before-all-hooks/198509)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [November 3, 2010, 7:22pm UTC](https://www.ruby-forum.com/t/rspec-2-around-before-all-hooks/198509 "2010-11-03T19:22:40Z")

</div>

Rspec-2 around/before(:all) hooks I’m trying to create several model instances before all of our tests are run. I’m having trouble defining the behavior in my Rspec.configure block. I’ve tried before(:all) and aroun…

---

## [What is "line\_items"?](https://www.ruby-forum.com/t/what-is-line-items/193342)

<div class="topic-metadata">

**Author:** [@ct9a](https://www.ruby-forum.com/u/ct9a)\
**Replies:** 3\
**Last updated:** [August 16, 2010, 4:21pm UTC](https://www.ruby-forum.com/t/what-is-line-items/193342 "2010-08-16T16:21:52Z")

</div>

hi guys, I am looking at #141 PayPal Basics - RailsCasts and I am trying to figure out what’s line\_items? Is it a reserved keyword representing a row of a multi row form or is it just a variable that’s called line\_it…

---

## [How to convert a "time difference" into "x days, y hours..."](https://www.ruby-forum.com/t/how-to-convert-a-time-difference-into-x-days-y-hours/186694)

<div class="topic-metadata">

**Author:** [@tharrisx](https://www.ruby-forum.com/u/tharrisx)\
**Replies:** 3\
**Last updated:** [April 11, 2010, 6:08pm UTC](https://www.ruby-forum.com/t/how-to-convert-a-time-difference-into-x-days-y-hours/186694 "2010-04-11T18:08:04Z")

</div>

Hi there, how can I convert something like… future\_datetime - past\_datetime (which results in a float) into something like… “21 days, 2 hours, 53 minutes, 1 seconds” ? Does RoR have any nifty helper for this ? Tha…

---

## [Multiple rails apps on different ports w/ Apache/Passenger](https://www.ruby-forum.com/t/multiple-rails-apps-on-different-ports-w-apache-passenger/175149)

<div class="topic-metadata">

**Author:** [@phudson1442](https://www.ruby-forum.com/u/phudson1442)\
**Replies:** 3\
**Last updated:** [September 9, 2009, 2:59am UTC](https://www.ruby-forum.com/t/multiple-rails-apps-on-different-ports-w-apache-passenger/175149 "2009-09-09T02:59:40Z")

</div>

Hi there. This thread is the closest to what I’m trying to do. http://www.ruby-forum.com/topic/132408#new I have three rails apps on one machine with Apache2/Passenger/REE. I want them available at www.example.com/a…

---

## [Using modules as namespaces within an engine](https://www.ruby-forum.com/t/using-modules-as-namespaces-within-an-engine/66645)

<div class="topic-metadata">

**Author:** [@caddleman](https://www.ruby-forum.com/u/caddleman)\
**Replies:** 3\
**Last updated:** [April 21, 2007, 6:44pm UTC](https://www.ruby-forum.com/t/using-modules-as-namespaces-within-an-engine/66645 "2007-04-21T18:44:13Z")

</div>

Hi folks, In writing an engine, it seems to me that I’d want to put all my model and controller classes within a namespace, to avoid name clashes with similarly named classes in the base application, or other engines.…

---

## [Cancan Rspec load\_and\_authorize\_resource](https://www.ruby-forum.com/t/cancan-rspec-load-and-authorize-resource/237646)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [November 23, 2013, 12:00am UTC](https://www.ruby-forum.com/t/cancan-rspec-load-and-authorize-resource/237646 "2013-11-23T00:00:27Z")

</div>

Hello! While running bundle exec rake, I receive following error (see in attached file) However, my tests are steel passing with command rspec spec/controllers/ Some info: ads\_controller.rb: class AdsController \< A…

---

## [Nginx-http-rdns module](https://www.ruby-forum.com/t/nginx-http-rdns-module/246293)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [September 30, 2013, 8:18am UTC](https://www.ruby-forum.com/t/nginx-http-rdns-module/246293 "2013-09-30T08:18:09Z")

</div>

Hi guys! Our small Russian company (flant.com) is pleased to announce new module called nginx-http-rdns. As you can see from its name, the main feature of this module is making reverse DNS lookups to get DNS name of …

---

## [How to make beep sounds?](https://www.ruby-forum.com/t/how-to-make-beep-sounds/100383)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [February 2, 2006, 5:03pm UTC](https://www.ruby-forum.com/t/how-to-make-beep-sounds/100383 "2006-02-02T17:03:54Z")

</div>

Dear all, is there an easy way to output a beep sound (maybe with length/frequency parameters?) in Ruby? Thanks, Axel

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

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