# Latest

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

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

---

## [GRAS flow control from work function](https://www.ruby-forum.com/t/gras-flow-control-from-work-function/235789)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 15, 2013, 11:49pm UTC](https://www.ruby-forum.com/t/gras-flow-control-from-work-function/235789 "2013-07-15T23:49:47Z")

</div>

Hi, I’m using gras for my application and my custom block needs to be able to do a blocking read to get data from an external source. With the standard scheduler I used a non blocking read in a polling loop with an i…

---

## [Re: Does GRAS support setting max noutput items?](https://www.ruby-forum.com/t/re-does-gras-support-setting-max-noutput-items/235791)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [July 15, 2013, 11:36pm UTC](https://www.ruby-forum.com/t/re-does-gras-support-setting-max-noutput-items/235791 "2013-07-15T23:36:55Z")

</div>

Hi Josh, Thanks for the quick work on this. Setting max noutputitems from grc works fine now. Regards, Devin ----- Reply message ----- From: “Josh B.” removed\_email\_address@domain.invalid To: removed\_email\_address@…

---

## [Flickr\_airlift 0.4.0 released](https://www.ruby-forum.com/t/flickr-airlift-0-4-0-released/235788)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 15, 2013, 10:05pm UTC](https://www.ruby-forum.com/t/flickr-airlift-0-4-0-released/235788 "2013-07-15T22:05:46Z")

</div>

flickr\_airlift comes with two executables: flickr\_airlift: scrapes images of a flickr\_user. The size you get back depends on that user’s account and your relationship to that user. Here’s an example sessionhttps://g…

---

## [How to save values from Sortable Unordered List?](https://www.ruby-forum.com/t/how-to-save-values-from-sortable-unordered-list/235782)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [July 15, 2013, 9:17pm UTC](https://www.ruby-forum.com/t/how-to-save-values-from-sortable-unordered-list/235782 "2013-07-15T21:17:16Z")

</div>

I’ve a sortable unordered list as follows. How do I use controller to detect this element and get the contents to save each LI item into a row in the database? 1. Good X 2. Better X 3. Best X

---

## [\[ANN\] TeamCity Ruby Client 0.4.0 Released!](https://www.ruby-forum.com/t/ann-teamcity-ruby-client-0-4-0-released/235785)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 15, 2013, 9:03pm UTC](https://www.ruby-forum.com/t/ann-teamcity-ruby-client-0-4-0-released/235785 "2013-07-15T21:03:40Z")

</div>

teamcity-ruby-client version 0.4.0 has been released! home: GitHub - jperry/teamcity-ruby-client: Ruby wrapper for the TeamCity Rest API rubydoc: http://rubydoc.info/gems/teamcity-ruby-client rubygems: teamcity-ruby-…

---

## [Httpd/unix-directory](https://www.ruby-forum.com/t/httpd-unix-directory/216641)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [July 15, 2013, 8:39pm UTC](https://www.ruby-forum.com/t/httpd-unix-directory/216641 "2013-07-15T20:39:04Z")

</div>

Hi All, After deploying the code, setting up the rewrite rule when I finally go to access the site in the browser it prompts to a download popup. It says “You have chosen to open which is a httpd/unix-directory”. I h…

---

## [Loss of synchronization while creating new file](https://www.ruby-forum.com/t/loss-of-synchronization-while-creating-new-file/245824)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [July 15, 2013, 6:22pm UTC](https://www.ruby-forum.com/t/loss-of-synchronization-while-creating-new-file/245824 "2013-07-15T18:22:36Z")

</div>

Hi Everyone, I am having some issues with figuring out the cause of a loss of synchronization using the USRP N210. I will be using the USRP as a receiver for a radar system, but I am still in the calibration phase. F…

---

