# Top

**URL:** https://www.ruby-forum.com/top.md?page=1768

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

---

## [Sorting issues, multiple tables](https://www.ruby-forum.com/t/sorting-issues-multiple-tables/252891)

<div class="topic-metadata">

**Author:** [@DexVinyl](https://www.ruby-forum.com/u/DexVinyl)\
**Replies:** 0\
**Last updated:** [August 18, 2019, 7:46pm UTC](https://www.ruby-forum.com/t/sorting-issues-multiple-tables/252891 "2019-08-18T19:46:00Z")

</div>

Hi All, Hoping you can help with this, it’s starting to mess with my head :frowning: Let me tell you the desired outcome first … Sort on a field that is in a linked table, Artist Name then by Release Title when viewin…

---

## [Sequel model class with automatic update](https://www.ruby-forum.com/t/sequel-model-class-with-automatic-update/252443)

<div class="topic-metadata">

**Author:** [@PaulMuaddib](https://www.ruby-forum.com/u/PaulMuaddib)\
**Replies:** 0\
**Last updated:** [May 19, 2019, 8:43pm UTC](https://www.ruby-forum.com/t/sequel-model-class-with-automatic-update/252443 "2019-05-19T20:43:22Z")

</div>

Hi, I want to download stock prices from a website and encapsulate these inside a class. I want store the values in a database with Sequel. During each access the class needs to check the current date and update the val…

---

## [Help with a new api authentication gem](https://www.ruby-forum.com/t/help-with-a-new-api-authentication-gem/245161)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [November 29, 2016, 9:23pm UTC](https://www.ruby-forum.com/t/help-with-a-new-api-authentication-gem/245161 "2016-11-29T21:23:37Z")

</div>

I needed to make a secure way to authenticate API requests for native apps without timing out or sending a new CSRF token every time a new view is loaded with a form. I created the following method to authenticate and…

---

## [Help with proper graph creation using chartkick and sinatra](https://www.ruby-forum.com/t/help-with-proper-graph-creation-using-chartkick-and-sinatra/231959)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 9, 2014, 9:57pm UTC](https://www.ruby-forum.com/t/help-with-proper-graph-creation-using-chartkick-and-sinatra/231959 "2014-09-09T21:57:12Z")

</div>

Hello, I’m trying to use Chartkick\[1\] to generate a graph for a Sinatra application. The graph I would like to generate is one that shows the variation of price over time for each store. The code I’d like to emulate …

---

## [Gnuradio companion bug](https://www.ruby-forum.com/t/gnuradio-companion-bug/231900)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [September 4, 2014, 9:22pm UTC](https://www.ruby-forum.com/t/gnuradio-companion-bug/231900 "2014-09-04T21:22:00Z")

</div>

Hi guys, everyone has same issue: Created default thread pool with 8 threads. gr\_fir\_fff: using SSE swig/python detected a memory leak of type ‘gr::basic\_block\_sptr \*’, no destructor found. Traceback (most recen…

---

## [OpenResty 1.7.2.1 released](https://www.ruby-forum.com/t/openresty-1-7-2-1-released/230927)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 0\
**Last updated:** [July 13, 2014, 5:29am UTC](https://www.ruby-forum.com/t/openresty-1-7-2-1-released/230927 "2014-07-13T05:29:30Z")

</div>

Hi folks! I am happy to announce the new formal release, 1.7.2.1, of the OpenResty bundle: http://openresty.org/#Download Special thanks go to all our contributors for making this happen! Below is the complete chang…

---

## [JRuby 1.7.13 Released](https://www.ruby-forum.com/t/jruby-1-7-13-released/230577)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 0\
**Last updated:** [June 24, 2014, 9:09pm UTC](https://www.ruby-forum.com/t/jruby-1-7-13-released/230577 "2014-06-24T21:09:18Z")

</div>

The JRuby community is pleased to announce the release of JRuby 1.7.13 Homepage: http://www.jruby.org/ Download: http://www.jruby.org/download JRuby 1.7.13 is our thirteenth update release since JRuby 1.7.0. The prima…

---

## [MacOSX (10.7) vr Run Error](https://www.ruby-forum.com/t/macosx-10-7-vr-run-error/245354)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [May 19, 2013, 5:23pm UTC](https://www.ruby-forum.com/t/macosx-10-7-vr-run-error/245354 "2013-05-19T17:23:58Z")

</div>

I installed everything like the site said with no errors, but when I tried to run the program by entering “vr” at the command prompt I received this message: /Users/Castor/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/ruby…

---

## [Error 403 al hacer localhost:3000 ayudaa!](https://www.ruby-forum.com/t/error-403-al-hacer-localhost-3000-ayudaa/206857)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [May 11, 2011, 8:08pm UTC](https://www.ruby-forum.com/t/error-403-al-hacer-localhost-3000-ayudaa/206857 "2011-05-11T20:08:55Z")

</div>

Hola a todos! bueno estoy intentando aprender ruby on rails siguiendo este tuto:Getting Started with Rails — Ruby on Rails Guides, creo mi controlador “rails generate controller home index”, modifico routes.rb descome…

---

## [CSV uploads and CRLF/LF](https://www.ruby-forum.com/t/csv-uploads-and-crlf-lf/189895)

<div class="topic-metadata">

**Author:** [@tnyplz](https://www.ruby-forum.com/u/tnyplz)\
**Replies:** 0\
**Last updated:** [June 9, 2010, 3:41pm UTC](https://www.ruby-forum.com/t/csv-uploads-and-crlf-lf/189895 "2010-06-09T15:41:36Z")

</div>

Rails models in the database usually have newlines encoded as \\r\\n (CRLF) as they are sent via HTTP and that is how the specification indicates they should be sent. When updating fields in my database by posting a CSV…

---

## [How to radiant consumer plugin in application](https://www.ruby-forum.com/t/how-to-radiant-consumer-plugin-in-application/188909)

<div class="topic-metadata">

**Author:** [@ghanshyam\_6786](https://www.ruby-forum.com/u/ghanshyam_6786)\
**Replies:** 0\
**Last updated:** [May 20, 2010, 11:30am UTC](https://www.ruby-forum.com/t/how-to-radiant-consumer-plugin-in-application/188909 "2010-05-20T11:30:07Z")

</div>

Hi every one, In my existing rails application i want to user radiant commodity extension with rails consumer plug-in. In my rails application i have configured radiant consumer plugin as below. RadiantConsumer.opti…

---

## [Some Ajax requests hang](https://www.ruby-forum.com/t/some-ajax-requests-hang/183624)

<div class="topic-metadata">

**Author:** [@tomuhs](https://www.ruby-forum.com/u/tomuhs)\
**Replies:** 0\
**Last updated:** [February 17, 2010, 4:04pm UTC](https://www.ruby-forum.com/t/some-ajax-requests-hang/183624 "2010-02-17T16:04:32Z")

</div>

I have a Rails 2.2.2 site that is running on four mongrels, balanced via Apache and mod\_balancer. This architecture has worked very efficiently in the past, but I’m now observing requests hanging almost indefinitely w…

---

## [Trac and svn are not responding](https://www.ruby-forum.com/t/trac-and-svn-are-not-responding/144390)

<div class="topic-metadata">

**Author:** [@jeremyheiler](https://www.ruby-forum.com/u/jeremyheiler)\
**Replies:** 0\
**Last updated:** [July 29, 2008, 10:24am UTC](https://www.ruby-forum.com/t/trac-and-svn-are-not-responding/144390 "2008-07-29T10:24:00Z")

</div>

Looks like trac and SVN are down. Trac reports 502 Bad Gateway - http://ferret.davebalmain.com/trac SVN reports ‘Connection refused’ API Docs at http://ferret.davebalmain.com/api/files/README.html are still availab…

---

## [Process environment requires procfs(5)](https://www.ruby-forum.com/t/process-environment-requires-procfs-5/132423)

<div class="topic-metadata">

**Author:** [@Matte\_E](https://www.ruby-forum.com/u/Matte_E)\
**Replies:** 0\
**Last updated:** [March 20, 2008, 12:36am UTC](https://www.ruby-forum.com/t/process-environment-requires-procfs-5/132423 "2008-03-20T00:36:38Z")

</div>

I know this has been brought up before but I’m receiving the error … Process environment requires procfs(5) … when trying to restart my cluster. I’ve narrowed it down to ‘find\_pid’ method in init.rb. I’m running a F…

---

## [Disabling DB connection pooling in ActiveRecord: is it ever a good idea?](https://www.ruby-forum.com/t/disabling-db-connection-pooling-in-activerecord-is-it-ever-a-good-idea/128634)

<div class="topic-metadata">

**Author:** [@Mike\_Subelsky](https://www.ruby-forum.com/u/Mike_Subelsky)\
**Replies:** 0\
**Last updated:** [February 9, 2008, 5:31pm UTC](https://www.ruby-forum.com/t/disabling-db-connection-pooling-in-activerecord-is-it-ever-a-good-idea/128634 "2008-02-09T17:31:52Z")

</div>

The Problem: We’ve built an application where each user has a large, always-growing amount of data – thousands of records per user with a variety of data types. Right now, everybody’s data is in a single MySQL datab…

---

## [Validates is exists](https://www.ruby-forum.com/t/validates-is-exists/201251)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [January 4, 2011, 4:40pm UTC](https://www.ruby-forum.com/t/validates-is-exists/201251 "2011-01-04T16:40:16Z")

</div>

Event has\_and\_belongs\_to\_many :users User has\_and\_belongs\_to\_many :events Im trying to verify that user doesnt signup more than one time def signup @event = Event.find(params\[:id\]) @user = current\_user respond\_to …

---

## [Complex find](https://www.ruby-forum.com/t/complex-find/179687)

<div class="topic-metadata">

**Author:** [@aftershock](https://www.ruby-forum.com/u/aftershock)\
**Replies:** 6\
**Last updated:** [December 3, 2009, 9:41pm UTC](https://www.ruby-forum.com/t/complex-find/179687 "2009-12-03T21:41:34Z")

</div>

I have the following models set up. Plugin has\_many :site\_plugins has\_many :sites, :through =\> :site\_plugins SitePlugin belongs\_to :plugin belongs\_to :site Site has\_many :site\_plugins has\_many :plugins, :through…

---

## [Newbie question on has\_many](https://www.ruby-forum.com/t/newbie-question-on-has-many/140410)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 6\
**Last updated:** [June 13, 2008, 5:51pm UTC](https://www.ruby-forum.com/t/newbie-question-on-has-many/140410 "2008-06-13T17:51:36Z")

</div>

I have two classes: a Widget and a User. The User has an id that is referenced in two places on the Widget: owner\_id and operator\_id. How should I structure that reference for has\_many? Thanks folks - I appreciate any…

---

## [Help me](https://www.ruby-forum.com/t/help-me/110116)

<div class="topic-metadata">

**Author:** [@geetha](https://www.ruby-forum.com/u/geetha)\
**Replies:** 6\
**Last updated:** [July 23, 2007, 3:53pm UTC](https://www.ruby-forum.com/t/help-me/110116 "2007-07-23T15:53:42Z")

</div>

Hi, I am doing string search is one html file usign ruby. If the seach sting is htmlentities means I have not match that word. How can i do it. Please any one help me… regards, S.Sangeetha.

---

## [Has One - Belongs to question](https://www.ruby-forum.com/t/has-one-belongs-to-question/77866)

<div class="topic-metadata">

**Author:** [@bparanj](https://www.ruby-forum.com/u/bparanj)\
**Replies:** 6\
**Last updated:** [December 1, 2006, 10:47pm UTC](https://www.ruby-forum.com/t/has-one-belongs-to-question/77866 "2006-12-01T22:47:52Z")

</div>

I have a User model that has\_one BillingProfile and BillingProfile belongs to a User. How do I retrieve the billing profile corresponding to that particular user? TIA.

---

## [Form and pagination question](https://www.ruby-forum.com/t/form-and-pagination-question/99773)

<div class="topic-metadata">

**Author:** [@Erwann](https://www.ruby-forum.com/u/Erwann)\
**Replies:** 6\
**Last updated:** [July 27, 2006, 1:26pm UTC](https://www.ruby-forum.com/t/form-and-pagination-question/99773 "2006-07-27T13:26:26Z")

</div>

Hello, How do I get params from a form to use with a paginator? debug(params) shows this city: !map:HashWithIndifferentAccess id: “1” but in my controller, when I try to use @hotel\_pages = Paginator.new self, Hotel…

---

## [Update Array in rails view form](https://www.ruby-forum.com/t/update-array-in-rails-view-form/233637)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [December 30, 2014, 5:58pm UTC](https://www.ruby-forum.com/t/update-array-in-rails-view-form/233637 "2014-12-30T17:58:42Z")

</div>

Hi guys, I need some help with updating an array using rails view form . In controller def foo\_params params.require(:foo).permit(:value,:rvalue) end where rvalue is an array. I’ve tried :rvalue=\>\[\] but no luck In…

---

## [UHD blocks](https://www.ruby-forum.com/t/uhd-blocks/239939)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [March 20, 2014, 9:07pm UTC](https://www.ruby-forum.com/t/uhd-blocks/239939 "2014-03-20T21:07:40Z")

</div>

My friend has installed GNU Radio from this link http://blogs.bu.edu/mhirsch/2012/07/installing-gnu-radio-in-ubuntu-12-04-x64/comment-page-1/ Then when running GNURadio , she found UHD blocks in it . 1- Does this mea…

---

## [Gemspec dependencies, not honored until too late?](https://www.ruby-forum.com/t/gemspec-dependencies-not-honored-until-too-late/238387)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [January 8, 2014, 11:52am UTC](https://www.ruby-forum.com/t/gemspec-dependencies-not-honored-until-too-late/238387 "2014-01-08T11:52:47Z")

</div>

When I clean out all my gems and do a “gem install veewee” I get the error ERROR: Error installing veewee-0.3.12.gem: grit requires mime-types (~\> 1.15, runtime) I gem list and see mime-types 2.0 installed. If I in…

---

## [Gr-bluetooth-0.4 make error](https://www.ruby-forum.com/t/gr-bluetooth-0-4-make-error/235375)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [August 29, 2013, 1:05pm UTC](https://www.ruby-forum.com/t/gr-bluetooth-0-4-make-error/235375 "2013-08-29T13:05:43Z")

</div>

hi I am trying to install gr-bluetooth-0.4. I got gr-bluetooth from http://gr-bluetooth.sourceforge.net/ , downloaded the latest version, ./configure sudo make During installation i get the following make error. …

---

## [Re: virtual server configuration](https://www.ruby-forum.com/t/re-virtual-server-configuration/245596)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 2\
**Last updated:** [June 17, 2013, 5:57pm UTC](https://www.ruby-forum.com/t/re-virtual-server-configuration/245596 "2013-06-17T17:57:19Z")

</div>

Hi Janet, Can you show us the content of your nginx.conf? Do you have the ‘include’ directive in your nginx.conf to point to your sites-available? For example: http { … include /etc/nginx/sites-available/\*; … } …

---

## [I have a Question about channel model parameters](https://www.ruby-forum.com/t/i-have-a-question-about-channel-model-parameters/228668)

<div class="topic-metadata">

**Author:** [@Irfan\_U](https://www.ruby-forum.com/u/Irfan_U)\
**Replies:** 2\
**Last updated:** [May 2, 2013, 3:52pm UTC](https://www.ruby-forum.com/t/i-have-a-question-about-channel-model-parameters/228668 "2013-05-02T15:52:45Z")

</div>

hi all, Now a days i am working on cooperative communication and i am simulating my communication on channel model block but i don’t know the purpose of the some parameters of channel model block like epsilon?, taps?…

---

## [Scheduler Question](https://www.ruby-forum.com/t/scheduler-question/226969)

<div class="topic-metadata">

**Author:** [@Almohanad\_F](https://www.ruby-forum.com/u/Almohanad_F)\
**Replies:** 2\
**Last updated:** [February 27, 2013, 3:58pm UTC](https://www.ruby-forum.com/t/scheduler-question/226969 "2013-02-27T15:58:58Z")

</div>

I’ve been reading through the code in gnuradio-core/runtime for a few days to understand the internal workings of the gnuradio scheduler. It seems to me that gnuradio was originally based on a synchronous dataflow (…

---

## [Tk with win32ole in XP](https://www.ruby-forum.com/t/tk-with-win32ole-in-xp/222841)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 14, 2012, 10:07am UTC](https://www.ruby-forum.com/t/tk-with-win32ole-in-xp/222841 "2012-09-14T10:07:17Z")

</div>

The attached example rbw file will correctly execute “moose” from inside Tk on Windows 7 with Ruby 1.9.3p125, with Office 2010 installed. However, on Windows XP, with everything else the same, it fails. The win32ole c…

---

## [Installation of Nokogiri fails](https://www.ruby-forum.com/t/installation-of-nokogiri-fails/221457)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [July 16, 2012, 12:20pm UTC](https://www.ruby-forum.com/t/installation-of-nokogiri-fails/221457 "2012-07-16T12:20:07Z")

</div>

Ubuntu 10.04 Ruby ruby 1.9.3p194 (2012-04-20 revision 35410) \[i686-linux\] I need to install Nokogiri but the installation fails with an error that follows. Building native extensions. This could take a while… ERROR…

---

## [\[Ruby 1.9 - Bug #5032\]\[Open\] Gem::Specification#loaded? が常に false を返す](https://www.ruby-forum.com/t/ruby-1-9-bug-5032-open-gem-specification-loaded-false/209538)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [July 17, 2011, 1:50pm UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-5032-open-gem-specification-loaded-false/209538 "2011-07-17T13:50:38Z")

</div>

Issue #5032 has been reported by okkez \_. Bug #5032: Gem::Specification#loaded? が常に false を返す Author: okkez \_ Status: Open Priority: Normal Assignee: Category: lib Target version: 1.9.3 ruby -v: 1.9.3 1.9.3 の …

---

## [\[Ruby 1.9 - Bug #4547\]\[Open\] RUBY\_HEAP\_MIN\_SLOTS is not reflected](https://www.ruby-forum.com/t/ruby-1-9-bug-4547-open-ruby-heap-min-slots-is-not-reflected/205227)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [June 11, 2011, 12:58pm UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-4547-open-ruby-heap-min-slots-is-not-reflected/205227 "2011-06-11T12:58:57Z")

</div>

Issue #4547 has been reported by Narihiro N… Bug #4547: RUBY\_HEAP\_MIN\_SLOTS is not reflected Author: Narihiro N. Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9.3dev (2011-04…

---

## ["Lazy" image resizing?](https://www.ruby-forum.com/t/lazy-image-resizing/205391)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [April 6, 2011, 3:18am UTC](https://www.ruby-forum.com/t/lazy-image-resizing/205391 "2011-04-06T03:18:25Z")

</div>

I’m looking at Dragonfly, which seems to offer what I’m looking for in this area: the ability to upload an image, then later request that image at a different geometry, and either get a cached copy of that resized ima…

---

## [Nginx-0.9.7](https://www.ruby-forum.com/t/nginx-0-9-7/205337)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [April 5, 2011, 12:00am UTC](https://www.ruby-forum.com/t/nginx-0-9-7/205337 "2011-04-05T00:00:01Z")

</div>

Changes with nginx 0.9.7 04 Apr 2011 \*) Feature: now keepalive connections may be closed premature, if there are no free worker connections. Thanks to Maxim D… \*) Feature: t…

---

## [Rails3 Uploading a File over AJAX](https://www.ruby-forum.com/t/rails3-uploading-a-file-over-ajax/203976)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [March 3, 2011, 12:26am UTC](https://www.ruby-forum.com/t/rails3-uploading-a-file-over-ajax/203976 "2011-03-03T00:26:04Z")

</div>

What is the Rails Way of uploading a file over AJAX with Rails 3? In previous versions of Rails, I’ve posted to a targeted iframe and used responds\_to\_parent to render the response. This doesn’t appear to be working…

---

## [ANN: Sequel 3.20.0 Released](https://www.ruby-forum.com/t/ann-sequel-3-20-0-released/202571)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 2, 2011, 6:03pm UTC](https://www.ruby-forum.com/t/ann-sequel-3-20-0-released/202571 "2011-02-02T18:03:57Z")

</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…

---

## [Model's boolean attribute always being set to true?](https://www.ruby-forum.com/t/models-boolean-attribute-always-being-set-to-true/201144)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 1, 2011, 3:48am UTC](https://www.ruby-forum.com/t/models-boolean-attribute-always-being-set-to-true/201144 "2011-01-01T03:48:09Z")

</div>

My Article model has one boolean field called “draft”. I’m using sqlite3 and rails 3.0.3. The boolean column (which was created with :boolean) is storing ‘true’ and ‘false’ as ‘t’ and ‘f’ in the database, and the …

---

## [\[Ruby 1.9-Bug#4159\]\[Open\] test block variables(TestRipper::ParserEvents) が失敗する](https://www.ruby-forum.com/t/ruby-1-9-bug-4159-open-test-block-variables-testripper-parserevents/226126)

<div class="topic-metadata">

**Author:** [@Kouhei\_Y](https://www.ruby-forum.com/u/Kouhei_Y)\
**Replies:** 2\
**Last updated:** [December 14, 2010, 6:16pm UTC](https://www.ruby-forum.com/t/ruby-1-9-bug-4159-open-test-block-variables-testripper-parserevents/226126 "2010-12-14T18:16:22Z")

</div>

Bug #4159: test\_block\_variables(TestRipper::ParserEvents) が失敗する http://redmine.ruby-lang.org/issues/show/4159 起票者: Kouhei Y. ステータス: Open, 優先度: Normal ruby -v: ruby 1.9.3dev (2010-12-14 trunk 30209) \[x86\_64-linux\] te…

---

## [Converting xml to a OpenStruct](https://www.ruby-forum.com/t/converting-xml-to-a-openstruct/199759)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [November 29, 2010, 4:31am UTC](https://www.ruby-forum.com/t/converting-xml-to-a-openstruct/199759 "2010-11-29T04:31:28Z")

</div>

Hi just wondering if there is a easy way to turn an xml entity into a object like of type OpenStruct where i can access everything like a property? It’s kind of like parsing xml, I already know about nokogiri, but I w…

---

## [Xml builder, dynamic methods](https://www.ruby-forum.com/t/xml-builder-dynamic-methods/187037)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 2\
**Last updated:** [April 16, 2010, 6:38pm UTC](https://www.ruby-forum.com/t/xml-builder-dynamic-methods/187037 "2010-04-16T18:38:55Z")

</div>

Is there a way to do something like: x = Builder::XmlMarkup.new(:target =\> $stdout, :indent =\> 1) x.instruct! x.response{ x.XXXXX{ XXXXX is a variable sent in to a method.

---

## [Strange error message: Java methods can only be invoked on Java objects (TypeError)](https://www.ruby-forum.com/t/strange-error-message-java-methods-can-only-be-invoked-on-java-objects-typeerror/183080)

<div class="topic-metadata">

**Author:** [@rogergue](https://www.ruby-forum.com/u/rogergue)\
**Replies:** 2\
**Last updated:** [February 8, 2010, 8:44pm UTC](https://www.ruby-forum.com/t/strange-error-message-java-methods-can-only-be-invoked-on-java-objects-typeerror/183080 "2010-02-08T20:44:39Z")

</div>

The code below produces the following error message: Java methods can only be invoked on Java objects (TypeError) Why ? I thought I created a java class ? Regards Roger require ‘java’ require ‘jruby/core\_ext’ incl…

---

## [Aprire una nuova finestra del browser dal controller](https://www.ruby-forum.com/t/aprire-una-nuova-finestra-del-browser-dal-controller/182685)

<div class="topic-metadata">

**Author:** [@sdpurtill](https://www.ruby-forum.com/u/sdpurtill)\
**Replies:** 2\
**Last updated:** [February 1, 2010, 3:26pm UTC](https://www.ruby-forum.com/t/aprire-una-nuova-finestra-del-browser-dal-controller/182685 "2010-02-01T15:26:58Z")

</div>

Salve a tutti. Secondo voi si puo’ aprire una nuova finestra del browser dal controller? Mi spiego meglio. So che posso aprire un collegamento in una nuova finestra mettendo :popup =\> true in link\_to. Ma questo si …

---

## [Statistics calculations in Ruby](https://www.ruby-forum.com/t/statistics-calculations-in-ruby/177540)

<div class="topic-metadata">

**Author:** [@thiagobrandam](https://www.ruby-forum.com/u/thiagobrandam)\
**Replies:** 2\
**Last updated:** [October 20, 2009, 8:04am UTC](https://www.ruby-forum.com/t/statistics-calculations-in-ruby/177540 "2009-10-20T08:04:06Z")

</div>

Hi all, I have to do some statistics calculations (normal distribution, etc) in Ruby and I don’t seem to find much of it in the language itself. Would be the R statistics package the best solution so far? Thanks in a…

---

## [I want new Enumerable Methods, "includes, anies"](https://www.ruby-forum.com/t/i-want-new-enumerable-methods-includes-anies/173274)

<div class="topic-metadata">

**Author:** [@hiphapis](https://www.ruby-forum.com/u/hiphapis)\
**Replies:** 2\
**Last updated:** [August 6, 2009, 7:44pm UTC](https://www.ruby-forum.com/t/i-want-new-enumerable-methods-includes-anies/173274 "2009-08-06T19:44:00Z")

</div>

\#includes ##before: enum.each do |e| if e == “1” #bla~ #bla~ end end ##after: enum.includes(“1”). do #bla~ #bla~ end #anies ##before: enum.each do |e| if e.id == “1” #bla~ #bla~ end end ##after: enu…

---

## [\[RCR\] GC.force\_recycle(object)](https://www.ruby-forum.com/t/rcr-gc-force-recycle-object/172589)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 2\
**Last updated:** [July 23, 2009, 9:46pm UTC](https://www.ruby-forum.com/t/rcr-gc-force-recycle-object/172589 "2009-07-23T21:46:21Z")

</div>

Background: currently you can’t force a garbage collection \[even if you’re pretty sure an object isn’t referenced\] except by doing a GC.start, which itself isn’t guaranteed to collect anything, because of the conserva…

---

## [Local file href or redirect](https://www.ruby-forum.com/t/local-file-href-or-redirect/169466)

<div class="topic-metadata">

**Author:** [@mk27](https://www.ruby-forum.com/u/mk27)\
**Replies:** 2\
**Last updated:** [June 4, 2009, 2:16am UTC](https://www.ruby-forum.com/t/local-file-href-or-redirect/169466 "2009-06-04T02:16:03Z")

</div>

If I include a link like this in a view: GO! The link works normally. But this: GO! is somehow blocked, and there is NO ERROR OR OTHER FORM OF EXPLANATION OR NOTIFICATION by webrick, rails, et. al. That is very un…

---

## [GC$B$NLdBj(B](https://www.ruby-forum.com/t/gc-b-nldbj-b/167949)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [May 18, 2009, 2:03pm UTC](https://www.ruby-forum.com/t/gc-b-nldbj-b/167949 "2009-05-18T14:03:29Z")

</div>

ã‘ã„ã˜ã‚…ï¼ ã„ã—ã¤ã‹ã§ã™. æ·»ä»˜ã®ãƒ—ãƒ­ã‚°ãƒ©ãƒ ã‚’å®Ÿè¡Œã™ã‚‹ã¨. ã»ã¨ã‚“ã©ã®ã‚ªãƒ–ã‚¸ã‚§ã‚¯ãƒˆ(æ–‡å­—åˆ—)ãŒGCã§å›žåŽ ã•ã‚Œãªã„ã¾ã¾æ®‹ã£ã¦ã—ã¾ã„ã¾ã™. ã“ã‚Œã£ã¦, rubyå´ã§ã‚‚ã£ã¨åŠ…

---

## [Mswin32's nan\_test is broken by r22579](https://www.ruby-forum.com/t/mswin32s-nan-test-is-broken-by-r22579/161394)

<div class="topic-metadata">

**Author:** [@U.Nakamura](https://www.ruby-forum.com/u/U.Nakamura)\
**Replies:** 2\
**Last updated:** [February 27, 2009, 7:12am UTC](https://www.ruby-forum.com/t/mswin32s-nan-test-is-broken-by-r22579/161394 "2009-02-27T07:12:31Z")

</div>

e$B$3$s$K$A$O!"$J$+$\`$ie(B(e$B$&e(B)e$B$G$9!#e(B e$B2\<5-$NJQ99$G$9$,!"e(Bmswin32e$B$Ge(Bsample/test.rbe$B$Ne(Bnan\_teste$BFb$G\<:GT$7e(B e$B$^$/$k$N$G!“ITMW$J%A%‘%C%/$8$c$J$+$C$?$\_$?$$$G$9!#e(B VC++e$B$G$O=\>Mh$N%A%’%C%/…

---

## [New third party module: GeoIP](https://www.ruby-forum.com/t/new-third-party-module-geoip/160461)

<div class="topic-metadata">

**Author:** [@spilgames](https://www.ruby-forum.com/u/spilgames)\
**Replies:** 2\
**Last updated:** [February 20, 2009, 3:47pm UTC](https://www.ruby-forum.com/t/new-third-party-module-geoip/160461 "2009-02-20T15:47:34Z")

</div>

The Nginx GeoIP module is based on the original Geo module, the difference being that it is not being controlled by a piece of config, but makes use of the MaxMind GeoIP binary API natively. It provides for fast looku…

---

## [Script/console : modify an attribute](https://www.ruby-forum.com/t/script-console-modify-an-attribute/160716)

<div class="topic-metadata">

**Author:** [@loader](https://www.ruby-forum.com/u/loader)\
**Replies:** 2\
**Last updated:** [February 19, 2009, 6:23pm UTC](https://www.ruby-forum.com/t/script-console-modify-an-attribute/160716 "2009-02-19T18:23:44Z")

</div>

Hello everyone! I would like to know how to modify a variable in the console? I did this : e = Entry.find(:first) e.dev.community.name = “Ruby Geeks” e.save But when I look into my database, the variable didn’t cha…

[Previous page](https://www.ruby-forum.com/top.md?page=1767&per_page=50)

[Next page](https://www.ruby-forum.com/top.md?page=1769&per_page=50)
