# Top

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

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

---

## [Glassfish.gem and Warble?](https://www.ruby-forum.com/t/glassfish-gem-and-warble/179474)

<div class="topic-metadata">

**Author:** [@Ken\_at\_Inbox256](https://www.ruby-forum.com/u/Ken_at_Inbox256)\
**Replies:** 6\
**Last updated:** [December 2, 2009, 10:24am UTC](https://www.ruby-forum.com/t/glassfish-gem-and-warble/179474 "2009-12-02T10:24:52Z")

</div>

I’m starting to consider my app deployment. Currently, I’m just running a sinatra app from my source tree, but I’d like to package things up so I can deploy to a production server easily. I see that warble packs up…

---

## [RSpec in Rails -- HTTP methods](https://www.ruby-forum.com/t/rspec-in-rails-http-methods/148232)

<div class="topic-metadata">

**Author:** [@mdaoust](https://www.ruby-forum.com/u/mdaoust)\
**Replies:** 6\
**Last updated:** [September 12, 2008, 7:26pm UTC](https://www.ruby-forum.com/t/rspec-in-rails-http-methods/148232 "2008-09-12T19:26:16Z")

</div>

It seems that RSpec-Rails isn’t restricted to the HTTP methods correctly. For example doing: http://foo.local/session/destroy in the browser doesn’t work, because the destroy action is only recognised with the HTTP …

---

## [Implementing the Time class](https://www.ruby-forum.com/t/implementing-the-time-class/118408)

<div class="topic-metadata">

**Author:** [@nielsene](https://www.ruby-forum.com/u/nielsene)\
**Replies:** 6\
**Last updated:** [October 27, 2007, 1:13am UTC](https://www.ruby-forum.com/t/implementing-the-time-class/118408 "2007-10-27T01:13:26Z")

</div>

So I was working on File, but that had a few routines which returned Time objects, so I started a sidetrack on that which took a little longer than I expected. I have most of it complete (except for strformat) imple…

---

## [RSpec: "--color" not working in spec.opts when combined with](https://www.ruby-forum.com/t/rspec-color-not-working-in-spec-opts-when-combined-with/112414)

<div class="topic-metadata">

**Author:** [@Hardbap](https://www.ruby-forum.com/u/Hardbap)\
**Replies:** 6\
**Last updated:** [August 21, 2007, 3:16pm UTC](https://www.ruby-forum.com/t/rspec-color-not-working-in-spec-opts-when-combined-with/112414 "2007-08-21T15:16:24Z")

</div>

Windows XP SP 2 ruby 1.8.5 gems: rails 1.2.3 rake 0.7.3 win32console 1.0.8 plugins: rspec 1.0.8 rspec\_rails 1.0.8 spec.opts: –colour –format progress –loadby mtime –reverse –drb When I run “rake spec” or…

---

## [Packaging GNU Radio for Fedora](https://www.ruby-forum.com/t/packaging-gnu-radio-for-fedora/87861)

<div class="topic-metadata">

**Author:** [@Trond\_D](https://www.ruby-forum.com/u/Trond_D)\
**Replies:** 6\
**Last updated:** [March 7, 2007, 6:28am UTC](https://www.ruby-forum.com/t/packaging-gnu-radio-for-fedora/87861 "2007-03-07T06:28:17Z")

</div>

Hi, I creating a spec file for GNU Radio, and I discovered some minor issues: Standard library paths are hardcoded into some of the libraries. I use this command in the spec file to fix libtool before building: se…

---

## [Mongrel upload progress jumps from 0% to 100% (no progress)](https://www.ruby-forum.com/t/mongrel-upload-progress-jumps-from-0-to-100-no-progress/77272)

<div class="topic-metadata">

**Author:** [@mischa78](https://www.ruby-forum.com/u/mischa78)\
**Replies:** 6\
**Last updated:** [November 26, 2006, 11:10am UTC](https://www.ruby-forum.com/t/mongrel-upload-progress-jumps-from-0-to-100-no-progress/77272 "2006-11-26T11:10:30Z")

</div>

Hi, I’ve been trying to implement monrel upload progress, but I cannot get it to work properly. I hope someone here can help me. I followed the instructions on this page: http://mongrel.rubyforge.org/docs/upload\_prog…

---

## [Try creating a table for your model](https://www.ruby-forum.com/t/try-creating-a-table-for-your-model/65039)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 6\
**Last updated:** [August 15, 2006, 8:42pm UTC](https://www.ruby-forum.com/t/try-creating-a-table-for-your-model/65039 "2006-08-15T20:42:29Z")

</div>

Railers: Greetings from the low end of the learning curve. I have installed all the prerequisites on Win32, including a lite MySQL database with a table in it called Inventory. Then I run this command line… ruby scr…

---

## [Troppi oggetti?](https://www.ruby-forum.com/t/troppi-oggetti/233095)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [November 29, 2014, 7:27pm UTC](https://www.ruby-forum.com/t/troppi-oggetti/233095 "2014-11-29T19:27:08Z")

</div>

Voi ve li fate problemi per il fatto di creare “troppi oggetti” in Ruby? Esempio, dovendo aggiungere una funzionali semplice ad un rake tasks che magari lavora su molti record, la funzionalit magari molto semplice, t…

---

## [LPF in FM receiver](https://www.ruby-forum.com/t/lpf-in-fm-receiver/239091)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [February 11, 2014, 5:55pm UTC](https://www.ruby-forum.com/t/lpf-in-fm-receiver/239091 "2014-02-11T17:55:20Z")

</div>

In the FM receiver: Why a LPF is used instead of a BPF in order to select the Radio channel that we want to hear? That is the only part I don’t understand.

---

## [Hash nuova e vecchia sintassi](https://www.ruby-forum.com/t/hash-nuova-e-vecchia-sintassi/227317)

<div class="topic-metadata">

**Author:** [@reis](https://www.ruby-forum.com/u/reis)\
**Replies:** 4\
**Last updated:** [March 11, 2013, 12:38pm UTC](https://www.ruby-forum.com/t/hash-nuova-e-vecchia-sintassi/227317 "2013-03-11T12:38:15Z")

</div>

Una curiosita\` come vi comportate con la nuova sintassi degli hash {chiave: valore}? Secondo me: Pulita epulita ma a volte non e troppo chiara: Non si legge facilmente con gli hash sottointesi es: link\_to “home”, ro…

---

## [Why "Range" not worked on "to\_ary"?](https://www.ruby-forum.com/t/why-range-not-worked-on-to-ary/226863)

<div class="topic-metadata">

**Author:** [@my-ruby](https://www.ruby-forum.com/u/my-ruby)\
**Replies:** 4\
**Last updated:** [February 23, 2013, 9:38pm UTC](https://www.ruby-forum.com/t/why-range-not-worked-on-to-ary/226863 "2013-02-23T21:38:42Z")

</div>

(1…9).to\_a =\> \[1, 2, 3, 4, 5, 6, 7, 8, 9\] (1…9).to\_ary NoMethodError: undefined method to\_ary' for 1..9:Range from (irb):2 from /usr/bin/irb:12:in’ In the below code why “Range” not worked on “to\_ary” ?

---

## [Pass data to javascript](https://www.ruby-forum.com/t/pass-data-to-javascript/229805)

<div class="topic-metadata">

**Author:** [@cnchan](https://www.ruby-forum.com/u/cnchan)\
**Replies:** 4\
**Last updated:** [January 29, 2013, 9:12pm UTC](https://www.ruby-forum.com/t/pass-data-to-javascript/229805 "2013-01-29T21:12:40Z")

</div>

Hi! I’m creating a bar graph using Morris.js. What I’m showing in the graph is dates on the X-axis and the number of times an event has occurred on that date on the Y-axis. So, I followed Ryan B. episode on Morris…

---

## [\[ruby-trunk - Bug #7590\]\[Open\] parallel test-all で test settracefunc が cfp consistency error](https://www.ruby-forum.com/t/ruby-trunk-bug-7590-open-parallel-test-all-test-settracefunc-cfp-consistency-error/225176)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [December 21, 2012, 10:52am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-7590-open-parallel-test-all-test-settracefunc-cfp-consistency-error/225176 "2012-12-21T10:52:10Z")

</div>

Issue #7590 has been reported by tarui (Masaya T.). Bug #7590: parallel test-all で test\_settracefunc が cfp consistency error Author: tarui (Masaya T.) Status: Open Priority: Normal Assignee: Category: Target ver…

---

## [External files with war files](https://www.ruby-forum.com/t/external-files-with-war-files/213100)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [October 24, 2011, 3:34pm UTC](https://www.ruby-forum.com/t/external-files-with-war-files/213100 "2011-10-24T15:34:50Z")

</div>

Hi All, I am moving a ROR web application to JRuby. So far it has been a very pleasant and impressive experience. I am including all the gems I need and creating an executable war file for distribution. My question i…

---

## [To get multiple check\_box values in controller](https://www.ruby-forum.com/t/to-get-multiple-check-box-values-in-controller/148798)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 4\
**Last updated:** [September 17, 2008, 11:52am UTC](https://www.ruby-forum.com/t/to-get-multiple-check-box-values-in-controller/148798 "2008-09-17T11:52:19Z")

</div>

Hi I have \<% for language in @languages %\> \<%= language.language %\> \<%= check\_box(“user”,“language\_id”,{},checked\_value = “1”, unchecked\_value = “0”) %\> \<% end %\> What I am trying to do is if a user check more …

---

## [Cacti - Monitor Ferret Server Stats?](https://www.ruby-forum.com/t/cacti-monitor-ferret-server-stats/109925)

<div class="topic-metadata">

**Author:** [@kyle\_n](https://www.ruby-forum.com/u/kyle_n)\
**Replies:** 4\
**Last updated:** [July 20, 2007, 10:49am UTC](https://www.ruby-forum.com/t/cacti-monitor-ferret-server-stats/109925 "2007-07-20T10:49:18Z")

</div>

I’m wondering if someone can point me in a direction to monitor the ferret drb server while using cacti. Is it possible to run multiple instances of ferret drb on the same machine, just on different ports? Will it sti…

---

## [Can't install gems with sudo](https://www.ruby-forum.com/t/cant-install-gems-with-sudo/68485)

<div class="topic-metadata">

**Author:** [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Replies:** 4\
**Last updated:** [September 13, 2006, 4:28am UTC](https://www.ruby-forum.com/t/cant-install-gems-with-sudo/68485 "2006-09-13T04:28:33Z")

</div>

I just built ruby 1.8.5 myself, and now rubygems can’t find remote gems when I run it with sudo privs. It can find the gems when I run it as myself, but then it doesn’t have priviliges needed to install the gem. Did I…

---

## [About WildQuery!](https://www.ruby-forum.com/t/about-wildquery/62175)

<div class="topic-metadata">

**Author:** [@ferret\_user](https://www.ruby-forum.com/u/ferret_user)\
**Replies:** 4\
**Last updated:** [June 1, 2006, 6:43am UTC](https://www.ruby-forum.com/t/about-wildquery/62175 "2006-06-01T06:43:55Z")

</div>

when i use WildQuery ,i was so slowly!! the query string like this : ‘name|title:test’ i search field ‘name’ and ‘title’ what include string ‘test’ it worked ,but too slow but when i use query string like this : ‘n…

---

## [Rcov installation failure on Mac OS X](https://www.ruby-forum.com/t/rcov-installation-failure-on-mac-os-x/59839)

<div class="topic-metadata">

**Author:** [@Kerry\_B](https://www.ruby-forum.com/u/Kerry_B)\
**Replies:** 4\
**Last updated:** [May 8, 2006, 1:44pm UTC](https://www.ruby-forum.com/t/rcov-installation-failure-on-mac-os-x/59839 "2006-05-08T13:44:07Z")

</div>

Hi, I’m obviously missing something fairly obvious, but I can’t seem to get rcov 0.3.0 to install (I had the same problem with the previous version, but never got round to investigating), and I can’t find anything si…

---

## [Site map url with protocol (https)](https://www.ruby-forum.com/t/site-map-url-with-protocol-https/244661)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [May 23, 2016, 5:44pm UTC](https://www.ruby-forum.com/t/site-map-url-with-protocol-https/244661 "2016-05-23T17:44:49Z")

</div>

Hi All, I have used dynamic\_sitemaps for sitemap. Command to generate xml file “rake sitemap:generate” After running this command it is generating this xml files http://www.example.com/sitemaps/site.xml My E…

---

## [Undefined method \`map' for nil:NilClass for rails 2.3.2](https://www.ruby-forum.com/t/undefined-method-map-for-nil-nilclass-for-rails-2-3-2/203416)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [February 19, 2011, 2:29pm UTC](https://www.ruby-forum.com/t/undefined-method-map-for-nil-nilclass-for-rails-2-3-2/203416 "2011-02-19T14:29:41Z")

</div>

Hai guys! When i try to do rake gems:install and rake gems:refresh\_specs in my app below error is occurred. please give some solution for this. config.gem: Unpacked gem authlogic-2.1.3 in vendor/gems has no specifica…

---

## [Making dynamic action](https://www.ruby-forum.com/t/making-dynamic-action/253509)

<div class="topic-metadata">

**Author:** [@sunilkumarnagoore](https://www.ruby-forum.com/u/sunilkumarnagoore)\
**Replies:** 2\
**Last updated:** [December 20, 2019, 5:32am UTC](https://www.ruby-forum.com/t/making-dynamic-action/253509 "2019-12-20T05:32:29Z")

</div>

i want make dynamic action , how can i assign method name into a variable? require ‘http’ endpoint\_url=“https://reqres.in/api/users?page=2” endpoint\_headers= {“Content-Type” =\> “application/json”} #making dynamic act…

---

## [The right place for this inside a rails app?](https://www.ruby-forum.com/t/the-right-place-for-this-inside-a-rails-app/252178)

<div class="topic-metadata">

**Author:** [@Burrito](https://www.ruby-forum.com/u/Burrito)\
**Replies:** 2\
**Last updated:** [March 31, 2019, 4:46pm UTC](https://www.ruby-forum.com/t/the-right-place-for-this-inside-a-rails-app/252178 "2019-03-31T16:46:49Z")

</div>

Hello. I am developing a rails app about national constitutions and wrote a controller action that takes an xml file and creates articles from it in the db. I feel a controller to be the totally wrong place for such a f…

---

## [Health\_check Windows](https://www.ruby-forum.com/t/health-check-windows/234830)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [October 10, 2014, 4:56pm UTC](https://www.ruby-forum.com/t/health-check-windows/234830 "2014-10-10T16:56:37Z")

</div>

I am trying to use the health\_check module on Windows nginx/1…7.6 location / { proxy\_set\_header Host $http\_host; proxy\_set\_header X-Forwarded-Host $host; proxy\_set\_header X-Real-IP $remote\_ad…

---

## [Issues implementing Rspec with Rails3 from tutorial](https://www.ruby-forum.com/t/issues-implementing-rspec-with-rails3-from-tutorial/204362)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [March 16, 2011, 5:53pm UTC](https://www.ruby-forum.com/t/issues-implementing-rspec-with-rails3-from-tutorial/204362 "2011-03-16T17:53:42Z")

</div>

Hi, I am a newbie to Rails 3 and Rspec. Kindly excuse my being a novice. I am trying to implement RSpec with Rails 3. I am using Rails 3.0.3 with Ruby 1.9.2 on Ubuntu 10.04 os. I am using rspec 2.5 gem and rspec-rails …

---

## [Unescaping character in url](https://www.ruby-forum.com/t/unescaping-character-in-url/177821)

<div class="topic-metadata">

**Author:** [@frankmt](https://www.ruby-forum.com/u/frankmt)\
**Replies:** 2\
**Last updated:** [October 25, 2009, 11:02am UTC](https://www.ruby-forum.com/t/unescaping-character-in-url/177821 "2009-10-25T11:02:02Z")

</div>

Hi all, I have a problem trying to rewrite a URL. It should be pretty straightforward but it has been taking me hours searching. Google indexed urls containing “;”, which gets escaped to %3B: http://server.com/plan/…

---

## [Como instanciar una clase ruby en el controlador?](https://www.ruby-forum.com/t/como-instanciar-una-clase-ruby-en-el-controlador/159176)

<div class="topic-metadata">

**Author:** [@jaesgar](https://www.ruby-forum.com/u/jaesgar)\
**Replies:** 2\
**Last updated:** [February 2, 2009, 9:24am UTC](https://www.ruby-forum.com/t/como-instanciar-una-clase-ruby-en-el-controlador/159176 "2009-02-02T09:24:02Z")

</div>

Hola, estoy desarrollando una aplicaciÃ³n Ruby, pero me he encontrado con un problema, quiero instanciar una clase de Ruby normal sin que esta herede de ActiveRecord::Base, en principio podrÃ­a intentar meter la funci…

---

## [Rails Vs Struts Comparison](https://www.ruby-forum.com/t/rails-vs-struts-comparison/111342)

<div class="topic-metadata">

**Author:** [@reshma\_gahin](https://www.ruby-forum.com/u/reshma_gahin)\
**Replies:** 2\
**Last updated:** [August 6, 2007, 12:07pm UTC](https://www.ruby-forum.com/t/rails-vs-struts-comparison/111342 "2007-08-06T12:07:44Z")

</div>

Hi all, I am learning Rails Framework. can anyone tell rails is better or Struts also give the points why the other technology is better. Please need ur help.Give ur valuable reply.

---

## [In Ruby, is a set just a hash without values?](https://www.ruby-forum.com/t/in-ruby-is-a-set-just-a-hash-without-values/89704)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 2\
**Last updated:** [March 29, 2006, 2:34am UTC](https://www.ruby-forum.com/t/in-ruby-is-a-set-just-a-hash-without-values/89704 "2006-03-29T02:34:31Z")

</div>

A question - is there an object in Ruby analogous to a Java set, which has hash-like functionality but no values? Or should I just use a hash with no values? Actually, what I’m really trying to do is “unique-ize” an a…

---

## [Globalize with uppercase locale attribute](https://www.ruby-forum.com/t/globalize-with-uppercase-locale-attribute/224725)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [November 23, 2012, 10:38am UTC](https://www.ruby-forum.com/t/globalize-with-uppercase-locale-attribute/224725 "2012-11-23T10:38:26Z")

</div>

Hi, I have this model: class Event translates :nome, :descrizione # other stuff end Inside the database I have defined the event\_translations table with locale field as enum(‘IT’, ‘EN’)… The problem is that G…

---

## [Radiant cms Tutorials](https://www.ruby-forum.com/t/radiant-cms-tutorials/209350)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [July 12, 2011, 12:01pm UTC](https://www.ruby-forum.com/t/radiant-cms-tutorials/209350 "2011-07-12T12:01:53Z")

</div>

Hi Can You send Radiant cms best tutorials link and some example source code for some extension?

---

## [\[ANN\] Release of Typo 6.0.4: bug squashing and cosmetic improvement](https://www.ruby-forum.com/t/ann-release-of-typo-6-0-4-bug-squashing-and-cosmetic-improvement/203595)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [February 23, 2011, 1:06pm UTC](https://www.ruby-forum.com/t/ann-release-of-typo-6-0-4-bug-squashing-and-cosmetic-improvement/203595 "2011-02-23T13:06:17Z")

</div>

Hello fellow Typo users, It’s been 3 weeks since we last released a Typo version, and we want to thank all our users who provided great feedback mostly bug reports, nobody’s perfect. We’ve had a hard time fixing them…

---

## [Imap: invalid header in response while in http auth state](https://www.ruby-forum.com/t/imap-invalid-header-in-response-while-in-http-auth-state/227228)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 10, 2013, 5:33pm UTC](https://www.ruby-forum.com/t/imap-invalid-header-in-response-while-in-http-auth-state/227228 "2013-03-10T17:33:28Z")

</div>

I’m using imapproxy and trying to switch to nginx. courier is listening on port 143. mail { auth\_http localhost:143; proxy on; server { listen 144; protocol imap; } } I get: auth http server 127.0.0.1:143 sen…

---

## [How to create embedding code in ror](https://www.ruby-forum.com/t/how-to-create-embedding-code-in-ror/189865)

<div class="topic-metadata">

**Author:** [@soesan01](https://www.ruby-forum.com/u/soesan01)\
**Replies:** 7\
**Last updated:** [June 14, 2010, 11:44am UTC](https://www.ruby-forum.com/t/how-to-create-embedding-code-in-ror/189865 "2010-06-14T11:44:53Z")

</div>

Hi guys, Could you give me a sample or link for creating embedding code in ruby on rails? Thanks, Yudi S.

---

## [TimerDemo.rbw problem](https://www.ruby-forum.com/t/timerdemo-rbw-problem/179914)

<div class="topic-metadata">

**Author:** [@r-a-mueller](https://www.ruby-forum.com/u/r-a-mueller)\
**Replies:** 1\
**Last updated:** [December 8, 2009, 12:13am UTC](https://www.ruby-forum.com/t/timerdemo-rbw-problem/179914 "2009-12-08T00:13:40Z")

</div>

Hi, I got this TimerDemo from: http://groups.google.com/group/fxruby-google/tree/browse\_frm/thread/40a67540b556c044/07dc2fc50395968f?rnum=1&q=FXRuby&\_done=%2Fgroup%2Ffxruby-google%2Fbrowse\_frm%2Fthread%2F40a67540b556c0…

---

## [Works thro irb but not on commandline](https://www.ruby-forum.com/t/works-thro-irb-but-not-on-commandline/135783)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 7\
**Last updated:** [April 25, 2008, 2:13am UTC](https://www.ruby-forum.com/t/works-thro-irb-but-not-on-commandline/135783 "2008-04-25T02:13:12Z")

</div>

i have a strange prob. when i run this code under irb, the buddy can recieve the message. when i run it under the ruby commandline, the buddy does not recive the message. i am not sure what the difference is. any poi…

---

## [Rails 2.0PR is out, is Engines 2.0 on it's way?](https://www.ruby-forum.com/t/rails-2-0pr-is-out-is-engines-2-0-on-its-way/116190)

<div class="topic-metadata">

**Author:** [@nshb](https://www.ruby-forum.com/u/nshb)\
**Replies:** 1\
**Last updated:** [October 22, 2007, 12:04pm UTC](https://www.ruby-forum.com/t/rails-2-0pr-is-out-is-engines-2-0-on-its-way/116190 "2007-10-22T12:04:16Z")

</div>

Hey James et all, Curious if you have been doing any work with EDGE yet, or even the recently announced 2.0PR. Looks like some really sweet improvements have been made. Although I still like my ToolbawksPacker over …

---

## [How to get database adapter type programmatically in rails?](https://www.ruby-forum.com/t/how-to-get-database-adapter-type-programmatically-in-rails/116634)

<div class="topic-metadata">

**Author:** [@limlian](https://www.ruby-forum.com/u/limlian)\
**Replies:** 1\
**Last updated:** [October 8, 2007, 12:44pm UTC](https://www.ruby-forum.com/t/how-to-get-database-adapter-type-programmatically-in-rails/116634 "2007-10-08T12:44:36Z")

</div>

Hi,all I am developing a Rails application supporting both Mysql and Oracle. I have to use Native SQL statements some place. While we know the SQL grammar is quite different for Mysql and Oracle, so I have to get dat…

---

## [Cherche gestion de ticket avec client et temps](https://www.ruby-forum.com/t/cherche-gestion-de-ticket-avec-client-et-temps/67504)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 7\
**Last updated:** [September 5, 2006, 9:51am UTC](https://www.ruby-forum.com/t/cherche-gestion-de-ticket-avec-client-et-temps/67504 "2006-09-05T09:51:33Z")

</div>

Bonjour, connaissez vous une gestion de ticket avec parc client / client login … même en cours de dev avec rails of course A+ chris

---

## [Trouble with open/write/close cycle](https://www.ruby-forum.com/t/trouble-with-open-write-close-cycle/86855)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [March 24, 2006, 6:09pm UTC](https://www.ruby-forum.com/t/trouble-with-open-write-close-cycle/86855 "2006-03-24T18:09:48Z")

</div>

Hi all, I’m having trouble getting an open/write/close cycle to actually put the correct data in the file. Here’s some code that illustrates the problem: x = "012345678\\n" 10.times do len = 0 begin len = File…

---

## [Decode URL](https://www.ruby-forum.com/t/decode-url/74096)

<div class="topic-metadata">

**Author:** [@JSSSSrg](https://www.ruby-forum.com/u/JSSSSrg)\
**Replies:** 1\
**Last updated:** [February 27, 2006, 11:33am UTC](https://www.ruby-forum.com/t/decode-url/74096 "2006-02-27T11:33:13Z")

</div>

Hi, I have a URL with encoded characters, I want them to be decoded. Is this possible in the routes.rb? e.g. decoding the @params\[category\] map.connect ‘performances/:category’, :controller =\> ‘performance’, :action…

---

## [Ruby Interpreter Usage](https://www.ruby-forum.com/t/ruby-interpreter-usage/238198)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 8\
**Last updated:** [December 23, 2013, 11:48pm UTC](https://www.ruby-forum.com/t/ruby-interpreter-usage/238198 "2013-12-23T23:48:33Z")

</div>

I need to have an overview about the current and future state of Ruby interpreters, so I have some questions: What is the most used interpreter currently? I think its YARV since it's the official interpreter sinc…

---

## [What is meant by those lines of code in this script?](https://www.ruby-forum.com/t/what-is-meant-by-those-lines-of-code-in-this-script/191222)

<div class="topic-metadata">

**Author:** [@swengineer](https://www.ruby-forum.com/u/swengineer)\
**Replies:** 8\
**Last updated:** [July 13, 2010, 4:21pm UTC](https://www.ruby-forum.com/t/what-is-meant-by-those-lines-of-code-in-this-script/191222 "2010-07-13T16:21:41Z")

</div>

I came across the following script from “Why’s poignant guide to Ruby”. http://pastie.org/1034445 And, I have included my questions as comments in the script. Please let me know what you think. Thanks.

---

## [Calling C functions from Embedded Ruby Interpreter](https://www.ruby-forum.com/t/calling-c-functions-from-embedded-ruby-interpreter/135717)

<div class="topic-metadata">

**Author:** [@mohits](https://www.ruby-forum.com/u/mohits)\
**Replies:** 8\
**Last updated:** [April 27, 2008, 2:49pm UTC](https://www.ruby-forum.com/t/calling-c-functions-from-embedded-ruby-interpreter/135717 "2008-04-27T14:49:53Z")

</div>

Hi Everyone, I know the subject line is quite a mouthful! Sorry about that. I’ve managed to embed a Ruby interpreter into my application and I can call Ruby functions from the code in my application. It works fine a…

---

## [Implementazione ruby degli Analysis Patterns](https://www.ruby-forum.com/t/implementazione-ruby-degli-analysis-patterns/121026)

<div class="topic-metadata">

**Author:** [@paolodona](https://www.ruby-forum.com/u/paolodona)\
**Replies:** 8\
**Last updated:** [November 28, 2007, 9:31am UTC](https://www.ruby-forum.com/t/implementazione-ruby-degli-analysis-patterns/121026 "2007-11-28T09:31:11Z")

</div>

Ciao bbelli, A tempo perso sto leggiucchiando Analysis Patternshttp://www.amazon.com/Analysis-Patterns-Reusable-Addison-Wesley-Technology/dp/0201895420di Martin F. (anzi in verità è di Chiaroscuro, ricordati che te lo …

---

## [Generating CRUD interface automagically](https://www.ruby-forum.com/t/generating-crud-interface-automagically/121439)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 8\
**Last updated:** [November 28, 2007, 8:41am UTC](https://www.ruby-forum.com/t/generating-crud-interface-automagically/121439 "2007-11-28T08:41:26Z")

</div>

When I browse to http://localhost:3000/feeds I expect rails to “automagically” present a CRUD interface because I’ve done this with a previous rails (tutorial) project. It’s like I’m missing a rake command, or a sca…

---

## [ActiveRecord Store of sessions in a separate database](https://www.ruby-forum.com/t/activerecord-store-of-sessions-in-a-separate-database/112593)

<div class="topic-metadata">

**Author:** [@AlAlAl](https://www.ruby-forum.com/u/AlAlAl)\
**Replies:** 8\
**Last updated:** [September 25, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/activerecord-store-of-sessions-in-a-separate-database/112593 "2007-09-25T23:10:22Z")

</div>

I’d like to be able to save sessions in a separate database. I created the following model below in session.rb: class Session \< ActiveRecord::Base self.abstract\_class = true establish\_connection :userdb end I seem …

---

## [Model: self is not child's parent](https://www.ruby-forum.com/t/model-self-is-not-childs-parent/104436)

<div class="topic-metadata">

**Author:** [@benhiller](https://www.ruby-forum.com/u/benhiller)\
**Replies:** 8\
**Last updated:** [May 22, 2007, 8:06pm UTC](https://www.ruby-forum.com/t/model-self-is-not-childs-parent/104436 "2007-05-22T20:06:13Z")

</div>

Assume a model Parent and another model Child. Child belongs\_to Parent and Parent has\_many Children. The following fails: @ p = Parent.find(:first) assert p.equal?(p.children\[0\].parent) @ It seems odd to me that …

---

## [Strange application.rhtml rendering](https://www.ruby-forum.com/t/strange-application-rhtml-rendering/91269)

<div class="topic-metadata">

**Author:** [@bagadoughnuts](https://www.ruby-forum.com/u/bagadoughnuts)\
**Replies:** 8\
**Last updated:** [April 6, 2007, 8:25pm UTC](https://www.ruby-forum.com/t/strange-application-rhtml-rendering/91269 "2007-04-06T20:25:10Z")

</div>

Hello, I’m trying to set up my global layout (application.rhtml) and have followed a simple XHTML set up with the \<%= yield%\> for content. My application.rhtml starts off with \<!DOCTYPE … etc. But when I look at a …

---

## [How do you save the contents of an object?](https://www.ruby-forum.com/t/how-do-you-save-the-contents-of-an-object/73354)

<div class="topic-metadata">

**Author:** [@steveeq1](https://www.ruby-forum.com/u/steveeq1)\
**Replies:** 8\
**Last updated:** [October 25, 2006, 12:31pm UTC](https://www.ruby-forum.com/t/how-do-you-save-the-contents-of-an-object/73354 "2006-10-25T12:31:30Z")

</div>

Is there an easy way to save the contents of an object in ruby? This is hard to google, so I am posting it up. I just need a general idea (if anyoen has it), you don’t have to spell it out for me.

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

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