# Top

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

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

---

## [Text to Hash](https://www.ruby-forum.com/t/text-to-hash/239993)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [March 24, 2014, 12:04am UTC](https://www.ruby-forum.com/t/text-to-hash/239993 "2014-03-24T00:04:59Z")

</div>

I’m trying to parse some text to break into a Hash with Key Value pairs. The text looks like this: “Business Services”,"$2,480.31" “Shopping”,"$1,914.75" “Home”,"$1,807.53" Each string is the key, each dollar amount…

---

## [Mobile app JSON calls to controller](https://www.ruby-forum.com/t/mobile-app-json-calls-to-controller/239409)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 2\
**Last updated:** [February 27, 2014, 3:36am UTC](https://www.ruby-forum.com/t/mobile-app-json-calls-to-controller/239409 "2014-02-27T03:36:13Z")

</div>

Hi, I’ve controller methods which my mobile app calls to retrieve JSON. I’m curious what is the best practice in naming mobile methods? Do I put all the mobile calls into a new controller? Right now I’m only prependng …

---

## [Jquery mobile update div tag](https://www.ruby-forum.com/t/jquery-mobile-update-div-tag/224221)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [November 8, 2012, 8:18am UTC](https://www.ruby-forum.com/t/jquery-mobile-update-div-tag/224221 "2012-11-08T08:18:42Z")

</div>

Hi, I’m hoping there’s Rails developers who are working with jquery mobile and can help me out with this simple thing. I’m trying to update a div on a page with an Ajax call and it doesn’t work. If I call jquery dire…

---

## [Ajax in rails](https://www.ruby-forum.com/t/ajax-in-rails/223383)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [October 2, 2012, 4:19pm UTC](https://www.ruby-forum.com/t/ajax-in-rails/223383 "2012-10-02T16:19:22Z")

</div>

I am building a task management application in ROR. I am new to ROR and learning it. While adding tasks, I need to select a projects drop down list and the team members of that project will be shown as drop down. I am…

---

## [Volk kernels and num\_bytes vs num\_points](https://www.ruby-forum.com/t/volk-kernels-and-num-bytes-vs-num-points/221158)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [July 3, 2012, 4:20am UTC](https://www.ruby-forum.com/t/volk-kernels-and-num-bytes-vs-num-points/221158 "2012-07-03T04:20:21Z")

</div>

Hey VOLK enthusiasts, It looks like in just a few kernels we use num\_bytes as the length parameter rather than num\_points. I think this may have been a source of confusion and perhaps a few test failures. See, we pas…

---

## [Embed ruby 1.9.3 source into an iOS Xcode project](https://www.ruby-forum.com/t/embed-ruby-1-9-3-source-into-an-ios-xcode-project/215759)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [May 23, 2012, 9:10pm UTC](https://www.ruby-forum.com/t/embed-ruby-1-9-3-source-into-an-ios-xcode-project/215759 "2012-05-23T21:10:18Z")

</div>

Hi all. I’m looking for a way of embeding Ruby 1.9.3 on an iOS Xcode 4 project. So far I found no way of doing that, and no instructions on the internet. I’ve checked out the source code, included on my project, but …

---

## [\[ruby-trunk - Feature #6390\]\[Open\] ラムダの宣言ででるsyntax errorについて](https://www.ruby-forum.com/t/ruby-trunk-feature-6390-open-syntax-error/219409)

<div class="topic-metadata">

**Author:** [@Gurdipe\_D](https://www.ruby-forum.com/u/Gurdipe_D)\
**Replies:** 2\
**Last updated:** [May 2, 2012, 10:08am UTC](https://www.ruby-forum.com/t/ruby-trunk-feature-6390-open-syntax-error/219409 "2012-05-02T10:08:02Z")

</div>

Issue #6390 has been reported by uy (西行寺 うゆ). Feature #6390: ラムダの宣言ででるsyntax errorについて Author: uy (西行寺 うゆ) Status: Open Priority: Normal Assignee: Category: Target version: -\>x,y{x+y} -\>(x,y){x+y} -\>x,y {x+y} …

---

## [\[ANN\] SimpleAWS - Simple and Forward Compatible AWS Library](https://www.ruby-forum.com/t/ann-simpleaws-simple-and-forward-compatible-aws-library/216037)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [January 25, 2012, 8:19pm UTC](https://www.ruby-forum.com/t/ann-simpleaws-simple-and-forward-compatible-aws-library/216037 "2012-01-25T20:19:46Z")

</div>

What is it? A thin, simple, forward compatible Ruby wrapper around the various Amazon Web Service APIs that won’t get in your way. Why? All of the existing AWS Ruby libraries suffer from two fatal issues: they are o…

---

## [How to Design Module Method?](https://www.ruby-forum.com/t/how-to-design-module-method/214219)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [November 24, 2011, 10:54pm UTC](https://www.ruby-forum.com/t/how-to-design-module-method/214219 "2011-11-24T22:54:05Z")

</div>

Hi, If I define a module method like this: module MyMod def MyMod.my\_method end end then I can invoke it like this: irb\> MyMod.my\_method =\> nil but I cannot invoke my\_method without the module name, even if I in…

---

## ["if" statement breaks try\_files?](https://www.ruby-forum.com/t/if-statement-breaks-try-files/213519)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [November 4, 2011, 3:02pm UTC](https://www.ruby-forum.com/t/if-statement-breaks-try-files/213519 "2011-11-04T15:02:26Z")

</div>

I’m seeing something really weird. If I put an “if” statement anywhere within the same block as a “try\_files” then it stops working. It always returns that the file exists even when it doesn’t. I’m testing against ng…

---

## [Help: My rewriting does not work](https://www.ruby-forum.com/t/help-my-rewriting-does-not-work/212191)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [September 26, 2011, 6:19am UTC](https://www.ruby-forum.com/t/help-my-rewriting-does-not-work/212191 "2011-09-26T06:19:59Z")

</div>

I want to rewrite an old page to a new location, I use this code: rewrite ^/%C8%CB%CC%E5%D1%A8%CE%BB%CD%BC.html /w/新页面 permanent; But it does not work. I still can open the old page from http://mysite.com/����Ѩλͼ.html,…

---

## [File.open(filename).each {|line| print line}](https://www.ruby-forum.com/t/file-open-filename-each-line-print-line/209065)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [July 7, 2011, 8:09am UTC](https://www.ruby-forum.com/t/file-open-filename-each-line-print-line/209065 "2011-07-07T08:09:47Z")

</div>

I’m thinking about these two codes: File.open(filename) do |f| f.each {|line| print line} end and File.open(filename).each {|line| print line} The 1st one, f will be automatically closed. But the 2nd one, I don’t …

---

## [Trying to figure out generating html in controller](https://www.ruby-forum.com/t/trying-to-figure-out-generating-html-in-controller/207369)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 25, 2011, 12:23am UTC](https://www.ruby-forum.com/t/trying-to-figure-out-generating-html-in-controller/207369 "2011-05-25T00:23:01Z")

</div>

So I have some old code that used to work and I am trying to resurrect it. The controller has this: @content="" for i in 0…w.size @content = @content + "\<span id=“w#{i}” style=‘display:none’\> #{w\[i\]} " end @conte…

---

## [Accessing MS Exchange from Linux host](https://www.ruby-forum.com/t/accessing-ms-exchange-from-linux-host/206720)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 9, 2011, 9:45pm UTC](https://www.ruby-forum.com/t/accessing-ms-exchange-from-linux-host/206720 "2011-05-09T21:45:53Z")

</div>

Is it possible for a Linux host to access an Exchange server using MAPI in a simple and safe manner using Ruby? Looking at the posts related to “MAPI Exhcange” it seems that, as of a year or so ago, getting access wa…

---

## [Problem with displaying command line outputs](https://www.ruby-forum.com/t/problem-with-displaying-command-line-outputs/205808)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [April 20, 2011, 4:47pm UTC](https://www.ruby-forum.com/t/problem-with-displaying-command-line-outputs/205808 "2011-04-20T16:47:17Z")

</div>

I am trying to run some tests, which utilize test::unit. Aside from the typical assertions that generate dots, F/E and error messages, there are some puts text that should be displayed too. This works fine when runnin…

---

## [Best AJAX/Javascript library for Rails](https://www.ruby-forum.com/t/best-ajax-javascript-library-for-rails/204165)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [March 7, 2011, 11:31am UTC](https://www.ruby-forum.com/t/best-ajax-javascript-library-for-rails/204165 "2011-03-07T11:31:33Z")

</div>

Which Ajax/Javascript-based library for generating dynamic HTML works best w/ Rails? I’m looking at jQuery, but are there other libraries that people prefer? That integrate well w/ Rails? thanks, Paul

---

## [Variables and scope](https://www.ruby-forum.com/t/variables-and-scope/202759)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [February 5, 2011, 7:15am UTC](https://www.ruby-forum.com/t/variables-and-scope/202759 "2011-02-05T07:15:51Z")

</div>

Hi all, I would be asking my instructor this question be she is not available on the weekends… How do I make “n” available from anywhere inside the class? I need to keep the values in n from call to call. When call…

---

## [GRC running on Mac OS X 10.6.4 using GTK+ Quartz 32bit Carbon backend](https://www.ruby-forum.com/t/grc-running-on-mac-os-x-10-6-4-using-gtk-quartz-32bit-carbon-backend/195188)

<div class="topic-metadata">

**Author:** [@Elvis\_D](https://www.ruby-forum.com/u/Elvis_D)\
**Replies:** 2\
**Last updated:** [September 21, 2010, 8:12am UTC](https://www.ruby-forum.com/t/grc-running-on-mac-os-x-10-6-4-using-gtk-quartz-32bit-carbon-backend/195188 "2010-09-21T08:12:56Z")

</div>

Hi, After much effort, I’ve managed to get a good portion of GNU Radio running on Mac OS X 10.6.4, using its native Carbon interface, and bypassing the X11 windows. This was done from scratch manually, from the sourc…

---

## [USRP2 rx handler chunk size](https://www.ruby-forum.com/t/usrp2-rx-handler-chunk-size/195157)

<div class="topic-metadata">

**Author:** [@Gaetano\_M](https://www.ruby-forum.com/u/Gaetano_M)\
**Replies:** 2\
**Last updated:** [September 18, 2010, 12:55am UTC](https://www.ruby-forum.com/t/usrp2-rx-handler-chunk-size/195157 "2010-09-18T00:55:02Z")

</div>

Hi all, I’m observing that rx handlers are called when 371 samples are ready, I thought (I don’t remember why I have 370 hard coded in my code) the chunks where 370 samples. Has this changed lately or it has been al…

---

## [Las Vegas Ruby & Rails meetup](https://www.ruby-forum.com/t/las-vegas-ruby-rails-meetup/192358)

<div class="topic-metadata">

**Author:** [@nuby2ruby](https://www.ruby-forum.com/u/nuby2ruby)\
**Replies:** 2\
**Last updated:** [July 29, 2010, 12:20am UTC](https://www.ruby-forum.com/t/las-vegas-ruby-rails-meetup/192358 "2010-07-29T00:20:26Z")

</div>

Hey everyone, The Las Vegas Ruby community (very very small) is trying to get some more people. Engine Y. is now sponsoring us. If you plan on being in Vegas, or are currently living here, and want to join our communi…

---

## [Issue with listing a form\_for a collection](https://www.ruby-forum.com/t/issue-with-listing-a-form-for-a-collection/191132)

<div class="topic-metadata">

**Author:** [@theprojectabot](https://www.ruby-forum.com/u/theprojectabot)\
**Replies:** 2\
**Last updated:** [July 6, 2010, 11:53am UTC](https://www.ruby-forum.com/t/issue-with-listing-a-form-for-a-collection/191132 "2010-07-06T11:53:56Z")

</div>

I have a @people instance variable that is the return from Person.find(:all) I then want to have a revise.html that allows me to fill out one textfield with a number that I can then @people.update\_all(:revision) I tr…

---

## [Spec templates](https://www.ruby-forum.com/t/spec-templates/187023)

<div class="topic-metadata">

**Author:** [@pkoebbe](https://www.ruby-forum.com/u/pkoebbe)\
**Replies:** 2\
**Last updated:** [April 16, 2010, 5:16pm UTC](https://www.ruby-forum.com/t/spec-templates/187023 "2010-04-16T17:16:57Z")

</div>

David et al, Has anyone ever toyed with the idea of templates for specs? I have a relative consistent way of specing models, controllers, etc, and invariably, I have to delete the stock code that the rspec generator …

---

## [Using Process module](https://www.ruby-forum.com/t/using-process-module/185921)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [April 3, 2010, 10:27am UTC](https://www.ruby-forum.com/t/using-process-module/185921 "2010-04-03T10:27:39Z")

</div>

I am writing an app that in some parts need root access, but 90% of the time does not. It seems the relevant methods in Process to switch UID and GID does not exist in JRuby. Is there a way to start as root, drop pri…

---

## [Undefined method \`generate\_token'](https://www.ruby-forum.com/t/undefined-method-generate-token/183209)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 2\
**Last updated:** [February 10, 2010, 9:29am UTC](https://www.ruby-forum.com/t/undefined-method-generate-token/183209 "2010-02-10T09:29:04Z")

</div>

Hi Everyone… I’m following a railscast episode on how to implement an invitation feature. It’s going really well, but i’ve hit a minor snag that I cant get over… undefined method \`generate\_token’ for #Invitation:0x2…

---

## [\[rails\] i model con nome in italiano?](https://www.ruby-forum.com/t/rails-i-model-con-nome-in-italiano/181177)

<div class="topic-metadata">

**Author:** [@ceglia82](https://www.ruby-forum.com/u/ceglia82)\
**Replies:** 2\
**Last updated:** [January 7, 2010, 2:29pm UTC](https://www.ruby-forum.com/t/rails-i-model-con-nome-in-italiano/181177 "2010-01-07T14:29:59Z")

</div>

Ciao a tutti, Una domanda che mi assilla da un po’… Si puÃ² usare l’italiano per nominare i model e di conseguenza le tabelle? PerchÃ¨ qualche volta mi sarebbe utile poter nominare le tabelle in italiano e di conseg…

---

## [Applicazione RESTful: form dati per piÃ¹ operazioni](https://www.ruby-forum.com/t/applicazione-restful-form-dati-per-pia-operazioni/178809)

<div class="topic-metadata">

**Author:** [@triplem](https://www.ruby-forum.com/u/triplem)\
**Replies:** 2\
**Last updated:** [December 4, 2009, 11:26am UTC](https://www.ruby-forum.com/t/applicazione-restful-form-dati-per-pia-operazioni/178809 "2009-12-04T11:26:32Z")

</div>

Come ho scritto in oggetto: ho un applicazione RESTful in cui un form dati devo usarlo per diverse operazioni, in un esempio posso avere un submit che usa i dati per creare un pdf che funga da anteprima ed un altro in…

---

## [RFX400 daughterboard@200MHz](https://www.ruby-forum.com/t/rfx400-daughterboard-200mhz/179297)

<div class="topic-metadata">

**Author:** [@Mathias\_C](https://www.ruby-forum.com/u/Mathias_C)\
**Replies:** 2\
**Last updated:** [November 23, 2009, 3:11pm UTC](https://www.ruby-forum.com/t/rfx400-daughterboard-200mhz/179297 "2009-11-23T15:11:53Z")

</div>

Hi, I am about to modify a RFX400 daughterboard to operate around 200MHz by changing inductors as explained in the wiki. Has anyone tried this successfully before for frequencies below 300MHz ? I am doubtful about th…

---

## [Correct regexp for Apache Expires headers](https://www.ruby-forum.com/t/correct-regexp-for-apache-expires-headers/171960)

<div class="topic-metadata">

**Author:** [@makire](https://www.ruby-forum.com/u/makire)\
**Replies:** 2\
**Last updated:** [August 14, 2009, 11:38pm UTC](https://www.ruby-forum.com/t/correct-regexp-for-apache-expires-headers/171960 "2009-08-14T23:38:46Z")

</div>

Hi I am trying to get my Apache/Passenger installation to cache all assets with a Rails style timestamp. My vhost file contains: \<VirtualHost \*:80\> ServerName www.blabla.se DocumentRoot /home/deployer/public/blabla/…

---

## [Updated Tutorials?](https://www.ruby-forum.com/t/updated-tutorials/169283)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 2\
**Last updated:** [June 1, 2009, 10:51pm UTC](https://www.ruby-forum.com/t/updated-tutorials/169283 "2009-06-01T22:51:47Z")

</div>

Summary: Every book I’ve purchased has either been a) outdated using rails 1.x or b) outdated using rails 2.x where there are issues working through some of the books. A good example is a book that others said was wo…

---

## [How to handle javascript with watir](https://www.ruby-forum.com/t/how-to-handle-javascript-with-watir/168331)

<div class="topic-metadata">

**Author:** [@lucas](https://www.ruby-forum.com/u/lucas)\
**Replies:** 2\
**Last updated:** [May 20, 2009, 12:58pm UTC](https://www.ruby-forum.com/t/how-to-handle-javascript-with-watir/168331 "2009-05-20T12:58:14Z")

</div>

html code: my question: how to locate the password field with watir?

---

## [1k+ concurrent connections](https://www.ruby-forum.com/t/1k-concurrent-connections/168009)

<div class="topic-metadata">

**Author:** [@di3go](https://www.ruby-forum.com/u/di3go)\
**Replies:** 2\
**Last updated:** [May 15, 2009, 1:30am UTC](https://www.ruby-forum.com/t/1k-concurrent-connections/168009 "2009-05-15T01:30:59Z")

</div>

I have tons of gprs modems that connect at the same port(ex 9000), but inside our network, every modem should have a unique port so the applications can talk with they. The application its simple, i get a connection r…

---

## [Code Review: ToProc1](https://www.ruby-forum.com/t/code-review-toproc1/167244)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 2\
**Last updated:** [May 5, 2009, 10:32pm UTC](https://www.ruby-forum.com/t/code-review-toproc1/167244 "2009-05-05T22:32:24Z")

</div>

tfpt review “/shelveset:ToProc1;REDMOND\\tomat” Implements Method#to\_proc. Tomas

---

## [Question about workers and proxying to dead upstream](https://www.ruby-forum.com/t/question-about-workers-and-proxying-to-dead-upstream/167168)

<div class="topic-metadata">

**Author:** [@Adrian\_Bak](https://www.ruby-forum.com/u/Adrian_Bak)\
**Replies:** 2\
**Last updated:** [May 5, 2009, 8:50pm UTC](https://www.ruby-forum.com/t/question-about-workers-and-proxying-to-dead-upstream/167168 "2009-05-05T20:50:02Z")

</div>

Hey guys… We have a setup where we serve static files from our nginx servers and if the file doesn’t exist we proxy to a backend server (that generates a static file, and we have another app to delete the static files…

---

## [Upgrading rails to 2.3.2 - CookieOverflow issue](https://www.ruby-forum.com/t/upgrading-rails-to-2-3-2-cookieoverflow-issue/166007)

<div class="topic-metadata">

**Author:** [@rajatgarg](https://www.ruby-forum.com/u/rajatgarg)\
**Replies:** 2\
**Last updated:** [April 21, 2009, 8:15pm UTC](https://www.ruby-forum.com/t/upgrading-rails-to-2-3-2-cookieoverflow-issue/166007 "2009-04-21T20:15:15Z")

</div>

Folks, I am trying to upgrade system from rails 1.3.x to 2.3.2 and getting this error - Status: 500 Internal Server Error ActionController::Session::CookieStore::CookieOverflow /usr/lib/ruby/gems/1.8/gems/actionpack…

---

## [Directory\_watcher (version 1.2.0)](https://www.ruby-forum.com/t/directory-watcher-version-1-2-0/165340)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 2\
**Last updated:** [April 12, 2009, 11:25pm UTC](https://www.ruby-forum.com/t/directory-watcher-version-1-2-0/165340 "2009-04-12T23:25:52Z")

</div>

directory\_watcher version 1.2.0 by Tim P. http://codeforpeople.rubyforge.org/directory\_watcher == DESCRIPTION The directory watcher operates by scanning a directory at some interval and generating a list of files …

---

## [Rails on westhost.com](https://www.ruby-forum.com/t/rails-on-westhost-com/165147)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [April 10, 2009, 12:19pm UTC](https://www.ruby-forum.com/t/rails-on-westhost-com/165147 "2009-04-10T12:19:40Z")

</div>

I have an account on westhost, but they are at rails version 1.2.3 I did a 'gem install rails -v=2.2.2 That seem to work. The output of gem list is: \*\*\* LOCAL GEMS \*\*\* actionmailer (2.2.2, 1.3.3) actionpack (2.2.2,…

---

## [Uncommenting a line in environment.rb file](https://www.ruby-forum.com/t/uncommenting-a-line-in-environment-rb-file/163708)

<div class="topic-metadata">

**Author:** [@gouthami](https://www.ruby-forum.com/u/gouthami)\
**Replies:** 2\
**Last updated:** [March 25, 2009, 6:03am UTC](https://www.ruby-forum.com/t/uncommenting-a-line-in-environment-rb-file/163708 "2009-03-25T06:03:40Z")

</div>

Hi, I am a newbee to rubyonrails. I was given task of migration of database from mysql to oracle for a ror application. My probelm is when I go into my environment.rb file and uncomment the; config.action\_controller.s…

---

## [Pagibator](https://www.ruby-forum.com/t/pagibator/162966)

<div class="topic-metadata">

**Author:** [@maniva](https://www.ruby-forum.com/u/maniva)\
**Replies:** 2\
**Last updated:** [March 16, 2009, 11:26am UTC](https://www.ruby-forum.com/t/pagibator/162966 "2009-03-16T11:26:30Z")

</div>

Ciao a tutti sto imparando a programmare in RUBY/RAILS e seguendo le istruzioni di un libro mi sono imattuto nel problema PAGINATOR. Purtroppo non funziona e non il perche. Guardando qua e la ho letto che non Ã¨ piu …

---

## [Rails, lighttpd and the Expires header](https://www.ruby-forum.com/t/rails-lighttpd-and-the-expires-header/162859)

<div class="topic-metadata">

**Author:** [@tekhne](https://www.ruby-forum.com/u/tekhne)\
**Replies:** 2\
**Last updated:** [March 15, 2009, 4:07pm UTC](https://www.ruby-forum.com/t/rails-lighttpd-and-the-expires-header/162859 "2009-03-15T16:07:17Z")

</div>

I have a controller that serves up images from a different location from /public/images/ by using send\_file or send\_data on /media/thumbs/ 38 for example In lighttpd I have: expire.url = ( “/media/” =\> “access 10 yea…

---

## [Porting ruby scripts to JRuby](https://www.ruby-forum.com/t/porting-ruby-scripts-to-jruby/161212)

<div class="topic-metadata">

**Author:** [@ulrichmp](https://www.ruby-forum.com/u/ulrichmp)\
**Replies:** 2\
**Last updated:** [March 3, 2009, 3:33pm UTC](https://www.ruby-forum.com/t/porting-ruby-scripts-to-jruby/161212 "2009-03-03T15:33:31Z")

</div>

Hi, We are using some scripts written in Ruby and want to intergated these with a Java Tool. For this, we need to call these Ruby scripts from Java.I came to know that this can be done using JRuby. The Ruby scripts …

---

## [Another collection\_select, HABTM, :multiple question](https://www.ruby-forum.com/t/another-collection-select-habtm-multiple-question/160225)

<div class="topic-metadata">

**Author:** [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Replies:** 2\
**Last updated:** [February 13, 2009, 2:46pm UTC](https://www.ruby-forum.com/t/another-collection-select-habtm-multiple-question/160225 "2009-02-13T14:46:56Z")

</div>

i am currently working on a project and having a really tough time getting a collection\_select to work properly. this is using a multiple selection. this is part of a HABTM relationship, and it appears that i have ev…

---

## [Igem.bat](https://www.ruby-forum.com/t/igem-bat/159079)

<div class="topic-metadata">

**Author:** [@jirapong](https://www.ruby-forum.com/u/jirapong)\
**Replies:** 2\
**Last updated:** [February 2, 2009, 3:21am UTC](https://www.ruby-forum.com/t/igem-bat/159079 "2009-02-02T03:21:39Z")

</div>

How can i get igem.bat work correctly? right now, I get following error. C:\\dotNET\\ironruby\\ironruby\\Merlin\\Main\\Languages\\Ruby\\Scripts\\bin\>SET GEM\_PATH=C:\\ruby\\lib\\ruby\\gems\\1.8 C:\\dotNET\\ironruby\\ironruby\\Merlin\\Mai…

---

## [New record doesn't appear in db yet rails shows save success](https://www.ruby-forum.com/t/new-record-doesnt-appear-in-db-yet-rails-shows-save-success/157852)

<div class="topic-metadata">

**Author:** [@rubylicious](https://www.ruby-forum.com/u/rubylicious)\
**Replies:** 2\
**Last updated:** [January 16, 2009, 1:45am UTC](https://www.ruby-forum.com/t/new-record-doesnt-appear-in-db-yet-rails-shows-save-success/157852 "2009-01-16T01:45:28Z")

</div>

This is a first for me so bear with the example. Simple 2 model application with simple relationship between the two models. Models: Transaction “has\_many :steps” Step “belongs\_to :transaction” Database tables: tr…

---

## [\[Bug #981\] String#encode() keeps invalid bytes when converting to US-ASCII](https://www.ruby-forum.com/t/bug-981-string-encode-keeps-invalid-bytes-when-converting-to-us-ascii/156896)

<div class="topic-metadata">

**Author:** [@Martin\_DSSS\_rst](https://www.ruby-forum.com/u/Martin_DSSS_rst)\
**Replies:** 2\
**Last updated:** [January 15, 2009, 8:07am UTC](https://www.ruby-forum.com/t/bug-981-string-encode-keeps-invalid-bytes-when-converting-to-us-ascii/156896 "2009-01-15T08:07:47Z")

</div>

Bug #981: String#encode() keeps invalid bytes when converting to US-ASCII http://redmine.ruby-lang.org/issues/show/981 e$B5/I\<\<Te(B: Martin De$(D+de(Brst e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$BC4Ev\<Te(B: Ak…

---

## [\[Bug #751\] Regexp.new(dummy\_encoding\_string)](https://www.ruby-forum.com/t/bug-751-regexp-new-dummy-encoding-string/153201)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 2\
**Last updated:** [December 10, 2008, 3:37am UTC](https://www.ruby-forum.com/t/bug-751-regexp-new-dummy-encoding-string/153201 "2008-12-10T03:37:48Z")

</div>

Bug #751: Regexp.new(dummy\_encoding\_string) http://redmine.ruby-lang.org/issues/show/751 e$B5/I\<\<Te(B: Kazuhiro NISHIYAMA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal http://mono.kmc.gr.jp/~yhara/d/?date=20081101#p03 …

---

## [Opening/reading a text file - how do u use .find method?](https://www.ruby-forum.com/t/opening-reading-a-text-file-how-do-u-use-find-method/154641)

<div class="topic-metadata">

**Author:** [@mmcolli00](https://www.ruby-forum.com/u/mmcolli00)\
**Replies:** 2\
**Last updated:** [December 3, 2008, 3:24pm UTC](https://www.ruby-forum.com/t/opening-reading-a-text-file-how-do-u-use-find-method/154641 "2008-12-03T15:24:55Z")

</div>

Here I am creating a text file, writing to the text file and then opening the text file to search for one of the lines that I just inserted this line contains ‘wed’. My issue is that when I try to search the file usin…

---

## [Overhead using evalScriptlet](https://www.ruby-forum.com/t/overhead-using-evalscriptlet/153628)

<div class="topic-metadata">

**Author:** [@paulf](https://www.ruby-forum.com/u/paulf)\
**Replies:** 2\
**Last updated:** [November 20, 2008, 1:12am UTC](https://www.ruby-forum.com/t/overhead-using-evalscriptlet/153628 "2008-11-20T01:12:31Z")

</div>

When using jruby code in a java project by calling “evalScriptlet” are there any significant overheads involved in the call? Is it practical and efficient to use only a java main class with the rest of the projec…

---

## [Unary operator](https://www.ruby-forum.com/t/unary-operator/150203)

<div class="topic-metadata">

**Author:** [@stephan.zimmer](https://www.ruby-forum.com/u/stephan.zimmer)\
**Replies:** 2\
**Last updated:** [October 6, 2008, 9:01pm UTC](https://www.ruby-forum.com/t/unary-operator/150203 "2008-10-06T21:01:06Z")

</div>

Hi all, here is a novice’s question: I am wondering how to equip a class with a unary operator. Defining a method “-” like this class Something … def - # some code end … end I have to call “-” by writing somethi…

---

## [Grouping array elements while preserving order?](https://www.ruby-forum.com/t/grouping-array-elements-while-preserving-order/149123)

<div class="topic-metadata">

**Author:** [@mattclarkson](https://www.ruby-forum.com/u/mattclarkson)\
**Replies:** 2\
**Last updated:** [September 22, 2008, 7:30am UTC](https://www.ruby-forum.com/t/grouping-array-elements-while-preserving-order/149123 "2008-09-22T07:30:42Z")

</div>

Hi all, I’ve run into a number of situations where I need to group an array while preserving order. For example, grouping the results of a database query without affecting their order or introducing extraneous logic i…

---

## [Is CodeGear's 3rdRail dead or dormant?](https://www.ruby-forum.com/t/is-codegears-3rdrail-dead-or-dormant/148508)

<div class="topic-metadata">

**Author:** [@roschler](https://www.ruby-forum.com/u/roschler)\
**Replies:** 2\
**Last updated:** [September 13, 2008, 9:53pm UTC](https://www.ruby-forum.com/t/is-codegears-3rdrail-dead-or-dormant/148508 "2008-09-13T21:53:29Z")

</div>

Hello everyone, I have to decide whether or not to re-up my subscription to Codegear/ 3rdRail. I bought a fully licensed copy back in Sep/2007 and the subscription is nearly up. I know it this may sound funny but I …

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

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