# Latest

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

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

---

## [CentOS Nginx Installer(include PHP-FTP, MYSQL) add website no need restart Nginx](https://www.ruby-forum.com/t/centos-nginx-installer-include-php-ftp-mysql-add-website-no-need-restart-nginx/238334)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [January 4, 2014, 7:19am UTC](https://www.ruby-forum.com/t/centos-nginx-installer-include-php-ftp-mysql-add-website-no-need-restart-nginx/238334 "2014-01-04T07:19:09Z")

</div>

Some of our clients are not good at SSH command, they just want an easy way to run their websites. Most of them are less then 1GB memory VPS and don’t want install control panel. For this purpose, we wrote a CentOS …

---

## [Confusion with #class\_eval with block form and with no block form](https://www.ruby-forum.com/t/confusion-with-class-eval-with-block-form-and-with-no-block-form/238329)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [January 4, 2014, 5:03am UTC](https://www.ruby-forum.com/t/confusion-with-class-eval-with-block-form-and-with-no-block-form/238329 "2014-01-04T05:03:38Z")

</div>

class Foo @@x = 10 end Foo.class\_eval(’@@x’) # =\> 10 # Part-I Foo.class\_eval{ @@x } # =\> # Part - II ~\> -:5:in \`block in ': uninitialized class variable @@x in Object (NameError) ~\> from -:5:in \`class\_eval’ ~\> …

---

## [Mainline does not include gzip module?](https://www.ruby-forum.com/t/mainline-does-not-include-gzip-module/238328)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [January 4, 2014, 2:53am UTC](https://www.ruby-forum.com/t/mainline-does-not-include-gzip-module/238328 "2014-01-04T02:53:57Z")

</div>

i just replaced a stable install with the mainline version (1.5.8) and noticed that the outputted files are not being gzipped. i ran nginx -V and do not see any arguments that enable gzip. is there a reason why the st…

---

## [Memory and Playback](https://www.ruby-forum.com/t/memory-and-playback/238326)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [January 3, 2014, 10:21pm UTC](https://www.ruby-forum.com/t/memory-and-playback/238326 "2014-01-03T22:21:44Z")

</div>

If I were to use a throttle to reduce my data rate from 50M (record rate) to 25M, would the fact that I only have 4GB of RAM and a 5GB data file be alright? I seem to be having playback problems with the large data f…

---

## [Major form validation/submitting problem](https://www.ruby-forum.com/t/major-form-validation-submitting-problem/238325)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [January 3, 2014, 8:34pm UTC](https://www.ruby-forum.com/t/major-form-validation-submitting-problem/238325 "2014-01-03T20:34:31Z")

</div>

Hello, I create a form with simple\_form. Now I got 2 problems: 1)The validation fails, fx when a field is filled, the validation says the field is empty and the field is not marked red. Here is the controller: def n…

---

## [\-rpath linker option?](https://www.ruby-forum.com/t/rpath-linker-option/238316)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [January 3, 2014, 2:38pm UTC](https://www.ruby-forum.com/t/rpath-linker-option/238316 "2014-01-03T14:38:24Z")

</div>

I’m having trouble with dll hell on Debian and Ubuntu with OpenSSL. Debian and Ubuntu insist on runtime linking with the copy in /usr/lib. Fedora and Red Hat are OK because they don’t use OpenSSL by default, so they a…

---

