# Top

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

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

---

## [NameError: uninitialized constant IRB::Irb](https://www.ruby-forum.com/t/nameerror-uninitialized-constant-irb-irb/235871)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 24, 2013, 12:43am UTC](https://www.ruby-forum.com/t/nameerror-uninitialized-constant-irb-irb/235871 "2013-07-24T00:43:41Z")

</div>

Hi, I am totally new to both Ruby and JRuby. In fact I met this problem when I was trying to debug HBase, which has a shell - hirb.rb - written in Ruby. The file hirb.rb contains a class HIRB which subclasses IRB as…

---

## [Migration with PostgreSQL - function nextval does not exist](https://www.ruby-forum.com/t/migration-with-postgresql-function-nextval-does-not-exist/64946)

<div class="topic-metadata">

**Author:** [@Kamil\_Kukura](https://www.ruby-forum.com/u/Kamil_Kukura)\
**Replies:** 1\
**Last updated:** [February 9, 2006, 9:19am UTC](https://www.ruby-forum.com/t/migration-with-postgresql-function-nextval-does-not-exist/64946 "2006-02-09T09:19:51Z")

</div>

This might be a problem with postgresql, but I’m not sure. In a migration I have renamed a table so I wanted to rename a sequencer as well. It looks like: execute “ALTER TABLE global\_vacations\_id\_seq RENAME TO vacati…

---

## [Support To Transmit DRM and DRM+ in GNU Radio](https://www.ruby-forum.com/t/support-to-transmit-drm-and-drm-in-gnu-radio/262947)

<div class="topic-metadata">

**Author:** [@vestel5g](https://www.ruby-forum.com/u/vestel5g)\
**Replies:** 0\
**Last updated:** [May 26, 2022, 5:04am UTC](https://www.ruby-forum.com/t/support-to-transmit-drm-and-drm-in-gnu-radio/262947 "2022-05-26T05:04:46Z")

</div>

Dear Experts, I am doing projects to transmit DRM and DRM+ with multi channels by GNU Radio with SDR USRP B210. I work around and I’m unable to complete my project.Please support me to complete m…

---

## [Sending data to a server](https://www.ruby-forum.com/t/sending-data-to-a-server/242258)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [June 10, 2015, 7:07pm UTC](https://www.ruby-forum.com/t/sending-data-to-a-server/242258 "2015-06-10T19:07:07Z")

</div>

I’m trying to send my recordings from a USRP Source(hardware: NI B200) to a database I set up. I have been searching the internet for hours and I have come up with nothing. There was one post that mentioned it, but o…

---

## [Rspec 2 and Rails 3 - missing template](https://www.ruby-forum.com/t/rspec-2-and-rails-3-missing-template/187692)

<div class="topic-metadata">

**Author:** [@cautaro](https://www.ruby-forum.com/u/cautaro)\
**Replies:** 6\
**Last updated:** [April 27, 2010, 11:57pm UTC](https://www.ruby-forum.com/t/rspec-2-and-rails-3-missing-template/187692 "2010-04-27T23:57:58Z")

</div>

Hello, I am following the example in the Rspec book, starting page 372, where a controller’s create message is spec’d. it “creates a new message” do Message.should\_receive(:new).with(“text” =\> “a quick br…

---

## [THE CHALLENGE: How would you do this: has\_many :through & polymorphic associations](https://www.ruby-forum.com/t/the-challenge-how-would-you-do-this-has-many-through-polymorphic-associations/132150)

<div class="topic-metadata">

**Author:** [@Feurio](https://www.ruby-forum.com/u/Feurio)\
**Replies:** 6\
**Last updated:** [March 18, 2008, 6:27pm UTC](https://www.ruby-forum.com/t/the-challenge-how-would-you-do-this-has-many-through-polymorphic-associations/132150 "2008-03-18T18:27:36Z")

</div>

Hi, I have a category model and several other models that I want to categorize. Categories are organised in a hierarchy. class Category \< ActiveRecord::Base acts\_as\_tree end class User \< ActiveRecord::Base end c…

---

## [Ruby In Steel IronRuby Edition - alpha now available](https://www.ruby-forum.com/t/ruby-in-steel-ironruby-edition-alpha-now-available/130470)

<div class="topic-metadata">

**Author:** [@huw](https://www.ruby-forum.com/u/huw)\
**Replies:** 6\
**Last updated:** [March 3, 2008, 10:23am UTC](https://www.ruby-forum.com/t/ruby-in-steel-ironruby-edition-alpha-now-available/130470 "2008-03-03T10:23:17Z")

</div>

The first public alpha of our IronRuby IDE is now available for free download. This includes our IronRuby form designer with drag+drop controls, properties panel, syntax coloring, code collapsing, code formatting, bra…

---

## [Wx::Notebook tabs, bug reports on](https://www.ruby-forum.com/t/wx-notebook-tabs-bug-reports-on/119665)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [November 21, 2007, 1:23am UTC](https://www.ruby-forum.com/t/wx-notebook-tabs-bug-reports-on/119665 "2007-11-21T01:23:26Z")

</div>

Thank you Alex for the answer to my previous question – it was exactly what I was looking for! Moving on, I have some bugs to report: I’m using the Wx::Notebook class and it looks to me like Wx::NB\_LEFT, Wx::NB\_RIGHT…

---

## [Ferret - current status?](https://www.ruby-forum.com/t/ferret-current-status/110425)

<div class="topic-metadata">

**Author:** [@epo001](https://www.ruby-forum.com/u/epo001)\
**Replies:** 6\
**Last updated:** [August 13, 2007, 10:48pm UTC](https://www.ruby-forum.com/t/ferret-current-status/110425 "2007-08-13T22:48:08Z")

</div>

Hi guys, Having committed a fairly large project to ferret I’m a little concerned that ferret svn has been essentially unavailable for weeks (pretty much every time I try I get “can’t connect”) and more so now that d…

---

## [Proxy\_hide\_header question](https://www.ruby-forum.com/t/proxy-hide-header-question/232408)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 8, 2014, 5:37pm UTC](https://www.ruby-forum.com/t/proxy-hide-header-question/232408 "2014-10-08T17:37:23Z")

</div>

I am using nginx as a reverse proxy and am trying to log some variables set by apache to nginx log. So certain HTTP response headers are set by apache (PHP) and then I log them successfully with $sent\_http\_\* variable…

---

## [Undefined method \`gem' for main:Object (NoMethodError)](https://www.ruby-forum.com/t/undefined-method-gem-for-main-object-nomethoderror/86098)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [February 19, 2007, 10:17pm UTC](https://www.ruby-forum.com/t/undefined-method-gem-for-main-object-nomethoderror/86098 "2007-02-19T22:17:53Z")

</div>

fiercefe@sh113 \[~/public\_html/ruby\_test\]# ruby script/server ./script/…/config/boot.rb:29: undefined method \`gem’ for main:Object (NoMethodError) from script/server:2 I did: rails ruby\_test then I tried to create a …

---

## [Session\[:user\_id\] problem](https://www.ruby-forum.com/t/session-user-id-problem/84856)

<div class="topic-metadata">

**Author:** [@WDZ](https://www.ruby-forum.com/u/WDZ)\
**Replies:** 2\
**Last updated:** [February 8, 2007, 6:13am UTC](https://www.ruby-forum.com/t/session-user-id-problem/84856 "2007-02-08T06:13:23Z")

</div>

Hello, Please help! I ran into a problem that session\[:user\_id\] seems lost. The session\[:user\_id\] is set during user’s login. Other pages have “before\_filter :login\_required”. The method “login\_required” is defined i…

---

## [Thread death callback to be called after fork](https://www.ruby-forum.com/t/thread-death-callback-to-be-called-after-fork/75523)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [November 10, 2006, 10:47pm UTC](https://www.ruby-forum.com/t/thread-death-callback-to-be-called-after-fork/75523 "2006-11-10T22:47:40Z")

</div>

forking kills threads, if it didn’t, this would hang: harp:~ \> cat a.rb t = Thread.new{ sleep } fork{ t.join; exit } and Process.wait harp:~ \> ruby a.rb but, of course, it does not now, say you need to know when a …

---

## [Reading files from the internet into RMagick](https://www.ruby-forum.com/t/reading-files-from-the-internet-into-rmagick/69597)

<div class="topic-metadata">

**Author:** [@Szymon\_R](https://www.ruby-forum.com/u/Szymon_R)\
**Replies:** 2\
**Last updated:** [September 22, 2006, 4:11pm UTC](https://www.ruby-forum.com/t/reading-files-from-the-internet-into-rmagick/69597 "2006-09-22T16:11:21Z")

</div>

I am not sure how to go about doing this. I would like to get a file given an URL. The I would like to mess around with that file, but I am having a hard time actually initializing the Magick::Image object. I read the…

---

## [Nginx proxy\_pass file upload 500 "Internal Server Error"](https://www.ruby-forum.com/t/nginx-proxy-pass-file-upload-500-internal-server-error/246543)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [September 13, 2012, 3:10pm UTC](https://www.ruby-forum.com/t/nginx-proxy-pass-file-upload-500-internal-server-error/246543 "2012-09-13T15:10:10Z")

</div>

I’ve a problem using nginx as reverse proxy. I sent a POST request to nginx for file upload. My backend is an apache2 web server. My backend receive correctly request and save correctly uploaded file. My frontend, ng…

---

## [Beginner question: Bubble sort using array.each\_index](https://www.ruby-forum.com/t/beginner-question-bubble-sort-using-array-each-index/220463)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [June 11, 2012, 12:40am UTC](https://www.ruby-forum.com/t/beginner-question-bubble-sort-using-array-each-index/220463 "2012-06-11T00:40:09Z")

</div>

Hi, I’m a beginner going through Chris P.'s online book & exercises. One of them required me to alphabetize a list of words WITHOUT using the .sort method. I discovered the following bubble sort algorithm online and …

---

## [Access Top Level methods](https://www.ruby-forum.com/t/access-top-level-methods/208944)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [August 2, 2011, 9:19pm UTC](https://www.ruby-forum.com/t/access-top-level-methods/208944 "2011-08-02T21:19:30Z")

</div>

Hi, I am trying to access top level method from the class definition in IronRuby scripts. Example: def global\_hi end class A def hi global\_hi end end A.new.hi The script executed in ScriptEngine throws a NoSuc…

---

## [Updating only changed columns in ActiveRecord](https://www.ruby-forum.com/t/updating-only-changed-columns-in-activerecord/103066)

<div class="topic-metadata">

**Author:** [@candlerb](https://www.ruby-forum.com/u/candlerb)\
**Replies:** 0\
**Last updated:** [May 1, 2007, 12:29pm UTC](https://www.ruby-forum.com/t/updating-only-changed-columns-in-activerecord/103066 "2007-05-01T12:29:48Z")

</div>

Does anyone know of a way to get ActiveRecord to update only the columns which have changed? For example, consider a table foos with columns x,y,z. If I do f = Foo.find(123) f.update\_attributes(:x =\> 99) then I want …

---

## [Enumerators concatenation possible?](https://www.ruby-forum.com/t/enumerators-concatenation-possible/208483)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [June 20, 2011, 10:07pm UTC](https://www.ruby-forum.com/t/enumerators-concatenation-possible/208483 "2011-06-20T22:07:24Z")

</div>

Hi, just curious if it’s possible to concatenate two instances of Enumerator class. For example irb(main):001:0\> e1 = 0.upto(3) =\> #\<Enumerator: 0:upto(3)\> irb(main):002:0\> e2 = 4.step(10\*\*6,3) =\> #\<Enumerator: 4:s…

---

## [JRuby Swing NoMethodError](https://www.ruby-forum.com/t/jruby-swing-nomethoderror/208471)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [June 20, 2011, 8:18pm UTC](https://www.ruby-forum.com/t/jruby-swing-nomethoderror/208471 "2011-06-20T20:18:33Z")

</div>

Hey, guys. I am new to ruby, and am trying to make a swing application in it. The code is kind of a mess; I designed the GUI in java using NetBeans and am attempting to translate the code to ruby. I’ve imported java…

---

## [\[Rails3\] Confused by RJS vs Unbstrusive jQuery and such](https://www.ruby-forum.com/t/rails3-confused-by-rjs-vs-unbstrusive-jquery-and-such/203165)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [February 14, 2011, 8:05pm UTC](https://www.ruby-forum.com/t/rails3-confused-by-rjs-vs-unbstrusive-jquery-and-such/203165 "2011-02-14T20:05:40Z")

</div>

I am developing a small blog with a cool feature to edit articles in the page through ajax. So I made my Raisl3 app load jQuery and opened AWDWR3 to learn whether anything had changed. So I create an RJS template: ed…

---

## [How to test for existence of a method](https://www.ruby-forum.com/t/how-to-test-for-existence-of-a-method/166140)

<div class="topic-metadata">

**Author:** [@tbcox23](https://www.ruby-forum.com/u/tbcox23)\
**Replies:** 7\
**Last updated:** [April 22, 2009, 5:25pm UTC](https://www.ruby-forum.com/t/how-to-test-for-existence-of-a-method/166140 "2009-04-22T17:25:45Z")

</div>

I’m a little stumped on this one. I looked at several ideas, and none panned out. I have a string, which may name a method in a module required by my program. How can I test programmatically to see if the method actu…

---

## [Fields\_for sacar valor](https://www.ruby-forum.com/t/fields-for-sacar-valor/158348)

<div class="topic-metadata">

**Author:** [@forever](https://www.ruby-forum.com/u/forever)\
**Replies:** 7\
**Last updated:** [January 22, 2009, 10:45pm UTC](https://www.ruby-forum.com/t/fields-for-sacar-valor/158348 "2009-01-22T22:45:44Z")

</div>

\<% fields\_for\_foto(foto) do |foto\_form| %\> \<%= image\_tag("/images/foto.png") %\> Foto: \<%= foto\_form.file\_field :foto %\> \<% end %\> Hola, supongo que es una chorrada, pero he probado y no me ha salido. Â…

---

## [Help with container](https://www.ruby-forum.com/t/help-with-container/122087)

<div class="topic-metadata">

**Author:** [@di3go](https://www.ruby-forum.com/u/di3go)\
**Replies:** 7\
**Last updated:** [December 12, 2007, 7:40pm UTC](https://www.ruby-forum.com/t/help-with-container/122087 "2007-12-12T19:40:14Z")

</div>

Hi guys i’m new in ruby gui programing and i need help to do a thing, i want the effect like the above app ( glade ), i want to know how i can make the buttons going up and down after change the windows size, im not u…

---

## [ActiveRecord calculations with joins on renamed foreign keys](https://www.ruby-forum.com/t/activerecord-calculations-with-joins-on-renamed-foreign-keys/114117)

<div class="topic-metadata">

**Author:** [@rbibby](https://www.ruby-forum.com/u/rbibby)\
**Replies:** 7\
**Last updated:** [September 8, 2007, 11:58am UTC](https://www.ruby-forum.com/t/activerecord-calculations-with-joins-on-renamed-foreign-keys/114117 "2007-09-08T11:58:44Z")

</div>

Hi, Could someone please explain to me how to do use the ActiveRecord helpers to do calculations with joins on renamed foreign keys? My situation: User Model: has\_many :books Book Model: belongs\_to :created\_by, …

---

## [What's the suggested raise Exception idiom?](https://www.ruby-forum.com/t/whats-the-suggested-raise-exception-idiom/185624)

<div class="topic-metadata">

**Author:** [@ate50eggs](https://www.ruby-forum.com/u/ate50eggs)\
**Replies:** 4\
**Last updated:** [March 24, 2010, 4:40pm UTC](https://www.ruby-forum.com/t/whats-the-suggested-raise-exception-idiom/185624 "2010-03-24T16:40:23Z")

</div>

What’s the distinction between: raise ArgumentError, “the argument was invalid” and raise ArgumentError.new(“the argument was invalid”) How does this apply in the case of exceptions with custom initializers for attr…

---

## [Probleme builder](https://www.ruby-forum.com/t/probleme-builder/168234)

<div class="topic-metadata">

**Author:** [@babiben](https://www.ruby-forum.com/u/babiben)\
**Replies:** 4\
**Last updated:** [May 19, 2009, 4:57pm UTC](https://www.ruby-forum.com/t/probleme-builder/168234 "2009-05-19T16:57:54Z")

</div>

Bonjour, Je n’arrive pas Ã utiliser builder sous ruby avec ubuntu alors que Ã§a fonctionne sous Netbeans. Mon paquet gem est bien installÃ© (builder 2.1.2) cependant dÃ¨s que je fais un require ‘builder’, j’obtiens …

---

## [Difficulty in understanding the valgrind output for ror app](https://www.ruby-forum.com/t/difficulty-in-understanding-the-valgrind-output-for-ror-app/152563)

<div class="topic-metadata">

**Author:** [@santoshturamari](https://www.ruby-forum.com/u/santoshturamari)\
**Replies:** 4\
**Last updated:** [November 6, 2008, 5:55pm UTC](https://www.ruby-forum.com/t/difficulty-in-understanding-the-valgrind-output-for-ror-app/152563 "2008-11-06T17:55:22Z")

</div>

Hi, I am facing the difficulty in understanding the output of valgrind memory leaks. How to interpret it. pls help me out.

---

## [Weird Mongrel error: Not starting](https://www.ruby-forum.com/t/weird-mongrel-error-not-starting/123026)

<div class="topic-metadata">

**Author:** [@Nii\_amon\_D](https://www.ruby-forum.com/u/Nii_amon_D)\
**Replies:** 4\
**Last updated:** [December 13, 2007, 3:36pm UTC](https://www.ruby-forum.com/t/weird-mongrel-error-not-starting/123026 "2007-12-13T15:36:11Z")

</div>

Hi list, I have a problem with Mongrel which is really bugging me. I would really appreciate any help that anyone can provide to help me in solving this problem. My setup: Apache front\_end with mod\_proxy\_balancer i…

---

## [Too slow drb test](https://www.ruby-forum.com/t/too-slow-drb-test/67326)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 4\
**Last updated:** [September 2, 2006, 7:06pm UTC](https://www.ruby-forum.com/t/too-slow-drb-test/67326 "2006-09-02T19:06:46Z")

</div>

e$B$H$"$k%\[%9%He(B (e$B$H$$$&$N$Oe(B td176.testdrive.hp.com e$B$G$9$,e(B) e$B$Ge(B ruby e$B$N%F%9%H$r$7$F$$$k$N$G$9$,!"e(Bdrb e$B$N%F%9%H$,$9$4$/CY$/$Fe(B e$B$^$$$C$F$$$^$9!#e(B e$B$?$H$($P!"e(Btest\_acl.rb e$B$Ne(B t…

---

## [HABTM loses 'additional fields' when using :include in find](https://www.ruby-forum.com/t/habtm-loses-additional-fields-when-using-include-in-find/48144)

<div class="topic-metadata">

**Author:** [@janovetz](https://www.ruby-forum.com/u/janovetz)\
**Replies:** 4\
**Last updated:** [November 26, 2005, 12:38am UTC](https://www.ruby-forum.com/t/habtm-loses-additional-fields-when-using-include-in-find/48144 "2005-11-26T00:38:15Z")

</div>

Hi folks- I’ve come across a snag that may be a bug, but I’m not sure… When I do the following (example)– @members = @project.members.find(:all) I get my @members array and it also has additional fields from the tabl…

---

## [Tunnel.py command not working](https://www.ruby-forum.com/t/tunnel-py-command-not-working/226949)

<div class="topic-metadata">

**Author:** [@sql\_injection](https://www.ruby-forum.com/u/sql_injection)\
**Replies:** 5\
**Last updated:** [February 27, 2013, 8:27pm UTC](https://www.ruby-forum.com/t/tunnel-py-command-not-working/226949 "2013-02-27T20:27:50Z")

</div>

HI, I am using tunnel.py command to setup a TCP/IP link between two usrp1. When i try to use the command , i get this error ./tunnel.py linux; GNU C++ version 4.6.3; Boost\_104800; UHD\_003.005.001-29-g3cb515f7 Traceb…

---

## [GNURadio PER encoder/decoder](https://www.ruby-forum.com/t/gnuradio-per-encoder-decoder/221860)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [August 14, 2012, 4:34pm UTC](https://www.ruby-forum.com/t/gnuradio-per-encoder-decoder/221860 "2012-08-14T16:34:43Z")

</div>

Hello all, I would like to know if GNURadio has a built-in ASN.1 PER encoder/decoder module, or we have to implement it. It seems that thishttp://gnuradio.org/cgit/eb-oot.git/tree/vrt-ctrl/common/libasn1c http://gn…

---

## [Can't find jruby-openssl, even though it's clearly installed](https://www.ruby-forum.com/t/cant-find-jruby-openssl-even-though-its-clearly-installed/149464)

<div class="topic-metadata">

**Author:** [@nabblee](https://www.ruby-forum.com/u/nabblee)\
**Replies:** 5\
**Last updated:** [October 1, 2008, 10:19pm UTC](https://www.ruby-forum.com/t/cant-find-jruby-openssl-even-though-its-clearly-installed/149464 "2008-10-01T22:19:17Z")

</div>

I am trying to POST to an https URL. I am using JRuby 1.1.4, which I’ve confirmed by printing JRUBY\_VERSION. And I’ve confirmed that jruby-openssl is installed. Yet, when I run the program in NetBeans, I see this i…

---

## [How are you developing your engines?](https://www.ruby-forum.com/t/how-are-you-developing-your-engines/51599)

<div class="topic-metadata">

**Author:** [@seth](https://www.ruby-forum.com/u/seth)\
**Replies:** 5\
**Last updated:** [January 4, 2006, 8:38pm UTC](https://www.ruby-forum.com/t/how-are-you-developing-your-engines/51599 "2006-01-04T20:38:11Z")

</div>

I’m trying to jump into developing engines, but I’m getting stuck with how to structure my code. Lets say that I have 2 projects that both include an engine. I’m assuming the preferred method of working is including m…

---

## [Help with autoindex on; missing slash for directories](https://www.ruby-forum.com/t/help-with-autoindex-on-missing-slash-for-directories/171370)

<div class="topic-metadata">

**Author:** [@Yazz\_Atlas](https://www.ruby-forum.com/u/Yazz_Atlas)\
**Replies:** 8\
**Last updated:** [October 14, 2009, 11:19pm UTC](https://www.ruby-forum.com/t/help-with-autoindex-on-missing-slash-for-directories/171370 "2009-10-14T23:19:47Z")

</div>

I’m working on upgrading some servers running nginx-0.6.34 to either nginx-0.8.4 or nginx-0.7.61. The problem is I have another tool that was crawling the nginx directory and following all the directories it found. Wi…

---

## [ActiveRecord Sqlite Synchronization](https://www.ruby-forum.com/t/activerecord-sqlite-synchronization/136682)

<div class="topic-metadata">

**Author:** [@sealedsun](https://www.ruby-forum.com/u/sealedsun)\
**Replies:** 8\
**Last updated:** [May 5, 2008, 6:42pm UTC](https://www.ruby-forum.com/t/activerecord-sqlite-synchronization/136682 "2008-05-05T18:42:17Z")

</div>

Hey! I’m using ActiveRecord with an SQLite Database. It works great, but has one drawback. SQlite does’nt support multiple connection at one time. Is there a mathod to synchronize ActiveRecord calls over different t…

---

## [Simple banner / ad rotation on page (newbie question)](https://www.ruby-forum.com/t/simple-banner-ad-rotation-on-page-newbie-question/82819)

<div class="topic-metadata">

**Author:** [@ogurec](https://www.ruby-forum.com/u/ogurec)\
**Replies:** 8\
**Last updated:** [January 30, 2007, 10:15pm UTC](https://www.ruby-forum.com/t/simple-banner-ad-rotation-on-page-newbie-question/82819 "2007-01-30T22:15:57Z")

</div>

Hi, i try to figure out the solution for simple banner ad script. I’ve db table ‘banners’ with fields ‘id’, ‘image’, and ‘url’. I suppose to keep in this table 5 banners, so the ids are always from 1 to 5. I just won…

---

## [Real IDE for os-x](https://www.ruby-forum.com/t/real-ide-for-os-x/69712)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 8\
**Last updated:** [October 18, 2006, 10:43am UTC](https://www.ruby-forum.com/t/real-ide-for-os-x/69712 "2006-10-18T10:43:26Z")

</div>

hi - i just switched to a mac and was wondering about IDEs. this is not for rails dev, just plain ruby apps. people seem to rave about textmate, and while its awesome compared to notepad on windows, its not really an…

---

## [An open letter to Rubyists - Naming things](https://www.ruby-forum.com/t/an-open-letter-to-rubyists-naming-things/99310)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 8\
**Last updated:** [July 23, 2006, 4:28am UTC](https://www.ruby-forum.com/t/an-open-letter-to-rubyists-naming-things/99310 "2006-07-23T04:28:19Z")

</div>

Is it just me, or do other Rubyists find it difficult to remember what a whimsically named module or plug-in was called that they saw on this or some other forum just last week. I’ve only been into Ruby for a few mon…

---

## [Should I usually use destroy()?](https://www.ruby-forum.com/t/should-i-usually-use-destroy/220245)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [June 17, 2012, 3:31pm UTC](https://www.ruby-forum.com/t/should-i-usually-use-destroy/220245 "2012-06-17T15:31:35Z")

</div>

Hi, I’m developing an application with this beautifull framework, had read the book by Lyle J. by the way. I’m wondering if I should call destroy() in those widgets which I’ll not use anymore. Here is the real example…

---

## [Using ruby Net::HTTP with self signed certificates](https://www.ruby-forum.com/t/using-ruby-net-http-with-self-signed-certificates/127479)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 1\
**Last updated:** [January 29, 2008, 9:25pm UTC](https://www.ruby-forum.com/t/using-ruby-net-http-with-self-signed-certificates/127479 "2008-01-29T21:25:06Z")

</div>

Probably more of a ruby question than a rails question but I am trying to retrieve a file from my web server that requires ssl but uses a self signed certificate. Looking through all of the documentation at http://ww…

---

## [Nginx 1.2.1 won't start with large CRL](https://www.ruby-forum.com/t/nginx-1-2-1-wont-start-with-large-crl/220828)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [April 30, 2013, 6:11pm UTC](https://www.ruby-forum.com/t/nginx-1-2-1-wont-start-with-large-crl/220828 "2013-04-30T18:11:11Z")

</div>

I have a CRL loaded into ssl\_crl variable in the config file that’s about 256MB in size and nginx won’t start. I get the following error: nginx: \[emerg\] fork() failed (12: Cannot allocate memory) I believe this is due…

---

## [Best way to spec nested modules?](https://www.ruby-forum.com/t/best-way-to-spec-nested-modules/158630)

<div class="topic-metadata">

**Author:** [@Stuart\_Hungerford](https://www.ruby-forum.com/u/Stuart_Hungerford)\
**Replies:** 2\
**Last updated:** [January 26, 2009, 7:16pm UTC](https://www.ruby-forum.com/t/best-way-to-spec-nested-modules/158630 "2009-01-26T19:16:35Z")

</div>

Hi, I’ve got a set of classes in nested Ruby modules which I’m using rspec to specify: module Foo module Baz class C1 ... end class C2 ... end end end To specify C2 behaviour I need to create a bunch of…

---

## [Mocking a 3rd party call, but with a few exceptions](https://www.ruby-forum.com/t/mocking-a-3rd-party-call-but-with-a-few-exceptions/147844)

<div class="topic-metadata">

**Author:** [@fxp](https://www.ruby-forum.com/u/fxp)\
**Replies:** 2\
**Last updated:** [September 16, 2008, 11:05pm UTC](https://www.ruby-forum.com/t/mocking-a-3rd-party-call-but-with-a-few-exceptions/147844 "2008-09-16T23:05:56Z")

</div>

I use geocoding in our app, and it permeates most of the core functionality. Because it makes a call out to Google or Yahoo or what not to do the geocoding, I’d like to mock this for the bulk of my tests, except for …

---

## [Session\[:return\_to\] for going back](https://www.ruby-forum.com/t/session-return-to-for-going-back/94657)

<div class="topic-metadata">

**Author:** [@samonderous](https://www.ruby-forum.com/u/samonderous)\
**Replies:** 2\
**Last updated:** [May 10, 2006, 6:24pm UTC](https://www.ruby-forum.com/t/session-return-to-for-going-back/94657 "2006-05-10T18:24:33Z")

</div>

Hi, Is session\[:return\_to\] something Rails maintains to quickly go back to the previous uri without having to keep track of the action name? Or, do we have to actually set it in our actions? Thanks.

---

## [How to delete cache based on expires headers?](https://www.ruby-forum.com/t/how-to-delete-cache-based-on-expires-headers/238137)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [January 6, 2014, 5:18am UTC](https://www.ruby-forum.com/t/how-to-delete-cache-based-on-expires-headers/238137 "2014-01-06T05:18:17Z")

</div>

Hi I’m using proxy\_cache to mirror my files with the configuration below proxy\_cache\_path /var/cache/nginx/image levels=1:2 keys\_zone=one:10m inactive=7d max\_size=100g; Our backend server has the expires header set…

---

## [How does top level method is being called Inside the block with instance\_eval?](https://www.ruby-forum.com/t/how-does-top-level-method-is-being-called-inside-the-block-with-instance-eval/237178)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 6\
**Last updated:** [October 28, 2013, 5:12pm UTC](https://www.ruby-forum.com/t/how-does-top-level-method-is-being-called-inside-the-block-with-instance-eval/237178 "2013-10-28T17:12:18Z")

</div>

Hi, Follow the code below : class Foo def initialize @var = 1 end private def bar 11 end end p foo = Foo.new # #\<Foo:0x1fc41f0 @var=1\> def baz;13;end foo.instance\_eval do p self # #\<Foo:0x1fc41f0 @var=1\> p…

---

## [Removing directories](https://www.ruby-forum.com/t/removing-directories/224878)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [November 30, 2012, 6:34pm UTC](https://www.ruby-forum.com/t/removing-directories/224878 "2012-11-30T18:34:14Z")

</div>

Hello, I’ve googled around and I’ve discovered that "FileUtils.rm\_rf(’#{dir}’) will remove a directory. But, I can’t get it to work. I need to go into a created subdirectory, move the files in there to the parent dire…

---

## [Virtual/Flexible attributes on model](https://www.ruby-forum.com/t/virtual-flexible-attributes-on-model/189587)

<div class="topic-metadata">

**Author:** [@mariachi77](https://www.ruby-forum.com/u/mariachi77)\
**Replies:** 6\
**Last updated:** [June 3, 2010, 4:37pm UTC](https://www.ruby-forum.com/t/virtual-flexible-attributes-on-model/189587 "2010-06-03T16:37:44Z")

</div>

I’ve a requirement to put some user-managed attributes on a model. Essentially, I want Entity-Attribute-Value functionality - the administrator has the ability to create “fields” on the model, and to specify their typ…

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

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