# Top

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

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

---

## [2 questions on send\_timeout (maybe bugs)](https://www.ruby-forum.com/t/2-questions-on-send-timeout-maybe-bugs/207102)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [May 20, 2011, 1:33pm UTC](https://www.ruby-forum.com/t/2-questions-on-send-timeout-maybe-bugs/207102 "2011-05-20T13:33:51Z")

</div>

hi all, I meet 2 question when using nginx 1.0.0. Question1. what happens if the downstream connection breaks, before all data sent to the client? get client’s request set handler: r-\>read\_event\_handle=ngx\_http\_blo…

---

## [Best practice for redefining methods at runtime?](https://www.ruby-forum.com/t/best-practice-for-redefining-methods-at-runtime/197812)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 5\
**Last updated:** [October 21, 2010, 4:24pm UTC](https://www.ruby-forum.com/t/best-practice-for-redefining-methods-at-runtime/197812 "2010-10-21T16:24:08Z")

</div>

I have a class that I would like to “freeze” when it reaches a particular state so that it becomes read-only. I do not want to use the existing #freeze method because it raises an exception when there is an attempted …

---

## [Ventana Emergente con parametros](https://www.ruby-forum.com/t/ventana-emergente-con-parametros/141419)

<div class="topic-metadata">

**Author:** [@aprendiz\_ror](https://www.ruby-forum.com/u/aprendiz_ror)\
**Replies:** 5\
**Last updated:** [July 2, 2008, 7:14pm UTC](https://www.ruby-forum.com/t/ventana-emergente-con-parametros/141419 "2008-07-02T19:14:09Z")

</div>

Buenas, soy novato el ror y ya me he encontrado con muchos problemas debido a esto. tengo algo funcionando pero quisiera mejorarlo. dentro de un controller invoco una ventana emergente o popup, alli en la vista cargo…

---

## [Metodos definidos con simbolos](https://www.ruby-forum.com/t/metodos-definidos-con-simbolos/115923)

<div class="topic-metadata">

**Author:** [@rpcolom](https://www.ruby-forum.com/u/rpcolom)\
**Replies:** 5\
**Last updated:** [September 30, 2007, 11:50pm UTC](https://www.ruby-forum.com/t/metodos-definidos-con-simbolos/115923 "2007-09-30T23:50:38Z")

</div>

Veo que en RoR se usan mucho mÃ©todos que se invocan de esta forma mÃ©todo :s1 =\> valor1, :s2 =\> valor2, etc. por ejemplo Usuario.find( :all, :conditions =\>…) o tambiÃ©n link\_to :action=\>…, :controller =\> … Â¿Como …

---

## [Require on Windows fails](https://www.ruby-forum.com/t/require-on-windows-fails/211656)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [September 9, 2011, 10:37pm UTC](https://www.ruby-forum.com/t/require-on-windows-fails/211656 "2011-09-09T22:37:45Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, A friend of mine tried using RedCloth on Windows as part of a project I introduced hin to, but RedCloth failed to require. This is what he got: ==============…

---

## [Nginx with 33 third-party modules available in FreeBSD ports tree](https://www.ruby-forum.com/t/nginx-with-33-third-party-modules-available-in-freebsd-ports-tree/209365)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [July 13, 2011, 11:25am UTC](https://www.ruby-forum.com/t/nginx-with-33-third-party-modules-available-in-freebsd-ports-tree/209365 "2011-07-13T11:25:17Z")

</div>

Hello. I’m happy to announce that www/nginx and www/nginx-devel ports in FreeBSD ports tree currently supports 33 third-party modules. If you have FreeBSD with ports tree you may just say: $ cd /usr/ports/www/nginx &…

---

## [Cooperate on termination field](https://www.ruby-forum.com/t/cooperate-on-termination-field/163815)

<div class="topic-metadata">

**Author:** [@hkgx](https://www.ruby-forum.com/u/hkgx)\
**Replies:** 2\
**Last updated:** [May 7, 2009, 5:11am UTC](https://www.ruby-forum.com/t/cooperate-on-termination-field/163815 "2009-05-07T05:11:12Z")

</div>

A voip provider.Has nine years experience in VOIP field. We have high quality A-Z routes and high quality direct routes such like China,Korea,HK and so on. We hope to find some partners to cooperate with us on this bu…

---

## [Ruby HTTP GET Headers](https://www.ruby-forum.com/t/ruby-http-get-headers/134413)

<div class="topic-metadata">

**Author:** [@ben](https://www.ruby-forum.com/u/ben)\
**Replies:** 2\
**Last updated:** [April 11, 2008, 12:04pm UTC](https://www.ruby-forum.com/t/ruby-http-get-headers/134413 "2008-04-11T12:04:09Z")

</div>

I’ve looked here: http://snippets.dzone.com/posts/show/788 and I’m not really understanding it. I am creating a client for a website, and I want to set the User-Agent field of the header I am sending. Is there a simpl…

---

## [Strange NoMethodError](https://www.ruby-forum.com/t/strange-nomethoderror/101712)

<div class="topic-metadata">

**Author:** [@Holger\_B](https://www.ruby-forum.com/u/Holger_B)\
**Replies:** 2\
**Last updated:** [August 7, 2006, 8:52pm UTC](https://www.ruby-forum.com/t/strange-nomethoderror/101712 "2006-08-07T20:52:10Z")

</div>

Hi, In the following test script (similar to pickaxe p. 700 ): require ‘net/http’ require ‘uri’ def fetch (uri\_str, limit=10) fail ‘http redirect limit exceeded’ if limit.zero? response = Net::HTTP.get\_response(URI…

---

## [Sending a Zip File as attachment](https://www.ruby-forum.com/t/sending-a-zip-file-as-attachment/217175)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [April 10, 2019, 12:25pm UTC](https://www.ruby-forum.com/t/sending-a-zip-file-as-attachment/217175 "2019-04-10T12:25:55Z")

</div>

require ‘digest/sha1’ require ‘net/smtp’ tfile\_name="/home/praveen/test.zip" toEmail = Array.new toEmail \<\< “1NAME \<removed\_email\_address@domain.invalid\>” fromEmail = “removed\_email\_address@domain.invalid” fromEmai…

---

## [How can I get rspec to generate files with rails g model?](https://www.ruby-forum.com/t/how-can-i-get-rspec-to-generate-files-with-rails-g-model/211754)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [September 13, 2011, 8:13am UTC](https://www.ruby-forum.com/t/how-can-i-get-rspec-to-generate-files-with-rails-g-model/211754 "2011-09-13T08:13:10Z")

</div>

I just added RSpec 2 to a project that has been using test::unit, and I was wondering how to get RSpec to automatically build test files for my models? when I do rails g rspec:model foo, I just get see CREATE spec/m…

---

## [Running "Try RedCloth" locally](https://www.ruby-forum.com/t/running-try-redcloth-locally/188973)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/running-try-redcloth-locally/188973 "2010-06-17T16:22:24Z")

</div>

Hi. Isn’t it possible to download all the necessary files and run “Try RedCloth” ( http://redcloth.org/ ) locally somehow? If not, isn’t there a similar textile editor displaying the textile text ant output side by s…

---

## [Hmm. JRuby -S rake jamming](https://www.ruby-forum.com/t/hmm-jruby-s-rake-jamming/188532)

<div class="topic-metadata">

**Author:** [@Kimberley\_Scott](https://www.ruby-forum.com/u/Kimberley_Scott)\
**Replies:** 7\
**Last updated:** [May 14, 2010, 8:16am UTC](https://www.ruby-forum.com/t/hmm-jruby-s-rake-jamming/188532 "2010-05-14T08:16:39Z")

</div>

Ok. I have a rake task that does a lot of file and numeric calculations. (A lot == Tb’s) I’ve tried numerous command line options such as: jruby -J-Xmn512m -J-Xms2048m -J-Xmx2048m -J-server -S rake --trace \[namespac…

---

## [Mongrel 1.0.3](https://www.ruby-forum.com/t/mongrel-1-0-3/118486)

<div class="topic-metadata">

**Author:** [@alexanderl](https://www.ruby-forum.com/u/alexanderl)\
**Replies:** 7\
**Last updated:** [October 28, 2007, 2:31am UTC](https://www.ruby-forum.com/t/mongrel-1-0-3/118486 "2007-10-28T02:31:52Z")

</div>

Hello! /usr/local/bin/ruby18 /usr/local/bin/mongrel\_rails start -d -e development -a 10.164.28.7 -c /var/www/data/site/ --user root --group wheel -p 8080 -P log/mongrel.8080.pid -l log/mongrel.8080.log Mongrel 1.0.1: …

---

## [Please help me with OptionParser](https://www.ruby-forum.com/t/please-help-me-with-optionparser/105236)

<div class="topic-metadata">

**Author:** [@Christopher\_JSBott](https://www.ruby-forum.com/u/Christopher_JSBott)\
**Replies:** 7\
**Last updated:** [May 28, 2007, 10:42am UTC](https://www.ruby-forum.com/t/please-help-me-with-optionparser/105236 "2007-05-28T10:42:02Z")

</div>

Here’s the pastebin of this post if you prefer looking at formatted source: http://pastebin.ca/514353 Ok, I’m having a multitude of problems with OptionParser. First, I can’t get it to work following the online docu…

---

## [Override Time#to\_s -- how?](https://www.ruby-forum.com/t/override-time-to-s-how/73361)

<div class="topic-metadata">

**Author:** [@blacknight](https://www.ruby-forum.com/u/blacknight)\
**Replies:** 7\
**Last updated:** [October 24, 2006, 10:17am UTC](https://www.ruby-forum.com/t/override-time-to-s-how/73361 "2006-10-24T10:17:00Z")

</div>

Hey everyone, I’d like to override the Time#to\_s function to parse Time objects a specific way – how can I do this from within my script? (Without modifying the Time class itself) Thanks, Ben

---

## [ActionMailer with SMTP or Sendmail](https://www.ruby-forum.com/t/actionmailer-with-smtp-or-sendmail/205970)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 11, 2012, 5:39pm UTC](https://www.ruby-forum.com/t/actionmailer-with-smtp-or-sendmail/205970 "2012-01-11T17:39:34Z")

</div>

I’m deploying a JRuby 1.6.1 app with Rails 3. I’m using a very basic ActionMailer setup. I’m having one heck of a time getting a mail sent. I’ve tried straight SMTP but I just get errors saying that AUTH type ‘PLAIN’ …

---

## [Argument error in controller # show](https://www.ruby-forum.com/t/argument-error-in-controller-show/199071)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [November 15, 2010, 10:14pm UTC](https://www.ruby-forum.com/t/argument-error-in-controller-show/199071 "2010-11-15T22:14:54Z")

</div>

I’m a beginner in rails (ruby as well)and i’m using a book to help me learn about rails (HF rails).Let’s start with my spec : -i’m using radrails v.2 in aptana studio -ruby ver. 1.8.7 && ruby gems 1.3.7,with rails 2.3…

---

## [Range of hex values?](https://www.ruby-forum.com/t/range-of-hex-values/198359)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [October 31, 2010, 2:29pm UTC](https://www.ruby-forum.com/t/range-of-hex-values/198359 "2010-10-31T14:29:34Z")

</div>

Hello, In 1.8.\[67\] the following range does not produce what I expected: ("\\x00"…"\\x7F").to\_a It only produces the characters between \\x00 and \\x39, while in 1.9.\[12\] it produces the full expected range. I’m curious…

---

## [Problem with new Passenger Module and rewrite rules](https://www.ruby-forum.com/t/problem-with-new-passenger-module-and-rewrite-rules/166709)

<div class="topic-metadata">

**Author:** [@solars](https://www.ruby-forum.com/u/solars)\
**Replies:** 4\
**Last updated:** [August 18, 2009, 12:42pm UTC](https://www.ruby-forum.com/t/problem-with-new-passenger-module-and-rewrite-rules/166709 "2009-08-18T12:42:18Z")

</div>

Hi, I’ve got a problem, I’m trying to get the new nginx passenger module (phusion.nl) to work with some rewrite rules. The cache files for a multisite app (mephisto) are located in /cache/domain.tld/ I want to rewri…

---

## [Windows : Retrive Quick Launch toolbar items](https://www.ruby-forum.com/t/windows-retrive-quick-launch-toolbar-items/163624)

<div class="topic-metadata">

**Author:** [@ak3003](https://www.ruby-forum.com/u/ak3003)\
**Replies:** 4\
**Last updated:** [March 24, 2009, 5:26am UTC](https://www.ruby-forum.com/t/windows-retrive-quick-launch-toolbar-items/163624 "2009-03-24T05:26:17Z")

</div>

How can I get Quick Launch toolbar items, present in the explorer/ desktop area? (Where you can see “Show Desktop” menu item) Regards, –AK

---

## [Opengl Tk widget for Ruby?](https://www.ruby-forum.com/t/opengl-tk-widget-for-ruby/68366)

<div class="topic-metadata">

**Author:** [@mpthompson\_at\_gmail](https://www.ruby-forum.com/u/mpthompson_at_gmail)\
**Replies:** 4\
**Last updated:** [September 21, 2006, 6:46am UTC](https://www.ruby-forum.com/t/opengl-tk-widget-for-ruby/68366 "2006-09-21T06:46:41Z")

</div>

I’m would like to create a unified Ruby on Windows XP that will combine user interface elements of Ruby/Tk and OpenGL. Using Google I’ve seen several year old references to a Togl Tk widget that seemed to wrap OpenGL…

---

## [Var = nil if false; p var.nil? #=\> true | bug of the day?](https://www.ruby-forum.com/t/var-nil-if-false-p-var-nil-true-bug-of-the-day/134474)

<div class="topic-metadata">

**Author:** [@Arie\_Kusuma\_A](https://www.ruby-forum.com/u/Arie_Kusuma_A)\
**Replies:** 6\
**Last updated:** [April 11, 2008, 12:53pm UTC](https://www.ruby-forum.com/t/var-nil-if-false-p-var-nil-true-bug-of-the-day/134474 "2008-04-11T12:53:27Z")

</div>

I tested it using Ruby 1.8.6 patch 111 and also Ruby 1.9.0 (revision 15968). var = nil if false var.nil? #=\> true I actually saw it from tobi’s blog, then I discussed with a perler who loves ruby as well, here’s a c…

---

## [HTTP client to post XML RAW\_DATA to restful API](https://www.ruby-forum.com/t/http-client-to-post-xml-raw-data-to-restful-api/195077)

<div class="topic-metadata">

**Author:** [@cnicolaou](https://www.ruby-forum.com/u/cnicolaou)\
**Replies:** 3\
**Last updated:** [September 17, 2010, 9:23am UTC](https://www.ruby-forum.com/t/http-client-to-post-xml-raw-data-to-restful-api/195077 "2010-09-17T09:23:19Z")

</div>

Hey I am trying to find out how to send an XML in string as RAW\_DATA to a RESTful API. I found out a couple of libraries (Nestful, Restfulclient, curb) but wasn’t able to send the content properly as you’d send it fr…

---

## [IronRuby + Mono 2.6.3](https://www.ruby-forum.com/t/ironruby-mono-2-6-3/186518)

<div class="topic-metadata">

**Author:** [@Zachary\_Brown](https://www.ruby-forum.com/u/Zachary_Brown)\
**Replies:** 3\
**Last updated:** [April 16, 2010, 12:10pm UTC](https://www.ruby-forum.com/t/ironruby-mono-2-6-3/186518 "2010-04-16T12:10:40Z")

</div>

Hi again :slight\_smile: Trying to build IR on Mono 2.6.3 on my Macbook (10.6.3). Followed basic instructions and get it to start building but I’m running into the following error on both CasualJim’s Linux branch as we…

---

## [Two issues using GridBagSizer](https://www.ruby-forum.com/t/two-issues-using-gridbagsizer/147513)

<div class="topic-metadata">

**Author:** [@carluva](https://www.ruby-forum.com/u/carluva)\
**Replies:** 3\
**Last updated:** [September 2, 2008, 6:47pm UTC](https://www.ruby-forum.com/t/two-issues-using-gridbagsizer/147513 "2008-09-02T18:47:39Z")

</div>

I am having a couple of issues with sizing objects using GridBagSizer. The first is that the GridBagSizer itself isn’t expanding to fill the area available to it. For reasons that will be more clear when I get to the…

---

## [About matlab and Gnuradio](https://www.ruby-forum.com/t/about-matlab-and-gnuradio/239743)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [March 13, 2014, 2:44am UTC](https://www.ruby-forum.com/t/about-matlab-and-gnuradio/239743 "2014-03-13T02:44:16Z")

</div>

Dear All, I have a general questions about matlab and GNUradio. Both of them are support USRP N210, but i want to ask what is the strength of each other? I guess matlab delays more than gnuradio, and has less open cod…

---

## [Deploy with Capistrano. Bundle install freezes indefinetly](https://www.ruby-forum.com/t/deploy-with-capistrano-bundle-install-freezes-indefinetly/227082)

<div class="topic-metadata">

**Author:** [@LuisRuby](https://www.ruby-forum.com/u/LuisRuby)\
**Replies:** 1\
**Last updated:** [March 4, 2013, 9:23am UTC](https://www.ruby-forum.com/t/deploy-with-capistrano-bundle-install-freezes-indefinetly/227082 "2013-03-04T09:23:40Z")

</div>

I am fighting with this for 5 days… i’m getting crazy! Here is my deploy.rb: require “bundler/capistrano” require “rvm/capistrano” # Load RVM’s capistrano plugin. set :rvm\_ruby\_string, :local # Or…

---

## [ActiveRecord accepts\_nested\_attributes\_for problem](https://www.ruby-forum.com/t/activerecord-accepts-nested-attributes-for-problem/225395)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [January 15, 2013, 11:50am UTC](https://www.ruby-forum.com/t/activerecord-accepts-nested-attributes-for-problem/225395 "2013-01-15T11:50:00Z")

</div>

I’m in this case: class Man \< ActiveRecord::Base has\_many :eyes accepts\_nested\_attributes\_for :eyes end class Eye \< ActiveRecord::Base belongs\_to :man validates\_inclusion\_of :color, in: { %w\[brown green blue\] } e…

---

## [Rake task with variable arguments](https://www.ruby-forum.com/t/rake-task-with-variable-arguments/186188)

<div class="topic-metadata">

**Author:** [@glenn\_nz](https://www.ruby-forum.com/u/glenn_nz)\
**Replies:** 1\
**Last updated:** [November 22, 2012, 7:26pm UTC](https://www.ruby-forum.com/t/rake-task-with-variable-arguments/186188 "2012-11-22T19:26:34Z")

</div>

Hi, I want to create a Rails rake task that can accept a varying number of arguments. Ideally, I’d like the arguments to be optional, and I’d also like to be able to specify 1 or more. So, if I have the rake task my…

---

## [ERROR - libwx\_gtk2u\_media-2.8.so.0: cannot open shared object file](https://www.ruby-forum.com/t/error-libwx-gtk2u-media-2-8-so-0-cannot-open-shared-object-file/213313)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [October 30, 2011, 10:33am UTC](https://www.ruby-forum.com/t/error-libwx-gtk2u-media-2-8-so-0-cannot-open-shared-object-file/213313 "2011-10-30T10:33:05Z")

</div>

Hi all, I’ve been working with wxruby for a while with an Ubuntu 10.04 environment mounted with VMWare over Windows. Now, I’m trying to set it up in a new environment. It’s Ubuntu 11.04, using RVM with both ruby 1.…

---

## [Accept\_filter being ignored](https://www.ruby-forum.com/t/accept-filter-being-ignored/244092)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [February 19, 2016, 12:45pm UTC](https://www.ruby-forum.com/t/accept-filter-being-ignored/244092 "2016-02-19T12:45:05Z")

</div>

Hello, Not sure if I should be directing this to a FreeBSD list or here, but here goes. I have set accept\_filter= in listen directives: server { listen 80 accept\_filter=http\_ready; listen \[::\]:80 accept\_filter=http…

---

## [Rails color picker?](https://www.ruby-forum.com/t/rails-color-picker/121636)

<div class="topic-metadata">

**Author:** [@avramd](https://www.ruby-forum.com/u/avramd)\
**Replies:** 2\
**Last updated:** [November 29, 2007, 4:45pm UTC](https://www.ruby-forum.com/t/rails-color-picker/121636 "2007-11-29T16:45:22Z")

</div>

Hello, Is there a color picker somewhere that is integrated with rails? Specifically a I’m hoping for a full 24-bit picker with sliders, etc, that can interact with rails objects, such as updating a form that rails h…

---

## [Mercury editor not saving default values](https://www.ruby-forum.com/t/mercury-editor-not-saving-default-values/234452)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 8\
**Last updated:** [March 8, 2015, 5:19pm UTC](https://www.ruby-forum.com/t/mercury-editor-not-saving-default-values/234452 "2015-03-08T17:19:04Z")

</div>

Need some help regarding mercury editor in rails. I followed following tutorial to use mercury editor in my app goo.gl/q960Ka In above tutorial they wrote following lines in migration file before doing rake db:migrat…

---

## [Locking TopBlock stops WavFile-Sink](https://www.ruby-forum.com/t/locking-topblock-stops-wavfile-sink/233703)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 8\
**Last updated:** [January 8, 2015, 3:51am UTC](https://www.ruby-forum.com/t/locking-topblock-stops-wavfile-sink/233703 "2015-01-08T03:51:29Z")

</div>

It looks like there is an issue where locking/unlocking the TopBlock causes WavFile-Sink to stop recording. A plain File-Sink does not have this problem. This problem is new to 3.7 and didn’t exist in 3.6. Is this the…

---

## [Devise e https: un dubbio](https://www.ruby-forum.com/t/devise-e-https-un-dubbio/223009)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 8\
**Last updated:** [September 19, 2012, 10:02am UTC](https://www.ruby-forum.com/t/devise-e-https-un-dubbio/223009 "2012-09-19T10:02:28Z")

</div>

Qui si dice che per utilizzare https con devise bisogna inserire nel file production.rb i seguenti parametri: #in config/environments/production.rb config.to\_prepare { Devise::SessionsController.force\_ssl } config.…

---

## [Created\_at, updated\_at and MSSQL](https://www.ruby-forum.com/t/created-at-updated-at-and-mssql/200503)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 8\
**Last updated:** [December 14, 2010, 5:55pm UTC](https://www.ruby-forum.com/t/created-at-updated-at-and-mssql/200503 "2010-12-14T17:55:35Z")

</div>

Hello, I am running into a little issue. There is a considerable time difference between the time that the console is giving me and the time I am seeing in the created\_at and updated\_at column in the DB. The differen…

---

## [Ruby Install Problem Fedora 7](https://www.ruby-forum.com/t/ruby-install-problem-fedora-7/114572)

<div class="topic-metadata">

**Author:** [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Replies:** 8\
**Last updated:** [November 8, 2007, 7:43pm UTC](https://www.ruby-forum.com/t/ruby-install-problem-fedora-7/114572 "2007-11-08T19:43:05Z")

</div>

Hi, I’m a total newbie on Ruby/Rails and Linux, and have recently installed Fedora 7 as a VM (WMWare Fusion On Mac OS X). I’ve been trying to install ruby, rails etc but I’ve hit a brick wall and cant get over!!! bas…

---

## [Output operand requires a reduction, but reduction is not enabled](https://www.ruby-forum.com/t/output-operand-requires-a-reduction-but-reduction-is-not-enabled/239714)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 5\
**Last updated:** [March 28, 2014, 12:38pm UTC](https://www.ruby-forum.com/t/output-operand-requires-a-reduction-but-reduction-is-not-enabled/239714 "2014-03-28T12:38:24Z")

</div>

Thanks Martin, this is clear and makes sense. I should have read the numpy data types more thoroughly and worked it out. Anyway… My collaborators are writing their Wireless Network Coding bits in Python. Once I get th…

---

## [Telnet by socket](https://www.ruby-forum.com/t/telnet-by-socket/223621)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 5\
**Last updated:** [October 13, 2012, 3:19pm UTC](https://www.ruby-forum.com/t/telnet-by-socket/223621 "2012-10-13T15:19:39Z")

</div>

Hi i am trying to telnet by ruby… i went through google. but i am bit confused. so i need bit help require ‘socket’ host = ‘localhost’ port = 5555 socket = TCPSocket.open(host,port) send = socket.send(“recover BD…

---

## [PPS + timestamps used in Python?](https://www.ruby-forum.com/t/pps-timestamps-used-in-python/212727)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [November 22, 2011, 9:14pm UTC](https://www.ruby-forum.com/t/pps-timestamps-used-in-python/212727 "2011-11-22T21:14:28Z")

</div>

Dear all I suppose to use GNURadio on USRP N200 + UHD to build a transmitter synchronized with another device used as a receiver via GPS. As posted on UHD website, PPS signal feeding in USRP N200 could be used for ti…

---

## [How to examine dependencies of previous gems](https://www.ruby-forum.com/t/how-to-examine-dependencies-of-previous-gems/174960)

<div class="topic-metadata">

**Author:** [@sherwin](https://www.ruby-forum.com/u/sherwin)\
**Replies:** 5\
**Last updated:** [September 4, 2009, 7:55pm UTC](https://www.ruby-forum.com/t/how-to-examine-dependencies-of-previous-gems/174960 "2009-09-04T19:55:54Z")

</div>

Hi, I am trying to see if there are any differences in the dependencies for a specific gem between different releases. For example: sherwin-mac{198}% gem -v 1.3.4 sherwin-mac{199}% gem dep -r mongrel -v 1.1.5 Gem …

---

## [Aprire un file.rb in irb](https://www.ruby-forum.com/t/aprire-un-file-rb-in-irb/140860)

<div class="topic-metadata">

**Author:** [@rasitux](https://www.ruby-forum.com/u/rasitux)\
**Replies:** 5\
**Last updated:** [June 19, 2008, 2:56pm UTC](https://www.ruby-forum.com/t/aprire-un-file-rb-in-irb/140860 "2008-06-19T14:56:32Z")

</div>

come si fa ad aprire un file.rb in irb? oppure dentro un altro programma .rb? grazie stefano rasi

---

## [Como cambiar el idioma de los errores autogenerados](https://www.ruby-forum.com/t/como-cambiar-el-idioma-de-los-errores-autogenerados/105950)

<div class="topic-metadata">

**Author:** [@warmen](https://www.ruby-forum.com/u/warmen)\
**Replies:** 5\
**Last updated:** [June 6, 2007, 9:13am UTC](https://www.ruby-forum.com/t/como-cambiar-el-idioma-de-los-errores-autogenerados/105950 "2007-06-06T09:13:16Z")

</div>

Hola a todos, me gustaria saber como cambiar el idioma de los errores que se generan los validadores automaticamente. Ej: validates\_presence\_of :name Genera un recuadro que dice algo asi 1 errors prohibited this cli…

---

## [Api.rubyonrails.org previous versions?](https://www.ruby-forum.com/t/api-rubyonrails-org-previous-versions/221373)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [July 26, 2014, 4:15pm UTC](https://www.ruby-forum.com/t/api-rubyonrails-org-previous-versions/221373 "2014-07-26T16:15:27Z")

</div>

First, let me say that api.rubyonrails.org is awesome. Whoever is hosting it - thank you. It blows all the other api tools out of the water in terms of usability. Yay! That said, how come Ruby on Rails API doesn’…

---

## [ActiveRecord - find MySQL connection/thread ID for query](https://www.ruby-forum.com/t/activerecord-find-mysql-connection-thread-id-for-query/192638)

<div class="topic-metadata">

**Author:** [@MichaSSSSl](https://www.ruby-forum.com/u/MichaSSSSl)\
**Replies:** 4\
**Last updated:** [August 3, 2010, 5:35pm UTC](https://www.ruby-forum.com/t/activerecord-find-mysql-connection-thread-id-for-query/192638 "2010-08-03T17:35:03Z")

</div>

Hi, Is it possible, when using a find method with a Model, to record the MySQL thread ID for the subsequent database query? Does ActiveRecord expose this? Many thanks, Michaël

---

## [Day of week but stored as number in the DB](https://www.ruby-forum.com/t/day-of-week-but-stored-as-number-in-the-db/145947)

<div class="topic-metadata">

**Author:** [@ratcheer](https://www.ruby-forum.com/u/ratcheer)\
**Replies:** 3\
**Last updated:** [August 15, 2008, 7:06pm UTC](https://www.ruby-forum.com/t/day-of-week-but-stored-as-number-in-the-db/145947 "2008-08-15T19:06:53Z")

</div>

Hi, I have a ‘day’ column in one of my models. This is stored in the DB as an integer value 1…7. I want this field to appear as a string whenever it appears in a view e.g. if the DB has stored 1 I want the view to …

---

## [Loading tinyMCE via Ajax](https://www.ruby-forum.com/t/loading-tinymce-via-ajax/144820)

<div class="topic-metadata">

**Author:** [@adam](https://www.ruby-forum.com/u/adam)\
**Replies:** 3\
**Last updated:** [August 10, 2008, 1:58am UTC](https://www.ruby-forum.com/t/loading-tinymce-via-ajax/144820 "2008-08-10T01:58:16Z")

</div>

Hi all, I’m trying to use a tinyMCE text editor in my Rails app and am having some problems. I’m trying to load a tinyMCE-enabled form dynamically as the result of an Ajax call, i.e. I want to insert the form into a …

---

## [RoR API Firefox search plugin](https://www.ruby-forum.com/t/ror-api-firefox-search-plugin/59601)

<div class="topic-metadata">

**Author:** [@IvSSSSn\_Vega\_R](https://www.ruby-forum.com/u/IvSSSSn_Vega_R)\
**Replies:** 6\
**Last updated:** [January 7, 2006, 3:10am UTC](https://www.ruby-forum.com/t/ror-api-firefox-search-plugin/59601 "2006-01-07T03:10:53Z")

</div>

Hi, Lately I’ve been visiting the RoR API site quite often, so I modified a Firefox search plugin to make searches to it (with Google). So here I post it in case someone finds it useful: Save that as a .src f…

---

## [Playing raw PCM files in ruby](https://www.ruby-forum.com/t/playing-raw-pcm-files-in-ruby/194071)

<div class="topic-metadata">

**Author:** [@boothy](https://www.ruby-forum.com/u/boothy)\
**Replies:** 6\
**Last updated:** [August 31, 2010, 12:56am UTC](https://www.ruby-forum.com/t/playing-raw-pcm-files-in-ruby/194071 "2010-08-31T00:56:09Z")

</div>

Hello everyone, I am trying to play the music from the old game “Ascendancy” using Ruby, the files are 8-bit unsigned raw PCM files at 22 khz. I thought about using SDL for playing them, but I can’t seem to find any w…

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

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