# Top

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

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

---

## [Session hash and fetch problem?](https://www.ruby-forum.com/t/session-hash-and-fetch-problem/156451)

<div class="topic-metadata">

**Author:** [@davidstokar](https://www.ruby-forum.com/u/davidstokar)\
**Replies:** 4\
**Last updated:** [December 28, 2008, 12:26am UTC](https://www.ruby-forum.com/t/session-hash-and-fetch-problem/156451 "2008-12-28T00:26:48Z")

</div>

Short version of the problem: Why this works session\[:sub\_menu\].fetch(:stock) and this don’t? session\[:sub\_menu\].fetch(“stock”) thanks David S.

---

## [Traduzione del libro su Merb Open Source](https://www.ruby-forum.com/t/traduzione-del-libro-su-merb-open-source/155157)

<div class="topic-metadata">

**Author:** [@Luigi\_MaselliSS](https://www.ruby-forum.com/u/Luigi_MaselliSS)\
**Replies:** 4\
**Last updated:** [December 9, 2008, 2:44pm UTC](https://www.ruby-forum.com/t/traduzione-del-libro-su-merb-open-source/155157 "2008-12-09T14:44:10Z")

</div>

Per chi fosse interessato a tradurre il libro open source su Merb ho aperto questa pagina: http://ruby-it.org/pages/traduzione+libro+su+Merb+opensource

---

## [Rails 2.1.1 setting datetime to nil at 00:00:00](https://www.ruby-forum.com/t/rails-2-1-1-setting-datetime-to-nil-at-0000/152437)

<div class="topic-metadata">

**Author:** [@ADADAD](https://www.ruby-forum.com/u/ADADAD)\
**Replies:** 4\
**Last updated:** [November 4, 2008, 3:44pm UTC](https://www.ruby-forum.com/t/rails-2-1-1-setting-datetime-to-nil-at-0000/152437 "2008-11-04T15:44:23Z")

</div>

Hello, There appears to be a strange bug in Rails 2.1.1 where if I set a datetime field to YYYY-MM-DD 00:00:00 (using TimeZone support) Rails returns nil, instead of YYYY-MM-DD 00:00:00 Here is confirmed output: c…

---

## [Rspec @ UC Berkley](https://www.ruby-forum.com/t/rspec-uc-berkley/150507)

<div class="topic-metadata">

**Author:** [@sthorpe](https://www.ruby-forum.com/u/sthorpe)\
**Replies:** 4\
**Last updated:** [October 10, 2008, 10:52am UTC](https://www.ruby-forum.com/t/rspec-uc-berkley/150507 "2008-10-10T10:52:41Z")

</div>

I find it sort of interesting that they are using RSpec in one of the courses @ UC Berkley: http://radlab.cs.berkeley.edu/wiki/Cs198 Scott

---

## [Dont def need return](https://www.ruby-forum.com/t/dont-def-need-return/147086)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 4\
**Last updated:** [August 28, 2008, 11:55am UTC](https://www.ruby-forum.com/t/dont-def-need-return/147086 "2008-08-28T11:55:34Z")

</div>

Hi I was learing Ruby and have code like Class TestClass def getcolors arr=\[“Blue”,“Yellow”\] arr1=\[“1”,“2”\] end end obj=TestClass.new puts obj.getcolors And the result is 1 2 ..This looks some strange …

---

## [Any Flash/ SilverLight Flex Equivalent for ROR?](https://www.ruby-forum.com/t/any-flash-silverlight-flex-equivalent-for-ror/144162)

<div class="topic-metadata">

**Author:** [@ror\_arch](https://www.ruby-forum.com/u/ror_arch)\
**Replies:** 4\
**Last updated:** [July 26, 2008, 11:19am UTC](https://www.ruby-forum.com/t/any-flash-silverlight-flex-equivalent-for-ror/144162 "2008-07-26T11:19:49Z")

</div>

I was wondering if there are any equivalents to flash/silverlight or flex (would ajax be an equivalent?) for ROR? for creating RIAs?

---

## [Render content of specific child](https://www.ruby-forum.com/t/render-content-of-specific-child/129906)

<div class="topic-metadata">

**Author:** [@rainer\_griess](https://www.ruby-forum.com/u/rainer_griess)\
**Replies:** 4\
**Last updated:** [February 22, 2008, 5:08pm UTC](https://www.ruby-forum.com/t/render-content-of-specific-child/129906 "2008-02-22T17:08:18Z")

</div>

Hi again, is it somehow possible to render the content of a specific child? For example, I would like to put some content on my Homepage coming from the homepage’s child named “homenews”. How can I get access the con…

---

## [:include doesn't work with belongs\_to](https://www.ruby-forum.com/t/include-doesnt-work-with-belongs-to/121800)

<div class="topic-metadata">

**Author:** [@Mozmonkey](https://www.ruby-forum.com/u/Mozmonkey)\
**Replies:** 4\
**Last updated:** [December 1, 2007, 8:37pm UTC](https://www.ruby-forum.com/t/include-doesnt-work-with-belongs-to/121800 "2007-12-01T20:37:31Z")

</div>

I’m having issues getting :include to eagerly load data in a “belongs\_to” association. Here’s the breakdown: Users have friends and an avatar image. If I am loading all the user’s friends I want to also eagerly load…

---

## [Implementation plan and a string question](https://www.ruby-forum.com/t/implementation-plan-and-a-string-question/119560)

<div class="topic-metadata">

**Author:** [@lee\_c](https://www.ruby-forum.com/u/lee_c)\
**Replies:** 4\
**Last updated:** [November 10, 2007, 2:24am UTC](https://www.ruby-forum.com/t/implementation-plan-and-a-string-question/119560 "2007-11-10T02:24:56Z")

</div>

I’ve been playing with IronRuby a bit today, and I notice that the reflection methods are not yet implemented (e.g. running “”.methods in the interpreter does not produce the expected result). This is not surprising,…

---

## [Ruby\_set\_current\_source remains in intern.h](https://www.ruby-forum.com/t/ruby-set-current-source-remains-in-intern-h/108848)

<div class="topic-metadata">

**Author:** [@Masahiro\_SSSSSBSr0](https://www.ruby-forum.com/u/Masahiro_SSSSSBSr0)\
**Replies:** 4\
**Last updated:** [July 11, 2007, 2:08pm UTC](https://www.ruby-forum.com/t/ruby-set-current-source-remains-in-intern-h/108848 "2007-07-11T14:08:16Z")

</div>

e$B\<r0f$G$9!#e(B 6/25 e$B$Ke(B eval\_error.ci e$B$+$i:o=|$5$l$?e(B ruby\_set\_current\_source() e$B$,e(B intern.h e$B$K$O$^$@;D$C$F$$$k$h$&$G$9!#e(B

---

## [Elencare i dischi di sistema](https://www.ruby-forum.com/t/elencare-i-dischi-di-sistema/106937)

<div class="topic-metadata">

**Author:** [@biospank](https://www.ruby-forum.com/u/biospank)\
**Replies:** 4\
**Last updated:** [June 24, 2007, 4:33pm UTC](https://www.ruby-forum.com/t/elencare-i-dischi-di-sistema/106937 "2007-06-24T16:33:02Z")

</div>

Ciao a tutti, sono fabio e questo è il mio primo post… La mia domanda potrebbe essere scontata per molti ma non per me…: Come faccio in ruby ad elencare gli hard disk del mio pc (windoz)? es. a:, b:, c:\\ … grazie.

---

## [Unencrypted Password Appears in Log](https://www.ruby-forum.com/t/unencrypted-password-appears-in-log/91961)

<div class="topic-metadata">

**Author:** [@randall](https://www.ruby-forum.com/u/randall)\
**Replies:** 4\
**Last updated:** [April 14, 2007, 12:38am UTC](https://www.ruby-forum.com/t/unencrypted-password-appears-in-log/91961 "2007-04-14T00:38:31Z")

</div>

I have a requirement to authenticate my app users through Active Directory. My login form captures a user’s ID and password and passes them to a net/ldap routine. I’m using form\_for…|form| to create the form and fo…

---

## [Using RFX2400 from C++](https://www.ruby-forum.com/t/using-rfx2400-from-c/81043)

<div class="topic-metadata">

**Author:** [@danhobbs](https://www.ruby-forum.com/u/danhobbs)\
**Replies:** 4\
**Last updated:** [January 19, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/using-rfx2400-from-c/81043 "2007-01-19T16:30:10Z")

</div>

Hi, I’m trying to get the code together to enable the RFX2400 board from a C++ program. I’m mostly looking in usrp.py, usrp1.py, db\_base.py, and db\_flexrf.py and copying commands like write\_io and write\_oe into their …

---

## [Newbie question, "show items in selected city and category"](https://www.ruby-forum.com/t/newbie-question-show-items-in-selected-city-and-category/80734)

<div class="topic-metadata">

**Author:** [@ogurec](https://www.ruby-forum.com/u/ogurec)\
**Replies:** 4\
**Last updated:** [December 31, 2006, 6:17pm UTC](https://www.ruby-forum.com/t/newbie-question-show-items-in-selected-city-and-category/80734 "2006-12-31T18:17:00Z")

</div>

Hi, rails newbie needs help :slight\_smile: I have classified ads (cads) related with cities and categories: class Cad \< ActiveRecord::Base has\_and\_belongs\_to\_many :categories has\_and\_belongs\_to\_many :cities end cl…

---

## ['require' in unbit.it](https://www.ruby-forum.com/t/require-in-unbit-it/80427)

<div class="topic-metadata">

**Author:** [@luca](https://www.ruby-forum.com/u/luca)\
**Replies:** 4\
**Last updated:** [December 29, 2006, 11:31am UTC](https://www.ruby-forum.com/t/require-in-unbit-it/80427 "2006-12-29T11:31:26Z")

</div>

Aspettando che mi arrivi un libro di carta, sto studiando la guida appena suggeritami, Little Book of Ruby, e poi Why’s (poignant) guide to Ruby. In quest’ultimo ad un certo punto mi sono inchiodato. Premetto che sto…

---

## [Making a 301 redirector for \*everything\*](https://www.ruby-forum.com/t/making-a-301-redirector-for-everything/69179)

<div class="topic-metadata">

**Author:** [@dmorin](https://www.ruby-forum.com/u/dmorin)\
**Replies:** 4\
**Last updated:** [September 20, 2006, 7:05pm UTC](https://www.ruby-forum.com/t/making-a-301-redirector-for-everything/69179 "2006-09-20T19:05:16Z")

</div>

I want to move my site elsewhere. So I thought I could throw in a Webrick instance to serve as a 301 redirector on the old port and send all the traffic to the new site. I’ve got the headers\[“status”\]=“301 moved per…

---

## [Rails URLs always try to open non-existent files](https://www.ruby-forum.com/t/rails-urls-always-try-to-open-non-existent-files/52440)

<div class="topic-metadata">

**Author:** [@hotjuneshen](https://www.ruby-forum.com/u/hotjuneshen)\
**Replies:** 4\
**Last updated:** [January 21, 2006, 3:40pm UTC](https://www.ruby-forum.com/t/rails-urls-always-try-to-open-non-existent-files/52440 "2006-01-21T15:40:21Z")

</div>

The lighttpd config file is set up like this… Rails url: //host/controller/method/id Lighttpd tries to open the file ‘controller/method/id’ from the document root. Of course this doesn’t work and generates an error 4…

---

## [Problem with habtm and resulting SQL insert](https://www.ruby-forum.com/t/problem-with-habtm-and-resulting-sql-insert/52002)

<div class="topic-metadata">

**Author:** [@waddilove](https://www.ruby-forum.com/u/waddilove)\
**Replies:** 4\
**Last updated:** [January 10, 2006, 1:14am UTC](https://www.ruby-forum.com/t/problem-with-habtm-and-resulting-sql-insert/52002 "2006-01-10T01:14:30Z")

</div>

Cheers, I have a problem with 1.0 and a habtm relationship between User and Article. I want to save all articles that users read. I have these models: class User \< ActiveRecord::Base has\_and\_belongs\_to\_many :read\_ar…

---

## [Instance-variable-like user API](https://www.ruby-forum.com/t/instance-variable-like-user-api/224699)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [November 23, 2012, 1:15am UTC](https://www.ruby-forum.com/t/instance-variable-like-user-api/224699 "2012-11-23T01:15:03Z")

</div>

Hi everyone. :slight\_smile: I was wondering if anyone can suggest a better solution to a problem I am trying to solve than one I have come up with. I am trying to create a friendly user-facing API for accessing custom…

---

## [Can monkey patching be discovered when you require a library?](https://www.ruby-forum.com/t/can-monkey-patching-be-discovered-when-you-require-a-library/211755)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [September 16, 2011, 11:13pm UTC](https://www.ruby-forum.com/t/can-monkey-patching-be-discovered-when-you-require-a-library/211755 "2011-09-16T23:13:11Z")

</div>

Is it possible to know whether a method, class, or instance was overridden by another when you require ‘said\_gem’ in (i.e. monkeypatched)? I’m thinking something that would let gem users know if a gem is going to ov…

---

## [Routes - Search url parser](https://www.ruby-forum.com/t/routes-search-url-parser/206723)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [May 11, 2011, 6:44pm UTC](https://www.ruby-forum.com/t/routes-search-url-parser/206723 "2011-05-11T18:44:06Z")

</div>

Hello, I’m trying to set my routes.rb. I have Car that belongs to Color and Brand. I want to build a clear url searcher without visible variables. It’s working for me this: resources :Cars match ‘color/:color’ =\> ‘ca…

---

## [Calculation in a block](https://www.ruby-forum.com/t/calculation-in-a-block/188026)

<div class="topic-metadata">

**Author:** [@contactmouli](https://www.ruby-forum.com/u/contactmouli)\
**Replies:** 6\
**Last updated:** [May 4, 2010, 2:16pm UTC](https://www.ruby-forum.com/t/calculation-in-a-block/188026 "2010-05-04T14:16:21Z")

</div>

Hi, I’m new to ruby, and I am trying to add all the natural numbers below one thousand that are multiples of 3 or 5. (exercise from ProjectEuler) Here’s my code: class Array def sumNumbers sum = 0 self.each\_with\_i…

---

## [Error in using link\_to](https://www.ruby-forum.com/t/error-in-using-link-to/177451)

<div class="topic-metadata">

**Author:** [@aashishkiran](https://www.ruby-forum.com/u/aashishkiran)\
**Replies:** 6\
**Last updated:** [October 18, 2009, 6:32pm UTC](https://www.ruby-forum.com/t/error-in-using-link-to/177451 "2009-10-18T18:32:48Z")

</div>

Hi, Problem is \<%= link\_to “Index”, {:controller =\> “account”, :action =\> “index” }, :style =\> “text-decoration:none” %\> above, the link\_to is not generating the necessary code it has to generate It is generating …

---

## [Bad git pull](https://www.ruby-forum.com/t/bad-git-pull/174030)

<div class="topic-metadata">

**Author:** [@milandobrota](https://www.ruby-forum.com/u/milandobrota)\
**Replies:** 6\
**Last updated:** [August 21, 2009, 2:09am UTC](https://www.ruby-forum.com/t/bad-git-pull/174030 "2009-08-21T02:09:47Z")

</div>

You pull. You have conflicts. You want to go back to how it was before pulling and push your version. How do you do that without editing the file line by line?

---

## [How can I save values before the record is created?](https://www.ruby-forum.com/t/how-can-i-save-values-before-the-record-is-created/136681)

<div class="topic-metadata">

**Author:** [@newrubygirl](https://www.ruby-forum.com/u/newrubygirl)\
**Replies:** 6\
**Last updated:** [May 5, 2008, 5:27pm UTC](https://www.ruby-forum.com/t/how-can-i-save-values-before-the-record-is-created/136681 "2008-05-05T17:27:02Z")

</div>

I’ve been doing a lot of work with pop up windows and have now come to the “it all works, but this” point in my application. I have an order application. With that I have a pop up window that allows users to do some …

---

## [Note belongs\_to Company or Contact?](https://www.ruby-forum.com/t/note-belongs-to-company-or-contact/123981)

<div class="topic-metadata">

**Author:** [@pnomolos](https://www.ruby-forum.com/u/pnomolos)\
**Replies:** 6\
**Last updated:** [December 24, 2007, 5:47pm UTC](https://www.ruby-forum.com/t/note-belongs-to-company-or-contact/123981 "2007-12-24T17:47:10Z")

</div>

I’m wondering if anyone has suggestion on how to go about setting up a Model that can belong to multiple tables (but only one of them). For example, I have Companies and Contacts, both of whom can have Notes. However,…

---

## [IronRuby Visual Form Designer (preview)](https://www.ruby-forum.com/t/ironruby-visual-form-designer-preview/118863)

<div class="topic-metadata">

**Author:** [@huw](https://www.ruby-forum.com/u/huw)\
**Replies:** 6\
**Last updated:** [November 12, 2007, 5:50pm UTC](https://www.ruby-forum.com/t/ironruby-visual-form-designer-preview/118863 "2007-11-12T17:50:55Z")

</div>

I’ve just put online a short walkthrough demo of our form designer for IronRuby. I thought people might be interested to take a look… http://www.sapphiresteel.com/IronRuby-Visual-Form-Designer best wishes Huw

---

## [Type conversion](https://www.ruby-forum.com/t/type-conversion/109686)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 6\
**Last updated:** [July 18, 2007, 5:09pm UTC](https://www.ruby-forum.com/t/type-conversion/109686 "2007-07-18T17:09:21Z")

</div>

So there is an to\_s for strings and a to\_i for integers. However, if I have an array of integers and I want to grab one, I get back and ASCII character. For example, when I grab a 1 from the array it returns a 49 - bu…

---

## [Text\_field\_with\_auto\_complete Vs a browsers autocomplete fun](https://www.ruby-forum.com/t/text-field-with-auto-complete-vs-a-browsers-autocomplete-fun/104627)

<div class="topic-metadata">

**Author:** [@stubbsuk](https://www.ruby-forum.com/u/stubbsuk)\
**Replies:** 6\
**Last updated:** [June 4, 2007, 9:14pm UTC](https://www.ruby-forum.com/t/text-field-with-auto-complete-vs-a-browsers-autocomplete-fun/104627 "2007-06-04T21:14:07Z")

</div>

In the demo at http://demo.script.aculo.us/ajax/autocompleter\_customized the input firld generated by text\_field\_with\_auto\_complete has an autocomplete attribute set to off, which stops the browser using it’s own auto…

---

## [Regexp challenge](https://www.ruby-forum.com/t/regexp-challenge/104901)

<div class="topic-metadata">

**Author:** [@Casimir\_P](https://www.ruby-forum.com/u/Casimir_P)\
**Replies:** 6\
**Last updated:** [May 23, 2007, 10:55pm UTC](https://www.ruby-forum.com/t/regexp-challenge/104901 "2007-05-23T22:55:22Z")

</div>

Just out of curiosity, for fun: Whats the rubyest ruby program you can code for opening a directory of files and replacing a particular string in all files (if found) with another string? Lets suppose that all files …

---

## [Integer#to\_s(2) works on x86, fails on x86\_64](https://www.ruby-forum.com/t/integer-to-s-2-works-on-x86-fails-on-x86-64/78354)

<div class="topic-metadata">

**Author:** [@snk](https://www.ruby-forum.com/u/snk)\
**Replies:** 6\
**Last updated:** [December 5, 2006, 3:41pm UTC](https://www.ruby-forum.com/t/integer-to-s-2-works-on-x86-fails-on-x86-64/78354 "2006-12-05T15:41:19Z")

</div>

Hello, Can anyone explain why this is happening? ---- on x86\_64 ---- $ ruby -v ruby 1.8.4 (2005-12-24) \[x86\_64-linux\] $ irb 2956350890592680056.to\_s(2) RangeError: integer 2956350890592680056 too big to convert …

---

## [Calendar\_helper](https://www.ruby-forum.com/t/calendar-helper/98552)

<div class="topic-metadata">

**Author:** [@remcoh](https://www.ruby-forum.com/u/remcoh)\
**Replies:** 6\
**Last updated:** [October 11, 2006, 8:05am UTC](https://www.ruby-forum.com/t/calendar-helper/98552 "2006-10-11T08:05:32Z")

</div>

Hi, anyone ever tried the calendar plugin? i can’t get it to work: i did: ruby script/plugin install http://topfunky.net/svn/plugins/calendar\_helper ruby script/generate calendar\_styles and then generated a control…

---

## [Linux Journal #147](https://www.ruby-forum.com/t/linux-journal-147/95366)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois](https://www.ruby-forum.com/u/Jean-FranSSSSois)\
**Replies:** 6\
**Last updated:** [June 2, 2006, 8:42pm UTC](https://www.ruby-forum.com/t/linux-journal-147/95366 "2006-06-02T20:42:41Z")

</div>

WOW ! (tout est dans le lien : http://www.linuxjournal.com/issue/147 ) – Jean-FranÃ§ois. (et aussi dans la couverture : http://www.linuxjournal.com/articles/lj/0147/toc147/cover147.png )

---

## [Does it do clientside?](https://www.ruby-forum.com/t/does-it-do-clientside/61474)

<div class="topic-metadata">

**Author:** [@ReggW](https://www.ruby-forum.com/u/ReggW)\
**Replies:** 6\
**Last updated:** [May 24, 2006, 10:17pm UTC](https://www.ruby-forum.com/t/does-it-do-clientside/61474 "2006-05-24T22:17:53Z")

</div>

When it comes to the Web, is Ruby a Serverside or Clientside language? If clientside, how would you get that to work? Thanks

---

## [Active Record errors value - Why doesn't this work?](https://www.ruby-forum.com/t/active-record-errors-value-why-doesnt-this-work/69937)

<div class="topic-metadata">

**Author:** [@rrwhite](https://www.ruby-forum.com/u/rrwhite)\
**Replies:** 6\
**Last updated:** [February 21, 2006, 12:31am UTC](https://www.ruby-forum.com/t/active-record-errors-value-why-doesnt-this-work/69937 "2006-02-21T00:31:17Z")

</div>

I’m creating an AR object in my controller and then attempting to add error messages to it: if (master\_storeids.nil?) @item.errors.add\_to\_base ‘No store is selected’ end This works without error but when it comes ti…

---

## [Ruby/rails/mysql install on mac os x](https://www.ruby-forum.com/t/ruby-rails-mysql-install-on-mac-os-x/51868)

<div class="topic-metadata">

**Author:** [@meantangerine](https://www.ruby-forum.com/u/meantangerine)\
**Replies:** 6\
**Last updated:** [January 8, 2006, 9:53pm UTC](https://www.ruby-forum.com/t/ruby-rails-mysql-install-on-mac-os-x/51868 "2006-01-08T21:53:48Z")

</div>

after successfully installing everything as described in this article: i attempted the final step in the process of removing the two anonymous accounts for my new mysql install, and to assign a password to the admin…

---

## [Observe\_field doing nothing](https://www.ruby-forum.com/t/observe-field-doing-nothing/49912)

<div class="topic-metadata">

**Author:** [@hughes.james](https://www.ruby-forum.com/u/hughes.james)\
**Replies:** 6\
**Last updated:** [December 12, 2005, 9:04pm UTC](https://www.ruby-forum.com/t/observe-field-doing-nothing/49912 "2005-12-12T21:04:35Z")

</div>

Hi Here’s the code: \<%= select\_tag “extra”, options\_for\_select(@extra\_fields) %\> \<% observe\_field “extra”, :update =\> “extra\_fields”, :url =\> {:action =\> :new\_edit\_field} %\> I want to select from the dropdown, and h…

---

## [Re: Mixins and variables](https://www.ruby-forum.com/t/re-mixins-and-variables/52667)

<div class="topic-metadata">

**Author:** [@daniels](https://www.ruby-forum.com/u/daniels)\
**Replies:** 6\
**Last updated:** [December 7, 2005, 4:26pm UTC](https://www.ruby-forum.com/t/re-mixins-and-variables/52667 "2005-12-07T16:26:23Z")

</div>

It’s got nothing to do with mixins: class TestClass def x=(arg) @x = arg end def x @x end def monkey(arg) x = arg end end irb(main):012:0\> a = TestClass.new =\> #TestClass:0x2ac6e48 irb(main):013:0\> a.monkey…

---

## [Toplevel namespace justification](https://www.ruby-forum.com/t/toplevel-namespace-justification/48001)

<div class="topic-metadata">

**Author:** [@transfire](https://www.ruby-forum.com/u/transfire)\
**Replies:** 6\
**Last updated:** [November 15, 2005, 11:44pm UTC](https://www.ruby-forum.com/t/toplevel-namespace-justification/48001 "2005-11-15T23:44:32Z")

</div>

When is using the toplevel constant namespace justified? (Other then for creating your own namespace obviously) Should it essentially NEVER be used? Or is there some cases where it is reasonable? For instance some cla…

---

## [Running brew doctor](https://www.ruby-forum.com/t/running-brew-doctor/234600)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [March 18, 2015, 6:56pm UTC](https://www.ruby-forum.com/t/running-brew-doctor/234600 "2015-03-18T18:56:43Z")

</div>

I installed rails, but once it finished it said that it didn’t like python. I had python on my computer from an old class, but I thought I had deleted it. It said do not do anything before running brew doctor. When I…

---

## [Creating multiple views for a database table routing not working](https://www.ruby-forum.com/t/creating-multiple-views-for-a-database-table-routing-not-working/232780)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [October 29, 2014, 3:33pm UTC](https://www.ruby-forum.com/t/creating-multiple-views-for-a-database-table-routing-not-working/232780 "2014-10-29T15:33:00Z")

</div>

I have a single table in which I store favourite dishes of users. A user can have more than one entries in the table. I have generated a view to show all the entries in the table but how do I create a view to show jus…

---

## [Package Manager in Ruby - How many are there? Would you want and use one?](https://www.ruby-forum.com/t/package-manager-in-ruby-how-many-are-there-would-you-want-and-use-one/239838)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [March 23, 2014, 9:49pm UTC](https://www.ruby-forum.com/t/package-manager-in-ruby-how-many-are-there-would-you-want-and-use-one/239838 "2014-03-23T21:49:38Z")

</div>

Hi, I have very recently been able to switch to ruby 2.1.1 finally. This was made possible by tenderlove because he actually released a syck gem, which works for me finy - I can continue working with my invalid yaml …

---

## [Offline database in Ruby?](https://www.ruby-forum.com/t/offline-database-in-ruby/238871)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [February 1, 2014, 10:53pm UTC](https://www.ruby-forum.com/t/offline-database-in-ruby/238871 "2014-02-01T22:53:38Z")

</div>

Now I’m not talking about those type of databases that keeps datas of a given website. I’m talking about something similar to it but that can work offline. Still confused? Here is what I’m talking about. Let’s say we …

---

## [Forward Proxy config for iPads for soon to go Live site](https://www.ruby-forum.com/t/forward-proxy-config-for-ipads-for-soon-to-go-live-site/246356)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [October 4, 2013, 5:59pm UTC](https://www.ruby-forum.com/t/forward-proxy-config-for-ipads-for-soon-to-go-live-site/246356 "2013-10-04T17:59:11Z")

</div>

Hi, I’m an nginx newbie and I need to configure it as an externally available forward proxy for manually configured iPads running an iOS app to test a soon to go Live website. You cannot change host files on an iPad …

---

## [Trouble compiling nginx on AIX 5.3](https://www.ruby-forum.com/t/trouble-compiling-nginx-on-aix-5-3/225149)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [December 18, 2012, 3:40pm UTC](https://www.ruby-forum.com/t/trouble-compiling-nginx-on-aix-5-3/225149 "2012-12-18T15:40:40Z")

</div>

I am having issues getting nginx v1.2.6 compiled on AIX 5.3. This is the first time I have tried on AIX. I am using the configure line: ./configure --without-http\_rewrite\_module --without-http\_gzip\_module –with-http…

---

## [Htaccess](https://www.ruby-forum.com/t/htaccess/222360)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [August 27, 2012, 2:05pm UTC](https://www.ruby-forum.com/t/htaccess/222360 "2012-08-27T14:05:53Z")

</div>

Hi, I am pasting part of my .htacess file used in Apache; please help me to convert this to nginx configuraiton settings: … ############################################ enable rewrites Options +FollowSymLinks Rew…

---

## [How do I sort my columns inside my AJAX search result?](https://www.ruby-forum.com/t/how-do-i-sort-my-columns-inside-my-ajax-search-result/220895)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [June 24, 2012, 2:53pm UTC](https://www.ruby-forum.com/t/how-do-i-sort-my-columns-inside-my-ajax-search-result/220895 "2012-06-24T14:53:37Z")

</div>

I have just converted into sunspot but am having problems geting my sorting of columns to work in the controller. My old controller action looked like this: def index @user = current\_user @products = @user.products.…

---

## [Spinach e Turnip: cosa ne pensate?](https://www.ruby-forum.com/t/spinach-e-turnip-cosa-ne-pensate/214964)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [December 18, 2011, 9:12pm UTC](https://www.ruby-forum.com/t/spinach-e-turnip-cosa-ne-pensate/214964 "2011-12-18T21:12:11Z")

</div>

Ciao, sarei molto interessato a sapere le vostre eventuali esperienze con Spinach e/o Turnip, due gemme molto simili uscite praticamente in contemporanea e che provano ad ovviare ad alcune delle lacune/problematiche …

---

## [Fwd: volk build error](https://www.ruby-forum.com/t/fwd-volk-build-error/212989)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [October 20, 2011, 9:20pm UTC](https://www.ruby-forum.com/t/fwd-volk-build-error/212989 "2011-10-20T21:20:57Z")

</div>

Hi, I’m experiencing problems with volk when building on an amd64 Debian “testing”. It started when volk was first introduced to the git tree and is also my experience with the 3.4 release. When I build I get the fo…

---

## [FPE with FM Rcvr](https://www.ruby-forum.com/t/fpe-with-fm-rcvr/205176)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 1, 2011, 8:14am UTC](https://www.ruby-forum.com/t/fpe-with-fm-rcvr/205176 "2011-04-01T08:14:43Z")

</div>

Working the following issue…any ideas? System: Ubuntu 10.10, Gnuradio 3.3.0, uhd (Mar 2011), USRP2, TVRX Using the attached grc model results in a floating point exception: gnuradio\_core\_runtime.py (1476) top\_block.p…

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

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