# Latest

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

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

---

## [How to present Rails form datetime select in different time zone?](https://www.ruby-forum.com/t/how-to-present-rails-form-datetime-select-in-different-time-zone/246041)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [August 22, 2013, 9:24pm UTC](https://www.ruby-forum.com/t/how-to-present-rails-form-datetime-select-in-different-time-zone/246041 "2013-08-22T21:24:45Z")

</div>

Hello, I have a Rails application with a default time zone of UTC. This works fine for almost everything. Now I have a situation where I would like to present the values in a datetime\_select offset by a specific tim…

---

## [Keepalive\_timeout not working?](https://www.ruby-forum.com/t/keepalive-timeout-not-working/236294)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 22, 2013, 8:35pm UTC](https://www.ruby-forum.com/t/keepalive-timeout-not-working/236294 "2013-08-22T20:35:05Z")

</div>

keepalives seem to be working, but the timeout limit I’m setting isn’t honored it seems… Someone let me know if I’ve done something wrong or am missing something. I have nginx installed on Ubuntu from the stable repo…

---

## [How do I deal with ActiveRecord::RecordInvalid: Validation failed:](https://www.ruby-forum.com/t/how-do-i-deal-with-activerecord-validation-failed/236292)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 22, 2013, 7:20pm UTC](https://www.ruby-forum.com/t/how-do-i-deal-with-activerecord-validation-failed/236292 "2013-08-22T19:20:54Z")

</div>

Hello all, I am currently writing model tests in rails 4. I am attempting to add an error to a reservation object if the total number of reservations for a given date and time has reached a pre-determined limit. When…

---

## [Re: Channel estimation/equalization in OFDM](https://www.ruby-forum.com/t/re-channel-estimation-equalization-in-ofdm/246100)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [August 22, 2013, 6:59pm UTC](https://www.ruby-forum.com/t/re-channel-estimation-equalization-in-ofdm/246100 "2013-08-22T18:59:16Z")

</div>

Martin, Thank you for your reply. Please, check my replies below. Mohammed, you should also check the new OFDM implementation (see examples/ofdm/rx\_ofdm.grc and python/digital/ofdm\_txrx.py). Much more modular. On…

---

## [SSL error no idea what to do](https://www.ruby-forum.com/t/ssl-error-no-idea-what-to-do/236276)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [August 22, 2013, 6:52pm UTC](https://www.ruby-forum.com/t/ssl-error-no-idea-what-to-do/236276 "2013-08-22T18:52:09Z")

</div>

