# Latest

**URL:** https://www.ruby-forum.com/latest.md?page=550

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

---

## [Trying to create a titleize method manually](https://www.ruby-forum.com/t/trying-to-create-a-titleize-method-manually/246085)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 28\
**Last updated:** [August 30, 2013, 8:14pm UTC](https://www.ruby-forum.com/t/trying-to-create-a-titleize-method-manually/246085 "2013-08-30T20:14:03Z")

</div>

I have been trying to create a titleize method that takes a variable string and puts that string in titlecase, not capitalizing all the little words. This is what I have so far: def titleize(x) "#{x.split.each{|x| x…

---

## [Torquebox](https://www.ruby-forum.com/t/torquebox/236385)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 13\
**Last updated:** [August 30, 2013, 7:22pm UTC](https://www.ruby-forum.com/t/torquebox/236385 "2013-08-30T19:22:04Z")

</div>

Ciao a tutte/i, qualcuno che abbia avuto esperienze con Torquebox, magari con un’app Rails 2 che girava su Ruby Enterprise Edition? Io ho provato a portarne una, ma mi sto scontrando con continui problemi di Incomp…

---

## [OpenSSL – Prefer Server Ciphers](https://www.ruby-forum.com/t/openssl-prefer-server-ciphers/236392)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 30, 2013, 7:07pm UTC](https://www.ruby-forum.com/t/openssl-prefer-server-ciphers/236392 "2013-08-30T19:07:50Z")

</div>

I’ve got a running OpenSSL::SSL::SSLServer. But even when I define the ciphers with an SSLContext, the clients can still choose their own cipher, as the server will follow their preferences. Does someone know how to e…

---

## [Md2man 2.0.1 - markdown to manpage](https://www.ruby-forum.com/t/md2man-2-0-1-markdown-to-manpage/236390)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 30, 2013, 7:03pm UTC](https://www.ruby-forum.com/t/md2man-2-0-1-markdown-to-manpage/236390 "2013-08-30T19:03:56Z")

</div>

md2man is a Ruby library and command-line program that converts Markdown documents into UNIX manual pages (both Roff and HTML). Demonstration of HTML manual page output from md2man-html(1): http://snk.tuxfamily.org…

---

## [Mime-types 1.25 Released](https://www.ruby-forum.com/t/mime-types-1-25-released/236391)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 30, 2013, 6:34pm UTC](https://www.ruby-forum.com/t/mime-types-1-25-released/236391 "2013-08-30T18:34:08Z")

</div>

mime-types version 1.25 has been released! home: http://mime-types.rubyforge.org/ code: https://github.com/halostatue/mime-types/ bugs: https://github.com/halostatue/mime-types/issues rdoc: http://mime-types.rubyfor…

---

## [Wx gui FFT sink missing peaks](https://www.ruby-forum.com/t/wx-gui-fft-sink-missing-peaks/236389)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 30, 2013, 6:25pm UTC](https://www.ruby-forum.com/t/wx-gui-fft-sink-missing-peaks/236389 "2013-08-30T18:25:20Z")

</div>

Hi all, i am for a long time experiencing (possible) problem with wx gui FFT sink. Namely, i have receiver implemented in usrp1 and transmitter which sends signal regularly every minute. I receive corect packets and …

---

## [Gnuradio on ARM](https://www.ruby-forum.com/t/gnuradio-on-arm/227675)

<div class="topic-metadata">

**Author:** [@Sid\_B](https://www.ruby-forum.com/u/Sid_B)\
**Replies:** 13\
**Last updated:** [August 30, 2013, 4:54pm UTC](https://www.ruby-forum.com/t/gnuradio-on-arm/227675 "2013-08-30T16:54:11Z")

</div>

I don’t know if anyone has attempted it but I thought I’d have a go on Ubuntu 12.10 on an ODROID-X. Main problem it reports is a known bad version of boost that prohibits it building gnuradio-core and other components…

---

## [Weird behaviour using ssl connection (OpenSSL::SSL::SSLError)](https://www.ruby-forum.com/t/weird-behaviour-using-ssl-connection-openssl-sslerror/236364)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [August 30, 2013, 4:14pm UTC](https://www.ruby-forum.com/t/weird-behaviour-using-ssl-connection-openssl-sslerror/236364 "2013-08-30T16:14:47Z")

</div>

Hi guys when I execute the piece of code bellow on RoR console it works fine: url = URI.parse(“https://us1.api.mailchimp.com/2.0/helper/ping”) request = Net::HTTP::Post.new(url.path) http = Net::HTTP.new(url.host, ur…

---

## [Frozen? is defined by ActiveRecord](https://www.ruby-forum.com/t/frozen-is-defined-by-activerecord/246131)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [August 30, 2013, 3:25pm UTC](https://www.ruby-forum.com/t/frozen-is-defined-by-activerecord/246131 "2013-08-30T15:25:19Z")

</div>

Hello folks I got that error Pls tell me what’s wrong frozen? is defined by ActiveRecord

---

## [MacPorts GNU Radio Changes](https://www.ruby-forum.com/t/macports-gnu-radio-changes/246108)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 30, 2013, 3:15pm UTC](https://www.ruby-forum.com/t/macports-gnu-radio-changes/246108 "2013-08-30T15:15:24Z")

</div>

As of about 2:30 PM/US/ET today, the MacPorts gnuradio ports should work again with wx. Do {{{ sudo port selfupdate }}} to get the latest MacPorts install and port info. Do {{{ port outdated }}} to see what has ch…

---

## [SQLite3::BusyException: database is locked error](https://www.ruby-forum.com/t/sqlite3-database-is-locked-error/236386)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 30, 2013, 2:52pm UTC](https://www.ruby-forum.com/t/sqlite3-database-is-locked-error/236386 "2013-08-30T14:52:03Z")

</div>

Hi guys, I have a simply ruby script which creates database and creates one table however when i try to run i get SQLite3::BusyException: database is locked error all the time. Database is being created but script ca…

---

## [Puma fails when it restarts itself](https://www.ruby-forum.com/t/puma-fails-when-it-restarts-itself/236369)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [August 30, 2013, 2:49pm UTC](https://www.ruby-forum.com/t/puma-fails-when-it-restarts-itself/236369 "2013-08-30T14:49:05Z")

</div>

I’m having an issue with Puma, it fails when it tries to restart itself. When this happens it kills all the Puma processes, resulting in nginx delivering a 502 Bad Gateway to our users. I’m able to start, stop & resta…

---

## [How to retrieve an aray of only specific attributes in rails 2.3](https://www.ruby-forum.com/t/how-to-retrieve-an-aray-of-only-specific-attributes-in-rails-2-3/246136)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [August 30, 2013, 2:30pm UTC](https://www.ruby-forum.com/t/how-to-retrieve-an-aray-of-only-specific-attributes-in-rails-2-3/246136 "2013-08-30T14:30:54Z")

</div>

I have a scenario where I need to retrieve an array of specific attributes from a table. I have a TransportAttendanceBlock table. In the table I have blocked(boolean) and blocked\_date attributes. From a controller I a…

---

## [No output in my file \`out.txt\`,after finishing the script](https://www.ruby-forum.com/t/no-output-in-my-file-out-txt-after-finishing-the-script/236384)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 9\
**Last updated:** [August 30, 2013, 1:49pm UTC](https://www.ruby-forum.com/t/no-output-in-my-file-out-txt-after-finishing-the-script/236384 "2013-08-30T13:49:46Z")

</div>

Hi, I wrote the below code: need\_lines = File.readlines(“C:/Documents and Settings/rakshiar/My Documents/Downloads/prod\_bck\_up.xml”)\[1000…1012\] File.open(“C:/Documents and Settings/rakshiar/My Documents/Downloads/ou…

---

## [Why is the behaviour of ActiveRecord method\_missing different between rails 3.2 and 4.0?](https://www.ruby-forum.com/t/why-is-the-behaviour-of-activerecord-method-missing-different-between-rails-3-2-and-4-0/246103)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [August 30, 2013, 1:48pm UTC](https://www.ruby-forum.com/t/why-is-the-behaviour-of-activerecord-method-missing-different-between-rails-3-2-and-4-0/246103 "2013-08-30T13:48:19Z")

</div>

I have been working on updating a rails application to 4.0 and spent some time getting to the bottom of why it wasn’t working. What I found was, if a model has a method\_missing definition then it is called instead of…

---

## [Build old versions of GNU Radio with Script](https://www.ruby-forum.com/t/build-old-versions-of-gnu-radio-with-script/236387)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 30, 2013, 1:12pm UTC](https://www.ruby-forum.com/t/build-old-versions-of-gnu-radio-with-script/236387 "2013-08-30T13:12:43Z")

</div>

Hello everybody, I would like to set up an older version of GNU Radio (3.4) using Marcus’ script. Somehow the -gt flag does not work for me - the script always says it was not able to fetch the specified version of GN…

---

## [Server\_Name regular expression](https://www.ruby-forum.com/t/server-name-regular-expression/236359)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [August 30, 2013, 12:35pm UTC](https://www.ruby-forum.com/t/server-name-regular-expression/236359 "2013-08-30T12:35:52Z")

</div>

I would like to syntax a regular expression which will match two server names. The server names are example.com and www.example.com. In particular, a regular expression for www or nothing I wrote the following regula…

---

## [Nginx-1.5.4](https://www.ruby-forum.com/t/nginx-1-5-4/236338)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 30, 2013, 11:05am UTC](https://www.ruby-forum.com/t/nginx-1-5-4/236338 "2013-08-30T11:05:53Z")

</div>

Changes with nginx 1.5.4 27 Aug 2013 \*) Change: the "js" extension MIME type has been changed to "application/javascript"; default value of the "charset\_types" directive wa…

---

## [Cyclic Prefixer Rolloff Samples](https://www.ruby-forum.com/t/cyclic-prefixer-rolloff-samples/246060)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [August 30, 2013, 11:02am UTC](https://www.ruby-forum.com/t/cyclic-prefixer-rolloff-samples/246060 "2013-08-30T11:02:57Z")

</div>

Hi, I wonder why the OFDM Cyclic Prefixer uses the samples at the beginning of the symbol to calculate the roll off. I would have expected that the samples from the end of the previous symbol are used. So something li…

---

## [Insert row in one table and after save I want that Id in another table to be saved](https://www.ruby-forum.com/t/insert-row-in-one-table-and-after-save-i-want-that-id-in-another-table-to-be-saved/236380)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 30, 2013, 10:15am UTC](https://www.ruby-forum.com/t/insert-row-in-one-table-and-after-save-i-want-that-id-in-another-table-to-be-saved/236380 "2013-08-30T10:15:03Z")

</div>

Hi all There is a scenario with 2 tables. I will insert the one row in table 1 and after I save my row in table one I want that Id to be saved in another table immediately how to approach this scenario. kindly hel…

---

## [Duplicate extensions not allowed (OpenSSL::SSL::SSLError)](https://www.ruby-forum.com/t/duplicate-extensions-not-allowed-openssl-sslerror/246098)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [August 30, 2013, 9:50am UTC](https://www.ruby-forum.com/t/duplicate-extensions-not-allowed-openssl-sslerror/246098 "2013-08-30T09:50:31Z")

</div>

Does anyone know how to resolve this issue? I’m getting it with the excon gem and ruby 1.7.4 #\<Excon::Errors::SocketError: problem creating X509 Aux certificate: java.io.IOException: problem parsing cert: java.securi…

---

## [Inexplicable superclass mismatch](https://www.ruby-forum.com/t/inexplicable-superclass-mismatch/236357)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 7\
**Last updated:** [August 30, 2013, 8:52am UTC](https://www.ruby-forum.com/t/inexplicable-superclass-mismatch/236357 "2013-08-30T08:52:05Z")

</div>

This is in a Rails project, though this is more a generic Ruby question. I have a “superclass mismatch” error in my project that I can’t explain. Probably a class is being loaded twice, which is wrong but still should …

---

## [\[ANN\] AR-JDBC 1.3.0 released!](https://www.ruby-forum.com/t/ann-ar-jdbc-1-3-0-released/246139)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [August 30, 2013, 8:47am UTC](https://www.ruby-forum.com/t/ann-ar-jdbc-1-3-0-released/246139 "2013-08-30T08:47:24Z")

</div>

Greetings JRuby-ist! The final frontier of AR-JDBC 1.3.0 is (finally) here … The release was originally planned for http://2013.jrubyconf.eu but got delayed once again (blame @j2h :). I’d like to take the opportunity…

---

## [Strange bug : can someone explain this](https://www.ruby-forum.com/t/strange-bug-can-someone-explain-this/236370)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [August 30, 2013, 7:48am UTC](https://www.ruby-forum.com/t/strange-bug-can-someone-explain-this/236370 "2013-08-30T07:48:59Z")

</div>

ruby 1.9.3-p429 This happens on Windows, I do not know for other platforms. It seems ruby can load files twice, by capitalizing file names. For instance : irb(main):001:0\> require ‘set’ =\> true # loaded irb(main):0…

---

## [Need a bit help on "module\_function" method](https://www.ruby-forum.com/t/need-a-bit-help-on-module-function-method/236368)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 30, 2013, 7:39am UTC](https://www.ruby-forum.com/t/need-a-bit-help-on-module-function-method/236368 "2013-08-30T07:39:38Z")

</div>

The documentation is very straight forward and the mentioned example also cleared all the lines except the one mentioned inside \*\*. Creates module functions for the named methods. These functions may be called with …

---

## [Minitest\_tu\_shim 1.3.3 Released](https://www.ruby-forum.com/t/minitest-tu-shim-1-3-3-released/236376)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [August 30, 2013, 4:41am UTC](https://www.ruby-forum.com/t/minitest-tu-shim-1-3-3-released/236376 "2013-08-30T04:41:24Z")

</div>

minitest\_tu\_shim version 1.3.3 has been released! http://rubyforge.org/projects/bfts minitest\_tu\_shim bridges the gap between the small and fast minitest and ruby’s huge and slow test/unit. Changes: 1.3.3 / 2013-0…

---

## [Visual ruby rocks!](https://www.ruby-forum.com/t/visual-ruby-rocks/236377)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 30, 2013, 12:11am UTC](https://www.ruby-forum.com/t/visual-ruby-rocks/236377 "2013-08-30T00:11:58Z")

</div>

Holy man! This actually works! I feel seriously lucky. Great job Eric. A

---

## [RIA4: Having an issue with my sign\_in\_as! helper method I've defined in my integration tests](https://www.ruby-forum.com/t/ria4-having-an-issue-with-my-sign-in-as-helper-method-ive-defined-in-my-integration-tests/236375)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 30, 2013, 12:07am UTC](https://www.ruby-forum.com/t/ria4-having-an-issue-with-my-sign-in-as-helper-method-ive-defined-in-my-integration-tests/236375 "2013-08-30T00:07:58Z")

</div>

I’m having a frustrating issue where my sign\_in\_as! helper will not fill out the password in my seeds\_spec test. However all other integration tests using the helper still pass which is very confusing for me. I put a…

---

## [Where is the code that lets you override the templates that the generators use?](https://www.ruby-forum.com/t/where-is-the-code-that-lets-you-override-the-templates-that-the-generators-use/236374)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 30, 2013, 12:07am UTC](https://www.ruby-forum.com/t/where-is-the-code-that-lets-you-override-the-templates-that-the-generators-use/236374 "2013-08-30T00:07:57Z")

</div>

In the rails documentation, it states that: In Rails 3.0 and above, generators don’t just look in the source root for templates, they also search for templates in other paths. And one of them is lib/templates. Since…

---

## [Error layout](https://www.ruby-forum.com/t/error-layout/236372)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 29, 2013, 11:02pm UTC](https://www.ruby-forum.com/t/error-layout/236372 "2013-08-29T23:02:30Z")

</div>

Hi all, I have created a form to insert new records (see “Selección\_001.png”) with two mandatory fields (“name” and “surname”) but if I try to insert a blank record (so it is invalid) I get the two errors (that is cor…

[Previous page](https://www.ruby-forum.com/latest.md?page=549)

[Next page](https://www.ruby-forum.com/latest.md?page=551)
