# Top

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

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

---

## [FastCGI or Upstream proxy for python?](https://www.ruby-forum.com/t/fastcgi-or-upstream-proxy-for-python/150349)

<div class="topic-metadata">

**Author:** [@Phillip\_B\_Oldham](https://www.ruby-forum.com/u/Phillip_B_Oldham)\
**Replies:** 5\
**Last updated:** [October 9, 2008, 7:15pm UTC](https://www.ruby-forum.com/t/fastcgi-or-upstream-proxy-for-python/150349 "2008-10-09T19:15:44Z")

</div>

Which would be fastest/preferable to connect nginx to python? FastCGI (using Flup or similar) or the upstream module proxying to an http server such as cherrypy?

---

## [Problem with has\_many\_polymorphs plugin](https://www.ruby-forum.com/t/problem-with-has-many-polymorphs-plugin/114985)

<div class="topic-metadata">

**Author:** [@xonmac](https://www.ruby-forum.com/u/xonmac)\
**Replies:** 5\
**Last updated:** [September 20, 2007, 9:46am UTC](https://www.ruby-forum.com/t/problem-with-has-many-polymorphs-plugin/114985 "2007-09-20T09:46:26Z")

</div>

I installed has\_many\_polymorphs plugin in a freshly generated Radiant application. Then I generated a simple Person-Disk-Book example models (with script/generate extension\_model), declared the polymorphic association…

---

## [Page Attachments - live server won't upload images](https://www.ruby-forum.com/t/page-attachments-live-server-wont-upload-images/111035)

<div class="topic-metadata">

**Author:** [@dpitman](https://www.ruby-forum.com/u/dpitman)\
**Replies:** 5\
**Last updated:** [August 8, 2007, 9:44pm UTC](https://www.ruby-forum.com/t/page-attachments-live-server-wont-upload-images/111035 "2007-08-08T21:44:00Z")

</div>

I just switched from Radiant 0.6.1 full-install to Radiant 0.6.2 on gem. Locally everything worked fine, but on the live server the Page Attachments extension won’t upload image files (JPG and PNG tested). Text files …

---

## [Ruby crashes on windows across three versions](https://www.ruby-forum.com/t/ruby-crashes-on-windows-across-three-versions/92381)

<div class="topic-metadata">

**Author:** [@ben](https://www.ruby-forum.com/u/ben)\
**Replies:** 5\
**Last updated:** [April 18, 2007, 10:46pm UTC](https://www.ruby-forum.com/t/ruby-crashes-on-windows-across-three-versions/92381 "2007-04-18T22:46:04Z")

</div>

I’m working on some scripts for work to manage some build releases, and I’m using ruby and the p4ruby libraries on Windows XP. When I run my script from the command line or by loading it into IRB, I get: ./SourceCo…

---

## [PDF-writer and MS word document](https://www.ruby-forum.com/t/pdf-writer-and-ms-word-document/74094)

<div class="topic-metadata">

**Author:** [@alex-osu3](https://www.ruby-forum.com/u/alex-osu3)\
**Replies:** 5\
**Last updated:** [November 7, 2006, 10:45am UTC](https://www.ruby-forum.com/t/pdf-writer-and-ms-word-document/74094 "2006-11-07T10:45:54Z")

</div>

Hi guys, I just wonder if anyone out there ever uses PDF::Writer to create a PDF file from a MS word document file. I can only create a PDF file if the file is in plain text format. Thanks, Li

---

## [STI versus Composition...or the headaches of one big table](https://www.ruby-forum.com/t/sti-versus-composition-or-the-headaches-of-one-big-table/63664)

<div class="topic-metadata">

**Author:** [@BA\_Baracus](https://www.ruby-forum.com/u/BA_Baracus)\
**Replies:** 5\
**Last updated:** [June 18, 2006, 12:43am UTC](https://www.ruby-forum.com/t/sti-versus-composition-or-the-headaches-of-one-big-table/63664 "2006-06-18T00:43:45Z")

</div>

Guys, I have a relationship between model classes that I believe is best represented by inheritance, but the likelihood that things will change often is driving us to composition instead. So, I have a class called Au…

---

## [Ssl and lightpdd](https://www.ruby-forum.com/t/ssl-and-lightpdd/62897)

<div class="topic-metadata">

**Author:** [@rage989](https://www.ruby-forum.com/u/rage989)\
**Replies:** 5\
**Last updated:** [June 9, 2006, 11:51pm UTC](https://www.ruby-forum.com/t/ssl-and-lightpdd/62897 "2006-06-09T23:51:56Z")

</div>

can you run a site with ssl on a computer on a router or do you need a dedicated ip for this?

---

## [How to find particular pattern in string?](https://www.ruby-forum.com/t/how-to-find-particular-pattern-in-string/62800)

<div class="topic-metadata">

**Author:** [@tiwaripk](https://www.ruby-forum.com/u/tiwaripk)\
**Replies:** 5\
**Last updated:** [June 8, 2006, 10:16am UTC](https://www.ruby-forum.com/t/how-to-find-particular-pattern-in-string/62800 "2006-06-08T10:16:13Z")

</div>

Hi, In my application I want to find out the occurance of substring “http:\\” in the main string “http:\\www.abc.com” Here how to find out whether substring “http:\\” is present in my String? & if substring “http:\\” is…

---

## [Reading folder structure on server with Rails - possible?](https://www.ruby-forum.com/t/reading-folder-structure-on-server-with-rails-possible/52710)

<div class="topic-metadata">

**Author:** [@robbie](https://www.ruby-forum.com/u/robbie)\
**Replies:** 5\
**Last updated:** [January 27, 2006, 5:10am UTC](https://www.ruby-forum.com/t/reading-folder-structure-on-server-with-rails-possible/52710 "2006-01-27T05:10:16Z")

</div>

I’m building an extranet which has project folders allocated for each client and client project on a webserver. I’m hoping to be able to read a directory’s content if I give it a path like “/clients/\[CLIENTNAME\]/\[PROJ…

---

## [Design question: How to best "discover" classes declared by plugins](https://www.ruby-forum.com/t/design-question-how-to-best-discover-classes-declared-by-plugins/252216)

<div class="topic-metadata">

**Author:** [@castlerocktronics](https://www.ruby-forum.com/u/castlerocktronics)\
**Replies:** 2\
**Last updated:** [April 6, 2019, 5:17pm UTC](https://www.ruby-forum.com/t/design-question-how-to-best-discover-classes-declared-by-plugins/252216 "2019-04-06T17:17:22Z")

</div>

Hi there, I’m currently in the early stages of creating a command-line tool for a bit of fun and one of the big goals design-wise is to make it as extensible as possible. What are the typical ways to do this in Ruby? I …

---

## [Force wxRuby/wxWidgets to Qt libs?](https://www.ruby-forum.com/t/force-wxruby-wxwidgets-to-qt-libs/199148)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [November 16, 2010, 4:46pm UTC](https://www.ruby-forum.com/t/force-wxruby-wxwidgets-to-qt-libs/199148 "2010-11-16T16:46:56Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, Being annoyed by the libpixman bug wxRuby has I wonder wheather I could just make wxRuby use the Qt libs instead of the GTK ones. I already have them installed…

---

## [Problem with downloading a generated Excel sheet](https://www.ruby-forum.com/t/problem-with-downloading-a-generated-excel-sheet/180997)

<div class="topic-metadata">

**Author:** [@amabdelsalam](https://www.ruby-forum.com/u/amabdelsalam)\
**Replies:** 2\
**Last updated:** [January 4, 2010, 10:34am UTC](https://www.ruby-forum.com/t/problem-with-downloading-a-generated-excel-sheet/180997 "2010-01-04T10:34:03Z")

</div>

Hello, I’m using the spreadsheet/excel gem to generate an excel sheet that I want user to be able to download it once it’s generated. Please take a look on the below code: @contacts=Contact.find(:all) if @contacts.s…

---

## [Writing a Helper function](https://www.ruby-forum.com/t/writing-a-helper-function/102214)

<div class="topic-metadata">

**Author:** [@analogue40](https://www.ruby-forum.com/u/analogue40)\
**Replies:** 2\
**Last updated:** [August 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/writing-a-helper-function/102214 "2006-08-15T14:18:36Z")

</div>

I’ve finally gotten to the point where I want to write my own helper function to call from my views. I used the script/generate to create my Controller so I also got the helper file. I defined the method I wanted to u…

---

## [Sending SMS messages through Proxy Server](https://www.ruby-forum.com/t/sending-sms-messages-through-proxy-server/259712)

<div class="topic-metadata">

**Author:** [@nikname](https://www.ruby-forum.com/u/nikname)\
**Replies:** 1\
**Last updated:** [December 20, 2020, 9:04pm UTC](https://www.ruby-forum.com/t/sending-sms-messages-through-proxy-server/259712 "2020-12-20T21:04:30Z")

</div>

Hello. Help me. I have proxy server 10.10.10.5 (Login, Password). Without a proxy server, the script works. I do not know how to integrate data transfer through a proxy server. Blockquote puts “Verification of send…

---

## [TypeError at / no implicit conversion from nil to integer](https://www.ruby-forum.com/t/typeerror-at-no-implicit-conversion-from-nil-to-integer/240062)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [March 31, 2014, 8:06am UTC](https://www.ruby-forum.com/t/typeerror-at-no-implicit-conversion-from-nil-to-integer/240062 "2014-03-31T08:06:02Z")

</div>

rand\_id = rand(removed\_email\_address@domain.invalid-1) @abc = @abc.hits\[rand\_id\].primary\_key.to\_i i am getting an no implicit conversion from nil to integer .please suggest any solution error is coming from the C cod…

---

## [Unpermitted Parameters 500 error](https://www.ruby-forum.com/t/unpermitted-parameters-500-error/238540)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 16, 2014, 11:09am UTC](https://www.ruby-forum.com/t/unpermitted-parameters-500-error/238540 "2014-01-16T11:09:18Z")

</div>

I have some models with lots of deeply nested attributes. Before when I saved these models using update\_attributes, I had no problems, but I recently updated to Rails 4 and started using strong parameters. Now I’m get…

---

## [ArgumentError when starting Unicorn on Heroku](https://www.ruby-forum.com/t/argumenterror-when-starting-unicorn-on-heroku/245368)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [May 25, 2013, 8:18pm UTC](https://www.ruby-forum.com/t/argumenterror-when-starting-unicorn-on-heroku/245368 "2013-05-25T20:18:50Z")

</div>

Switched my RoR (3.1.3, 1.9.2) app from Thin to Unicorn (4.6.2). It ran fine in development (Mac OSX), but when deploying to production on Heroku, it fails with the following error: Starting process with command bun…

---

## [Set a query filter](https://www.ruby-forum.com/t/set-a-query-filter/223088)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [September 21, 2012, 6:18pm UTC](https://www.ruby-forum.com/t/set-a-query-filter/223088 "2012-09-21T18:18:28Z")

</div>

Hallo. I have a user and a skill table joined in a SkillUser table. (has many through) Now I try to get all Skills listed which are not already in the join table for user 1 In other words: user 1 has entries in the…

---

## [Pasenger,rails-2.3.8,apache 2.2.21](https://www.ruby-forum.com/t/pasenger-rails-2-3-8-apache-2-2-21/212675)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [August 20, 2012, 5:10pm UTC](https://www.ruby-forum.com/t/pasenger-rails-2-3-8-apache-2-2-21/212675 "2012-08-20T17:10:53Z")

</div>

Hello, I am configuring apache 2.2 to serve my rails app through passenger. Im trying to host in 3 tier architecture.Making web server alone in https , app server code is placed running in http.First, I’m redirect all…

---

## [\[array\].include?(word) not working](https://www.ruby-forum.com/t/array-include-word-not-working/214935)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [December 16, 2011, 9:24am UTC](https://www.ruby-forum.com/t/array-include-word-not-working/214935 "2011-12-16T09:24:29Z")

</div>

I tried running the code to remove stop words from text variable. The code does not remove the words from text variable based on the array variable stopwords. The output shows that the length of keywords and words are…

---

## [Rspec and testing IO](https://www.ruby-forum.com/t/rspec-and-testing-io/211615)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [September 9, 2011, 3:08am UTC](https://www.ruby-forum.com/t/rspec-and-testing-io/211615 "2011-09-09T03:08:57Z")

</div>

I have a class that expects some input via ‘gets’. I found that, when testing, I can do something as simple as this: @foo.stub!(:gets) { “stuff\\n” } However that only works in the most simple case. In my case the cl…

---

## [Win32ole ruby gem](https://www.ruby-forum.com/t/win32ole-ruby-gem/209197)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [July 7, 2011, 10:58pm UTC](https://www.ruby-forum.com/t/win32ole-ruby-gem/209197 "2011-07-07T22:58:32Z")

</div>

hi All, i am looking for win32ole gem to be installed on a linux machine. I am not able to figure out from where would i get an win32ole gem for linux. gem install win32ole – fails Any thoughts!! Cheers

---

## [Reg: Help in using GNU Radio software](https://www.ruby-forum.com/t/reg-help-in-using-gnu-radio-software/209105)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [July 7, 2011, 12:22am UTC](https://www.ruby-forum.com/t/reg-help-in-using-gnu-radio-software/209105 "2011-07-07T00:22:18Z")

</div>

Hi all, I am sai shiva kailaswar, doing my Master’s thesis using GNU Radio. As I am new to GNU Radio, I need some basic information. I presently use Windows 7. I want to install ubuntu in my laptop. Which versions o…

---

## [Rvm -- reverting to system ruby](https://www.ruby-forum.com/t/rvm-reverting-to-system-ruby/209022)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [July 5, 2011, 9:49pm UTC](https://www.ruby-forum.com/t/rvm-reverting-to-system-ruby/209022 "2011-07-05T21:49:40Z")

</div>

It worked once, but a few minutes later this is what I got: $ rvm system $ ruby -v ruby 1.9.2p180 (2011-02-18 revision 30909) \[x86\_64-darwin10.7.0\] $ rvm use 1.8.6 Using /Users/me/.rvm/gems/ruby-1.8.6-p420 $ ruby -…

---

## [Efficient Concurrency?](https://www.ruby-forum.com/t/efficient-concurrency/175800)

<div class="topic-metadata">

**Author:** [@Florian\_Dejako](https://www.ruby-forum.com/u/Florian_Dejako)\
**Replies:** 7\
**Last updated:** [September 21, 2009, 6:48pm UTC](https://www.ruby-forum.com/t/efficient-concurrency/175800 "2009-09-21T18:48:29Z")

</div>

My app sends out activation keys from a list of unassigned keys to customers. An appropriate model action in the activation key model would look something like this: named\_scope :available, :conditions =\> ‘available I…

---

## [Does nginx support SSL resumption?](https://www.ruby-forum.com/t/does-nginx-support-ssl-resumption/169141)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 7\
**Last updated:** [June 3, 2009, 10:40am UTC](https://www.ruby-forum.com/t/does-nginx-support-ssl-resumption/169141 "2009-06-03T10:40:19Z")

</div>

If so, is it enabled by default? How can I enable it?

---

## [Limit connections' erratic behaviour](https://www.ruby-forum.com/t/limit-connections-erratic-behaviour/162959)

<div class="topic-metadata">

**Author:** [@Asif\_A](https://www.ruby-forum.com/u/Asif_A)\
**Replies:** 7\
**Last updated:** [March 16, 2009, 7:23pm UTC](https://www.ruby-forum.com/t/limit-connections-erratic-behaviour/162959 "2009-03-16T19:23:22Z")

</div>

Dear All, The limit connections module is behaving erratically. I have allocated 20M of Space for storing sessions and our app basically gets 100s of requests from several different hosts. We have very few hosts that…

---

## [Proposal: Module#method\_adding](https://www.ruby-forum.com/t/proposal-module-method-adding/159965)

<div class="topic-metadata">

**Author:** [@SASADA\_Koichi](https://www.ruby-forum.com/u/SASADA_Koichi)\
**Replies:** 7\
**Last updated:** [February 13, 2009, 4:22am UTC](https://www.ruby-forum.com/t/proposal-module-method-adding/159965 "2009-02-13T04:22:03Z")

</div>

e$B!!$5$5$@$G$9!%e(B e$B!!:#!$e(Basakusa.rb e$B$G\<r$r0{$s$G$?$s$G$9$,!$e(BModule#method\_adding e$B$H$+!$$=$&e(B e$B$$$&%a%=%C%I$H$$$&$N$O$I$&$G$7$g$&$+!%e(B e$B%a%=%C%I$,Dj5A$5$l$kD\>A0$K8F$P$le(B e$B$k%a%=%C%I$G$9!%…

---

## [Prefix math\_\* funcs](https://www.ruby-forum.com/t/prefix-math-funcs/151717)

<div class="topic-metadata">

**Author:** [@sugie](https://www.ruby-forum.com/u/sugie)\
**Replies:** 7\
**Last updated:** [October 28, 2008, 5:31am UTC](https://www.ruby-forum.com/t/prefix-math-funcs/151717 "2008-10-28T05:31:03Z")

</div>

e$B:XF#$H?=$7$^$9!#e(B complex.ce$B$G;H$&$?$a$K!"$$$/$D$+?t3X4X?t$+$ie(Bstatice$B$,$H$l$?$h$&$G$9$,!"e(B e$B30It$K=P$9$J$i$Pe(B rb\_ e$B@\\F,\<-$rIU$1$F$\[$7$$$G$9!#e(B Index: complex.c — complex.c (revision 19925) +++ …

---

## [Rmagick](https://www.ruby-forum.com/t/rmagick/150853)

<div class="topic-metadata">

**Author:** [@shiva](https://www.ruby-forum.com/u/shiva)\
**Replies:** 7\
**Last updated:** [October 14, 2008, 4:13pm UTC](https://www.ruby-forum.com/t/rmagick/150853 "2008-10-14T16:13:13Z")

</div>

Hi, I am using imagemagick and rmagick for image manipulation… imagemagick version-6.4.4 rmagick 2.7 I need to create a thumbnail. img = Magick::Image.read(org\_img\_path)\[0\] img.crop\_resized(width,height) img.write(n…

---

## [IronRuby r128 on Mono](https://www.ruby-forum.com/t/ironruby-r128-on-mono/145717)

<div class="topic-metadata">

**Author:** [@Seo\_S](https://www.ruby-forum.com/u/Seo_S)\
**Replies:** 7\
**Last updated:** [September 3, 2008, 12:10am UTC](https://www.ruby-forum.com/t/ironruby-r128-on-mono/145717 "2008-09-03T00:10:58Z")

</div>

Updated as usual. http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/patch-mono-r128 Tested against Mono 1.9.1 and Mono SVN r110339. Please report any problems. Patch is shrinking! I do appreciate Microsoft’s effo…

---

## [Communication between 2 ruby programs](https://www.ruby-forum.com/t/communication-between-2-ruby-programs/142741)

<div class="topic-metadata">

**Author:** [@julien51](https://www.ruby-forum.com/u/julien51)\
**Replies:** 7\
**Last updated:** [July 11, 2008, 5:46am UTC](https://www.ruby-forum.com/t/communication-between-2-ruby-programs/142741 "2008-07-11T05:46:38Z")

</div>

Hi! I am having a hard time solving this issue and I’m sure you guys know how to treat that very easily! I’ve got a “bot” on one side which runs : class Bot def self.start loop do input = gets # Get a user input f…

---

## [Improvement of lazy sweep patch](https://www.ruby-forum.com/t/improvement-of-lazy-sweep-patch/138092)

<div class="topic-metadata">

**Author:** [@authorNari](https://www.ruby-forum.com/u/authorNari)\
**Replies:** 7\
**Last updated:** [July 5, 2008, 9:58am UTC](https://www.ruby-forum.com/t/improvement-of-lazy-sweep-patch/138092 "2008-07-05T09:58:20Z")

</div>

authorNariã§ã™ã€‚ å‰ã«ä½œæˆã—ã¦ã„ãŸLazySweepã‚’ã€ç¾åœ¨ã®Heapæ§‹é€ ã«åˆã†ã‚ˆã†ã«ä¿®æ­£ã—ã¾ã—ãŸã€‚ ã¨ã„ã£ã¦ã‚‚ã»ã¼æ›¸ãç›´ã—ã¦ã—ã¾ã„ã¾ã—ãŸãŒã€‚ æ€§èƒ½ã¯æ‰‹æŒã¡ã®ãƒ™ãƒ³ãƒãƒžãƒ¼ã‚…

---

## [Getting "no block given" on find method - rails 2.1](https://www.ruby-forum.com/t/getting-no-block-given-on-find-method-rails-2-1/140542)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 7\
**Last updated:** [June 16, 2008, 4:11am UTC](https://www.ruby-forum.com/t/getting-no-block-given-on-find-method-rails-2-1/140542 "2008-06-16T04:11:10Z")

</div>

I am trying to do a simple find through the current\_user but get an exception. Either someone spiked my Starbucks coffee and I am screwing up all over the place or there is something wrong. def index @league = curre…

---

## [Nginx-0.7.0](https://www.ruby-forum.com/t/nginx-0-7-0/138004)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 7\
**Last updated:** [May 20, 2008, 4:35pm UTC](https://www.ruby-forum.com/t/nginx-0-7-0/138004 "2008-05-20T16:35:53Z")

</div>

Changes with nginx 0.7.0 19 May 2008 \*) Change: now the 0x00-0x1F, '"' and '\\' characters are escaped as \\xXX in an access\_log. Thanks to Maxim D.. \*) Change: now nginx al…

---

## [Parsing a string with quotes](https://www.ruby-forum.com/t/parsing-a-string-with-quotes/127609)

<div class="topic-metadata">

**Author:** [@liquidrails](https://www.ruby-forum.com/u/liquidrails)\
**Replies:** 7\
**Last updated:** [January 30, 2008, 10:00pm UTC](https://www.ruby-forum.com/t/parsing-a-string-with-quotes/127609 "2008-01-30T22:00:53Z")

</div>

I am trying to parse out the string: My dog “ate” my “math homework” and “my cat” into the array: \[My, dog, ate, my, math homework, and, my cat\] Does anybody know a good way to do this? Thank you in advance, Cheri

---

## [Rails adding dashes to text field in db](https://www.ruby-forum.com/t/rails-adding-dashes-to-text-field-in-db/92247)

<div class="topic-metadata">

**Author:** [@jason](https://www.ruby-forum.com/u/jason)\
**Replies:** 7\
**Last updated:** [April 17, 2007, 6:20pm UTC](https://www.ruby-forum.com/t/rails-adding-dashes-to-text-field-in-db/92247 "2007-04-17T18:20:01Z")

</div>

I have a model called notes. Here’s the definition in my schema.rb create\_table “notes”, :force =\> true do |t| t.column “sales\_order\_id”, :integer t.column “content”, :text t.column “timestamp”, :datetim…

---

## [Random Number Appended to Images,JS and CSS files](https://www.ruby-forum.com/t/random-number-appended-to-images-js-and-css-files/68934)

<div class="topic-metadata">

**Author:** [@johnk](https://www.ruby-forum.com/u/johnk)\
**Replies:** 7\
**Last updated:** [September 17, 2006, 6:05am UTC](https://www.ruby-forum.com/t/random-number-appended-to-images-js-and-css-files/68934 "2006-09-17T06:05:26Z")

</div>

I am really curious… what is up with the random number being appended to the query string of calls to JS, CSS and Image files? At first I thought it was just for development mode so that files would not be cached but…

---

## [How should I select rows from a join-model based on more tha](https://www.ruby-forum.com/t/how-should-i-select-rows-from-a-join-model-based-on-more-tha/61791)

<div class="topic-metadata">

**Author:** [@alder](https://www.ruby-forum.com/u/alder)\
**Replies:** 7\
**Last updated:** [May 27, 2006, 11:25pm UTC](https://www.ruby-forum.com/t/how-should-i-select-rows-from-a-join-model-based-on-more-tha/61791 "2006-05-27T23:25:04Z")

</div>

A concrete example: We’re building a system to organize the information about workshops being held in various conventions. A convention has more than one workshop, and each workshop can be held in more than one conven…

---

## [RE: Object constructors - Noob Question](https://www.ruby-forum.com/t/re-object-constructors-noob-question/60326)

<div class="topic-metadata">

**Author:** [@Ross\_D](https://www.ruby-forum.com/u/Ross_D)\
**Replies:** 7\
**Last updated:** [May 15, 2006, 8:01am UTC](https://www.ruby-forum.com/t/re-object-constructors-noob-question/60326 "2006-05-15T08:01:22Z")

</div>

Joe wrote way? @foo = Foo.new # this is redundant you don’t need to create an object @foo = session\[:foo\] # just get the already created one out of the session Not a Ruby developer yet but I suspect you could @ba…

---

## [Problem with Why's Poignants guide code..help](https://www.ruby-forum.com/t/problem-with-whys-poignants-guide-code-help/55477)

<div class="topic-metadata">

**Author:** [@aftershock](https://www.ruby-forum.com/u/aftershock)\
**Replies:** 7\
**Last updated:** [March 21, 2006, 6:49pm UTC](https://www.ruby-forum.com/t/problem-with-whys-poignants-guide-code-help/55477 "2006-03-21T18:49:00Z")

</div>

Trying to follow the code on chapter 4 ( http://poignantguide.net/ruby/chapter-4.html ) and I cannot get the section called Making the swap’c code to work. this is saved as wordlist.rb: code\_words = { ‘starmonkeys’…

---

## [CGI::Cookie.parse problem?](https://www.ruby-forum.com/t/cgi-cookie-parse-problem/97413)

<div class="topic-metadata">

**Author:** [@kelleysislander](https://www.ruby-forum.com/u/kelleysislander)\
**Replies:** 1\
**Last updated:** [January 27, 2006, 6:44am UTC](https://www.ruby-forum.com/t/cgi-cookie-parse-problem/97413 "2006-01-27T06:44:29Z")

</div>

Hi, I’m interfacing with a site that is sending me back a cookie like the following, in the HTTP ‘set-cookie’ field. require 'cgi' raw\_cookie = "ID=867.5309; path=/; domain=site.com, " + "SESS\_mem=deleted; expire…

---

## [Number\_to\_human\_size](https://www.ruby-forum.com/t/number-to-human-size/191945)

<div class="topic-metadata">

**Author:** [@trejkaz](https://www.ruby-forum.com/u/trejkaz)\
**Replies:** 0\
**Last updated:** [July 21, 2010, 5:48am UTC](https://www.ruby-forum.com/t/number-to-human-size/191945 "2010-07-21T05:48:41Z")

</div>

Hi all. I have noticed some questionable behaviour when converting byte sizes into a human-readable form. $ruby script\\console Loading development environment (Rails 2.3.8) \>\> include ActionView::Helpers::NumberHelper…

---

## [Dav and dav\_ext, mp4 module, PROPFIND not working for files](https://www.ruby-forum.com/t/dav-and-dav-ext-mp4-module-propfind-not-working-for-files/230658)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 4\
**Last updated:** [July 1, 2014, 7:36am UTC](https://www.ruby-forum.com/t/dav-and-dav-ext-mp4-module-propfind-not-working-for-files/230658 "2014-07-01T07:36:19Z")

</div>

Somehow uploadprogress seems to be affecting a request unrelated. I am using Cyberduck on Windows to test WebDAV (over HTTPS). It successfully logs in, lists files, etc. But it does not download any files because it …

---

## [Nginx with NO SSL offload](https://www.ruby-forum.com/t/nginx-with-no-ssl-offload/229962)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 4\
**Last updated:** [May 28, 2014, 12:18am UTC](https://www.ruby-forum.com/t/nginx-with-no-ssl-offload/229962 "2014-05-28T00:18:09Z")

</div>

Hi All, Is there way I configure Nginx not to do SSL offload, i.e Nginx should receive the HTTPS traffic (by listening on port 443) and forward the same to the backend server without doing an offload. I think I can …

---

## [Sudden rspec problem](https://www.ruby-forum.com/t/sudden-rspec-problem/201871)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 17, 2011, 1:58am UTC](https://www.ruby-forum.com/t/sudden-rspec-problem/201871 "2011-01-17T01:58:39Z")

</div>

I was using rspec 2.4.0 to test some code and it was working fine then suddenly I get rich@richlaptop2:~/Documents/fakemap/rspec$ rspec block.rb /usr/lib/ruby/1.8/rubygems/custom\_require.rb:31:in gem\_original\_require…

---

## [String#% is not working on Ruby 1.8.7](https://www.ruby-forum.com/t/string-is-not-working-on-ruby-1-8-7/201435)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 8, 2011, 5:36am UTC](https://www.ruby-forum.com/t/string-is-not-working-on-ruby-1-8-7/201435 "2011-01-08T05:36:16Z")

</div>

To reproduce, I just copied the example right from ruby-doc class String - RDoc Documentation into irb session. “foo = %{foo}” % { :foo =\> ‘bar’ } ArgumentError: malformed format string - %{ from (irb):1:in \`%’ f…

---

## [Installation of Ruby 1.8.7 on fedora](https://www.ruby-forum.com/t/installation-of-ruby-1-8-7-on-fedora/195239)

<div class="topic-metadata">

**Author:** [@awijeet](https://www.ruby-forum.com/u/awijeet)\
**Replies:** 4\
**Last updated:** [September 21, 2010, 6:52am UTC](https://www.ruby-forum.com/t/installation-of-ruby-1-8-7-on-fedora/195239 "2010-09-21T06:52:17Z")

</div>

I got this \[2010-09-20 21:17:09\] make eval.c: In function â€˜rb\_eval\_string\_wrapâ€™: eval.c:1742: warning: assignment discards qualifiers from pointer target type eval.c: In function â€˜rb\_eval\_cmdâ€™: eval.c:1883: …

---

## [Spork](https://www.ruby-forum.com/t/spork/185969)

<div class="topic-metadata">

**Author:** [@Ashley\_M](https://www.ruby-forum.com/u/Ashley_M)\
**Replies:** 4\
**Last updated:** [March 31, 2010, 11:12am UTC](https://www.ruby-forum.com/t/spork/185969 "2010-03-31T11:12:59Z")

</div>

Hi Hopefully I’ll get chance to finish Spork integration with RSpec 2 this weekend. I’ve got two questions… (1) What’s the best way to merge my changes back in? My shockingly bad Git-fu has made it impossible to re…

---

## [USRP2 in VirtualBox](https://www.ruby-forum.com/t/usrp2-in-virtualbox/181824)

<div class="topic-metadata">

**Author:** [@Demijan\_K](https://www.ruby-forum.com/u/Demijan_K)\
**Replies:** 4\
**Last updated:** [January 20, 2010, 12:15am UTC](https://www.ruby-forum.com/t/usrp2-in-virtualbox/181824 "2010-01-20T00:15:49Z")

</div>

Hi everyone, I’ve been trying to make USRP2 work in Ubuntu 9.04 running in VirtualBox and while I was able to install gnuradio all right, I cannot communicate with the USRP2 unit. For instance, “find\_usrps” (run ei…

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

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