# Latest

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

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

---

## [Access a Ruby class from Java reflection](https://www.ruby-forum.com/t/access-a-ruby-class-from-java-reflection/236824)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [October 5, 2013, 6:11pm UTC](https://www.ruby-forum.com/t/access-a-ruby-class-from-java-reflection/236824 "2013-10-05T18:11:57Z")

</div>

Hi all! This is for the Ruboto project, but may be helpful for other platforms as well. I am trying to access a Ruby subclass of a Java class (android.app.Fragment) from an Android XML file. I assume that when the …

---

## [Rails 4 ujs button only works after second click](https://www.ruby-forum.com/t/rails-4-ujs-button-only-works-after-second-click/236788)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [October 5, 2013, 5:50pm UTC](https://www.ruby-forum.com/t/rails-4-ujs-button-only-works-after-second-click/236788 "2013-10-05T17:50:54Z")

</div>

Here’s the code new.js.erb file has the following js code $(‘a.pinbutton’).on(‘click’, function() { $(this).parent().append(‘\<%= escape\_javascript(render(“select”)) %\>’) }); here’s the player index with the new li…

---

## [Save attachments to database and Rails application public directory](https://www.ruby-forum.com/t/save-attachments-to-database-and-rails-application-public-directory/236825)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 5, 2013, 4:30pm UTC](https://www.ruby-forum.com/t/save-attachments-to-database-and-rails-application-public-directory/236825 "2013-10-05T16:30:48Z")

</div>

I am new to ROR and learning it.I am using Rails 2.3.5. I have a form where I can attach multiple files. I need to save these attachments in my db and also in a directory in my application directory. I dont want to us…

---

## [Pushing to a jrubyfx app](https://www.ruby-forum.com/t/pushing-to-a-jrubyfx-app/236817)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [October 5, 2013, 4:09pm UTC](https://www.ruby-forum.com/t/pushing-to-a-jrubyfx-app/236817 "2013-10-05T16:09:47Z")

</div>

I want to push notifications to a jrubyfx app, so I figured that one way would be to have Sinatra running backed up by a lightweight embeddable web server. I’ve been using Trinidad which embeds TomCat but I’m guessing…

---

## [Watir-rspec 1.1.0](https://www.ruby-forum.com/t/watir-rspec-1-1-0/236821)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 5, 2013, 2:52pm UTC](https://www.ruby-forum.com/t/watir-rspec-1-1-0/236821 "2013-10-05T14:52:17Z")

</div>

Hi! Released watir-rspec 1.1.0: Add --force option for watir-rspec command line interface to force the installation even if it seems to be already installed for the project. Check out more at GitHub - watir/watir-rs…

---

## [Watir-rails 1.0.0](https://www.ruby-forum.com/t/watir-rails-1-0-0/246333)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [October 5, 2013, 2:51pm UTC](https://www.ruby-forum.com/t/watir-rails-1-0-0/246333 "2013-10-05T14:51:36Z")

</div>

Hi! Released watir-rails 1.0.0: Add watir as a dependency to make it possible to use with watir-classic too. Add specs to keep the quality high. Documentation fixes. Check out more at GitHub - watir/watir-rails: Add…

---

## [Watir 5.0.0 released](https://www.ruby-forum.com/t/watir-5-0-0-released/246349)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [October 5, 2013, 2:49pm UTC](https://www.ruby-forum.com/t/watir-5-0-0-released/246349 "2013-10-05T14:49:46Z")

</div>

Hi! Released watir 5.0.0: Add support for watir-classic 4.0. README improvements. Check out more at GitHub - watir/watir: Watir Powered By Selenium Jarmo P.

---

## [Watir-classic 4.0.0 & 4.0.1](https://www.ruby-forum.com/t/watir-classic-4-0-0-4-0-1/236820)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [October 5, 2013, 2:48pm UTC](https://www.ruby-forum.com/t/watir-classic-4-0-0-4-0-1/236820 "2013-10-05T14:48:29Z")

</div>