## [Call a function outside the test doesn't work](https://www.ruby-forum.com/t/call-a-function-outside-the-test-doesnt-work/238301)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 9\
**Last updated:** [January 3, 2014, 12:28pm UTC](https://www.ruby-forum.com/t/call-a-function-outside-the-test-doesnt-work/238301 "2014-01-03T12:28:37Z")

</div>

Hi, I am using Ruby 2.0 and Rspec as test framework. Below I have two tests. One where I call get\_locales function outside the actual test (XXX) and one where I call the function inside the test (YYY). The YYY test w…

---

## [(Open) Test issue](https://www.ruby-forum.com/t/open-test-issue/238324)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [January 3, 2014, 12:25pm UTC](https://www.ruby-forum.com/t/open-test-issue/238324 "2014-01-03T12:25:14Z")

</div>

チケット #9296 が Hiroshi SHIBATA によって報告されました。 Bug #9296: Test issue 作成者: Hiroshi SHIBATA ステータス: Open 優先度: Normal 担当者: カテゴリ: 対象バージョン: ruby -v: 3.0.0dev Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN

---

## [Byte Arrays in Ruby](https://www.ruby-forum.com/t/byte-arrays-in-ruby/238285)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 13\
**Last updated:** [January 3, 2014, 12:10pm UTC](https://www.ruby-forum.com/t/byte-arrays-in-ruby/238285 "2014-01-03T12:10:37Z")

</div>

I have an algorithm which uses an array of boolean (True/False) data. I would like to conserve and extend memory use by having the array use less memory. Is it possible in Ruby (2.1.0 \>) to effectively create byte arr…

---

## [Controller unable to access model in production](https://www.ruby-forum.com/t/controller-unable-to-access-model-in-production/238319)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [January 3, 2014, 10:41am UTC](https://www.ruby-forum.com/t/controller-unable-to-access-model-in-production/238319 "2014-01-03T10:41:49Z")

</div>

I am trying to launch my rails app but when i launch the server in production mode my sessions controller cannot access my user controller. How do I fix this relationship not being set? The problem is, in my sessions …

---

## [Having trouble setting up my View Page to only show Specific Data?](https://www.ruby-forum.com/t/having-trouble-setting-up-my-view-page-to-only-show-specific-data/238308)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 3, 2014, 10:41am UTC](https://www.ruby-forum.com/t/having-trouble-setting-up-my-view-page-to-only-show-specific-data/238308 "2014-01-03T10:41:14Z")

</div>

Hello, In my view (index.html) I have a table that calls all of my projects. \<% @projects.each do |project| %\> I created 2 methods in the Model, project.late? and project.dueSoon? In these methods I used If Then Elsi…

---

## [Access EC2 from web console without email?](https://www.ruby-forum.com/t/access-ec2-from-web-console-without-email/238312)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 3, 2014, 8:09am UTC](https://www.ruby-forum.com/t/access-ec2-from-web-console-without-email/238312 "2014-01-03T08:09:20Z")

</div>

I’ve used the various amazon cloud stuff a bit but don’t totally understand it … I have a test program below that prints out files and directories I have on the cloud which has worked fine for me. When I go to the a…

---

## [ENV\['LD\_LIBRARY\_PATH'\] setting in Ruby don't take effect in csh env](https://www.ruby-forum.com/t/env-ld-library-path-setting-in-ruby-dont-take-effect-in-csh-env/237834)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 8\
**Last updated:** [January 3, 2014, 6:39am UTC](https://www.ruby-forum.com/t/env-ld-library-path-setting-in-ruby-dont-take-effect-in-csh-env/237834 "2014-01-03T06:39:37Z")

</div>

Aassume the value of $LD\_LIBRARY\_PATH is “/usr/dt/lib:/usr/local/lib”. In ruby, I do setting below. ENV\[‘LD\_LIBRARY\_PATH’\]=’/home/test/LDPATH:/usr/dt/lib:/usr/local/lib’, then I want to check it with csh ‘env’ command…

---

## [OCSP validation of client certificates](https://www.ruby-forum.com/t/ocsp-validation-of-client-certificates/238313)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 3, 2014, 4:18am UTC](https://www.ruby-forum.com/t/ocsp-validation-of-client-certificates/238313 "2014-01-03T04:18:01Z")

</div>

Hi Forum, I see that nGinx supports configuration to perform OCSP validation of server side certificates and staple the validation response to the client. My question is whether nGinx supports OCSP validation of cli…

---

## [Tork 19.6.0 - test with fork](https://www.ruby-forum.com/t/tork-19-6-0-test-with-fork/238315)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [January 3, 2014, 2:50am UTC](https://www.ruby-forum.com/t/tork-19-6-0-test-with-fork/238315 "2014-01-03T02:50:25Z")

</div>

Manuals: http://sunaku.github.io/tork Sources: GitHub - sunaku/tork: 💞 Tests your Ruby code, in parallel, as you change it Tork runs your tests as they change, in parallel: Absorbs test execution overhead into a mas…

---

## [How would nginx record client IP address under TCP Multipath?](https://www.ruby-forum.com/t/how-would-nginx-record-client-ip-address-under-tcp-multipath/238314)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [January 3, 2014, 2:43am UTC](https://www.ruby-forum.com/t/how-would-nginx-record-client-ip-address-under-tcp-multipath/238314 "2014-01-03T02:43:59Z")

</div>

Hello, Since iOS7 supports TCP Multipath now, I think more and more devices will start support it. But TCP Multipath allows many client IPs connected to the same server, suppose Nginx in this case, how would access\_…

---

## [Can run WAR on Websphere due to: NameError: uninitialized constant Krypt::ASN1::BOOLEAN](https://www.ruby-forum.com/t/can-run-war-on-websphere-due-to-nameerror-uninitialized-constant-krypt-boolean/237605)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 12\
**Last updated:** [January 2, 2014, 11:23pm UTC](https://www.ruby-forum.com/t/can-run-war-on-websphere-due-to-nameerror-uninitialized-constant-krypt-boolean/237605 "2014-01-02T23:23:32Z")

</div>

Since 1.7.4 of jRuby, I have been unable to successfully run my application on WebSphere (8.5) (WAS is running on my Dev PC along with WEBrick) I installed jRuby 1.7.8 and started clean with a bundle install (I delet…

---

## [ANN: Sequel 4.6.0 Released](https://www.ruby-forum.com/t/ann-sequel-4-6-0-released/238309)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [January 2, 2014, 9:27pm UTC](https://www.ruby-forum.com/t/ann-sequel-4-6-0-released/238309 "2014-01-02T21:27:06Z")

</div>

Sequel is a lightweight database access toolkit for Ruby. Sequel provides thread safety, connection pooling and a concise DSL for constructing SQL queries and table schemas. Sequel includes a comprehensive ORM layer f…

---

## [\[ANN\] nba gem 0.0.2](https://www.ruby-forum.com/t/ann-nba-gem-0-0-2/238310)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [January 2, 2014, 7:08pm UTC](https://www.ruby-forum.com/t/ann-nba-gem-0-0-2/238310 "2014-01-02T19:08:59Z")

</div>

nba gem 0.0.2 has been released! home: GitHub - larrylv/nba: NBA.rb is a Ruby library for retrieving NBA League games, schedules, teams and players. rubygems: nba | RubyGems.org | your community gem host nba is a Ru…

---

## [Creating nested hash from nested active record results](https://www.ruby-forum.com/t/creating-nested-hash-from-nested-active-record-results/234975)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [January 2, 2014, 5:03pm UTC](https://www.ruby-forum.com/t/creating-nested-hash-from-nested-active-record-results/234975 "2014-01-02T17:03:35Z")

</div>

Hello, I’m trying to find a very abstract and “one size fits all” for converting nested active record results to nested hashes. It’s easy, to do one level deep as such: results\_to\_hash = Hash\[ found\_categories.map{…

---

## [Happy New Year!](https://www.ruby-forum.com/t/happy-new-year/238304)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 2, 2014, 5:00pm UTC](https://www.ruby-forum.com/t/happy-new-year/238304 "2014-01-02T17:00:56Z")

</div>

Hi everyone, and a happy new year to you all! The last year was quite eventful for us in GNU Radio land, and I’m excited to see where this year will take us. Now that we have an API that’s not going to change any time…

---

## [Why not make Opal default for Rails?](https://www.ruby-forum.com/t/why-not-make-opal-default-for-rails/238306)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 2\
**Last updated:** [January 2, 2014, 4:20pm UTC](https://www.ruby-forum.com/t/why-not-make-opal-default-for-rails/238306 "2014-01-02T16:20:38Z")

</div>

Hello People, I just read this blog post http://piotrsarnacki.com/2014/01/01/i-am-tired-by-rails-should-fundamentally-change-crowd/ . Rails started with a mission to make web development easy. Part of its strategy i…

---

## [USRP Source not present in GRC](https://www.ruby-forum.com/t/usrp-source-not-present-in-grc/238303)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 2, 2014, 4:19pm UTC](https://www.ruby-forum.com/t/usrp-source-not-present-in-grc/238303 "2014-01-02T16:19:28Z")

</div>

Hi all, I have installed GNURadio and UHD together using the build-script on a Ubuntu 12.04 machine. After I run the GRC, it does not show me any sources menu where I can find USRP\_source or USRP\_sink. My guess is th…

---

## [Nginx rewrite configuration](https://www.ruby-forum.com/t/nginx-rewrite-configuration/238305)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [January 2, 2014, 3:29pm UTC](https://www.ruby-forum.com/t/nginx-rewrite-configuration/238305 "2014-01-02T15:29:48Z")

</div>

hi! i’m newbie so having a hard time! I have a question about rewrite configure in nginx! RULE is http://URL/\[option\]/http://URL . I mean… for example, if request is http://aaa.net/25X25/http://bbb.net/ccc.jpg , re…

---

## [Best approach to convert string to unique value](https://www.ruby-forum.com/t/best-approach-to-convert-string-to-unique-value/238294)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 9\
**Last updated:** [January 2, 2014, 3:11pm UTC](https://www.ruby-forum.com/t/best-approach-to-convert-string-to-unique-value/238294 "2014-01-02T15:11:32Z")

</div>

I am trying to generate a unique number for a string and would like some suggestions. So far, I’ve researched the hash, but it seems not consistent on the values generated. It is not reliable since it does not generat…

---

## [UHD Asyn Msg source help!](https://www.ruby-forum.com/t/uhd-asyn-msg-source-help/238302)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [January 2, 2014, 12:02pm UTC](https://www.ruby-forum.com/t/uhd-asyn-msg-source-help/238302 "2014-01-02T12:02:59Z")

</div>

I am trying to use the UHD Asyn Msg source but I am not getting any thing out of this block. How can I use it? Can somebody please share any existing flow-graph that demonstrates the block usage. Thanks, Bob

---

## [Multiple file upload to s3](https://www.ruby-forum.com/t/multiple-file-upload-to-s3/238300)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [January 2, 2014, 10:41am UTC](https://www.ruby-forum.com/t/multiple-file-upload-to-s3/238300 "2014-01-02T10:41:47Z")

</div>

Hi, I am struck at following error for uploading multiple files to s3. I am Using paperclip and aws-sdk for upload and rails 3.2.13 and ruby 1.9 Paperclip::AdapterRegistry::NoHandlerError in #create as for multiple …

---

## [Fwd: Nand D flipflop in gnuradio](https://www.ruby-forum.com/t/fwd-nand-d-flipflop-in-gnuradio/238296)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [January 2, 2014, 10:24am UTC](https://www.ruby-forum.com/t/fwd-nand-d-flipflop-in-gnuradio/238296 "2014-01-02T10:24:51Z")

</div>

Hi , Thank you for the replies. But i don't know much about programming so can anyone tell me how do i change the work function of block so that I can make it work. Thanks sandhya ---------- Forwarded message…

---

## [Devise Confirmable - Confirmation token can't be blank](https://www.ruby-forum.com/t/devise-confirmable-confirmation-token-cant-be-blank/238298)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [January 2, 2014, 8:30am UTC](https://www.ruby-forum.com/t/devise-confirmable-confirmation-token-cant-be-blank/238298 "2014-01-02T08:30:22Z")

</div>

Hey everyone, Having an issue with Devise Confirmable confirmation email (using Devise 3.2.2). I have email setup and I am able to receive an email with the confirmation token in the query string. Once I click on th…

---

## [Yahns 1.0.0 -\_- sleepy application server for Ruby](https://www.ruby-forum.com/t/yahns-1-0-0-sleepy-application-server-for-ruby/238295)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 0\
**Last updated:** [January 2, 2014, 2:48am UTC](https://www.ruby-forum.com/t/yahns-1-0-0-sleepy-application-server-for-ruby/238295 "2014-01-02T02:48:05Z")

</div>

A Free Software, multi-threaded, non-blocking network application server designed for low idle power consumption. It is primarily optimized for applications with occasional users which see little or no traffic. yahns…

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

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