Hi guys I have a ruby script I’m attempting to run that must use the SSL certificate. I have tried running it without the CA certificate and it runs just fine. However I keep getting the following error \`connect’: SSL…

---

## [Proper rails deployment steps to DirectAdmin (or any hosting not focusing in apps) hosted server?](https://www.ruby-forum.com/t/proper-rails-deployment-steps-to-directadmin-or-any-hosting-not-focusing-in-apps-hosted-server/236021)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 6\
**Last updated:** [August 22, 2013, 6:38pm UTC](https://www.ruby-forum.com/t/proper-rails-deployment-steps-to-directadmin-or-any-hosting-not-focusing-in-apps-hosted-server/236021 "2013-08-22T18:38:14Z")

</div>

Hi, With PHP applications (only experience I had before), all I needed to do is to FTP all required files, create MySQL username/pass & upload SQL structure, add this username/pass in any given config file of the php …

---

## [Top 10 Sites Built with Ruby on Rails](https://www.ruby-forum.com/t/top-10-sites-built-with-ruby-on-rails/236293)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 22, 2013, 6:37pm UTC](https://www.ruby-forum.com/t/top-10-sites-built-with-ruby-on-rails/236293 "2013-08-22T18:37:04Z")

</div>

Top 10 RoR sites according to Alexa search http://blog.netguru.co/post/58995145341/top-10-sites-built-with-ruby-on-rails

---

## [Inefficient large vectors](https://www.ruby-forum.com/t/inefficient-large-vectors/246061)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 9\
**Last updated:** [August 22, 2013, 6:11pm UTC](https://www.ruby-forum.com/t/inefficient-large-vectors/246061 "2013-08-22T18:11:21Z")

</div>

Hi! I have many sync blocks that work with large fixed size vectors, e.g. converts one vector of size 12659 to another with size 18353. I have just multiplied the sizeof(gr\_complex) with 12659 and 18353 in the signat…

---

## [Converting a Time to a String and Back in Rails 4.0.0](https://www.ruby-forum.com/t/converting-a-time-to-a-string-and-back-in-rails-4-0-0/246050)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 9\
**Last updated:** [August 22, 2013, 5:48pm UTC](https://www.ruby-forum.com/t/converting-a-time-to-a-string-and-back-in-rails-4-0-0/246050 "2013-08-22T17:48:34Z")

</div>

I’m porting an old rails app to Rails 4 and got stumped tonight on time conversions. This worked: Loading development environment (Rails 2.3.18) Time.now.to\_s =\> “08/14/2013 07:09PM” Time.now.to\_s.to\_time =\> W…

---

## [Nginx mod\_security leaks file descriptors](https://www.ruby-forum.com/t/nginx-mod-security-leaks-file-descriptors/236288)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 22, 2013, 5:21pm UTC](https://www.ruby-forum.com/t/nginx-mod-security-leaks-file-descriptors/236288 "2013-08-22T17:21:41Z")

</div>

Hi, I have a problem with nginx and mod\_security module. After reloading nginx configuration (kill -HUP ) all files opened by mod\_security are opened once again without closing the old ones. That means at some point …

---

## [Rails 3.2 and Streaming using response\_body](https://www.ruby-forum.com/t/rails-3-2-and-streaming-using-response-body/218379)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 22, 2013, 5:12pm UTC](https://www.ruby-forum.com/t/rails-3-2-and-streaming-using-response-body/218379 "2013-08-22T17:12:55Z")

</div>

I am working on a streaming download (CSV) from Rails 3.2 and am coming up against an issue of the initial page request taking a long time. The following controller code illustrates my issue: self.response\_body = E…

---

## [One thread is not always scheduled](https://www.ruby-forum.com/t/one-thread-is-not-always-scheduled/246070)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [August 22, 2013, 4:48pm UTC](https://www.ruby-forum.com/t/one-thread-is-not-always-scheduled/246070 "2013-08-22T16:48:23Z")

</div>

Hi, I build a signal processing pipeline on USRP: RX --\> decoder --\> protocol –\> TX. I used STS scheduler to schedule those signal processing blocks. When the amount of data that goes into the decoder module is large…

---

## [MacPorts: Installing wxWidgets-devel @2.9.4](https://www.ruby-forum.com/t/macports-installing-wxwidgets-devel-2-9-4/236289)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [August 22, 2013, 3:52pm UTC](https://www.ruby-forum.com/t/macports-installing-wxwidgets-devel-2-9-4/236289 "2013-08-22T15:52:17Z")

</div>

For OSX users installing GNU Radio via MacPorts, the WX branch is getting closer to working; still a few days away, but getting closer. In the meantime, a few folks have tried out the following “script” and it seems t…

---

## [Using Ajax to access Ruby HTTP server](https://www.ruby-forum.com/t/using-ajax-to-access-ruby-http-server/236279)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [August 22, 2013, 3:41pm UTC](https://www.ruby-forum.com/t/using-ajax-to-access-ruby-http-server/236279 "2013-08-22T15:41:45Z")

</div>

I wrote a very simple HTTP server at my PC by ruby. I can access the it from IE/FF/Chrome and display the result XML correctly, however when I tried to access it by a Jquery AJAX call, looks like it only got the heade…

---

## [GRC 3.7: QT GUI Sink: Frequency display: Center Frequency bug?](https://www.ruby-forum.com/t/grc-3-7-qt-gui-sink-frequency-display-center-frequency-bug/236198)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 22, 2013, 3:40pm UTC](https://www.ruby-forum.com/t/grc-3-7-qt-gui-sink-frequency-display-center-frequency-bug/236198 "2013-08-22T15:40:00Z")

</div>

Hi, Recently upgraded to GRC 3.7 (from 3.6.5). The QT GUI Sink Frequency Display: Center Frequency (Hz) control and the ‘Display RF Frequencies’ checkbox do not seem to be operating correctly in GRC 3.7. In GRC 3.6…

---

## [Why are generators not menus or prompts?](https://www.ruby-forum.com/t/why-are-generators-not-menus-or-prompts/246083)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [August 22, 2013, 3:39pm UTC](https://www.ruby-forum.com/t/why-are-generators-not-menus-or-prompts/246083 "2013-08-22T15:39:25Z")

</div>

wouldn’t it be more efficient to have a generator ask for column names and types and indexes in a prompt? or easier at least. It would be nice to also have ncurses menus for that.

---

## [Duplicated log lines in console](https://www.ruby-forum.com/t/duplicated-log-lines-in-console/236290)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 22, 2013, 2:33pm UTC](https://www.ruby-forum.com/t/duplicated-log-lines-in-console/236290 "2013-08-22T14:33:59Z")

</div>

my app seems to be running fine in dev mode ( Rails4, Devise, OAuth2 , Doorkeeper ) but looking at the console , I can see all log lines duplicated … where should I look for any tricky bug or missing param ?anyway to …

---

## [Uninitialized constant OCI8::Driver](https://www.ruby-forum.com/t/uninitialized-constant-oci8-driver/236278)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 22, 2013, 12:44pm UTC](https://www.ruby-forum.com/t/uninitialized-constant-oci8-driver/236278 "2013-08-22T12:44:44Z")

</div>

hi I have loaded ruby-oci8 and dbi. I did gem install of dbi and oci8. I getting an error “uninitialized constant OCI8::Driver” while performing some commands which u can show below:- irb(main):001:0\> require ‘dbi’ …

---

## [Rails tutorial; CRD working, U failing](https://www.ruby-forum.com/t/rails-tutorial-crd-working-u-failing/246056)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 22, 2013, 11:37am UTC](https://www.ruby-forum.com/t/rails-tutorial-crd-working-u-failing/246056 "2013-08-22T11:37:34Z")

</div>

Using Getting Started with Rails — Ruby on Rails Guides as a guide. Create, Read, Delete all work. Update fails: NoMethodError in WordsController#update private method \`update’ called for #Word:0xae98360 (I chose to…

---

## [Help for usrp e110](https://www.ruby-forum.com/t/help-for-usrp-e110/236284)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 22, 2013, 10:35am UTC](https://www.ruby-forum.com/t/help-for-usrp-e110/236284 "2013-08-22T10:35:20Z")

</div>

Hi everyone … can you please tell me how i should connect the monitor through HDMI/dvi in Usrp e110. bcz i am doing a project and connecting a monitor but no fruit :confused: … basically what i have to do is to make …

---

## [First session on a USRP E100](https://www.ruby-forum.com/t/first-session-on-a-usrp-e100/202090)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [August 22, 2013, 10:31am UTC](https://www.ruby-forum.com/t/first-session-on-a-usrp-e100/202090 "2013-08-22T10:31:31Z")

</div>

I just got an E100 from a colleague. After connecting a monitor through the HDMI and a keyboard/mouse through the USB OTG I booted up and the linux login screen comes up. what is the root password that comes from Ett…

---

## [RestClient failing to GET resource using SSL client certificate](https://www.ruby-forum.com/t/restclient-failing-to-get-resource-using-ssl-client-certificate/234986)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 22, 2013, 7:10am UTC](https://www.ruby-forum.com/t/restclient-failing-to-get-resource-using-ssl-client-certificate/234986 "2013-08-22T07:10:51Z")

</div>

Hi All, I’m trying to use RestClient to retrieve a page that’s secured using an SSL client certificate. My code is as follows: require ‘restclient’ p12 = OpenSSL::PKCS12.new(File.read(‘client.p12’), ‘password’) cli…

---

## [Proxying and caching a fragile server to ensure availability](https://www.ruby-forum.com/t/proxying-and-caching-a-fragile-server-to-ensure-availability/236285)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [August 22, 2013, 4:54am UTC](https://www.ruby-forum.com/t/proxying-and-caching-a-fragile-server-to-ensure-availability/236285 "2013-08-22T04:54:33Z")

</div>

Hello colleagues. I’m trying to save a website hosted on a (VERY) low-powered server by placing a strong nginx server in front of it as a caching proxy. I don’t control the website code and the rest of its configurati…

---

## [Gzip compression won't disable](https://www.ruby-forum.com/t/gzip-compression-wont-disable/246094)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [August 22, 2013, 4:39am UTC](https://www.ruby-forum.com/t/gzip-compression-wont-disable/246094 "2013-08-22T04:39:22Z")

</div>

Hey all, I’m running nginx 1.2.6 from a packaged install on Ubuntu 13.04. I’m at a total loss as to how this is happening but I simply cannot disable gzip compression for my server no matter what I try. Setting gzip …

---

## [AssertionError: udp\_zero\_copy](https://www.ruby-forum.com/t/assertionerror-udp-zero-copy/236273)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 21, 2013, 11:33pm UTC](https://www.ruby-forum.com/t/assertionerror-udp-zero-copy/236273 "2013-08-21T23:33:20Z")

</div>

Hi list, I am using gnuradio 3.6.3rc0 and uhd UHD\_003.005.000-26-gb65a3924. USRP is N210 with a GPSDO. GNU C++ version 4.6.3. Linux Ubuntu 12.04 LTS. I am getting following error: terminate called after throwing an…

---

## [Send & receive a character through USRP](https://www.ruby-forum.com/t/send-receive-a-character-through-usrp/236282)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [August 21, 2013, 11:21pm UTC](https://www.ruby-forum.com/t/send-receive-a-character-through-usrp/236282 "2013-08-21T23:21:04Z")

</div>

Hi all, Is it possible to send & receive a character via USRPs? My curiosity brought me to such thing though my DSP knowledge is basic. I joined the flow-graph for any suggestion. I have no way to input or output a m…

---

## [Nginx stuck on startup](https://www.ruby-forum.com/t/nginx-stuck-on-startup/236281)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [August 21, 2013, 9:41pm UTC](https://www.ruby-forum.com/t/nginx-stuck-on-startup/236281 "2013-08-21T21:41:10Z")

</div>

Hi everyone, Recently I’ve needed to restart nginx on my vps (which is debian wheezy) and it got stuck. Other services are fine but nginx not responding if there is a file operation involved. For example nginx -h pr…

---

## [Recommendation on good framework to manage help content](https://www.ruby-forum.com/t/recommendation-on-good-framework-to-manage-help-content/236283)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [August 21, 2013, 8:57pm UTC](https://www.ruby-forum.com/t/recommendation-on-good-framework-to-manage-help-content/236283 "2013-08-21T20:57:53Z")

</div>

Our application has a bunch of help content(user guides) that is scattered and messy. Some is in PDFs, some is written directly in views, some is in table columns, etc. I’m trying to find a good way to organize and ma…

---

## [Piwik conf file](https://www.ruby-forum.com/t/piwik-conf-file/236262)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [August 21, 2013, 8:22pm UTC](https://www.ruby-forum.com/t/piwik-conf-file/236262 "2013-08-21T20:22:53Z")

</div>

I have recently discovered this wonderful includes directive and I am using it to clean up my server blocks. Doing this has forced me to evaluate some of my configurations. I am trying to set up a conf file for Piwik …

---

## [TLS 1.2 ciphers](https://www.ruby-forum.com/t/tls-1-2-ciphers/246069)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [August 21, 2013, 8:08pm UTC](https://www.ruby-forum.com/t/tls-1-2-ciphers/246069 "2013-08-21T20:08:15Z")

</div>

Chrome 29 came out recently and now supports TLS 1.2. So i decided to add some of the new TLS 1.2 ciphers to my webserver, which are specified here: /docs/manmaster/man1/ciphers.html. My current setup is: Ubuntu 10.…

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

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