Hi! Released watir-classic 4.0.0 & 4.0.1: == 4.0.1 Bump win32screenshot dependency version. == 4.0.0 Browser#add\_checker also accepts block instead of a proc object. Browser#initialize suppresses window only when …

---

## [Win32screenshot 1.0.9](https://www.ruby-forum.com/t/win32screenshot-1-0-9/236816)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [October 5, 2013, 2:46pm UTC](https://www.ruby-forum.com/t/win32screenshot-1-0-9/236816 "2013-10-05T14:46:58Z")

</div>

Hi! Released win32screenshot 1.0.9: Set mini\_magick 3.5.0 as a dependency because 3.6.0 is broken. Check out more at GitHub - jarmo/win32screenshot: Capture Screenshots on Windows with Ruby Jarmo P. IT does really …

---

## [\[Rails\] Errore strano](https://www.ruby-forum.com/t/rails-errore-strano/236814)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [October 5, 2013, 11:44am UTC](https://www.ruby-forum.com/t/rails-errore-strano/236814 "2013-10-05T11:44:30Z")

</div>

Ciao, so che l’oggetto della mail non molto esplicativo ma cerco di spiegare meglio il mio problema: Sto portando un’app da Rails 3 (Ruby 1.9.3) a Rails 4 (Ruby 2). Tutto funziona correttamente tranne una cosa. Nel…

---

## [Undefined Method Complaint](https://www.ruby-forum.com/t/undefined-method-complaint/236808)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [October 5, 2013, 10:41am UTC](https://www.ruby-forum.com/t/undefined-method-complaint/236808 "2013-10-05T10:41:11Z")

</div>

Why does running the following code block result in a complaint that there is no greeting method? class MyClass myVar=greeting() def greeting() return ‘Hello, world!’ end end Thanks so much for any help. ... do…