## [Ruby web service with REST support](https://www.ruby-forum.com/t/ruby-web-service-with-rest-support/235641)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 16\
**Last updated:** [July 15, 2013, 4:25pm UTC](https://www.ruby-forum.com/t/ruby-web-service-with-rest-support/235641 "2013-07-15T16:25:09Z")

</div>

Hi All, I want to develop the webservice in Ruby that will support the REST API calls. Can anybody please suggest how to write such a service? Regards, Shubhada

---

## [Phusion passenger + uninitialised constant+ NameError](https://www.ruby-forum.com/t/phusion-passenger-uninitialised-constant-nameerror/235748)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [July 15, 2013, 3:38pm UTC](https://www.ruby-forum.com/t/phusion-passenger-uninitialised-constant-nameerror/235748 "2013-07-15T15:38:38Z")

</div>

Hi, I am installing the apache module in phusion passenger. I am facing the error saying 'uninitialised constant. I am attaching the screenshot of the error. I am trying on Ubuntu machine. Regards, Shubhada

---

## [Rails 4: Session Expiry?](https://www.ruby-forum.com/t/rails-4-session-expiry/235779)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [July 15, 2013, 3:24pm UTC](https://www.ruby-forum.com/t/rails-4-session-expiry/235779 "2013-07-15T15:24:22Z")

</div>

I’ve been Googling this question for the past few hours, and I think it’s time I simply ask this question myself. I just made the switch from Rails 3.2 to Rails 4. I’m trying to make sure I’m as up-to-speed as possi…

---

## [Calibrating USRP](https://www.ruby-forum.com/t/calibrating-usrp/235158)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [July 15, 2013, 3:02pm UTC](https://www.ruby-forum.com/t/calibrating-usrp/235158 "2013-07-15T15:02:09Z")

</div>

Hi all guys (yet again), I have a question about calibrating received power level of my USRP, equipped with wbx, lftx and lfrx. I am not sure whether it is apropriate to discuss that here. Basically I would like to b…

---

## [Parsing pop3 emails](https://www.ruby-forum.com/t/parsing-pop3-emails/235751)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 15, 2013, 2:30pm UTC](https://www.ruby-forum.com/t/parsing-pop3-emails/235751 "2013-07-15T14:30:00Z")

</div>

What I am trying to do is to download the email from a POP3 account using ruby and simply get the addresses in the FROM field and the content of the body into strings. What is the best way to achieve this using ruby? …

---

## [Proxy returns 504 then blocks next connections](https://www.ruby-forum.com/t/proxy-returns-504-then-blocks-next-connections/245739)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [July 15, 2013, 1:05pm UTC](https://www.ruby-forum.com/t/proxy-returns-504-then-blocks-next-connections/245739 "2013-07-15T13:05:52Z")

</div>

I’m having an issue where I proxy a long running script and receive a 504 error when it exceeds my proxy\_read\_timeout setting. All of that’s behaving normally – what isn’t behaving normally is that the next several …

---

## [How to create thumbnail](https://www.ruby-forum.com/t/how-to-create-thumbnail/191258)

<div class="topic-metadata">

**Author:** [@debadatta](https://www.ruby-forum.com/u/debadatta)\
**Replies:** 5\
**Last updated:** [July 15, 2013, 1:04pm UTC](https://www.ruby-forum.com/t/how-to-create-thumbnail/191258 "2013-07-15T13:04:42Z")

</div>

Hi all I want to create thumbnail for a uploaded image file, I have a product controller and model with a image field .I want file uploaded in the image field should have one thumbnail file and also one general. I h…

---

## [Asset Pipeline: Asset attempted to compress while creating page response & not during asset request](https://www.ruby-forum.com/t/asset-pipeline-asset-attempted-to-compress-while-creating-page-response-not-during-asset-request/235725)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [July 15, 2013, 12:50pm UTC](https://www.ruby-forum.com/t/asset-pipeline-asset-attempted-to-compress-while-creating-page-response-not-during-asset-request/235725 "2013-07-15T12:50:40Z")

</div>

Hi, I am stuck in a weird situation where in my production environment, an asset is being attempted to compress while rendering a view. I’ve all my assets put into public/assets folder via rake “assets:precompile” p…

---

## [Ticket for eurucamp 2013](https://www.ruby-forum.com/t/ticket-for-eurucamp-2013/235778)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 15, 2013, 12:09pm UTC](https://www.ruby-forum.com/t/ticket-for-eurucamp-2013/235778 "2013-07-15T12:09:45Z")

</div>

Hi Rubyists, I have an early-bird ticket for eurucamp 2013 in Berlin (16th to 18th August). Unfortunately I won’t be able to make it, so I have a (non refundable but transferrable) ticket too much. If anybody is inte…

---

## [Project Status: GSoC 2013](https://www.ruby-forum.com/t/project-status-gsoc-2013/245760)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [July 15, 2013, 11:51am UTC](https://www.ruby-forum.com/t/project-status-gsoc-2013/245760 "2013-07-15T11:51:35Z")

</div>

Hello All, I already sent this email twice over weekend, I am not sure if its getting delivered. Apologies if I spam the list/your inbox. I am Shashank, one of the GSoC students this year. My project proposal was t…

---

## [HTTP Upload Progress bug](https://www.ruby-forum.com/t/http-upload-progress-bug/235777)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [July 15, 2013, 11:35am UTC](https://www.ruby-forum.com/t/http-upload-progress-bug/235777 "2013-07-15T11:35:13Z")

</div>

I’m using NGINX 1.4.1 with the HTTP Upload Progress module but I’m getting some strange result when GETing the current progress. The uploaded size is always 0, while the total size is the size of the file I’m uploadi…

---

## [How to log POST body data?](https://www.ruby-forum.com/t/how-to-log-post-body-data/235770)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [July 15, 2013, 8:01am UTC](https://www.ruby-forum.com/t/how-to-log-post-body-data/235770 "2013-07-15T08:01:23Z")

</div>

I’m trying to use $request\_body but get ‘-’ in my log file for this field here is my configure file, is there sth wrong or the $request\_body has other deps to work? http { log\_format client '$remote\_addr - $remote\_…

---

## [Why the need for multiple $GEM\_PATHS](https://www.ruby-forum.com/t/why-the-need-for-multiple-gem-paths/235756)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 5\
**Last updated:** [July 15, 2013, 7:49am UTC](https://www.ruby-forum.com/t/why-the-need-for-multiple-gem-paths/235756 "2013-07-15T07:49:42Z")

</div>

Hi all, Can some tell me why we need a $GEM\_PATH location per ruby versions when using tools like RVM & rbenv? I would like to switch between rubies without always need to download the gem’s a second time as I am cu…

---

## [Can't run ruby after upgrading from 2.0.0-p195 to 2.0.0-p247 using rvm](https://www.ruby-forum.com/t/cant-run-ruby-after-upgrading-from-2-0-0-p195-to-2-0-0-p247-using-rvm/245796)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [July 15, 2013, 2:15am UTC](https://www.ruby-forum.com/t/cant-run-ruby-after-upgrading-from-2-0-0-p195-to-2-0-0-p247-using-rvm/245796 "2013-07-15T02:15:20Z")

</div>

Team, I upgraded ruby 2.0.0-p195 to ruby 2.0.0-p247. It looks like everything went fine but, when I try to run ruby -v or gem -v it fails with the messages: ruby -v ruby: error while loading shared libraries: libruby…

---

## [Reg:Error check explanation](https://www.ruby-forum.com/t/reg-error-check-explanation/235771)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [July 14, 2013, 11:22pm UTC](https://www.ruby-forum.com/t/reg-error-check-explanation/235771 "2013-07-14T23:22:11Z")

</div>

Hi, I am looking for some kind of explanation on how the transmitter and receiver are synchronized and how are the errors checked before the signal is being demodulated…Where can I find these information?Please state …

---

## [X-Accel-Redirect without internal](https://www.ruby-forum.com/t/x-accel-redirect-without-internal/235769)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 3\
**Last updated:** [July 14, 2013, 10:08pm UTC](https://www.ruby-forum.com/t/x-accel-redirect-without-internal/235769 "2013-07-14T22:08:35Z")

</div>

Hello, My problem is very simple, I’d like to change from php readfile to x-accel-redirect. I know exactly how to do it, but I have a problem: My files are organized like that: /home/ID(id of directory on mysql)/ .mp…

---

## [Does GRAS support setting max noutput\_items?](https://www.ruby-forum.com/t/does-gras-support-setting-max-noutput-items/235772)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 14, 2013, 9:28pm UTC](https://www.ruby-forum.com/t/does-gras-support-setting-max-noutput-items/235772 "2013-07-14T21:28:17Z")

</div>

Hi folks, I just started experimenting with GRAS and ran into this: GRAS: The debug asserts are enabled. \<\<\< Created default thread pool with 4 threads. Traceback (most recent call last): File “top\_block.py”, lin…

---

## [Importing mysql table](https://www.ruby-forum.com/t/importing-mysql-table/245805)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [July 14, 2013, 9:04pm UTC](https://www.ruby-forum.com/t/importing-mysql-table/245805 "2013-07-14T21:04:20Z")

</div>

i got ruby and mysql configured successully on my windows pc. Im using mysql as default db. so I created new rails project. I ran the cmd rake db:create:all rake db:migrate so I got the db created. I have existing…

---

## [Custom 401 page not displaying or not prompting for credentials](https://www.ruby-forum.com/t/custom-401-page-not-displaying-or-not-prompting-for-credentials/245758)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [July 14, 2013, 8:54pm UTC](https://www.ruby-forum.com/t/custom-401-page-not-displaying-or-not-prompting-for-credentials/245758 "2013-07-14T20:54:59Z")

</div>

Hello, I was trying to set a custom error 401 page on my Nginx server version 1.5.1 using the following methods: error\_page 401 /401.html By itself it still displays the default site error\_page 401 http://example.com…

---

## [FATAL: (ArgumentError) wrong number of arguments calling \`initialize\` (1 for 0)](https://www.ruby-forum.com/t/fatal-argumenterror-wrong-number-of-arguments-calling-initialize-1-for-0/235767)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [July 14, 2013, 5:32pm UTC](https://www.ruby-forum.com/t/fatal-argumenterror-wrong-number-of-arguments-calling-initialize-1-for-0/235767 "2013-07-14T17:32:18Z")

</div>

I install vagrant plugin in Jenkins (1.522version) and when I try to build, I am getting the below errors. Please help me to solve this issue Please NOTE:- MY Java version is “1.7.0\_25” and my RUBY Version 1.9.3p448 F…

---

## [Module Confusion](https://www.ruby-forum.com/t/module-confusion/235765)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 7\
**Last updated:** [July 14, 2013, 1:40pm UTC](https://www.ruby-forum.com/t/module-confusion/235765 "2013-07-14T13:40:25Z")

</div>

The below code works. Question though. How does add\_to\_stack acess the @stack instance variable going through the method stack? In this case is stack variable looked at as literally the array? Thanks! Michael the …

---

## [Ruby 2.0 on Solaris](https://www.ruby-forum.com/t/ruby-2-0-on-solaris/245782)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [July 14, 2013, 1:05pm UTC](https://www.ruby-forum.com/t/ruby-2-0-on-solaris/245782 "2013-07-14T13:05:45Z")

</div>

Is it possible to install Ruby 2.0 or higher version in Solaris? If possible how an I do that?

---

## [Form objects vs nested attributes in 1 to many association](https://www.ruby-forum.com/t/form-objects-vs-nested-attributes-in-1-to-many-association/235766)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 14, 2013, 12:47pm UTC](https://www.ruby-forum.com/t/form-objects-vs-nested-attributes-in-1-to-many-association/235766 "2013-07-14T12:47:14Z")

</div>

Recently I have been reading about form objects and have been wondering its use in 1 to many assocation. Let’s say I have a model of project with many tasks and the user edits the project along with the tasks in one…

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

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