# Top

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

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

---

## [Simple RoR layout/css/html abstraction](https://www.ruby-forum.com/t/simple-ror-layout-css-html-abstraction/124504)

<div class="topic-metadata">

**Author:** [@JK\_Sieber](https://www.ruby-forum.com/u/JK_Sieber)\
**Replies:** 4\
**Last updated:** [December 31, 2007, 6:39pm UTC](https://www.ruby-forum.com/t/simple-ror-layout-css-html-abstraction/124504 "2007-12-31T18:39:58Z")

</div>

Hello all, I came from Java/C++ backend /server development and now is trying to go into more web-app mind. I have been playing with RoR for a moment, and really love it. The biggest hurdle for me is, that as a non…

---

## [Nginx reverse proxy + mongrel and fork](https://www.ruby-forum.com/t/nginx-reverse-proxy-mongrel-and-fork/123812)

<div class="topic-metadata">

**Author:** [@bincedecrabe](https://www.ruby-forum.com/u/bincedecrabe)\
**Replies:** 4\
**Last updated:** [December 22, 2007, 8:10pm UTC](https://www.ruby-forum.com/t/nginx-reverse-proxy-mongrel-and-fork/123812 "2007-12-22T20:10:42Z")

</div>

Hi all, I originally posted this to the rails deployment list, but then I noticed the nginx forum, and thought it would be better suited here. I’m trying to kick off simple (yet long running) background processes fro…

---

## [Readline + completion of "all files in current directory"](https://www.ruby-forum.com/t/readline-completion-of-all-files-in-current-directory/120497)

<div class="topic-metadata">

**Author:** [@quik77](https://www.ruby-forum.com/u/quik77)\
**Replies:** 4\
**Last updated:** [November 18, 2007, 4:18am UTC](https://www.ruby-forum.com/t/readline-completion-of-all-files-in-current-directory/120497 "2007-11-18T04:18:18Z")

</div>

Hi, I am having a hard time understanding readline. If i have a list of possible matches for given files (and subdirectories) in a directory, how can I make readline work with that, so that i can type something like: …

---

## [Problem using set with hash objects](https://www.ruby-forum.com/t/problem-using-set-with-hash-objects/114831)

<div class="topic-metadata">

**Author:** [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/problem-using-set-with-hash-objects/114831 "2007-09-25T23:05:50Z")

</div>

I’m using set in the ruby standard library to produce collections of unique objects from enumerable objects with duplicates but it’s doesn’t appear to work with hash objects. $ ruby --version ruby 1.8.5 (2006-12-25 p…

---

## [Metaprogramming to generate list of class-specific attribute](https://www.ruby-forum.com/t/metaprogramming-to-generate-list-of-class-specific-attribute/114685)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/metaprogramming-to-generate-list-of-class-specific-attribute/114685 "2007-09-25T23:04:51Z")

</div>

Rubyists: Here’s a test case illustrates the problem. Then we’ll have a candidate fix and some questions. class Kozmik def self.acts\_as\_frog(species) @@frog\_list \<\< species end @@frog\_list = \[\] cattr\_accessor :f…

---

## [Is there a way to parse ruby code and generate a word doc?](https://www.ruby-forum.com/t/is-there-a-way-to-parse-ruby-code-and-generate-a-word-doc/110439)

<div class="topic-metadata">

**Author:** [@neha-rohan](https://www.ruby-forum.com/u/neha-rohan)\
**Replies:** 4\
**Last updated:** [July 30, 2007, 6:43am UTC](https://www.ruby-forum.com/t/is-there-a-way-to-parse-ruby-code-and-generate-a-word-doc/110439 "2007-07-30T06:43:37Z")

</div>

Hi, Is there a way by which we can parse ruby code to generate a word file just the way there is a way to generate PDF, Excel or CSV files. Neha

---

## [OpenMoko](https://www.ruby-forum.com/t/openmoko/109040)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 4\
**Last updated:** [July 28, 2007, 1:00pm UTC](https://www.ruby-forum.com/t/openmoko/109040 "2007-07-28T13:00:00Z")

</div>

I may be behind the times with this, but have any of you looked at the OpenMoko project? It’s an open source cell phone software stack. They’re not consumer ready yet, but the Neo1973 was recently put up for sale a…

---

## [Typo 4.1 out](https://www.ruby-forum.com/t/typo-4-1-out/88408)

<div class="topic-metadata">

**Author:** [@Frederic\_de\_Villami](https://www.ruby-forum.com/u/Frederic_de_Villami)\
**Replies:** 4\
**Last updated:** [March 11, 2007, 10:06am UTC](https://www.ruby-forum.com/t/typo-4-1-out/88408 "2007-03-11T10:06:13Z")

</div>

Bonjour, Typo, un outil de publication dÃ©veloppÃ© en Ruby on Rail vient de sortir en version 4.1. Au programme de cette release : â€“ passage Ã rails 1.2 â€“ refonte complÃ¨te de l’interface d’administration (qui …

---

## [Is it possible to have nested rails apps for completely diff](https://www.ruby-forum.com/t/is-it-possible-to-have-nested-rails-apps-for-completely-diff/86871)

<div class="topic-metadata">

**Author:** [@goodieboy](https://www.ruby-forum.com/u/goodieboy)\
**Replies:** 4\
**Last updated:** [February 26, 2007, 10:18pm UTC](https://www.ruby-forum.com/t/is-it-possible-to-have-nested-rails-apps-for-completely-diff/86871 "2007-02-26T22:18:07Z")

</div>

OK, I have a host (A2 Hosting) that allows me to point different domains at sub-folders for sub-domain hosting. I’d like to be able to run diferent rails apps in each of those folders and one in the root also. I figu…

---

## [I do not configure firebird](https://www.ruby-forum.com/t/i-do-not-configure-firebird/80948)

<div class="topic-metadata">

**Author:** [@mr\_brownstone](https://www.ruby-forum.com/u/mr_brownstone)\
**Replies:** 4\
**Last updated:** [January 3, 2007, 8:22pm UTC](https://www.ruby-forum.com/t/i-do-not-configure-firebird/80948 "2007-01-03T20:22:25Z")

</div>

I load the fireruby, copy the fbclient.dll for C:\\Windows\\System32, I placed in aliases.conf the path for arquive .fdb “testefb = localhost:C:\\Teste\\DADOS.FDB” and configure de database.yml: development: adapter: fi…

---

## [Method\_missing error when caching an ActiveRecord model](https://www.ruby-forum.com/t/method-missing-error-when-caching-an-activerecord-model/65738)

<div class="topic-metadata">

**Author:** [@Brittain](https://www.ruby-forum.com/u/Brittain)\
**Replies:** 4\
**Last updated:** [August 21, 2006, 3:33am UTC](https://www.ruby-forum.com/t/method-missing-error-when-caching-an-activerecord-model/65738 "2006-08-21T03:33:53Z")

</div>

I have a simple singleton cache that stores ActiveRecord model objects for me so I’m not constantly hitting the DB for static data. This was working great until I tried to add a method (any method really) to the mode…

---

## [Why is the body of the static sidebar escaped?](https://www.ruby-forum.com/t/why-is-the-body-of-the-static-sidebar-escaped/97684)

<div class="topic-metadata">

**Author:** [@Urban\_H](https://www.ruby-forum.com/u/Urban_H)\
**Replies:** 4\
**Last updated:** [July 10, 2006, 1:16pm UTC](https://www.ruby-forum.com/t/why-is-the-body-of-the-static-sidebar-escaped/97684 "2006-07-10T13:16:32Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hej! Changeset 1091 escapes the contents of the static sidebar. Until now I had static sidebar that contained a list of links. Now it obviously displays the escaped HTML…

---

## [Zipcode Search](https://www.ruby-forum.com/t/zipcode-search/100593)

<div class="topic-metadata">

**Author:** [@Siva\_J](https://www.ruby-forum.com/u/Siva_J)\
**Replies:** 4\
**Last updated:** [February 3, 2006, 9:52pm UTC](https://www.ruby-forum.com/t/zipcode-search/100593 "2006-02-03T21:52:48Z")

</div>

Is there any package that I could use for zipcode search. I want to display schools that near a particular zipcode. I have no idea how to do this. It will be great if anyone can point me where I could find info – R…

---

## [Glimmer\_tetris 1.0.2 Released](https://www.ruby-forum.com/t/glimmer-tetris-1-0-2-released/264929)

<div class="topic-metadata">

**Author:** [@AndyMaleh](https://www.ruby-forum.com/u/AndyMaleh)\
**Replies:** 0\
**Last updated:** [July 23, 2024, 4:34am UTC](https://www.ruby-forum.com/t/glimmer-tetris-1-0-2-released/264929 "2024-07-23T04:34:41Z")

</div>

Glimmer Tetris 1.0.2 has been released! GitHub Project : GitHub - AndyObtiva/glimmer\_tetris: Glimmer Tetris Ruby Gem (glimmer\_tetris) : glimmer\_tetris | RubyGems.org | yo…

---

## [Help! Haml::SyntaxError in Posts#show](https://www.ruby-forum.com/t/help-haml-syntaxerror-in-posts-show/234697)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [March 23, 2015, 11:11am UTC](https://www.ruby-forum.com/t/help-haml-syntaxerror-in-posts-show/234697 "2015-03-23T11:11:31Z")

</div>

Ok, so I’m challenging myself to actually learn ruby/rails, I’m currently doing the 12 on 12 challenge by mackenzie childs, i’m doing the Muze app. I’m trying to add a comment section to the post section of the site b…

---

## [Ruby better than Octave/Matlab?](https://www.ruby-forum.com/t/ruby-better-than-octave-matlab/232287)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 2, 2014, 5:10pm UTC](https://www.ruby-forum.com/t/ruby-better-than-octave-matlab/232287 "2014-10-02T17:10:06Z")

</div>

Hello, I’m required to learn GNU Octave or MATLAB. Are they realistically speaking any better compared to Ruby when it comes to rounding errors and accuracy? What about performance? My context is prototyping machine…

---

## [Signal composition and intermodulation filtering](https://www.ruby-forum.com/t/signal-composition-and-intermodulation-filtering/236529)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [September 15, 2013, 6:36pm UTC](https://www.ruby-forum.com/t/signal-composition-and-intermodulation-filtering/236529 "2013-09-15T18:36:53Z")

</div>

Hi everyone. I’m new in this forum and this is my first message! It’s more or less 2 months that I bought and playing with my new ettus usrp2 B100 with a WBX radio board. I admit that I have a discrete knowledge of R…

---

## [Reg : start() wait() stop() and run()](https://www.ruby-forum.com/t/reg-start-wait-stop-and-run/223542)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 9, 2012, 1:36am UTC](https://www.ruby-forum.com/t/reg-start-wait-stop-and-run/223542 "2012-10-09T01:36:55Z")

</div>

Whats the difference between using tb.start() + tb.wait() Vs tb.run() Vs tb.stop + tb.wait() All the three are giving me the same result for the following code \*tb.start() + tb.wait() \* if name == ‘main’: tb = rx\_…

---

## [Rvm install 1.9.2-head -- errors while running make](https://www.ruby-forum.com/t/rvm-install-1-9-2-head-errors-while-running-make/203354)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 18, 2011, 7:29pm UTC](https://www.ruby-forum.com/t/rvm-install-1-9-2-head-errors-while-running-make/203354 "2011-02-18T19:29:38Z")

</div>

I’m attemping to install Ruby on Ubuntu 10.04. shmup@cantcode:~$ rvm install 1.9.2-head Installing Ruby from source to: /home/shmup/.rvm/rubies/ruby-1.9.2-head, this may take a while depending on your cpu(s)… ruby-1.…

---

## [More Windows Build](https://www.ruby-forum.com/t/more-windows-build/202031)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [January 21, 2011, 5:11pm UTC](https://www.ruby-forum.com/t/more-windows-build/202031 "2011-01-21T17:11:41Z")

</div>

I haven’t gotten any farther in documenting the Windows build procedures. I took a quick look at building it again and decided it was too complicated for the amount of time that I had. But I’m in the process of tryi…

---

## [USRP daughter board design files](https://www.ruby-forum.com/t/usrp-daughter-board-design-files/200196)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [December 7, 2010, 1:06am UTC](https://www.ruby-forum.com/t/usrp-daughter-board-design-files/200196 "2010-12-07T01:06:50Z")

</div>

Hi All, I am looking more information on the RF daughter boards for the USRP. On the Ettus R. FAQ page is the following item: Are design files available with the boards that may aid in further prototyping? Yes. A…

---

## [What gems are available for Acceptance Testing Using IronRuby](https://www.ruby-forum.com/t/what-gems-are-available-for-acceptance-testing-using-ironruby/191637)

<div class="topic-metadata">

**Author:** [@metanoize](https://www.ruby-forum.com/u/metanoize)\
**Replies:** 2\
**Last updated:** [July 15, 2010, 6:15pm UTC](https://www.ruby-forum.com/t/what-gems-are-available-for-acceptance-testing-using-ironruby/191637 "2010-07-15T18:15:49Z")

</div>

Hi, I know that I cannot use WatiR because of its C implementation but what other tools (gems) are available which can be used for acceptance testing (browser, winforms, wpf) applications. Has anyone successfully in…

---

## [Bug in mscorlib, IronRuby, NewtonSoft.json..... or my code?](https://www.ruby-forum.com/t/bug-in-mscorlib-ironruby-newtonsoft-json-or-my-code/189550)

<div class="topic-metadata">

**Author:** [@benhiller](https://www.ruby-forum.com/u/benhiller)\
**Replies:** 2\
**Last updated:** [June 3, 2010, 11:03am UTC](https://www.ruby-forum.com/t/bug-in-mscorlib-ironruby-newtonsoft-json-or-my-code/189550 "2010-06-03T11:03:57Z")

</div>

Hi, I’m trying to use a third party library which has a dependency on NewtonSoft.json. I create a class within IronRuby and attempt to serialise the object to Json however it throws a null reference exception from wi…

---

## [How to use from file in benchmark\_tx.py](https://www.ruby-forum.com/t/how-to-use-from-file-in-benchmark-tx-py/189453)

<div class="topic-metadata">

**Author:** [@muhammad-usman](https://www.ruby-forum.com/u/muhammad-usman)\
**Replies:** 2\
**Last updated:** [June 2, 2010, 5:57am UTC](https://www.ruby-forum.com/t/how-to-use-from-file-in-benchmark-tx-py/189453 "2010-06-02T05:57:14Z")

</div>

Hello, I have a couple of (in fact more than that) questions, kindly answer them asap: How to use the option of --from-file in benchmark\_tx.py? I am using USRP1, gnuradio3.2.1 and RFX2400. Secondly how to use --log …

---

## [SmartImage 0.0.2: a sane cross-platform image compositing and thumbnail library](https://www.ruby-forum.com/t/smartimage-0-0-2-a-sane-cross-platform-image-compositing-and-thumbnail-library/186024)

<div class="topic-metadata">

**Author:** [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Replies:** 2\
**Last updated:** [March 30, 2010, 6:20pm UTC](https://www.ruby-forum.com/t/smartimage-0-0-2-a-sane-cross-platform-image-compositing-and-thumbnail-library/186024 "2010-03-30T18:20:01Z")

</div>

SmartImage is a new, powerful, cross-platform Ruby library for compositing images and making thumbnails: gem install smartimage The above command should work on MRI (or any other platform that can load the RMagick C …

---

## [Config.action\_mailer.default\_url\_options = { :host =\> }](https://www.ruby-forum.com/t/config-action-mailer-default-url-options-host/184898)

<div class="topic-metadata">

**Author:** [@tom-mac](https://www.ruby-forum.com/u/tom-mac)\
**Replies:** 2\
**Last updated:** [March 10, 2010, 7:30am UTC](https://www.ruby-forum.com/t/config-action-mailer-default-url-options-host/184898 "2010-03-10T07:30:59Z")

</div>

Hi In my application I have a mail sending part in which a user get mail with a link to activate his account. What I am currently doing is as a part of test I created a staging environment And in config/environments/…

---

## [Adding a handler proc after the fact to GladeXML](https://www.ruby-forum.com/t/adding-a-handler-proc-after-the-fact-to-gladexml/174973)

<div class="topic-metadata">

**Author:** [@matthew](https://www.ruby-forum.com/u/matthew)\
**Replies:** 2\
**Last updated:** [September 5, 2009, 11:56pm UTC](https://www.ruby-forum.com/t/adding-a-handler-proc-after-the-fact-to-gladexml/174973 "2009-09-05T23:56:35Z")

</div>

Hi, I need to be able to set a handler after GladeXML.new. Is this possible? Instead of this: @glade = GladeXML.new(path\_or\_data, root, domain,localedir, flag) {|handler| method(handler)} I’d like to do this: @glad…

---

## [Capistrano Best Practices: Users + Permissions](https://www.ruby-forum.com/t/capistrano-best-practices-users-permissions/137061)

<div class="topic-metadata">

**Author:** [@mdaoust](https://www.ruby-forum.com/u/mdaoust)\
**Replies:** 2\
**Last updated:** [May 10, 2008, 4:30pm UTC](https://www.ruby-forum.com/t/capistrano-best-practices-users-permissions/137061 "2008-05-10T16:30:41Z")

</div>

Hello! What would people recommend for a best practice Capistrano config, specifically re: users and permissions? My current config is something like: Have a non-root user setup on my remote box (which is the web, a…

---

## [Drb - shared app with multiple private databases - howto?](https://www.ruby-forum.com/t/drb-shared-app-with-multiple-private-databases-howto/114824)

<div class="topic-metadata">

**Author:** [@bakki](https://www.ruby-forum.com/u/bakki)\
**Replies:** 2\
**Last updated:** [September 24, 2007, 6:06pm UTC](https://www.ruby-forum.com/t/drb-shared-app-with-multiple-private-databases-howto/114824 "2007-09-24T18:06:49Z")

</div>

Hello, I’ve been trying to get my head around ferret and the one thing that stumps me is how I might use Drb on a dedicated server with multiple clients using the SAME application but each with their own private data…

---

## [How to search with range when I am using AAF](https://www.ruby-forum.com/t/how-to-search-with-range-when-i-am-using-aaf/114341)

<div class="topic-metadata">

**Author:** [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Replies:** 2\
**Last updated:** [September 13, 2007, 12:03am UTC](https://www.ruby-forum.com/t/how-to-search-with-range-when-i-am-using-aaf/114341 "2007-09-13T00:03:31Z")

</div>

acts\_as\_ferret :fields =\> { :name =\> {:}, :desc =\> {}, :start\_date =\> {} } def start\_date self.start\_datetime.strftime("%Y%m%d") end Now that I am strong start\_date in YYYYMMDD format, I want to search for all e…

---

## [Ruby Gnome2 Win32 installer](https://www.ruby-forum.com/t/ruby-gnome2-win32-installer/108630)

<div class="topic-metadata">

**Author:** [@Alberto\_Ruiz](https://www.ruby-forum.com/u/Alberto_Ruiz)\
**Replies:** 2\
**Last updated:** [July 5, 2007, 3:56pm UTC](https://www.ruby-forum.com/t/ruby-gnome2-win32-installer/108630 "2007-07-05T15:56:23Z")

</div>

Hello, first of all, I want to congratulate the effort of this project, you are doing an excellent work. My name is Alberto Ruiz, and I’m a contributor of the pygtk project. One of my main worries is to get Gtk+ and…

---

## [Datatypes (Mysql) in Rails Migrations](https://www.ruby-forum.com/t/datatypes-mysql-in-rails-migrations/106478)

<div class="topic-metadata">

**Author:** [@jeannibee](https://www.ruby-forum.com/u/jeannibee)\
**Replies:** 2\
**Last updated:** [June 11, 2007, 4:07pm UTC](https://www.ruby-forum.com/t/datatypes-mysql-in-rails-migrations/106478 "2007-06-11T16:07:11Z")

</div>

Hi I’m using integer for most of my numeric data, and this is fine, but the system I am building will convert my data structures OLTP to OLAP for reporting. This will require TONS of data to be saved. In an effort to …

---

## [Probs with accessing variables in yaml file](https://www.ruby-forum.com/t/probs-with-accessing-variables-in-yaml-file/104089)

<div class="topic-metadata">

**Author:** [@RebhanS\_Gilbert](https://www.ruby-forum.com/u/RebhanS_Gilbert)\
**Replies:** 2\
**Last updated:** [May 14, 2007, 11:57am UTC](https://www.ruby-forum.com/t/probs-with-accessing-variables-in-yaml-file/104089 "2007-05-14T11:57:41Z")

</div>

Hi, i have a script that is configured via yaml file : —script----------- require ‘yaml’ require ‘highline/import’ require ‘win32/registry’ config=YAML.load\_file(“cvs\_login.yaml”) \[ … \] def filesed!(pattern, repl…

---

## [Accessing datetime\_select value](https://www.ruby-forum.com/t/accessing-datetime-select-value/56832)

<div class="topic-metadata">

**Author:** [@Andrew\_DSGoodfello](https://www.ruby-forum.com/u/Andrew_DSGoodfello)\
**Replies:** 2\
**Last updated:** [October 22, 2006, 1:56am UTC](https://www.ruby-forum.com/t/accessing-datetime-select-value/56832 "2006-10-22T01:56:22Z")

</div>

How do I get a value from datetime\_select? Do I need to get each value from it’s dropdown element individually or is there a way to get the date by referencing one object? Anyone have any good examples? -Andy

---

## [SDL - how to enable window (surface) repaint](https://www.ruby-forum.com/t/sdl-how-to-enable-window-surface-repaint/47865)

<div class="topic-metadata">

**Author:** [@bouncer](https://www.ruby-forum.com/u/bouncer)\
**Replies:** 2\
**Last updated:** [November 14, 2005, 6:35pm UTC](https://www.ruby-forum.com/t/sdl-how-to-enable-window-surface-repaint/47865 "2005-11-14T18:35:29Z")

</div>

hello, i am using sdl library from Ruby/SDL. the problem is that if the sdl window is overlapped with another window(s) and then “switched” back, the surface of sdl has blank portion (where the overlapping window w…

---

## [Use a module for this?](https://www.ruby-forum.com/t/use-a-module-for-this/240015)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [March 25, 2014, 9:48am UTC](https://www.ruby-forum.com/t/use-a-module-for-this/240015 "2014-03-25T09:48:57Z")

</div>

Hi, I have some code that has to be used by more than one method in the same class. Would I create a module for this or is there a better way? eg. module QuestionSequencer class Sequence def sequence\_questions in…

---

## [Private and protected](https://www.ruby-forum.com/t/private-and-protected/214159)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [November 23, 2011, 4:04pm UTC](https://www.ruby-forum.com/t/private-and-protected/214159 "2011-11-23T16:04:55Z")

</div>

Could anybody explain me this, please? class First def say self.phrase end private def phrase 'something' end end a = First.new a.say got NoMethodError: private method b' called for #\<A:0xb7756518\> from…

---

## [Model optimization](https://www.ruby-forum.com/t/model-optimization/201724)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [January 13, 2011, 4:41pm UTC](https://www.ruby-forum.com/t/model-optimization/201724 "2011-01-13T16:41:40Z")

</div>

I have a User model. Every User has a document. Then I have a Delegate model. User can have many delegates and one Delegate can have many users. Every Delegate has a document. Do you think it is better to create a D…

---

## [Error building 0.9.1 on Cygwin](https://www.ruby-forum.com/t/error-building-0-9-1-on-cygwin/199893)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 6\
**Last updated:** [December 1, 2010, 7:31pm UTC](https://www.ruby-forum.com/t/error-building-0-9-1-on-cygwin/199893 "2010-12-01T19:31:32Z")

</div>

Got the following error when building in Cygwin on Windows 7 Ultimate. Any help is appreciated… -o objs/src/os/unix/ngx\_time.o \\ src/os/unix/ngx\_time.c gcc -c -pipe -O -W -Wall -Wpointer-arith…

---

## [Kind\_of?( NilClass )](https://www.ruby-forum.com/t/kind-of-nilclass/193288)

<div class="topic-metadata">

**Author:** [@Philipp\_K](https://www.ruby-forum.com/u/Philipp_K)\
**Replies:** 6\
**Last updated:** [August 15, 2010, 12:36pm UTC](https://www.ruby-forum.com/t/kind-of-nilclass/193288 "2010-08-15T12:36:01Z")

</div>

Should I write var.kind\_of?( NilClass ) or simply var == nil ? I have the feeling that kind\_of?(NilClass) is more “proper”/“clean” but then again it decreases the readability and might not even be necessary. Are …

---

## [What version of Ruby does/will Rails 3 require?](https://www.ruby-forum.com/t/what-version-of-ruby-does-will-rails-3-require/188015)

<div class="topic-metadata">

**Author:** [@matthew](https://www.ruby-forum.com/u/matthew)\
**Replies:** 6\
**Last updated:** [May 5, 2010, 7:51pm UTC](https://www.ruby-forum.com/t/what-version-of-ruby-does-will-rails-3-require/188015 "2010-05-05T19:51:01Z")

</div>

What version of Ruby does or will Rails 3 require?

---

## [Sinatra without RubyGems](https://www.ruby-forum.com/t/sinatra-without-rubygems/187417)

<div class="topic-metadata">

**Author:** [@XYXYXY](https://www.ruby-forum.com/u/XYXYXY)\
**Replies:** 6\
**Last updated:** [April 23, 2010, 6:53pm UTC](https://www.ruby-forum.com/t/sinatra-without-rubygems/187417 "2010-04-23T18:53:52Z")

</div>

Hi I wonder if it is possible to run Sinatra without useing RubyGems. Thanks K

---

## [Pseudo array for Rails migration](https://www.ruby-forum.com/t/pseudo-array-for-rails-migration/179335)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 6\
**Last updated:** [November 25, 2009, 9:42pm UTC](https://www.ruby-forum.com/t/pseudo-array-for-rails-migration/179335 "2009-11-25T21:42:29Z")

</div>

Consider N\_X = 20 # size of pseudo array class CreatePeople \< ActiveRecord::Migration create\_table :people do |t| t.string :first\_name , :null =\> false . . . t.integer :x00 t.integer :x01 t.…

---

## [Odd cache behavior](https://www.ruby-forum.com/t/odd-cache-behavior/176590)

<div class="topic-metadata">

**Author:** [@joviyach](https://www.ruby-forum.com/u/joviyach)\
**Replies:** 6\
**Last updated:** [October 6, 2009, 3:52pm UTC](https://www.ruby-forum.com/t/odd-cache-behavior/176590 "2009-10-06T15:52:47Z")

</div>

Hello, I’m seeing odd disk usage statistics for my cache. The cache is primarily of small files (images, javascript, and css) and sits on a 128GB SSD using ext2 file system mounted with “noatime” option. The cache is…

---

## [Embedded Ruby in Views in Ruby 1.8.7](https://www.ruby-forum.com/t/embedded-ruby-in-views-in-ruby-1-8-7/174913)

<div class="topic-metadata">

**Author:** [@nroose](https://www.ruby-forum.com/u/nroose)\
**Replies:** 6\
**Last updated:** [September 4, 2009, 1:05pm UTC](https://www.ruby-forum.com/t/embedded-ruby-in-views-in-ruby-1-8-7/174913 "2009-09-04T13:05:27Z")

</div>

Good morning! I am trying to find full documentation about the way to embed ruby commands in the rails views. I am working on a large existing app. We just installed Ruby 1.8.7 on one of our servers in an attempt to…

---

## [ActiveSupport "is not missing constant" errors](https://www.ruby-forum.com/t/activesupport-is-not-missing-constant-errors/170314)

<div class="topic-metadata">

**Author:** [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Replies:** 6\
**Last updated:** [June 18, 2009, 3:47pm UTC](https://www.ruby-forum.com/t/activesupport-is-not-missing-constant-errors/170314 "2009-06-18T15:47:41Z")

</div>

I’ve gone spelunking through ActiveRecord’s dependencies.rb until my eyes bleed, and I’m still yet to understand what causes these errors and how can they can be prevented. As far as I can tell, ActiveSupport’s cons…

---

## ["puts"ing an array](https://www.ruby-forum.com/t/puts-ing-an-array/169843)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 6\
**Last updated:** [June 9, 2009, 3:50pm UTC](https://www.ruby-forum.com/t/puts-ing-an-array/169843 "2009-06-09T15:50:01Z")

</div>

Hi, In the “pickaxe” book I see how to use a “puts” to populate a file with data. I try the same thing, and, it works, but, it’s listing the data as an array. How can I get separate lines for each item in the array? …

---

## [Keep thread in memory](https://www.ruby-forum.com/t/keep-thread-in-memory/162936)

<div class="topic-metadata">

**Author:** [@Craig\_Williams](https://www.ruby-forum.com/u/Craig_Williams)\
**Replies:** 6\
**Last updated:** [March 15, 2009, 11:43pm UTC](https://www.ruby-forum.com/t/keep-thread-in-memory/162936 "2009-03-15T23:43:11Z")

</div>

Hi, I’m writing a simple UDP listening server. It works great using this PORT = 1234 server = UDPSocket.open server.bind(“127.0.0.1”, PORT) server\_thread = Thread.start(server) do |server| 100.times { #do something…

---

## [How to add javascript directly to the view](https://www.ruby-forum.com/t/how-to-add-javascript-directly-to-the-view/161018)

<div class="topic-metadata">

**Author:** [@scudco](https://www.ruby-forum.com/u/scudco)\
**Replies:** 6\
**Last updated:** [February 22, 2009, 4:44pm UTC](https://www.ruby-forum.com/t/how-to-add-javascript-directly-to-the-view/161018 "2009-02-22T16:44:27Z")

</div>

Im incorporating ajax / javascript stuff for the first time in my project and im a bit confused by all various methods available, rjs, prototype, javascript etc so please excuse me if this is an obvious question. Whi…

---

## [DTrace segfaults on Leopard](https://www.ruby-forum.com/t/dtrace-segfaults-on-leopard/126393)

<div class="topic-metadata">

**Author:** [@Wincent\_C](https://www.ruby-forum.com/u/Wincent_C)\
**Replies:** 6\
**Last updated:** [January 6, 2009, 7:48am UTC](https://www.ruby-forum.com/t/dtrace-segfaults-on-leopard/126393 "2009-01-06T07:48:02Z")

</div>

I’d like to use DTrace on Leopard to do some profiling of a Ruby app but I’m finding that any script that uses the “object-free” probe eventually leads to a segfault. For example, the script that Apple provides at: /…

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

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