# Top

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

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

---

## [Sinatra: can I return response AND post a callback?](https://www.ruby-forum.com/t/sinatra-can-i-return-response-and-post-a-callback/205542)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [April 8, 2011, 1:30pm UTC](https://www.ruby-forum.com/t/sinatra-can-i-return-response-and-post-a-callback/205542 "2011-04-08T13:30:51Z")

</div>

Hi everyone, Using the wonderful Sinatra to create a RESTful Web service. What I want to do is: 1 receive a POST and return a JSON response. 2 after a short period send a POST to a URL provided in a “callback” para…

---

## [Using :except or :only on a before\_filter block](https://www.ruby-forum.com/t/using-except-or-only-on-a-before-filter-block/70822)

<div class="topic-metadata">

**Author:** [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Replies:** 1\
**Last updated:** [February 20, 2006, 3:17pm UTC](https://www.ruby-forum.com/t/using-except-or-only-on-a-before-filter-block/70822 "2006-02-20T15:17:25Z")

</div>

Hi all, How do you use :except or :only conditions on a filter block? I can’t seem to work out the syntax! I’m currently doing: before\_filter { |c| c.role\_required ‘admin’ } Thanks a lot! Tom

---

## [Direct to S3 upload using aws-sdk gem and jQuery-File-Upload on heroku](https://www.ruby-forum.com/t/direct-to-s3-upload-using-aws-sdk-gem-and-jquery-file-upload-on-heroku/243809)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [January 10, 2016, 5:11am UTC](https://www.ruby-forum.com/t/direct-to-s3-upload-using-aws-sdk-gem-and-jquery-file-upload-on-heroku/243809 "2016-01-10T05:11:36Z")

</div>

I’m trying to achieve direct to Amazon S3 upload in Rails using jQuery-File-Upload https://github.com/blueimp/jQuery-File-Upload and the aws-sdk https://github.com/aws/aws-sdk-ruby gem, and following heroku’s direct…

---

## [Doppler simulator](https://www.ruby-forum.com/t/doppler-simulator/233528)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [December 22, 2014, 1:24pm UTC](https://www.ruby-forum.com/t/doppler-simulator/233528 "2014-12-22T13:24:02Z")

</div>

Discuss-gnuradio mailing list removed\_email\_address@domain.invalid https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

---

## [Fluent chaining drying](https://www.ruby-forum.com/t/fluent-chaining-drying/207422)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [May 26, 2011, 6:29pm UTC](https://www.ruby-forum.com/t/fluent-chaining-drying/207422 "2011-05-26T18:29:57Z")

</div>

Hello all. Thanks to subjects, custom matchers and fluent chaining I was able to greatly simplify my spec. But now I want to DRY my custom matchers. I have two custom matchers: ‘have\_text’ and ‘have\_number’ and both …

---

## [Copying a matrix](https://www.ruby-forum.com/t/copying-a-matrix/195664)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 5\
**Last updated:** [September 28, 2010, 5:16pm UTC](https://www.ruby-forum.com/t/copying-a-matrix/195664 "2010-09-28T17:16:20Z")

</div>

How can I create an array copy that does not reference the same object… I have tried this without luck. m2 = m.map { |e| e } m2\[2\]\[2\]=2 p m p m2

---

## [Open3.popen3 hangs on windows](https://www.ruby-forum.com/t/open3-popen3-hangs-on-windows/181345)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [January 16, 2010, 12:38am UTC](https://www.ruby-forum.com/t/open3-popen3-hangs-on-windows/181345 "2010-01-16T00:38:15Z")

</div>

I’m working on a JRuby application that automates running gems by using popen3 and found what appears to be a bug. Using Open3.popen3(‘jruby someGem -v’) hangs JRuby on Windows. On Ubuntu it works as expected. Is th…

---

## [Find by contents and missing ferret\_score method](https://www.ruby-forum.com/t/find-by-contents-and-missing-ferret-score-method/114000)

<div class="topic-metadata">

**Author:** [@differenthink](https://www.ruby-forum.com/u/differenthink)\
**Replies:** 5\
**Last updated:** [September 7, 2007, 11:04am UTC](https://www.ruby-forum.com/t/find-by-contents-and-missing-ferret-score-method/114000 "2007-09-07T11:04:19Z")

</div>

Hi, i m using acts as ferret via the find\_by\_contents, and then i my trying to get the score of each results… But the score of ferret\_score method is missing… I ve got the @total\_hits in the array, but not the @score …

---

## [Why isn't :order working in acts\_as\_list](https://www.ruby-forum.com/t/why-isnt-order-working-in-acts-as-list/68179)

<div class="topic-metadata">

**Author:** [@jack](https://www.ruby-forum.com/u/jack)\
**Replies:** 5\
**Last updated:** [September 10, 2006, 6:06am UTC](https://www.ruby-forum.com/t/why-isnt-order-working-in-acts-as-list/68179 "2006-09-10T06:06:12Z")

</div>

Ok, I’m sure this has to be something stupid that I’m doing (or not doing), but I can’t seem to get things to order by the specified column. class List \< ActiveRecord::Base has\_many :list\_items, :order =\> “orderby” T…

---

## [Re: \[SOLUTION\] Hash to OpenStruct (#81)](https://www.ruby-forum.com/t/re-solution-hash-to-openstruct-81/62469)

<div class="topic-metadata">

**Author:** [@Alison\_Rowland](https://www.ruby-forum.com/u/Alison_Rowland)\
**Replies:** 5\
**Last updated:** [June 6, 2006, 8:45am UTC](https://www.ruby-forum.com/t/re-solution-hash-to-openstruct-81/62469 "2006-06-06T08:45:20Z")

</div>

This “solution” feels rather like cheating, but I did discover the lovely Facets library in the process, which I’m sure I’ll be using again. === require ‘yaml’ require ‘ostruct’ require ‘rubygems’ require ‘facet/h…

---

## [FXRuby multiple applications](https://www.ruby-forum.com/t/fxruby-multiple-applications/78414)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [March 8, 2006, 11:29pm UTC](https://www.ruby-forum.com/t/fxruby-multiple-applications/78414 "2006-03-08T23:29:14Z")

</div>

i use FXRuby and try to start a applicattion twice with the following code: require “fox12.so” include Fox def start\_fox\_app application = FXApp.new(“FoxTest”, “ruby”) application.init(ARGV) window = FXMainWindow…

---

## [IR WPF Project, ActiveRecord sqlite3-ironruby writes slow, reads fast](https://www.ruby-forum.com/t/ir-wpf-project-activerecord-sqlite3-ironruby-writes-slow-reads-fast/201393)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 9, 2011, 1:47am UTC](https://www.ruby-forum.com/t/ir-wpf-project-activerecord-sqlite3-ironruby-writes-slow-reads-fast/201393 "2011-01-09T01:47:47Z")

</div>

Hello, I am since some weeks working with IronRuby.I do not consider myself a great programmer in neither Ruby or .NET, yet I really love Ruby, and in these past few weeks IronRuby and .NET in general has really grown…

---

## [Form.collection\_select html escaping data from database](https://www.ruby-forum.com/t/form-collection-select-html-escaping-data-from-database/193903)

<div class="topic-metadata">

**Author:** [@mitch\_newbie](https://www.ruby-forum.com/u/mitch_newbie)\
**Replies:** 3\
**Last updated:** [August 30, 2010, 11:18am UTC](https://www.ruby-forum.com/t/form-collection-select-html-escaping-data-from-database/193903 "2010-08-30T11:18:20Z")

</div>

I have french unicoded coded characters in my database. They use the ê format. When I use form.collection\_select it turns the & into & and then the french character is not displayed. How can I resolve this. Thanks …

---

## [How to POST Form Data?](https://www.ruby-forum.com/t/how-to-post-form-data/191094)

<div class="topic-metadata">

**Author:** [@darshana](https://www.ruby-forum.com/u/darshana)\
**Replies:** 0\
**Last updated:** [July 5, 2010, 10:32am UTC](https://www.ruby-forum.com/t/how-to-post-form-data/191094 "2010-07-05T10:32:39Z")

</div>

Hello, I am trying to post the form (http) from the below html “test.html” and am using the below ruby code “submit\_test.rb” to submit the form but getting html response page with message “Unhandled Request: The serv…

---

## [Number\_to\_currency() in the view?](https://www.ruby-forum.com/t/number-to-currency-in-the-view/167033)

<div class="topic-metadata">

**Author:** [@7stud](https://www.ruby-forum.com/u/7stud)\
**Replies:** 3\
**Last updated:** [May 3, 2009, 11:41am UTC](https://www.ruby-forum.com/t/number-to-currency-in-the-view/167033 "2009-05-03T11:41:34Z")

</div>

On p. 93, AWDWR(3rd) it says, …we could do this: \<%= sprintf("$0.02f", product.price) % This would work, but it embeds knowledge of currency formatting into the view. Should we want to internationalize the applicat…

---

## [Ruby Openssl error / Webrick](https://www.ruby-forum.com/t/ruby-openssl-error-webrick/146397)

<div class="topic-metadata">

**Author:** [@mohdanas](https://www.ruby-forum.com/u/mohdanas)\
**Replies:** 3\
**Last updated:** [August 22, 2008, 8:42am UTC](https://www.ruby-forum.com/t/ruby-openssl-error-webrick/146397 "2008-08-22T08:42:10Z")

</div>

Hi There, I’m getting the following errors while starting webrick. I’m using (ruby 1.8.7 (2008-06-20 patchlevel 22) \[i686-linux\]), Rails 2.1.0, and Gem 1.2.0. I’m using the same in my local server and its working perf…

---

## [Collection\_select with params :onchange](https://www.ruby-forum.com/t/collection-select-with-params-onchange/145584)

<div class="topic-metadata">

**Author:** [@maite](https://www.ruby-forum.com/u/maite)\
**Replies:** 3\
**Last updated:** [August 12, 2008, 9:52pm UTC](https://www.ruby-forum.com/t/collection-select-with-params-onchange/145584 "2008-08-12T21:52:42Z")

</div>

hello list this my code \<%= collection\_select (“fuentes”, “id”, @fuente, :id, :nombre, {:prompt =\> ‘Seleccione mercado’}, :onchange=\> {"$(‘btn4’).visualEffect(‘Appear’)"})%\> \<%= submit\_tag "Crear url…

---

## [Connection to postgresql failing](https://www.ruby-forum.com/t/connection-to-postgresql-failing/141488)

<div class="topic-metadata">

**Author:** [@mariachi77](https://www.ruby-forum.com/u/mariachi77)\
**Replies:** 3\
**Last updated:** [July 8, 2008, 4:33pm UTC](https://www.ruby-forum.com/t/connection-to-postgresql-failing/141488 "2008-07-08T16:33:34Z")

</div>

I’ve been looking through all the posts relating to this and my syntax looks correct but my ruby file will not connect to my postgresql db. I’m running this on an eeepc using PostgreSQL 7.4 with Ruby 1.9 Here is the c…

---

## [How to redirect $stdin to read from a string?](https://www.ruby-forum.com/t/how-to-redirect-stdin-to-read-from-a-string/139900)

<div class="topic-metadata">

**Author:** [@ASLester\_Buck\_III](https://www.ruby-forum.com/u/ASLester_Buck_III)\
**Replies:** 3\
**Last updated:** [June 8, 2008, 11:02pm UTC](https://www.ruby-forum.com/t/how-to-redirect-stdin-to-read-from-a-string/139900 "2008-06-08T23:02:16Z")

</div>

Hi, I want to send a Windows popup from a Linux machine. smbclient is the standard utility, and it will accept a file on standard input to avoid terminal interaction, viz. smbclient -M netbiosname \< /tmp/message.te…

---

## [C++ gnuradio apps](https://www.ruby-forum.com/t/c-gnuradio-apps/129920)

<div class="topic-metadata">

**Author:** [@danhobbs](https://www.ruby-forum.com/u/danhobbs)\
**Replies:** 3\
**Last updated:** [February 25, 2008, 10:40pm UTC](https://www.ruby-forum.com/t/c-gnuradio-apps/129920 "2008-02-25T22:40:01Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Suppose I want to build a C++ application to drive GNU Radio, using captured trace data – so I don’t need the USRP. With the new top\_block stuff we should be ready for th…

---

## [Timestamps casted to nil?](https://www.ruby-forum.com/t/timestamps-casted-to-nil/55152)

<div class="topic-metadata">

**Author:** [@janfoeh](https://www.ruby-forum.com/u/janfoeh)\
**Replies:** 3\
**Last updated:** [March 17, 2006, 1:57pm UTC](https://www.ruby-forum.com/t/timestamps-casted-to-nil/55152 "2006-03-17T13:57:51Z")

</div>

Hi, for some reason, all timestamp fields with or without time zone in my Postgres tables seem to be casted to nil. From console: me = User.find(‘PS12345’) =\> #\<User:0x2379788 @attributes={“mtime”=\>“01.03.2006 13:2…

---

## [Getting holiday dates?](https://www.ruby-forum.com/t/getting-holiday-dates/54554)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 3\
**Last updated:** [March 8, 2006, 11:56pm UTC](https://www.ruby-forum.com/t/getting-holiday-dates/54554 "2006-03-08T23:56:51Z")

</div>

Hi, i’m writing a timesheet application in which i need to know when the holidays are, (bank holidays, etc) Is there a very clever way of getting this info that wouldnt require me to manually add it to my database?? T…

---

## [Dx Patrol Setup](https://www.ruby-forum.com/t/dx-patrol-setup/242496)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [June 28, 2015, 5:22pm UTC](https://www.ruby-forum.com/t/dx-patrol-setup/242496 "2015-06-28T17:22:41Z")

</div>

Hello. I have been buying today a DX Patrol SDR board. Works on Android, however I’m getting some troubles with GRC. #rtl\_eeprom Found 1 device(s): 0: Generic RTL2832U OEM Using device 0: Generic RTL2832U OEM Fou…

---

## [Check if directory is empty?](https://www.ruby-forum.com/t/check-if-directory-is-empty/233025)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [November 14, 2014, 4:07pm UTC](https://www.ruby-forum.com/t/check-if-directory-is-empty/233025 "2014-11-14T16:07:50Z")

</div>

I just found a way to check if a dir is empty or not. Dir.chdir ‘someDir’ is\_empty = Dir.glob’\*’ if is\_empty == true #do something elsif is\_empty != true #do something else end Is this a good way to check? I kn…

---

## [RestClient and passing cookies](https://www.ruby-forum.com/t/restclient-and-passing-cookies/231512)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 16, 2014, 5:31pm UTC](https://www.ruby-forum.com/t/restclient-and-passing-cookies/231512 "2014-08-16T17:31:21Z")

</div>

Hello, I had this post on the Ruby channel, but maybe I have more luck here :slight\_smile: I’m struggling with the last piece of the puzzle here. Basically I want to reuse a cookie that I capture from a previous RestC…

---

## [Window stacking order not changeable?](https://www.ruby-forum.com/t/window-stacking-order-not-changeable/240783)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [May 3, 2014, 3:18am UTC](https://www.ruby-forum.com/t/window-stacking-order-not-changeable/240783 "2014-05-03T03:18:52Z")

</div>

I’ve got a bunch of non-modal windows that cause other windows to open - sometimes via show(self) and sometimes via double-clicking in a ListView. The windows are stacked strangely - some of them open behind others. M…

---

## [Configure auth\_basic with Nginx and Passenger](https://www.ruby-forum.com/t/configure-auth-basic-with-nginx-and-passenger/210625)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 12, 2011, 6:04pm UTC](https://www.ruby-forum.com/t/configure-auth-basic-with-nginx-and-passenger/210625 "2011-08-12T18:04:25Z")

</div>

I’m trying to set up a basic authentication with Nginx. My server configuration look like that: server { listen 80; server\_name DOMAIN; root /var/www/web-front-dev/current/public; error\_log /var/log/nginx/web-f…

---

## [Simply renaming files to lowercase](https://www.ruby-forum.com/t/simply-renaming-files-to-lowercase/208256)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [June 14, 2011, 6:38am UTC](https://www.ruby-forum.com/t/simply-renaming-files-to-lowercase/208256 "2011-06-14T06:38:33Z")

</div>

Hello, Can someone please help me to simply rename some files to lowercase in a directory? I keep getting errors. Ruby literally renames the files to the same filename, with an extension of “.lowercase!” I’ve tried t…

---

## [Compiling Ruby on OSX, OpenSSL error and possible fix](https://www.ruby-forum.com/t/compiling-ruby-on-osx-openssl-error-and-possible-fix/158293)

<div class="topic-metadata">

**Author:** [@juan](https://www.ruby-forum.com/u/juan)\
**Replies:** 2\
**Last updated:** [October 23, 2010, 6:45am UTC](https://www.ruby-forum.com/t/compiling-ruby-on-osx-openssl-error-and-possible-fix/158293 "2010-10-23T06:45:32Z")

</div>

I got this error compiling Ruby (ruby-1.8.6-p287) on OSX (10.5.6, Darwin Kernel Version 9.6.0): openssl\_missing.h:123: error: conflicting types for ‘BN\_rand\_range’ /usr/local/include/openssl/bn.h:411: error: previous …

---

## [Custom db rake task gives 'development database not configured'](https://www.ruby-forum.com/t/custom-db-rake-task-gives-development-database-not-configured/187600)

<div class="topic-metadata">

**Author:** [@David\_van\_Geest](https://www.ruby-forum.com/u/David_van_Geest)\
**Replies:** 2\
**Last updated:** [April 26, 2010, 11:49pm UTC](https://www.ruby-forum.com/t/custom-db-rake-task-gives-development-database-not-configured/187600 "2010-04-26T23:49:00Z")

</div>

Hi all, I’m trying to write a simple custom rake task to easily delete some database records. However when I run it, I get an error ‘development database is not configured’. Here’s the code: lib/tasks/custom.rake r…

---

## [What is considered a large Ruby Project?](https://www.ruby-forum.com/t/what-is-considered-a-large-ruby-project/209829)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [July 24, 2011, 2:13am UTC](https://www.ruby-forum.com/t/what-is-considered-a-large-ruby-project/209829 "2011-07-24T02:13:32Z")

</div>

In terms of LoC. I realize this isn’t the greatest metric, but in this case it’s relevant. I’ve joined a project that claims 20k LoC and the project is just too slow in dev mode (the LoC is given as the reason for …

---

## [Gsub patern](https://www.ruby-forum.com/t/gsub-patern/156195)

<div class="topic-metadata">

**Author:** [@elioncho](https://www.ruby-forum.com/u/elioncho)\
**Replies:** 6\
**Last updated:** [December 22, 2008, 5:43pm UTC](https://www.ruby-forum.com/t/gsub-patern/156195 "2008-12-22T17:43:19Z")

</div>

Hello, I am trying to apply a gsub! to a string. I want to know how to make the pattern evaluate that everything that IS NOT numbers, letters or commas should be replaced with “”(nil). Any ideas in how to do this pat…

---

## [Problema con link](https://www.ruby-forum.com/t/problema-con-link/153762)

<div class="topic-metadata">

**Author:** [@chimorito](https://www.ruby-forum.com/u/chimorito)\
**Replies:** 6\
**Last updated:** [November 21, 2008, 5:33pm UTC](https://www.ruby-forum.com/t/problema-con-link/153762 "2008-11-21T17:33:15Z")

</div>

Antes que nada agradecer a Raul el enlace que ha dejado en un post anterior sobr las rutas que me ha sido muy interesante, dicho esto os comento: Ahora estoy intentando imprimir mis documentos, para ello me creo en …

---

## [Signal handling behaviour change after ruby upgrade](https://www.ruby-forum.com/t/signal-handling-behaviour-change-after-ruby-upgrade/73107)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 6\
**Last updated:** [November 7, 2006, 10:45am UTC](https://www.ruby-forum.com/t/signal-handling-behaviour-change-after-ruby-upgrade/73107 "2006-11-07T10:45:04Z")

</div>

I use an init system written in ruby for my Gnu/linux distro, and it makes heavy use of signal handling. After upgrading (stable snapshots) from ruby 1.8.3 (2005-10-26) to ruby 1.8.5 (2006-10-18) nothing much work…

---

## [Routes and Testing Routes](https://www.ruby-forum.com/t/routes-and-testing-routes/60971)

<div class="topic-metadata">

**Author:** [@rooster](https://www.ruby-forum.com/u/rooster)\
**Replies:** 6\
**Last updated:** [May 19, 2006, 1:48am UTC](https://www.ruby-forum.com/t/routes-and-testing-routes/60971 "2006-05-19T01:48:27Z")

</div>

I love the routes feature for RoR…until now. I’m trying to write tests to make sure my urls are correctly mapping to the routes I expect them to map to. This is driving me nuts because I simply can’t get any of my tes…

---

## [Experimental Calculator](https://www.ruby-forum.com/t/experimental-calculator/233951)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [January 27, 2015, 1:10am UTC](https://www.ruby-forum.com/t/experimental-calculator/233951 "2015-01-27T01:10:05Z")

</div>

Hey, I’m new to the forum and I’ve just learned Ruby. I’ve been trying to make a calculator and its giving me an argumenterror (def add) and querying my ‘if’ statements. Here is my code: puts “Input first number.” y…

---

## [Soft object reference for mark and sweep](https://www.ruby-forum.com/t/soft-object-reference-for-mark-and-sweep/225729)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [February 18, 2013, 8:26am UTC](https://www.ruby-forum.com/t/soft-object-reference-for-mark-and-sweep/225729 "2013-02-18T08:26:33Z")

</div>

Hi. :slight\_smile: I recall a mention a bit back about wanting to see more interesting problems on ruby-talk. Let’s see if I can help out. :wink: I have a system in which a Ruby script has a number of remote object r…

---

## [This may be a dumb ssl question, but here goes](https://www.ruby-forum.com/t/this-may-be-a-dumb-ssl-question-but-here-goes/223602)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 7\
**Last updated:** [October 11, 2012, 1:17am UTC](https://www.ruby-forum.com/t/this-may-be-a-dumb-ssl-question-but-here-goes/223602 "2012-10-11T01:17:13Z")

</div>

Can I install and configure nginx to use a “public”/global CA’s SSL Certificate like Verisign, AND force (require) the use of client SSL certificates, AND allow those client/browser-certificates to be from a different…

---

## [Curiosi di saperne di piÃ¹ sul debug, console, e strumenti agili?](https://www.ruby-forum.com/t/curiosi-di-saperne-di-pia-sul-debug-console-e-strumenti-agili/141998)

<div class="topic-metadata">

**Author:** [@reis](https://www.ruby-forum.com/u/reis)\
**Replies:** 7\
**Last updated:** [September 11, 2009, 11:51pm UTC](https://www.ruby-forum.com/t/curiosi-di-saperne-di-pia-sul-debug-console-e-strumenti-agili/141998 "2009-09-11T23:51:26Z")

</div>

Allora non vi resta che andare a vedere l’ultima operahttp://www.therubymine.com/2008/7/2/strumenti-agili-in-rails\[1\] di Carlo P., che ha scritto un interessantissimo articolo su come sfruttare al massimo strumenti ch…

---

## [Problem mit Date.civil -\> invalid date](https://www.ruby-forum.com/t/problem-mit-date-civil-invalid-date/126625)

<div class="topic-metadata">

**Author:** [@joecap](https://www.ruby-forum.com/u/joecap)\
**Replies:** 7\
**Last updated:** [January 28, 2008, 9:29pm UTC](https://www.ruby-forum.com/t/problem-mit-date-civil-invalid-date/126625 "2008-01-28T21:29:59Z")

</div>

Hallo allerseits, ich komme als Rails-AnfÃ¤nger bei folgendem Problem (Testcase) nicht weiter: Ich verwende im Source eines Controllers die Funktion Date.civil mit konstanten Zahlen, um ein Datum zu erzeugen. Beim er…

---

## [Where to start programming?](https://www.ruby-forum.com/t/where-to-start-programming/104828)

<div class="topic-metadata">

**Author:** [@iNeedHelp](https://www.ruby-forum.com/u/iNeedHelp)\
**Replies:** 7\
**Last updated:** [May 24, 2007, 6:53am UTC](https://www.ruby-forum.com/t/where-to-start-programming/104828 "2007-05-24T06:53:56Z")

</div>

I already learned and know enough about rails, now Iwant to start developing my 2.0 web site, but… where should I start, what should I do first, and then?.. and then?? Please help me :slight\_smile: thanks

---

## [Missing terms in index causing search errors](https://www.ruby-forum.com/t/missing-terms-in-index-causing-search-errors/65650)

<div class="topic-metadata">

**Author:** [@rami](https://www.ruby-forum.com/u/rami)\
**Replies:** 7\
**Last updated:** [August 23, 2006, 11:31am UTC](https://www.ruby-forum.com/t/missing-terms-in-index-causing-search-errors/65650 "2006-08-23T11:31:01Z")

</div>

I am unable to find results for models when one or more of the terms are not being indexed. Lets suppose I index a User on the phrase “Ruby on Rails.” If I then search using User.find\_by\_contents(“Ruby on Rails”) I g…

---

## [1.9.14 - Issues with disabled request buffering and HTTP/2](https://www.ruby-forum.com/t/1-9-14-issues-with-disabled-request-buffering-and-http-2/244439)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [April 11, 2016, 12:33pm UTC](https://www.ruby-forum.com/t/1-9-14-issues-with-disabled-request-buffering-and-http-2/244439 "2016-04-11T12:33:35Z")

</div>

Hello, we have an issue with the newest nginx version 1.9.14. I am not sure if this is a possible bug or a configuration problem. We use nginx with disabled request buffering (proxy\_request\_buffering off) We are cu…

---

## [Caching in Rails by Default](https://www.ruby-forum.com/t/caching-in-rails-by-default/209019)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [July 3, 2011, 11:59am UTC](https://www.ruby-forum.com/t/caching-in-rails-by-default/209019 "2011-07-03T11:59:38Z")

</div>

So, maybe I need to go to the rails list with this, but I hit my error while testing so I figured I’d ask here first. Basically, Rails.cache.fetch is being persisted by default in my rails project between rspec runs.…

---

## [View helper, blocks and capture. Template output is repeated (rails 3)](https://www.ruby-forum.com/t/view-helper-blocks-and-capture-template-output-is-repeated-rails-3/205758)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [April 15, 2011, 1:07am UTC](https://www.ruby-forum.com/t/view-helper-blocks-and-capture-template-output-is-repeated-rails-3/205758 "2011-04-15T01:07:02Z")

</div>

I’m having some issues with blocks and capture in erb templates, and the particular problem shows itself in that the expected output in the template view is repeated due to something related to how capture works. (Usi…

---

## [Testing views of nested resources](https://www.ruby-forum.com/t/testing-views-of-nested-resources/194660)

<div class="topic-metadata">

**Author:** [@Brennon\_B](https://www.ruby-forum.com/u/Brennon_B)\
**Replies:** 1\
**Last updated:** [September 8, 2010, 5:40pm UTC](https://www.ruby-forum.com/t/testing-views-of-nested-resources/194660 "2010-09-08T17:40:02Z")

</div>

I’ve searched and searched, and just can’t find an answer on the list or elsewhere. Forgive me if I’m missing something… I’ve got the following bits of code: app/controllers/widget\_layouts\_controller.rb: class Widget…

---

## [AssociationTypeMismatch got Fixnum](https://www.ruby-forum.com/t/associationtypemismatch-got-fixnum/159206)

<div class="topic-metadata">

**Author:** [@AnAnAn](https://www.ruby-forum.com/u/AnAnAn)\
**Replies:** 4\
**Last updated:** [August 22, 2012, 11:46am UTC](https://www.ruby-forum.com/t/associationtypemismatch-got-fixnum/159206 "2012-08-22T11:46:53Z")

</div>

I’m using rails 2.0.5 and mongrel. I have a Page and a Source models. class Source \< ActiveRecord::Base has\_many :pages end class Page \< ActiveRecord::Base belongs\_to :source end Basically I’m listing pages with …

---

## [What is the difference between using group\_by in a scope as opposed the controller?](https://www.ruby-forum.com/t/what-is-the-difference-between-using-group-by-in-a-scope-as-opposed-the-controller/209443)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [July 15, 2011, 10:05am UTC](https://www.ruby-forum.com/t/what-is-the-difference-between-using-group-by-in-a-scope-as-opposed-the-controller/209443 "2011-07-15T10:05:06Z")

</div>

In my controller I have this and it works. @grouped\_by\_assignable = collection.order(“updated\_at desc”).group\_by { |assignment| assignment.assignable } trying to refactor it into a scope on the model as such scope :g…

---

## [Getting fragment-caching to work](https://www.ruby-forum.com/t/getting-fragment-caching-to-work/131405)

<div class="topic-metadata">

**Author:** [@peter](https://www.ruby-forum.com/u/peter)\
**Replies:** 4\
**Last updated:** [March 12, 2008, 12:43am UTC](https://www.ruby-forum.com/t/getting-fragment-caching-to-work/131405 "2008-03-12T00:43:04Z")

</div>

I’d having my first tries at caching in Rails, and would like to experiment with fragmentcaching. I have some problems with getting any results and i don’t know exactly what’s going on now. I have this in my developme…

---

## [502 proxy error, malformed request](https://www.ruby-forum.com/t/502-proxy-error-malformed-request/128353)

<div class="topic-metadata">

**Author:** [@greenbox](https://www.ruby-forum.com/u/greenbox)\
**Replies:** 4\
**Last updated:** [February 7, 2008, 4:32pm UTC](https://www.ruby-forum.com/t/502-proxy-error-malformed-request/128353 "2008-02-07T16:32:57Z")

</div>

If there are double quotes in the url, Firefox escapes them to %22 but Internet explorer gives ", which when proxied to Mongrel results in an HTTP parse error. Is there a RewriteRule or something I can employ to fix t…

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

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