---

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

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 40\
**Last updated:** [October 5, 2013, 10:18am UTC](https://www.ruby-forum.com/t/re-jobs-ricerca-sviluppatore-ruby-on-rails-related/236765 "2013-10-05T10:18:01Z")

</div>

io personalmente ho preferito la via dell’estero come dipendente piuttosto che la vita del libero professionista in italia, ed al momento non me ne pento. E non posso biasimarti affatto :slight\_smile:

---

## [Linking Error // Missing Library // openLTE Cmake](https://www.ruby-forum.com/t/linking-error-missing-library-openlte-cmake/246348)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [October 5, 2013, 9:56am UTC](https://www.ruby-forum.com/t/linking-error-missing-library-openlte-cmake/246348 "2013-10-05T09:56:24Z")

</div>

Hi all, while adding the a resampler to the openLTE project, i got a linking error. I added in the header file : LTE\_fdd\_dl\_scan\_flowgraph the library rational resampler: Into the header file: gr::filter::rational\_…

---

## [Ofdm\_rx](https://www.ruby-forum.com/t/ofdm-rx/236813)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [October 5, 2013, 8:31am UTC](https://www.ruby-forum.com/t/ofdm-rx/236813 "2013-10-05T08:31:06Z")

</div>

hi, in the rx\_ofdm.grc in examples contains the STREAMCRC32 block. in which the mode must be check CRC. but the default in the example is generate crc. it is only working for generate crc and for checkCRC it doesnot…

---

## [FFT block in gnuradio-companion](https://www.ruby-forum.com/t/fft-block-in-gnuradio-companion/236516)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 5, 2013, 7:49am UTC](https://www.ruby-forum.com/t/fft-block-in-gnuradio-companion/236516 "2013-10-05T07:49:52Z")

</div>

Can someone explain the procedure in FFT block? Does it perform the same function as in Matlab? How can we relate this FFT block in gnuradio to FFT function in matlab?

---

## [Programming using "Prior Knowledge"](https://www.ruby-forum.com/t/programming-using-prior-knowledge/246283)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 21\
**Last updated:** [October 5, 2013, 6:25am UTC](https://www.ruby-forum.com/t/programming-using-prior-knowledge/246283 "2013-10-05T06:25:06Z")

</div>

Hello Fellow Rubyists, Just wanted to introduce/disclose programming using “Prior Knowledge” based on domain knowledge. This note in GitHub - nvijayap/mathematics: Wrapper around Ruby Math module; Has additional metho…

---

## [Rails will\_paginate friendly URL](https://www.ruby-forum.com/t/rails-will-paginate-friendly-url/246331)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [October 5, 2013, 5:52am UTC](https://www.ruby-forum.com/t/rails-will-paginate-friendly-url/246331 "2013-10-05T05:52:12Z")

</div>

Hello, I have a model called book and this book will have many pages. For displaying the pages i have used will\_paginate. It is working fine but i wanted to change the url. right now url is like “http://localhost:300…

---

## [Swig madness](https://www.ruby-forum.com/t/swig-madness/246346)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [October 5, 2013, 12:28am UTC](https://www.ruby-forum.com/t/swig-madness/246346 "2013-10-05T00:28:59Z")

</div>

Hi Guys, I am trying to create a rational\_sync\_block class in an out of tree module, which is both an interpolator and decimator with a rational data rate. So I just wrote the class, almost exactly like how sync\_inte…

---

## [Rails 3.2.15.rc2 has been released!](https://www.ruby-forum.com/t/rails-3-2-15-rc2-has-been-released/246381)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [October 4, 2013, 10:57pm UTC](https://www.ruby-forum.com/t/rails-3-2-15-rc2-has-been-released/246381 "2013-10-04T22:57:13Z")

</div>

Hi everybody! I’ve released another release candidate of Rails. This time it is 3.2.15.rc2. I like to call this release the “Happy Friday!” release. If you find any regressions between this release and 3.2.14, pleas…

---

## [Bug? grc xml file throws error when \<param\> elements out of order](https://www.ruby-forum.com/t/bug-grc-xml-file-throws-error-when-param-elements-out-of-order/236809)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 1\
**Last updated:** [October 4, 2013, 10:24pm UTC](https://www.ruby-forum.com/t/bug-grc-xml-file-throws-error-when-param-elements-out-of-order/236809 "2013-10-04T22:24:29Z")

</div>

I’m getting the following error when opening gnuradio-companion on my hand-coded blocks: ERROR:VALID:DTD\_NOT\_PCDATA: Element block was declared #PCDATA but contains non text nodes I’m seeing it when I do the followin…

---

## [High response time at high concurrent connections](https://www.ruby-forum.com/t/high-response-time-at-high-concurrent-connections/236744)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 10\
**Last updated:** [October 4, 2013, 9:01pm UTC](https://www.ruby-forum.com/t/high-response-time-at-high-concurrent-connections/236744 "2013-10-04T21:01:30Z")

</div>

I have a news site which is run by 4 tornado instances and nginx as reverse proxy in front of them. Pages are rendered and cached in memcached so generally the response time is less than 3 ms according to tornado lo…

---

## [Nginx Fastcgi\_cache performance - Disk cached VS tmpfs cached VS serving static file](https://www.ruby-forum.com/t/nginx-fastcgi-cache-performance-disk-cached-vs-tmpfs-cached-vs-serving-static-file/246362)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 9\
**Last updated:** [October 4, 2013, 7:44pm UTC](https://www.ruby-forum.com/t/nginx-fastcgi-cache-performance-disk-cached-vs-tmpfs-cached-vs-serving-static-file/246362 "2013-10-04T19:44:58Z")

</div>

Hello guys, First of all, thanks for nginx. It is very good and easy to setup. And it is kind of a joy to learn about it. Two warnings: this performance thing is addictive. Every bit you squeeze, you want more. And…

---

## [Forward Proxy config for iPads for soon to go Live site](https://www.ruby-forum.com/t/forward-proxy-config-for-ipads-for-soon-to-go-live-site/246356)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [October 4, 2013, 5:59pm UTC](https://www.ruby-forum.com/t/forward-proxy-config-for-ipads-for-soon-to-go-live-site/246356 "2013-10-04T17:59:11Z")

</div>

Hi, I’m an nginx newbie and I need to configure it as an externally available forward proxy for manually configured iPads running an iOS app to test a soon to go Live website. You cannot change host files on an iPad …

---

## [Two fields in model but only need to store last field selected by user](https://www.ruby-forum.com/t/two-fields-in-model-but-only-need-to-store-last-field-selected-by-user/246378)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [October 4, 2013, 2:47pm UTC](https://www.ruby-forum.com/t/two-fields-in-model-but-only-need-to-store-last-field-selected-by-user/246378 "2013-10-04T14:47:29Z")

</div>

Hi, Please help me I have two fields in a form, One field stores photo, am using paperclip and another field stores link of picture from web. My problem is i have to store only one value of any field which user sele…

---

## [DNS issues](https://www.ruby-forum.com/t/dns-issues/236805)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [October 4, 2013, 2:25pm UTC](https://www.ruby-forum.com/t/dns-issues/236805 "2013-10-04T14:25:49Z")

</div>

Just a quick update to say that the DNS issues have been identified and fixed, and we are just waiting for everything to propagate. I’ll send another update with more detail after we get things started today at the c…

---

## [Ngx\_cache\_purge not found](https://www.ruby-forum.com/t/ngx-cache-purge-not-found/246345)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [October 4, 2013, 1:34pm UTC](https://www.ruby-forum.com/t/ngx-cache-purge-not-found/246345 "2013-10-04T13:34:24Z")

</div>

Hi there, I tried to use ngx\_cache\_purge with the configuration below location ~ /purge(/.\*) { allow 127.0.0.1; deny all; proxy\_cache\_purge one backend$request\_uri; } location ~\* ^.+\\.(css|js)$ { proxy\_pass …

---

## [Changing Bandwidth USRP](https://www.ruby-forum.com/t/changing-bandwidth-usrp/246336)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [October 4, 2013, 1:06pm UTC](https://www.ruby-forum.com/t/changing-bandwidth-usrp/246336 "2013-10-04T13:06:20Z")

</div>

How can we increase the bandwidth of the FFT plot. The bandwidth is only 0.1MHz, how can I increase that to at least 10MHz. Thanks. – View this message in context: http://gnuradio.4.n7.nabble.com/Changing-Bandwidth-U…

---

## [GNURADIO.org down?](https://www.ruby-forum.com/t/gnuradio-org-down/236800)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 10\
**Last updated:** [October 4, 2013, 12:08pm UTC](https://www.ruby-forum.com/t/gnuradio-org-down/236800 "2013-10-04T12:08:29Z")

</div>

It appears that gnuradio.org is down. There’s a domain name advertisement up instead. Sincerely, Tommy James Tracy II Ph.D Student High Performance Low Power Lab University of Virginia Phone: 913-775-2241

---

## [Paperclip with nested form saving null values in db](https://www.ruby-forum.com/t/paperclip-with-nested-form-saving-null-values-in-db/236804)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 0\
**Last updated:** [October 4, 2013, 11:53am UTC](https://www.ruby-forum.com/t/paperclip-with-nested-form-saving-null-values-in-db/236804 "2013-10-04T11:53:35Z")

</div>

I have a Attachment model and Reminder model. The Reminder has many attachments and Attachment belongs to a Reminder. I have set up the association and it works fine. I have defined accepts\_nested\_attributes\_for :atta…

---

## [Null value in mysql database table](https://www.ruby-forum.com/t/null-value-in-mysql-database-table/236801)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 6\
**Last updated:** [October 4, 2013, 11:42am UTC](https://www.ruby-forum.com/t/null-value-in-mysql-database-table/236801 "2013-10-04T11:42:13Z")

</div>

I want to save four fields(name,latitude,longitude,location) coming from my android phone to mysql table through ruby. I did the follwing code in my update file. def update @trackdata\_items=Trackdata.new(params\[:tr…

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

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