# Top

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

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

---

## [Indexing Speed?](https://www.ruby-forum.com/t/indexing-speed/59248)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [May 11, 2006, 5:18pm UTC](https://www.ruby-forum.com/t/indexing-speed/59248 "2006-05-11T17:18:13Z")

</div>

Hi all, Have been looking at lucene and ferret. Have noticed that ferret takes ~463 seconds to index 200Mb of docs, whereas lucene takes ~60 seconds. I’m using the standard “get you started” sort of code provided by …

---

## [Question on IO::SEEK\_CUR](https://www.ruby-forum.com/t/question-on-io-seek-cur/245082)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [September 22, 2016, 11:56am UTC](https://www.ruby-forum.com/t/question-on-io-seek-cur/245082 "2016-09-22T11:56:53Z")

</div>

Hey i am abit confuse here. as i want to clarify something on this IO:SEEK\_CUR. For example i have a hoho.txt contains “sure”. and i execute this code. f = File.new(“hoho.txt”,“r”) while a = f.getc puts a.chr f.see…

---

## [Question about tmpfs](https://www.ruby-forum.com/t/question-about-tmpfs/244535)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [April 28, 2016, 9:58pm UTC](https://www.ruby-forum.com/t/question-about-tmpfs/244535 "2016-04-28T21:58:33Z")

</div>

Hello, I have a question about tmpfs. On my raspberry pi I with only 256 MB RAM df looks like. root@pi:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/root 15G 2.0G 13G 14% / devtmpfs …

---

## [XP and Windows 7 -- def() inside App#run block problem](https://www.ruby-forum.com/t/xp-and-windows-7-def-inside-app-run-block-problem/212753)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [October 20, 2011, 11:04pm UTC](https://www.ruby-forum.com/t/xp-and-windows-7-def-inside-app-run-block-problem/212753 "2011-10-20T23:04:50Z")

</div>

(slightly edited) When I run the following code, I expect a blank frame to open (which is what happens when the def block is left out of the code). Instead, the program exits immediately. ruby 1.9.2p290 (2011-07-09) …

---

## [Spec rendering xml.erb suspectly doen't work](https://www.ruby-forum.com/t/spec-rendering-xml-erb-suspectly-doent-work/154124)

<div class="topic-metadata">

