# Latest

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

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

---

## [Routing error in ajax on ruby on rails](https://www.ruby-forum.com/t/routing-error-in-ajax-on-ruby-on-rails/246311)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [October 2, 2013, 10:39pm UTC](https://www.ruby-forum.com/t/routing-error-in-ajax-on-ruby-on-rails/246311 "2013-10-02T22:39:29Z")

</div>

I have this in my .html.erb code: $.ajax({ url: “/timeMachineEdit”, data: {editTimeMachine: newArray}, type: ‘POST’, success: function (res) { if (res.result === ‘ok’) { alert(‘Data saved’); } else { alert(‘Save…

---

## [Coverity scan and GNU Radio](https://www.ruby-forum.com/t/coverity-scan-and-gnu-radio/246305)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 7\
**Last updated:** [October 2, 2013, 10:12pm UTC](https://www.ruby-forum.com/t/coverity-scan-and-gnu-radio/246305 "2013-10-02T22:12:02Z")

</div>

We’ve added GNU Radio to the list of projects on Coverity Scan. Coverity is a static analysis tool that finds many coding mistakes. https://scan.coverity.com/faq If you want to get started contributing to GNU Radio, t…

---

## [Root works, alias doesn't](https://www.ruby-forum.com/t/root-works-alias-doesnt/246299)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 9\
**Last updated:** [October 2, 2013, 9:03pm UTC](https://www.ruby-forum.com/t/root-works-alias-doesnt/246299 "2013-10-02T21:03:02Z")

</div>

Can anyone tell me why this works: root /var/www/localhost/htdocs; location / { root /var/www/localhost/htdocs/webalizer/; } And this doesn’t: root /var/www/localhost/htdocs; location / { alias /webalizer/; } I…

---

## [When overriding the registration controller from devise, is it possible to access the newly created](https://www.ruby-forum.com/t/when-overriding-the-registration-controller-from-devise-is-it-possible-to-access-the-newly-created/236779)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [October 2, 2013, 8:47pm UTC](https://www.ruby-forum.com/t/when-overriding-the-registration-controller-from-devise-is-it-possible-to-access-the-newly-created/236779 "2013-10-02T20:47:15Z")

</div>

I’m trying to create a folder right after a user registers, so I override the create action on the registration controller (devise) but I don’t know how to access the newly created user in order to create the folder …

---

## [Ssl on different servers](https://www.ruby-forum.com/t/ssl-on-different-servers/236770)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 6\
**Last updated:** [October 2, 2013, 8:44pm UTC](https://www.ruby-forum.com/t/ssl-on-different-servers/236770 "2013-10-02T20:44:55Z")

</div>

Hi, My domain.com is on ip: x.x.x.x where I have a configuration like: server { server\_name sub.domain.com; location / { proxy\_pass http://y.y.y.y; proxy\_set\_header X-Real-IP $remote\_addr; proxy\_set\_header …

---

## [Jrubyfx applet deployment](https://www.ruby-forum.com/t/jrubyfx-applet-deployment/236782)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [October 2, 2013, 8:36pm UTC](https://www.ruby-forum.com/t/jrubyfx-applet-deployment/236782 "2013-10-02T20:36:43Z")

</div>

HI all, I have a need to deploy a jrubyfx app as an applet. Are there any examples of that use case available. Are the load times bearable ? Is it possible to cache jruby locally ? Any guidance/feedback is appreciate…

---

## [\[Backport 200 - Backport #8980\]\[Assigned\] backport r43112, r43114, r43117, r43118 (IO.pipe/popen and](https://www.ruby-forum.com/t/backport-200-backport-8980-assigned-backport-r43112-r43114-r43117-r43118-io-pipe-popen-and/236781)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [October 2, 2013, 7:26pm UTC](https://www.ruby-forum.com/t/backport-200-backport-8980-assigned-backport-r43112-r43114-r43117-r43118-io-pipe-popen-and/236781 "2013-10-02T19:26:34Z")

</div>

Issue #8980 has been reported by nagachika (Tomoyuki C.). Backport #8980: backport r43112, r43114, r43117, r43118 (IO.pipe/popen and close\_write/close\_read) Author: nagachika (Tomoyuki C.) Status: Assigned Priorit…

---

## [Windows nginx 1.5.6.4 Butterfly](https://www.ruby-forum.com/t/windows-nginx-1-5-6-4-butterfly/236780)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [October 2, 2013, 6:21pm UTC](https://www.ruby-forum.com/t/windows-nginx-1-5-6-4-butterfly/236780 "2013-10-02T18:21:07Z")

</div>

12:38 2-10-2013: nginx 1.5.6.4 Butterfly The Nginx ‘Butterfly’ release brings to Windows stable and unleashed power of Nginx, Lua, Streaming feature, Reverse DNS, SPDY, easy c250k in a non-blocking and event driven…

---

## [Gzip does not work if Content-Type contain semicolon?](https://www.ruby-forum.com/t/gzip-does-not-work-if-content-type-contain-semicolon/246353)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [October 2, 2013, 5:39pm UTC](https://www.ruby-forum.com/t/gzip-does-not-work-if-content-type-contain-semicolon/246353 "2013-10-02T17:39:35Z")

</div>

Hi, I have some serious troubles getting gzip to compress text/html and text/plain content. I’ve put a nginx as revproxy to Jenkins. Jenkins return headers like “Content-Type: text/plain;charset=UTF-8” and “Content-T…

---

## [Ofdm examples](https://www.ruby-forum.com/t/ofdm-examples/236778)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [October 2, 2013, 5:29pm UTC](https://www.ruby-forum.com/t/ofdm-examples/236778 "2013-10-02T17:29:38Z")

</div>

hi community, can we do these examples without using the length tags… if so please let me know the way… looking forward for reply. thanks, lingeswar

---

## [We're sorry, but something went wrong](https://www.ruby-forum.com/t/were-sorry-but-something-went-wrong/246364)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [October 2, 2013, 5:20pm UTC](https://www.ruby-forum.com/t/were-sorry-but-something-went-wrong/246364 "2013-10-02T17:20:52Z")

</div>

So I’m in the early stages of rolling out a system to production, and a few app errors are cropping up that didn’t get caught in testing, and it occurs to me: it would be nice if the default “we’re sorry, but somethin…

---

## [Need a Rubyistic way to get the full path of files under a directory](https://www.ruby-forum.com/t/need-a-rubyistic-way-to-get-the-full-path-of-files-under-a-directory/246199)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 15\
**Last updated:** [October 2, 2013, 5:20pm UTC](https://www.ruby-forum.com/t/need-a-rubyistic-way-to-get-the-full-path-of-files-under-a-directory/246199 "2013-10-02T17:20:16Z")

</div>

Hi, I am looking for to get the full path of files,under a directory. I did it as below : Dir.pwd # =\> “/home/kirti/ruby” Dir.glob(".") =\> \[“SO.rb”, “yaml.rb”, “URI\_examples.rb”, “test.rb”\] Dir.glob(".").map {|f| Fi…

---

## [Unload library](https://www.ruby-forum.com/t/unload-library/236777)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 2, 2013, 4:28pm UTC](https://www.ruby-forum.com/t/unload-library/236777 "2013-10-02T16:28:21Z")

</div>

Hi Developers, \[ The Context \] I have a small project that use DLL libraries from external origins (I can´t access to the sources codes). currently I´m using jruby’win32ole with a great results but … I found a memory…

---

## [Solving a 500 error](https://www.ruby-forum.com/t/solving-a-500-error/246327)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 6\
**Last updated:** [October 2, 2013, 3:30pm UTC](https://www.ruby-forum.com/t/solving-a-500-error/246327 "2013-10-02T15:30:55Z")

</div>

Hi All, I have an nginx install with the configuration below. The server is a linux VM running under Virtual Box on my windows machine. The website / directory is made available as a sharename using Samba, which I co…

---

## [Get username of currently logged windows user](https://www.ruby-forum.com/t/get-username-of-currently-logged-windows-user/236760)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 2, 2013, 2:44pm UTC](https://www.ruby-forum.com/t/get-username-of-currently-logged-windows-user/236760 "2013-10-02T14:44:44Z")

</div>

Hi Folks, Good Evening, I want to get username of currently logged windows user. is it possible?? If Possible… please attach the sample code for more reference. Please advise. Thanks&Regards, Ashokkumar

---

## [\[Rails\] Aiutino per definizione routes](https://www.ruby-forum.com/t/rails-aiutino-per-definizione-routes/236774)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 2, 2013, 1:18pm UTC](https://www.ruby-forum.com/t/rails-aiutino-per-definizione-routes/236774 "2013-10-02T13:18:25Z")

</div>

Salve a tutti, vi chiedo un aiuto per la definizione di routes in un mio piccolo progetto che mi servirà per familiarizzare un po’ meglio con rails. Sto creando un’applicazione che permetta di gestire i punteggi di un …

---

## [Gmaps4rails "acts\_as\_gmappable" error](https://www.ruby-forum.com/t/gmaps4rails-acts-as-gmappable-error/211982)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 14\
**Last updated:** [October 2, 2013, 12:59pm UTC](https://www.ruby-forum.com/t/gmaps4rails-acts-as-gmappable-error/211982 "2013-10-02T12:59:52Z")

</div>

Hi all, I started to see fun of gmaps4rails gem from GitHub - apneadiving/Google-Maps-for-Rails: Enables easy Google map + overlays creation in Ruby apps. After everything done. When visited the locahost, i got the fo…

---

## [Curious \`java.lang.InternalError: collect=Lambda(a0:L,a1:L,a2:L,a3:L,a4:L)\` on 1.7.4](https://www.ruby-forum.com/t/curious-java-lang-internalerror-collect-lambda-a0-l-a1-l-a2-l-a3-l-a4-l-on-1-7-4/236754)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [October 2, 2013, 12:57pm UTC](https://www.ruby-forum.com/t/curious-java-lang-internalerror-collect-lambda-a0-l-a1-l-a2-l-a3-l-a4-l-on-1-7-4/236754 "2013-10-02T12:57:11Z")

</div>

I’m seeing this error sporadically, and haven’t yet found a good reproduction case. For some background I’m using JRuby 1.7.4, Datamapper 1.2.0 and Puma 2.4.0 inside of a warbled up jar file. The full stacktrace can…

---

## [Re: \[jobs\] Ricerca sviluppatore Ruby On Rails - Related FondaMente srl](https://www.ruby-forum.com/t/re-jobs-ricerca-sviluppatore-ruby-on-rails-related-fondamente-srl/236775)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [October 2, 2013, 12:38pm UTC](https://www.ruby-forum.com/t/re-jobs-ricerca-sviluppatore-ruby-on-rails-related-fondamente-srl/236775 "2013-10-02T12:38:29Z")

</div>

Realt del mercato italiano, come questo annuncio che vi consiglio di evitare (essendo stato dipendente di questa azienda FondaMente srl) Offerte stage Tutta Italia - Annunci tirocinio Tutta Italia che dimostra quello…

---

## [Avoid deeply nested routes for many related resources](https://www.ruby-forum.com/t/avoid-deeply-nested-routes-for-many-related-resources/236773)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 2, 2013, 12:30pm UTC](https://www.ruby-forum.com/t/avoid-deeply-nested-routes-for-many-related-resources/236773 "2013-10-02T12:30:45Z")

</div>

Hi all, I’m having some headaches on how to setup my routes for a small app I’m developing. The app has to store the results of a game I’m doing with some friends. I have 4 models, defined as follows: Match: has\_man…

---

## [Attempted duplicate class definition errors](https://www.ruby-forum.com/t/attempted-duplicate-class-definition-errors/236767)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 2, 2013, 7:42am UTC](https://www.ruby-forum.com/t/attempted-duplicate-class-definition-errors/236767 "2013-10-02T07:42:46Z")

</div>

Hello! We consistently see these errors when starting our server - I assume from multiple Ruby threads attempting to initialize classes that have not yet been defined? \*java.lang.LinkageError: loader (instance of o…

---

## [Is it possible to include the username in an attachment file\_name? Using Paperclip, Rails 3., Devise](https://www.ruby-forum.com/t/is-it-possible-to-include-the-username-in-an-attachment-file-name-using-paperclip-rails-3-devise/236768)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [October 2, 2013, 1:05am UTC](https://www.ruby-forum.com/t/is-it-possible-to-include-the-username-in-an-attachment-file-name-using-paperclip-rails-3-devise/236768 "2013-10-02T01:05:04Z")

</div>

Hello, I’m new to Ruby, Rails, Devise and Paperclip and I’m trying to change a filename when I upload it to include the user’s nickname after a \_ however, I keep getting filename.extension\_(missing user name) and thi…

---

## [Confusion with constant look up](https://www.ruby-forum.com/t/confusion-with-constant-look-up/236730)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 22\
**Last updated:** [October 1, 2013, 9:52pm UTC](https://www.ruby-forum.com/t/confusion-with-constant-look-up/236730 "2013-10-01T21:52:39Z")

</div>

Hi, Can anyone tell me why the below code failed? class A module B; end end class C \< A class D B end end NameError: uninitialized constant C::D::B

---

## [Segmentation fault issue with gr\_hier\_block2\_detail::connect](https://www.ruby-forum.com/t/segmentation-fault-issue-with-gr-hier-block2-detail-connect/236766)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [October 1, 2013, 9:52pm UTC](https://www.ruby-forum.com/t/segmentation-fault-issue-with-gr-hier-block2-detail-connect/236766 "2013-10-01T21:52:13Z")

</div>

Hello GNU-Radio list, I wonder why is my C++ code is thorwing a segmentation fault (core dumped), gdb outputs: Program received signal SIGSEGV, Segmentation fault. 0xb7b1b718 in gr\_hier\_block2\_detail::connect(boost…

---

## [Nginx-1.5.6](https://www.ruby-forum.com/t/nginx-1-5-6/246325)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [October 1, 2013, 7:58pm UTC](https://www.ruby-forum.com/t/nginx-1-5-6/246325 "2013-10-01T19:58:50Z")

</div>

Changes with nginx 1.5.6 01 Oct 2013 \*) Feature: the "fastcgi\_buffering" directive. \*) Feature: the "proxy\_ssl\_protocols" and "proxy\_ssl\_ciphers" directives. Thanks to Pio…

---

## [Re: \[jobs\] Ricerca sviluppatore Ruby On Rails - Related](https://www.ruby-forum.com/t/re-jobs-ricerca-sviluppatore-ruby-on-rails-related/236764)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [October 1, 2013, 7:47pm UTC](https://www.ruby-forum.com/t/re-jobs-ricerca-sviluppatore-ruby-on-rails-related/236764 "2013-10-01T19:47:43Z")

</div>

Anche io il primo lavoro Ruby l’ho trovato qui, ma era tanto tanto tanto tempo fa :slight\_smile: In Italia viviamo una situazione complessa, i fattori sono i seguenti: C’ carenza di programmatori anche all’estero. E…

---

## [GNU Radio Question](https://www.ruby-forum.com/t/gnu-radio-question/236763)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 1, 2013, 7:00pm UTC](https://www.ruby-forum.com/t/gnu-radio-question/236763 "2013-10-01T19:00:39Z")

</div>

Hi, i’m doing a real voice transmission using USRP E110 over GNU Radio. When I execute the flow graph bellow GNU Radio shows things I really don´t have idea of what is. it shows things like “UaUaUaUa”, “OaOaOa” or “SS…

---

## [Bug with strptime('%s %z') and patch fix available](https://www.ruby-forum.com/t/bug-with-strptime-s-z-and-patch-fix-available/236762)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 1, 2013, 6:53pm UTC](https://www.ruby-forum.com/t/bug-with-strptime-s-z-and-patch-fix-available/236762 "2013-10-01T18:53:57Z")

</div>

Hi, The issue is very simple; DateTime.strptime(‘%s %z’) doesn’t work correctly: require ‘date’ date = DateTime.strptime(‘1377283786 -0700’, ‘%s %z’) puts date.strftime(‘%s %z’) 1377283786 +0000 Fortunately there…

---

## [Lattice 0.2.0: a concurrent realtime web framework for Ruby](https://www.ruby-forum.com/t/lattice-0-2-0-a-concurrent-realtime-web-framework-for-ruby/246337)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [October 1, 2013, 5:37pm UTC](https://www.ruby-forum.com/t/lattice-0-2-0-a-concurrent-realtime-web-framework-for-ruby/246337 "2013-10-01T17:37:58Z")

</div>

Lattice is an actor-based web framework for Ruby built on top of Celluloid, Reel, and Webmachine. Designed from the ground up for realtime applications, end-to-end streaming, and Websockets, Lattice provides solution…

---

## [TypeError: no implicit conversion of Symbol into Hash when submitting form to upload files](https://www.ruby-forum.com/t/typeerror-no-implicit-conversion-of-symbol-into-hash-when-submitting-form-to-upload-files/236761)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [October 1, 2013, 5:22pm UTC](https://www.ruby-forum.com/t/typeerror-no-implicit-conversion-of-symbol-into-hash-when-submitting-form-to-upload-files/236761 "2013-10-01T17:22:46Z")

</div>

I’m currently new to Rails and Ruby and I’m trying to learn from my mistakes, this time I’m trying to upload 2 files from a form for later processing, however, after I hit the “Submit” button. I keep getting this err…

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

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