**Author:** [@Peter\_Ehrenberg](https://www.ruby-forum.com/u/Peter_Ehrenberg)\
**Replies:** 2\
**Last updated:** [November 25, 2008, 5:50pm UTC](https://www.ruby-forum.com/t/spec-rendering-xml-erb-suspectly-doent-work/154124 "2008-11-25T17:50:28Z")

</div>

I have to spec an contoller action witch is (only) rendering an xml.erb template. The action looks like this: def index respond\_to do |format| format.xml end end The “index.xml.erb” template includes (for now) on…

---

## [Override AR default attribute accessors](https://www.ruby-forum.com/t/override-ar-default-attribute-accessors/131989)

<div class="topic-metadata">

**Author:** [@ddancer](https://www.ruby-forum.com/u/ddancer)\
**Replies:** 2\
**Last updated:** [March 14, 2008, 9:56pm UTC](https://www.ruby-forum.com/t/override-ar-default-attribute-accessors/131989 "2008-03-14T21:56:24Z")

</div>

anybody know how one overrides the default AR attribute methods? ex. c = Group c.id =\> 3.0 c.id.to\_i =\> 3 reason is, I’m using Firebird DB which some tables return decimals for id, I’d like to override that…

---

## [Win32OLE problem](https://www.ruby-forum.com/t/win32ole-problem/109966)

<div class="topic-metadata">

**Author:** [@Glen\_H](https://www.ruby-forum.com/u/Glen_H)\
**Replies:** 2\
**Last updated:** [July 23, 2007, 4:24pm UTC](https://www.ruby-forum.com/t/win32ole-problem/109966 "2007-07-23T16:24:23Z")

</div>

When executing this code: adsi = WIN32OLE.connect(“WinNT://TECHNO/ARDR\_108,group”) adsi.put(“Add”, “glen”) I get the following error: WIN32OLERuntimeError: put OLE error code:8000500F in HRESULT error code:0x800…

---

## [Which Ruby is in use?](https://www.ruby-forum.com/t/which-ruby-is-in-use/202368)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [January 27, 2011, 10:38pm UTC](https://www.ruby-forum.com/t/which-ruby-is-in-use/202368 "2011-01-27T22:38:48Z")

</div>

How can I tell from within a running program which interpreter is being used – i.e. MRI, REE, etc.? RUBY\_VERSION only returns a number, .e.g. “1.8.7”. TIA,

---

## [Build error on OS X 10.4: ld: multiple definitions of symbol \_posix\_memalign](https://www.ruby-forum.com/t/build-error-on-os-x-10-4-ld-multiple-definitions-of-symbol-posix-memalign/168589)

<div class="topic-metadata">

**Author:** [@alexanderl](https://www.ruby-forum.com/u/alexanderl)\
**Replies:** 8\
**Last updated:** [May 25, 2009, 11:00pm UTC](https://www.ruby-forum.com/t/build-error-on-os-x-10-4-ld-multiple-definitions-of-symbol-posix-memalign/168589 "2009-05-25T23:00:51Z")

</div>

Hi, trying to build gnuradio on OS X 10.4, I get —8\<— Extracting /Users/alex/Documents/work/nc-projects/gr/gnuradio/gnuradio-core/src/lib/missing/.libs/libmissing.a (cd .libs/libgnuradio-core-qa.lax/libmissing.a && …

---

## [\[ANN\] radiant-fckeditor 0.5 WYSIWYG Editor released](https://www.ruby-forum.com/t/ann-radiant-fckeditor-0-5-wysiwyg-editor-released/139701)

<div class="topic-metadata">

**Author:** [@dcarneiro](https://www.ruby-forum.com/u/dcarneiro)\
**Replies:** 8\
**Last updated:** [June 6, 2008, 9:28pm UTC](https://www.ruby-forum.com/t/ann-radiant-fckeditor-0-5-wysiwyg-editor-released/139701 "2008-06-06T21:28:02Z")

</div>

Folks, The existing FCKEditor plugin was out of date, so I spent a bunch of time creating a new FCKEditor plugin, with the goal of making a full-featured WYSIWYG page part editor that can easily be used. . .or not. I…

---

## [Scaling Ruby on Rails (and related Slashdot article today)](https://www.ruby-forum.com/t/scaling-ruby-on-rails-and-related-slashdot-article-today/115322)

<div class="topic-metadata">

**Author:** [@forrie](https://www.ruby-forum.com/u/forrie)\
**Replies:** 8\
**Last updated:** [September 24, 2007, 10:01am UTC](https://www.ruby-forum.com/t/scaling-ruby-on-rails-and-related-slashdot-article-today/115322 "2007-09-24T10:01:16Z")

</div>

I presume most people here read today’s article on Slashdot which had some critique about Ruby and scaling to a large architecture. Though the article didn’t seem to elaborate into specifics, I’m interested in other …

---

## [Is STI the only way to do inheritance?](https://www.ruby-forum.com/t/is-sti-the-only-way-to-do-inheritance/52639)

<div class="topic-metadata">

**Author:** [@terhorst](https://www.ruby-forum.com/u/terhorst)\
**Replies:** 8\
**Last updated:** [January 18, 2006, 6:54pm UTC](https://www.ruby-forum.com/t/is-sti-the-only-way-to-do-inheritance/52639 "2006-01-18T18:54:52Z")

</div>

I’m currently coding a system which must store multiple contact methods for a user (phone, email, postal address etc). I’m planning a fairly straightforward inheritance hierachy for these, where each different method …

---

## [GNU Radio support on MicroZed](https://www.ruby-forum.com/t/gnu-radio-support-on-microzed/231687)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [August 27, 2014, 12:44am UTC](https://www.ruby-forum.com/t/gnu-radio-support-on-microzed/231687 "2014-08-27T00:44:46Z")

</div>

I’m not the world’s foremost expert in OpenEmbedded (read: person with nearly no knowledge of how to use it). I’d like to get GNU Radio working on a MicroZed. Unfortunately that board is not among the boards supported…

---

## [Convert \\uXXXX to character](https://www.ruby-forum.com/t/convert-uxxxx-to-character/190771)

<div class="topic-metadata">

**Author:** [@born\_in\_USSR](https://www.ruby-forum.com/u/born_in_USSR)\
**Replies:** 6\
**Last updated:** [June 28, 2010, 4:44pm UTC](https://www.ruby-forum.com/t/convert-uxxxx-to-character/190771 "2010-06-28T16:44:57Z")

</div>

I have string: ‘\\u041f\\u0440\\u0438\\u0432\\u0435\\u0442!’ and i need to convert it to string such as ‘Ð¿Ñ€Ð¸Ð²ÐµÑ‚!’. I can convert string to ‘041f 0440 0438 0432 0435 0442’, then convert to decimal and at the end conver…

---

## [Help using JAR classes from NetBeans/JRuby/Rails](https://www.ruby-forum.com/t/help-using-jar-classes-from-netbeans-jruby-rails/158268)

<div class="topic-metadata">

**Author:** [@mohamed\_l](https://www.ruby-forum.com/u/mohamed_l)\
**Replies:** 6\
**Last updated:** [January 21, 2009, 7:50pm UTC](https://www.ruby-forum.com/t/help-using-jar-classes-from-netbeans-jruby-rails/158268 "2009-01-21T19:50:51Z")

</div>

Hello and sorry for possible repost, I am newbie using latest Netbeans, JRuby/Rails… under Netbeans, in a new Ruby Application, this code works: require ‘java’ Dir\[“jars/\*.jar”\].each { |jar| require jar }; import ‘i…

---

## [Ruby on rails wth php](https://www.ruby-forum.com/t/ruby-on-rails-wth-php/146569)

<div class="topic-metadata">

**Author:** [@redster](https://www.ruby-forum.com/u/redster)\
**Replies:** 6\
**Last updated:** [August 24, 2008, 3:36am UTC](https://www.ruby-forum.com/t/ruby-on-rails-wth-php/146569 "2008-08-24T03:36:42Z")

</div>

Hi all, if any one help me. how to run php programs on ruby on rails. how to run php programs on rails. if possible or not pls give me instructions. Thanks karthik

---

## [Adding my controller in an extension](https://www.ruby-forum.com/t/adding-my-controller-in-an-extension/90853)

<div class="topic-metadata">

**Author:** [@raphael\_b](https://www.ruby-forum.com/u/raphael_b)\
**Replies:** 6\
**Last updated:** [April 6, 2007, 6:41pm UTC](https://www.ruby-forum.com/t/adding-my-controller-in-an-extension/90853 "2007-04-06T18:41:38Z")

</div>

Hi, I’m looking to add code to handle a form’s action. I wanted to add extension with a controller, but got stuck into problems. What are the steps involved in doing what I want? Is this correct: generate my extensi…

---

## [Manjaro linux ruby jupyter notebook integration: gem fails](https://www.ruby-forum.com/t/manjaro-linux-ruby-jupyter-notebook-integration-gem-fails/261961)

<div class="topic-metadata">

**Author:** [@benibilme](https://www.ruby-forum.com/u/benibilme)\
**Replies:** 1\
**Last updated:** [October 17, 2021, 6:49pm UTC](https://www.ruby-forum.com/t/manjaro-linux-ruby-jupyter-notebook-integration-gem-fails/261961 "2021-10-17T18:49:54Z")

</div>

Hello, I am using manjaro. I am trying to use jupyter notebook with ruby kernel. I have found several directions about how to configure jupyter notebook but gem installs fails. Following site ruby-jupyter notebook int…

---

## [Caching issues with nginx as reverse-proxy](https://www.ruby-forum.com/t/caching-issues-with-nginx-as-reverse-proxy/244871)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [June 30, 2016, 9:14am UTC](https://www.ruby-forum.com/t/caching-issues-with-nginx-as-reverse-proxy/244871 "2016-06-30T09:14:46Z")

</div>

Hi, I am using nginx as a reverse proxy and using the proxy-cache, I use the request body as a cache key as shown below. location ^~ /mycachepath { proxy\_pass http://upstreamservers; proxy\_buffe…

---

## [Home\_path?](https://www.ruby-forum.com/t/home-path/115845)

<div class="topic-metadata">

**Author:** [@Jables](https://www.ruby-forum.com/u/Jables)\
**Replies:** 1\
**Last updated:** [September 29, 2007, 8:00am UTC](https://www.ruby-forum.com/t/home-path/115845 "2007-09-29T08:00:37Z")

</div>

I’m trying to run some code that uses a link\_to and home\_path as the location. It returns a undeclared local variable. Is home\_path only available in edge rails or what is this?

---

## [AttributeError: uhd module object has no attribute 'stream\_cmd'](https://www.ruby-forum.com/t/attributeerror-uhd-module-object-has-no-attribute-stream-cmd/213629)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [November 8, 2011, 6:56pm UTC](https://www.ruby-forum.com/t/attributeerror-uhd-module-object-has-no-attribute-stream-cmd/213629 "2011-11-08T18:56:56Z")

</div>

Dear all, I am using self.stream\_cmd = uhd.stream\_cmd() in Python to define how the devices send samples to the host, though got an AttributeError: ‘module’ object has no attribute ‘stream\_cmd’. I checked the definiti…

---

## [HABTM Blank Join table](https://www.ruby-forum.com/t/habtm-blank-join-table/188778)

<div class="topic-metadata">

**Author:** [@brianp](https://www.ruby-forum.com/u/brianp)\
**Replies:** 3\
**Last updated:** [May 19, 2010, 10:30am UTC](https://www.ruby-forum.com/t/habtm-blank-join-table/188778 "2010-05-19T10:30:30Z")

</div>

Based of the declaritive\_authorization railscast I’ve set up a roles table containing 3 role types. A user table and a roles\_users table. No matter what I do the join table is always empty. DB: create\_table “roles”, …

---

## [Yield self if block\_given?](https://www.ruby-forum.com/t/yield-self-if-block-given/180948)

<div class="topic-metadata">

**Author:** [@rubynut](https://www.ruby-forum.com/u/rubynut)\
**Replies:** 3\
**Last updated:** [January 2, 2010, 2:54am UTC](https://www.ruby-forum.com/t/yield-self-if-block-given/180948 "2010-01-02T02:54:19Z")

</div>

class AngstyNamedPerson attr\_reader :name @@hated\_names = %w(Leroy Sparkles Thaddius) def name=(new\_name) @name = new\_name raise “I have probems with being named #{@name}.” if @@hated\_names.include? new\_name end d…

---

## [Need help on creating a LetterHistogram](https://www.ruby-forum.com/t/need-help-on-creating-a-letterhistogram/251567)

<div class="topic-metadata">

**Author:** [@modzking4](https://www.ruby-forum.com/u/modzking4)\
**Replies:** 5\
**Last updated:** [January 3, 2019, 9:28pm UTC](https://www.ruby-forum.com/t/need-help-on-creating-a-letterhistogram/251567 "2019-01-03T21:28:36Z")

</div>

I’m in desperate need of help in creating a Letter Histogram in ruby, here is what I need the end product to produce. irb(main):001:0\> load ‘LetterHistogram.rb’ =\> true irb(main):002:0\> h = LetterHistogram.new =\> #\<L…

---

## [How can I get number of AdWords Advertiser in top and right side position in Google search result](https://www.ruby-forum.com/t/how-can-i-get-number-of-adwords-advertiser-in-top-and-right-side-position-in-google-search-result/242389)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [June 21, 2015, 9:41pm UTC](https://www.ruby-forum.com/t/how-can-i-get-number-of-adwords-advertiser-in-top-and-right-side-position-in-google-search-result/242389 "2015-06-21T21:41:11Z")

</div>

I’m trying to build a simple application in rails that getting all search result in google and count the number of AdWords advertiser in top and right side position. I already get all the query result using Nokogiri …

---

## [Rails console and tests launch time too long?](https://www.ruby-forum.com/t/rails-console-and-tests-launch-time-too-long/197580)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 5\
**Last updated:** [November 6, 2010, 2:29pm UTC](https://www.ruby-forum.com/t/rails-console-and-tests-launch-time-too-long/197580 "2010-11-06T14:29:30Z")

</div>

When I run script/console I have to wait like 10 seconds to the console to start. When I run any of the tests in my rails app (‘rake test’ or whatever else like AltShiftX+U in RadRaild) I also have to wait about 7-10…

---

## [Nginx with data compression on java applet](https://www.ruby-forum.com/t/nginx-with-data-compression-on-java-applet/162800)

<div class="topic-metadata">

**Author:** [@hirantha](https://www.ruby-forum.com/u/hirantha)\
**Replies:** 5\
**Last updated:** [March 15, 2009, 7:01pm UTC](https://www.ruby-forum.com/t/nginx-with-data-compression-on-java-applet/162800 "2009-03-15T19:01:39Z")

</div>

Hi ALL, I am very new to nginx, and I found the nginx is the perfect tool for me to do reverse-proxy while compressing the data. I have successfully configured the proxy\_pass and gzip configurations and it is working …

---

## [0.17.0?](https://www.ruby-forum.com/t/0-17-0/144123)

<div class="topic-metadata">

**Author:** [@blueprint](https://www.ruby-forum.com/u/blueprint)\
**Replies:** 5\
**Last updated:** [September 6, 2008, 1:20pm UTC](https://www.ruby-forum.com/t/0-17-0/144123 "2008-09-06T13:20:42Z")

</div>

Hi, After first talking about tagging 0.17.0 on Mar 19, and releasing 0.17.0-rc1 on Jun 15, is there anything else preventing from releasing 0.17.0 now? I’m worried because there is not stable rg2 working with curren…

---

## [Frage zum ActionMailer](https://www.ruby-forum.com/t/frage-zum-actionmailer/119628)

<div class="topic-metadata">

**Author:** [@mrkohrea](https://www.ruby-forum.com/u/mrkohrea)\
**Replies:** 5\
**Last updated:** [November 8, 2007, 6:17pm UTC](https://www.ruby-forum.com/t/frage-zum-actionmailer/119628 "2007-11-08T18:17:38Z")

</div>

Hallo, ich habe zwei Fragen zum ActionMailer, bei denen die API leider nicht weiterhilft. Ich wÃ¼rde gerne eine gesonderte, d.h. abweichend von der from-Adresse, reply-to-Adresse im Mail-Header angeben. Des wei…

---

## [Memory leak in index build?](https://www.ruby-forum.com/t/memory-leak-in-index-build/88337)

<div class="topic-metadata">

**Author:** [@pandemic](https://www.ruby-forum.com/u/pandemic)\
**Replies:** 5\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/memory-leak-in-index-build/88337 "2007-09-25T23:10:21Z")

</div>

I have a script (below) which attempts to make an index out of all the man pages on my system. It takes a while, mostly because it runs man over and over… but anyway, as time goes on the memory usage goes up and up an…

---

## [How to make auto\_link work in script/console](https://www.ruby-forum.com/t/how-to-make-auto-link-work-in-script-console/109227)

<div class="topic-metadata">

**Author:** [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Replies:** 5\
**Last updated:** [July 12, 2007, 10:53pm UTC](https://www.ruby-forum.com/t/how-to-make-auto-link-work-in-script-console/109227 "2007-07-12T22:53:22Z")

</div>

I wanted to take auto\_link method for a ride but in script/console I get the message that “undefined method ‘tag\_options’”. What do I need to include in order to run auto\_link(“ruby on rails”) on ruby script/console…

---

## [10.to\_hex?](https://www.ruby-forum.com/t/10-to-hex/82855)

<div class="topic-metadata">

**Author:** [@uval](https://www.ruby-forum.com/u/uval)\
**Replies:** 2\
**Last updated:** [November 19, 2005, 3:44am UTC](https://www.ruby-forum.com/t/10-to-hex/82855 "2005-11-19T03:44:33Z")

</div>

Hello, I can’t find the function to convert an number to its hex representation I feel it must be there … irb(main):068:0\> Integer.methods.grep /hex/ =\> \[\] irb(main):069:0\> Numeric.methods.grep /hex/ =\> \[\] Regards…

---

## [Gstreamer-gi](https://www.ruby-forum.com/t/gstreamer-gi/229742)

<div class="topic-metadata">

**Author:** [@coubi](https://www.ruby-forum.com/u/coubi)\
**Replies:** 4\
**Last updated:** [February 11, 2013, 10:45am UTC](https://www.ruby-forum.com/t/gstreamer-gi/229742 "2013-02-11T10:45:05Z")

</div>

Hello I tried to port to port http://cgit.freedesktop.org/gstreamer/gstreamer/tree/tests/examples/helloworld/helloworld.c to ruby. My firsts remarks are : Gst.init method crashes if called more than once. gobj…

---

## [Image with emblem?](https://www.ruby-forum.com/t/image-with-emblem/210740)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [August 17, 2011, 6:29pm UTC](https://www.ruby-forum.com/t/image-with-emblem/210740 "2011-08-17T18:29:54Z")

</div>

Hello, Is there a widget or simple combination of widgets that would display an image with an emblem? I see this used in many GTK applications but can’t find any widget for it. I will need a few buttons that could b…

---

## [Problem with Marshal.load in Silverlight](https://www.ruby-forum.com/t/problem-with-marshal-load-in-silverlight/192159)

<div class="topic-metadata">

**Author:** [@valdar](https://www.ruby-forum.com/u/valdar)\
**Replies:** 4\
**Last updated:** [July 27, 2010, 3:59am UTC](https://www.ruby-forum.com/t/problem-with-marshal-load-in-silverlight/192159 "2010-07-27T03:59:30Z")

</div>

I’ve run into a problem when using Marshal.load in Silverlight - the following exception is thrown: NotSupportedException: Class IronRuby.Builtins.RubyObject does not have a valid deserializing constructor I tracked…

---

## [PHP\_SELF not set](https://www.ruby-forum.com/t/php-self-not-set/175370)

<div class="topic-metadata">

**Author:** [@durist](https://www.ruby-forum.com/u/durist)\
**Replies:** 4\
**Last updated:** [September 12, 2009, 1:17am UTC](https://www.ruby-forum.com/t/php-self-not-set/175370 "2009-09-12T01:17:39Z")

</div>

I am trying to configure cacti under nginx. It makes heavy use of the $\_SERVER\[‘PHP\_SELF’\] variable, but this isn’t getting set. I’ve tried setting it explicitly; e.g. fastcgi\_param PHP\_SELF $fastcgi\_script\_name; but…

---

## [Is there a ruby source code formatter?](https://www.ruby-forum.com/t/is-there-a-ruby-source-code-formatter/107954)

<div class="topic-metadata">

**Author:** [@vfcforums](https://www.ruby-forum.com/u/vfcforums)\
**Replies:** 4\
**Last updated:** [June 28, 2007, 8:17am UTC](https://www.ruby-forum.com/t/is-there-a-ruby-source-code-formatter/107954 "2007-06-28T08:17:35Z")

</div>

Is there a ruby source code formatter somewhere out there? My ruby code is looking pretty terrible as I chop and change here and there to get the code to work right. Something that can take a ruby file and output anot…

---

## [Viewing attachments inline: MIME type fix](https://www.ruby-forum.com/t/viewing-attachments-inline-mime-type-fix/101018)

<div class="topic-metadata">

**Author:** [@pond](https://www.ruby-forum.com/u/pond)\
**Replies:** 4\
**Last updated:** [August 21, 2006, 10:08am UTC](https://www.ruby-forum.com/t/viewing-attachments-inline-mime-type-fix/101018 "2006-08-21T10:08:07Z")

</div>

Normally RForum attachments don’t have a content type set when RForum sends the file to the browser, so application/octet-stream is used as a default and most browsers pop up a “Save as” dialogue. If you would prefer …

---

## [Svn pre-commit hook](https://www.ruby-forum.com/t/svn-pre-commit-hook/79707)

<div class="topic-metadata">

**Author:** [@Bil\_K](https://www.ruby-forum.com/u/Bil_K)\
**Replies:** 4\
**Last updated:** [March 13, 2006, 4:16pm UTC](https://www.ruby-forum.com/t/svn-pre-commit-hook/79707 "2006-03-13T16:16:04Z")

</div>

OK, I give up. Can someone (Kou?) please sketch out how to intercept a Subversion transaction with a pre-commit hook and throw each file matching, say, /.rb$/ to some StyleChecker? Based on Kou’s svnlook, https://sv…

---

## [Is there an AR.delete CASCADE option?](https://www.ruby-forum.com/t/is-there-an-ar-delete-cascade-option/47625)

<div class="topic-metadata">

**Author:** [@carl](https://www.ruby-forum.com/u/carl)\
**Replies:** 4\
**Last updated:** [November 12, 2005, 12:49pm UTC](https://www.ruby-forum.com/t/is-there-an-ar-delete-cascade-option/47625 "2005-11-12T12:49:46Z")

</div>

I’m trying to delete an AR model with an habtm association with another table that is enforced with foreign key rule. The query I’m running is: Resume.delete\_all(\["found\_on \<= ?", date\]) But the delete is failing …

---

## [About Objects is hiring Junior Ruby Developers](https://www.ruby-forum.com/t/about-objects-is-hiring-junior-ruby-developers/244933)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [July 12, 2016, 11:12am UTC](https://www.ruby-forum.com/t/about-objects-is-hiring-junior-ruby-developers/244933 "2016-07-12T11:12:22Z")

</div>

At About Objects, you’ll work beside some really great folks who love what they do. Our team of passionate and like-minded individuals never shy away from an opportunity to learn or share creative software solutions. …

---

## [Duda en FxRuby](https://www.ruby-forum.com/t/duda-en-fxruby/175015)

<div class="topic-metadata">

**Author:** [@bluestar](https://www.ruby-forum.com/u/bluestar)\
**Replies:** 1\
**Last updated:** [March 30, 2010, 7:21pm UTC](https://www.ruby-forum.com/t/duda-en-fxruby/175015 "2010-03-30T19:21:18Z")

</div>

PodrÃ­an aclararme una duda: Una aplicaciÃ³n desarrollada en FXRuby, puede ser utilizada en un entorno web (Mongrel, Webrick, etc) de tal forma que puede ser invocada desde http://localhost:3000 o algo parecido, o sol…

---

## [Glassfish gem 0.9 problems](https://www.ruby-forum.com/t/glassfish-gem-0-9-problems/153359)

<div class="topic-metadata">

**Author:** [@LuSSS\_s\_Gustavo\_Lim](https://www.ruby-forum.com/u/LuSSS_s_Gustavo_Lim)\
**Replies:** 7\
**Last updated:** [December 3, 2008, 6:21pm UTC](https://www.ruby-forum.com/t/glassfish-gem-0-9-problems/153359 "2008-12-03T18:21:25Z")

</div>

Hi guys! I’m testing the glassfish-gem 0.9 and I got some errors when I start my rails application. I’m using jruby 1.1.5, glassfish-gem 0.9, rack 0.4 and rails 2.1.2 In osx everything works fine! In Windows Server …

---

## [Manipuler des tableaux d'objects issus de la base de donnÃ©es](https://www.ruby-forum.com/t/manipuler-des-tableaux-dobjects-issus-de-la-base-de-donna-es/115949)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [October 1, 2007, 11:53am UTC](https://www.ruby-forum.com/t/manipuler-des-tableaux-dobjects-issus-de-la-base-de-donna-es/115949 "2007-10-01T11:53:01Z")

</div>

Bonjour, Souvent avec Rails on fait quelque chose du genre @products = Product.find(:all) Et on se retrouve à vouloir faire des actions sur @products. Existe-il un moyen simple pour définir des méthodes sur de tels a…

---

## [Tutorial avanzado?](https://www.ruby-forum.com/t/tutorial-avanzado/82231)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [January 19, 2007, 4:29pm UTC](https://www.ruby-forum.com/t/tutorial-avanzado/82231 "2007-01-19T16:29:28Z")

</div>

Holaaaa!!! Acabo de empezar con esto de RoR y todos los tutoriales que he encontrado son de nivel básico. ¿Conoceis algún tutorial que no se quede en el scaffold y toque temas más avanzados? Gracias!! …

---

## [Failure in irb with rubycocoa (MAC OS X)](https://www.ruby-forum.com/t/failure-in-irb-with-rubycocoa-mac-os-x/76262)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 7\
**Last updated:** [November 20, 2006, 2:47pm UTC](https://www.ruby-forum.com/t/failure-in-irb-with-rubycocoa-mac-os-x/76262 "2006-11-20T14:47:45Z")

</div>

Hi there, after installing RubyCocoa on Mac OS X i tried the first steps with it in irb: That’s what happened require ‘osx/cocoa’ /usr/lib/ruby/site\_ruby/1.8/powerpc-darwin8.0/rubycocoa.bundle: \[BUG\] Bus Error r…

---

## [Mechanize iframes](https://www.ruby-forum.com/t/mechanize-iframes/101775)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [August 8, 2006, 3:40am UTC](https://www.ruby-forum.com/t/mechanize-iframes/101775 "2006-08-08T03:40:41Z")

</div>

Hi, could anyone give me an idea how can I get any element inside iframe using mechanize? i get irb(main):026:0\> page.iframes =\> \[‘view\_frame’ → /something?some\_id=1234\] how can I fill form, click on links inside t…

---

## [Booting Zynq/Gnuradio](https://www.ruby-forum.com/t/booting-zynq-gnuradio/246043)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 6\
**Last updated:** [August 21, 2013, 12:20pm UTC](https://www.ruby-forum.com/t/booting-zynq-gnuradio/246043 "2013-08-21T12:20:18Z")

</div>

Hi everybody, I was thrilled to find Jonathon’s writeup, and I have been trying to get the same setup working here. Some things I learned along the way: OpenEmbedded is very very cool! bitbake doesn’t work on eCryptf…

---

## [\[ruby-trunk - Bug #5850\]\[Open\] Failure test/ruby/test\_io.rb](https://www.ruby-forum.com/t/ruby-trunk-bug-5850-open-failure-test-ruby-test-io-rb/215511)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [January 8, 2012, 2:18pm UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-5850-open-failure-test-ruby-test-io-rb/215511 "2012-01-08T14:18:35Z")

</div>

Issue #5850 has been reported by Ayumu AIZAWA. Bug #5850: Failure test/ruby/test\_io.rb Author: Ayumu AIZAWA Status: Open Priority: Normal Assignee: Category: core Target version: 2.0.0 ruby -v: ruby 2.0.0dev (2…

---

## [Boyer-Moore string search algorithm in ruby](https://www.ruby-forum.com/t/boyer-moore-string-search-algorithm-in-ruby/110053)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [October 27, 2010, 4:16pm UTC](https://www.ruby-forum.com/t/boyer-moore-string-search-algorithm-in-ruby/110053 "2010-10-27T16:16:45Z")

</div>

I came across this post: http://www.arnebrasseur.net/2007/02/26/boyer-moore-string-search-algorithm-in-ruby/en/ Does anyone know if this is already part of Ruby open source library? I did not find anything on Google. …

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

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