# Top

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

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

---

## [Want to get exact match from sentence](https://www.ruby-forum.com/t/want-to-get-exact-match-from-sentence/218606)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [April 5, 2012, 5:53pm UTC](https://www.ruby-forum.com/t/want-to-get-exact-match-from-sentence/218606 "2012-04-05T17:53:57Z")

</div>

Hi friends, I need to search exact match from sentence .I want the expected behavior should be like below by using ruby ========================================================================= message = "The quick b…

---

## [FastCGI and pipelining](https://www.ruby-forum.com/t/fastcgi-and-pipelining/217611)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 6, 2012, 11:38pm UTC](https://www.ruby-forum.com/t/fastcgi-and-pipelining/217611 "2012-03-06T23:38:28Z")

</div>

Hi all, I’m recently start using NGINX in combination with my FastCGI service, it work quite good and effective. I decided to use pipeline as it works effectively utilizing one connection. According to NGINX logs pi…

---

## [What RSpec approach could I use for this](https://www.ruby-forum.com/t/what-rspec-approach-could-i-use-for-this/217521)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [March 3, 2012, 10:55pm UTC](https://www.ruby-forum.com/t/what-rspec-approach-could-i-use-for-this/217521 "2012-03-03T22:55:55Z")

</div>

Background: So I have roughly: class A def calculate\_input\_datetimes # do stuff to calculate datetimes - then for each one identified process\_datetimes(my\_datetime\_start, my\_datetime\_end) end def process\_datetimes…

---

## [Reverse proxy, subdomain](https://www.ruby-forum.com/t/reverse-proxy-subdomain/217289)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [February 27, 2012, 12:20pm UTC](https://www.ruby-forum.com/t/reverse-proxy-subdomain/217289 "2012-02-27T12:20:36Z")

</div>

Hi, Currently I have in operation a reverse proxy with nginx. All good. The problem is that now need to include in the configuration, the reverse proxy, a subdomain that points to another server. As I can do? You ha…

---

## [How to structure my database](https://www.ruby-forum.com/t/how-to-structure-my-database/214025)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [November 19, 2011, 4:23pm UTC](https://www.ruby-forum.com/t/how-to-structure-my-database/214025 "2011-11-19T16:23:01Z")

</div>

Hi! I’m creating an app that will import products from several XML feeds. In the XML there is a category specified, like T-Shirt for instance. The problem is that different resellers specify the categories differently…

---

## [Mongo adapter](https://www.ruby-forum.com/t/mongo-adapter/213698)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [November 9, 2011, 3:41pm UTC](https://www.ruby-forum.com/t/mongo-adapter/213698 "2011-11-09T15:41:47Z")

</div>

I have setup mongo database and want to know which one would be best adapter ( mongo\_mapper , mongoid, dm-mongo-adapter ) in terms of Associations, include option for eager-loading . – Regards Mukesh Paras Singh

---

## [Apéro Ruby à Sophia-Antipolis](https://www.ruby-forum.com/t/apero-ruby-a-sophia-antipolis/211205)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [August 29, 2011, 2:23pm UTC](https://www.ruby-forum.com/t/apero-ruby-a-sophia-antipolis/211205 "2011-08-29T14:23:34Z")

</div>

Bonjour, La première édition de rentrée de l’apéro Ruby de Sophia-Antipolis aura lieu le mardi 6 septembre à 18h30 au Green King, espace Saint- Philippe. Au programme, deux mini-talks de 15 minutes chacun: FPM: le …

---

## [Why no code completion?](https://www.ruby-forum.com/t/why-no-code-completion/204651)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 18, 2011, 4:07pm UTC](https://www.ruby-forum.com/t/why-no-code-completion/204651 "2011-03-18T16:07:49Z")

</div>

I am new to RoR I have installed aptana, eclipse RoR plugin on ubuntu 10.10. but whether I create Ruby or Rails project then add a new file.rb that file does not have any code completion for example Math. control sp…

---

## [Trying to use gnuradio-companion](https://www.ruby-forum.com/t/trying-to-use-gnuradio-companion/202315)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 26, 2011, 9:27pm UTC](https://www.ruby-forum.com/t/trying-to-use-gnuradio-companion/202315 "2011-01-26T21:27:45Z")

</div>

Hi All, When I try running gnuradio-companion I get File “/usr/local/bin/gnuradio-companion”, line 45, in “”"%gr.version() AttributeError: ‘module’ object has no attribute ‘version’ Anyone know what I have done wro…

---

## [Surely there's a better way to do this (implementing a DSL)](https://www.ruby-forum.com/t/surely-theres-a-better-way-to-do-this-implementing-a-dsl/202240)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [January 26, 2011, 9:10am UTC](https://www.ruby-forum.com/t/surely-theres-a-better-way-to-do-this-implementing-a-dsl/202240 "2011-01-26T09:10:03Z")

</div>

I’m trying to write a method that builds a class and takes arguments from the outer scope when doing so: def awesome\_mcjobify(state, options = {}, &action) subject\_class = @subject\_class job = Class.new do me…

---

## [Rake migrate unintialized const dependencies](https://www.ruby-forum.com/t/rake-migrate-unintialized-const-dependencies/201733)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [January 13, 2011, 3:44pm UTC](https://www.ruby-forum.com/t/rake-migrate-unintialized-const-dependencies/201733 "2011-01-13T15:44:20Z")

</div>

Hi, I’m a ruby and rails newbie… I am trying to get a 3rd party module running - Community Engine(which requires Rails 2.3.4 )- because it seems like it does most of what I need my project to do and I thought I could…

---

## [Precise transmit scheduling](https://www.ruby-forum.com/t/precise-transmit-scheduling/198654)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 3\
**Last updated:** [November 10, 2010, 5:52pm UTC](https://www.ruby-forum.com/t/precise-transmit-scheduling/198654 "2010-11-10T17:52:16Z")

</div>

Discuss-gnuradio mailing list removed\_email\_address@domain.invalid http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

---

## [wxWidgets +wxRuby + wxFormBuilder](https://www.ruby-forum.com/t/wxwidgets-wxruby-wxformbuilder/196390)

<div class="topic-metadata">

**Author:** [@rarstd](https://www.ruby-forum.com/u/rarstd)\
**Replies:** 3\
**Last updated:** [October 12, 2010, 9:28pm UTC](https://www.ruby-forum.com/t/wxwidgets-wxruby-wxformbuilder/196390 "2010-10-12T21:28:38Z")

</div>

Hello. I have a problems. Can you help me? I create GUI-program, based on wxWidgets, in wxFormBuilder. 1.jpg) I create a form in wxFormBuilder, it will see as left part of image. If i test it on View-\>XRC WIndow, it s…

---

## [IRB problem (rb1.9.1 +rails3.0 )](https://www.ruby-forum.com/t/irb-problem-rb1-9-1-rails3-0/196192)

<div class="topic-metadata">

**Author:** [@miha\_ill](https://www.ruby-forum.com/u/miha_ill)\
**Replies:** 3\
**Last updated:** [October 8, 2010, 5:42pm UTC](https://www.ruby-forum.com/t/irb-problem-rb1-9-1-rails3-0/196192 "2010-10-08T17:42:54Z")

</div>

first post in this forum… I have ubuntu 10.04Lts / rb1.9.1+ rails 3.0… when I am trying to use irb… ($rails console) I get this… I have tried to reinstall everything(irb ruby readline by synaptic) but nothing came up …

---

## [Controlling or disabling cols, size etc. for text fields and text areas?](https://www.ruby-forum.com/t/controlling-or-disabling-cols-size-etc-for-text-fields-and-text-areas/189134)

<div class="topic-metadata">

**Author:** [@William\_KSHatch\_Jr](https://www.ruby-forum.com/u/William_KSHatch_Jr)\
**Replies:** 3\
**Last updated:** [May 26, 2010, 11:34pm UTC](https://www.ruby-forum.com/t/controlling-or-disabling-cols-size-etc-for-text-fields-and-text-areas/189134 "2010-05-26T23:34:34Z")

</div>

Hi, I’m new to rails and have hit a minor snag that google isn’t helping with. Basically, I can’t get text fields or text areas to not include size and cols attributes in the tags generated when using a form\_for … f.t…

---

## [Passenger problem: "Missing the Rails 2.3.5 gem"](https://www.ruby-forum.com/t/passenger-problem-missing-the-rails-2-3-5-gem/184924)

<div class="topic-metadata">

**Author:** [@valafar](https://www.ruby-forum.com/u/valafar)\
**Replies:** 0\
**Last updated:** [March 10, 2010, 1:59pm UTC](https://www.ruby-forum.com/t/passenger-problem-missing-the-rails-2-3-5-gem/184924 "2010-03-10T13:59:59Z")

</div>

I’m using RVM to handle basicly two Rubies, REE and 1.9.1. I want to make sure that my Rails app works with both. For some reason it seems that Passenger can’t find my 1.9.1 Rails gem located in /home/myhome/.rvm/gems…

---

## [Will memcache bring any benefits with a small DB set?](https://www.ruby-forum.com/t/will-memcache-bring-any-benefits-with-a-small-db-set/183902)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 3\
**Last updated:** [February 22, 2010, 10:04pm UTC](https://www.ruby-forum.com/t/will-memcache-bring-any-benefits-with-a-small-db-set/183902 "2010-02-22T22:04:59Z")

</div>

Hi, I have a DB that stores strings of XML. There could be hundreds of those, thousands at most. Based on client requests, a binary file is generated, most of the content in the binary file is XML taken from the DB. …

---

## [Mod\_Rails question](https://www.ruby-forum.com/t/mod-rails-question/178808)

<div class="topic-metadata">

**Author:** [@penguinjr](https://www.ruby-forum.com/u/penguinjr)\
**Replies:** 3\
**Last updated:** [November 11, 2009, 7:49pm UTC](https://www.ruby-forum.com/t/mod-rails-question/178808 "2009-11-11T19:49:57Z")

</div>

Hi! I’m deploying a RoR app under Apache with Phusion Passenger (aka’ mod\_rails), but i rode at Support that isn’t good idea use it for a producction server. I was searching, and i got a lot of opinions about use/not…

---

## [Nesting View Folders](https://www.ruby-forum.com/t/nesting-view-folders/175320)

<div class="topic-metadata">

**Author:** [@mdaoust](https://www.ruby-forum.com/u/mdaoust)\
**Replies:** 3\
**Last updated:** [September 11, 2009, 7:26pm UTC](https://www.ruby-forum.com/t/nesting-view-folders/175320 "2009-09-11T19:26:26Z")

</div>

I like to nest my view folders the same way as my resources. So, if I have: map.resources :foos do |foos| foos.resources :bars end map.resources :sums Then I’ll structure my view folders like: views/ foos/ bars/ …

---

## [./script/about with ruby 1.9.1](https://www.ruby-forum.com/t/script-about-with-ruby-1-9-1/171871)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 3\
**Last updated:** [July 11, 2009, 6:36am UTC](https://www.ruby-forum.com/t/script-about-with-ruby-1-9-1/171871 "2009-07-11T06:36:19Z")

</div>

Hi In my machine there is Ruby1.8.6 ,1.9.1 and rails 2.3.2 And I created a new project using Ruby1.9.1 and rails 2.3.2 But when did ./script/about it shows Ruby version 1.8.6 (i386-linux) RubyGems versio…

---

## [Ask help for nginx and tomcat](https://www.ruby-forum.com/t/ask-help-for-nginx-and-tomcat/169389)

<div class="topic-metadata">

**Author:** [@niedh](https://www.ruby-forum.com/u/niedh)\
**Replies:** 3\
**Last updated:** [June 20, 2009, 6:35pm UTC](https://www.ruby-forum.com/t/ask-help-for-nginx-and-tomcat/169389 "2009-06-20T18:35:35Z")

</div>

Hi everybody, I’m new to nginx. Recently I use comet in my project. I choose tomcat for the java server. and enable the Http11NioProtocol connector. client send a ajax request,and the server side suspend it, and set a …

---

## [Typo theme submission](https://www.ruby-forum.com/t/typo-theme-submission/169624)

<div class="topic-metadata">

**Author:** [@brblakley](https://www.ruby-forum.com/u/brblakley)\
**Replies:** 0\
**Last updated:** [June 5, 2009, 11:47pm UTC](https://www.ruby-forum.com/t/typo-theme-submission/169624 "2009-06-05T23:47:41Z")

</div>

I’ve got a typo theme I put together that I’d like to give to the world. The Typogarden site though does not include any information whatsoever about how to submit a theme to them. So, here it is: If you run a typ…

---

## [Einladung Ruby User Group Berlin, Do 4. Juni 2009, 19.30 Uhr](https://www.ruby-forum.com/t/einladung-ruby-user-group-berlin-do-4-juni-2009-19-30-uhr/169367)

<div class="topic-metadata">

**Author:** [@florian\_goersdorf](https://www.ruby-forum.com/u/florian_goersdorf)\
**Replies:** 0\
**Last updated:** [June 2, 2009, 10:05pm UTC](https://www.ruby-forum.com/t/einladung-ruby-user-group-berlin-do-4-juni-2009-19-30-uhr/169367 "2009-06-02T22:05:20Z")

</div>

Hallo Zusammen, unser nächstes Treffen findet statt am Donnerstag, den 4. Juni 2009, 19.30 Uhr. Agenda: Es werden noch Vorträge gesucht! Wer etwas vortragen möchte, bitte im Wiki eintragen. z.B. Berichte zu Euruko …

---

## [From a function generator into the LF-RX (maximum load)](https://www.ruby-forum.com/t/from-a-function-generator-into-the-lf-rx-maximum-load/160758)

<div class="topic-metadata">

**Author:** [@Markus\_F](https://www.ruby-forum.com/u/Markus_F)\
**Replies:** 3\
**Last updated:** [February 23, 2009, 3:38pm UTC](https://www.ruby-forum.com/t/from-a-function-generator-into-the-lf-rx-maximum-load/160758 "2009-02-23T15:38:17Z")

</div>

Hi All, as i read in the documentation, http://gnuradio.org/trac/attachment/wiki/UsrpFAQ/USRP\_Documentation.pdf Page 44, there is only a statement about maximum load at the Basic-RX. (From a function generator direct…

---

## [Abstimmung fÃ¼r Februartreffen der RUG Rhein-Main](https://www.ruby-forum.com/t/abstimmung-fa-r-februartreffen-der-rug-rhein-main/159949)

<div class="topic-metadata">

**Author:** [@codeblogger](https://www.ruby-forum.com/u/codeblogger)\
**Replies:** 0\
**Last updated:** [February 10, 2009, 11:02am UTC](https://www.ruby-forum.com/t/abstimmung-fa-r-februartreffen-der-rug-rhein-main/159949 "2009-02-10T11:02:37Z")

</div>

Hallo, wer Interesse an Ruby und Rails hat, am Februartreffen der RUG Rhein-Main\[1\] teilzunehmen, kann unter \[2\] Ã¼ber den Termin abstimmen. Treffpunkt wird dkd\[3\] sein, Uhrzeit: ab 18.30h. Wer einen Vortrag halten …

---

## [Problems with regular expressions and parenthesis](https://www.ruby-forum.com/t/problems-with-regular-expressions-and-parenthesis/152311)

<div class="topic-metadata">

**Author:** [@arachnd](https://www.ruby-forum.com/u/arachnd)\
**Replies:** 3\
**Last updated:** [November 2, 2008, 2:27am UTC](https://www.ruby-forum.com/t/problems-with-regular-expressions-and-parenthesis/152311 "2008-11-02T02:27:58Z")

</div>

hi, i’m having some trouble with regular expressions in ruby. If I have a regular expression like this: ^(\[\\x20-\\x7E\]|\\w){1,40}$, it will crash ruby if there are more than forty characters in it. I don’t understand …

---

## [Managing Plugins/Gems for a specific app](https://www.ruby-forum.com/t/managing-plugins-gems-for-a-specific-app/150452)

<div class="topic-metadata">

**Author:** [@CPerry](https://www.ruby-forum.com/u/CPerry)\
**Replies:** 3\
**Last updated:** [October 14, 2008, 5:57pm UTC](https://www.ruby-forum.com/t/managing-plugins-gems-for-a-specific-app/150452 "2008-10-14T17:57:51Z")

</div>

I am curious to know what the best way (or most ideal way) is to handle keeping gems/plugins updated for a Rails app that gets updated quite frequently. I am currently building an app that will be using like 8 plugins…

---

## [Ruby string -\> toCharArray](https://www.ruby-forum.com/t/ruby-string-tochararray/150470)

<div class="topic-metadata">

**Author:** [@linus](https://www.ruby-forum.com/u/linus)\
**Replies:** 0\
**Last updated:** [October 8, 2008, 10:52pm UTC](https://www.ruby-forum.com/t/ruby-string-tochararray/150470 "2008-10-08T22:52:41Z")

</div>

Hello, I get fallowing error: $ jruby jr.rb jr.rb:33: for method tokenizer expected \[\[C, int, int\]; got: \[java.lang.String,j ava.lang.Integer,java.lang.Integer\]; error: argument type mismatch (TypeError) It is cau…

---

## [Code Review: BacktraceFix](https://www.ruby-forum.com/t/code-review-backtracefix/149911)

<div class="topic-metadata">

**Author:** [@grujildo](https://www.ruby-forum.com/u/grujildo)\
**Replies:** 3\
**Last updated:** [October 1, 2008, 7:21pm UTC](https://www.ruby-forum.com/t/code-review-backtracefix/149911 "2008-10-01T19:21:32Z")

</div>

tfpt review “/shelveset:BacktraceFix;REDMOND\\tomat” Comment : Backtraces weren’t handled correctly for rethrown exceptions. Adds some tests for backtraces and modifies the infrastructure to run unit tests in all com…

---

## [Installation Help for RoR on Debian Etch](https://www.ruby-forum.com/t/installation-help-for-ror-on-debian-etch/147355)

<div class="topic-metadata">

**Author:** [@maxbohr](https://www.ruby-forum.com/u/maxbohr)\
**Replies:** 3\
**Last updated:** [September 1, 2008, 1:03am UTC](https://www.ruby-forum.com/t/installation-help-for-ror-on-debian-etch/147355 "2008-09-01T01:03:55Z")

</div>

I followed the installation guide on the rubyonrails wiki but rails said gem wasn’t up to date, and then there were issues with rails. So I said screw it and decided to doa fresh install of debian and try over. Every …

---

## [Helpers in rails to get URL using AJAX](https://www.ruby-forum.com/t/helpers-in-rails-to-get-url-using-ajax/147040)

<div class="topic-metadata">

**Author:** [@Thib21](https://www.ruby-forum.com/u/Thib21)\
**Replies:** 3\
**Last updated:** [August 29, 2008, 1:54pm UTC](https://www.ruby-forum.com/t/helpers-in-rails-to-get-url-using-ajax/147040 "2008-08-29T13:54:53Z")

</div>

Hello all, I’m trying to get (using Ajax) whatever URL the user clicks on the page. Also, I want to store the results from the URL request in a JS variable. Did somebody know helper in Rails which allow me to do that…

---

## [Getting id in an array](https://www.ruby-forum.com/t/getting-id-in-an-array/144395)

<div class="topic-metadata">

**Author:** [@vanight](https://www.ruby-forum.com/u/vanight)\
**Replies:** 3\
**Last updated:** [July 30, 2008, 3:51pm UTC](https://www.ruby-forum.com/t/getting-id-in-an-array/144395 "2008-07-30T15:51:27Z")

</div>

Hi, I’m begining with rails I need to get an array of all id of a table. name of my model is ContentGroup so I tried ContentGroup.find(:all, :order=\>“ASC”) but I have an array of objet and I only need the ids. How c…

---

## [Sorting on Columns](https://www.ruby-forum.com/t/sorting-on-columns/141225)

<div class="topic-metadata">

**Author:** [@apneram](https://www.ruby-forum.com/u/apneram)\
**Replies:** 0\
**Last updated:** [June 23, 2008, 8:37pm UTC](https://www.ruby-forum.com/t/sorting-on-columns/141225 "2008-06-23T20:37:04Z")

</div>

Hello, Newbie to rails!! I am trying to sort on the column header in my web page. Any suggestions what would be the most efficient way to do that? Thank you for your help

---

## [How to use form\_for with rjs](https://www.ruby-forum.com/t/how-to-use-form-for-with-rjs/140479)

<div class="topic-metadata">

**Author:** [@athem](https://www.ruby-forum.com/u/athem)\
**Replies:** 3\
**Last updated:** [June 17, 2008, 5:59am UTC](https://www.ruby-forum.com/t/how-to-use-form-for-with-rjs/140479 "2008-06-17T05:59:46Z")

</div>

Hello, How can I use a form variable in a partial rendered from within a page.replace\_html rjs call? Here’s the problem: I’m trying to render a partial with form fields using rjs. In the erb template: \<% form\_for :…

---

## [Is there a 'tacker' here?](https://www.ruby-forum.com/t/is-there-a-tacker-here/136401)

<div class="topic-metadata">

**Author:** [@alby](https://www.ruby-forum.com/u/alby)\
**Replies:** 0\
**Last updated:** [May 1, 2008, 6:38pm UTC](https://www.ruby-forum.com/t/is-there-a-tacker-here/136401 "2008-05-01T18:38:53Z")

</div>

I’m using the ruby-talk fourm here on ruby-forum.com. Is there any way to get a view containing the threads I participated in? I reply to questions in the forum but I have no way to find out is somebody replied to my …

---

## [Pass content of Array to helper](https://www.ruby-forum.com/t/pass-content-of-array-to-helper/134200)

<div class="topic-metadata">

**Author:** [@lasastard](https://www.ruby-forum.com/u/lasastard)\
**Replies:** 3\
**Last updated:** [April 10, 2008, 11:27pm UTC](https://www.ruby-forum.com/t/pass-content-of-array-to-helper/134200 "2008-04-10T23:27:47Z")

</div>

Hi, Ive been trying to to do the following and cant figure out how… On my page some output is generated within a helper - an array. The content of the array is listed on the page, but I want to be able to click on a …

---

## [How to get the right template](https://www.ruby-forum.com/t/how-to-get-the-right-template/134312)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 3\
**Last updated:** [April 10, 2008, 8:33am UTC](https://www.ruby-forum.com/t/how-to-get-the-right-template/134312 "2008-04-10T08:33:07Z")

</div>

Back to my notorious entity : client relationship. Entity has\_one :client Client belongs\_to :entity. The route: map.resources :entities do |entity| # An entity can only have one client role entity.resource …

---

## [Dynamically add javascript tag to a view](https://www.ruby-forum.com/t/dynamically-add-javascript-tag-to-a-view/133167)

<div class="topic-metadata">

**Author:** [@joel](https://www.ruby-forum.com/u/joel)\
**Replies:** 3\
**Last updated:** [March 29, 2008, 12:42am UTC](https://www.ruby-forum.com/t/dynamically-add-javascript-tag-to-a-view/133167 "2008-03-29T00:42:48Z")

</div>

Hi everybody, I would like to add javascript tags dynamically to my view. So I used the following code : @events.each do |e| %(javascript\_tag 'new Popup(‘event\_popup\_#{e.id}’,‘event\_link\_#{e.id}’)’) end Howe…

---

## [Need for singleton\_methods](https://www.ruby-forum.com/t/need-for-singleton-methods/131974)

<div class="topic-metadata">

**Author:** [@chinnakaruppan](https://www.ruby-forum.com/u/chinnakaruppan)\
**Replies:** 3\
**Last updated:** [March 14, 2008, 9:17pm UTC](https://www.ruby-forum.com/t/need-for-singleton-methods/131974 "2008-03-14T21:17:47Z")

</div>

I have trying to learn about this class\<\<self;self;end and the class\<\<self followed by defining the method.I absolutely don’t see anything which will help this case.I can very well do it directly on the class … class…

---

## [Including controllers within a controller](https://www.ruby-forum.com/t/including-controllers-within-a-controller/130919)

<div class="topic-metadata">

**Author:** [@capslock118](https://www.ruby-forum.com/u/capslock118)\
**Replies:** 3\
**Last updated:** [March 5, 2008, 2:01pm UTC](https://www.ruby-forum.com/t/including-controllers-within-a-controller/130919 "2008-03-05T14:01:05Z")

</div>

Not entirely sure if that spells out what I am trying to do. So I am using (active) scaffolds for administration of the website. I have 4 controllers that are working well to administer their respective tables in the …

---

## [Restful\_authentication with --stateful option](https://www.ruby-forum.com/t/restful-authentication-with-stateful-option/128339)

<div class="topic-metadata">

**Author:** [@bruz](https://www.ruby-forum.com/u/bruz)\
**Replies:** 3\
**Last updated:** [February 8, 2008, 2:01am UTC](https://www.ruby-forum.com/t/restful-authentication-with-stateful-option/128339 "2008-02-08T02:01:38Z")

</div>

I’ve been using restful\_authentication for several months, and noticed there have been some security fixes so I figured it was time to upgrade. I ran into an error, and thought it might have been specific to the app I…

---

## [Assets%d.domain.com](https://www.ruby-forum.com/t/assets-d-domain-com/123490)

<div class="topic-metadata">

**Author:** [@luisS\_syndeomedia](https://www.ruby-forum.com/u/luisS_syndeomedia)\
**Replies:** 3\
**Last updated:** [December 19, 2007, 4:09am UTC](https://www.ruby-forum.com/t/assets-d-domain-com/123490 "2007-12-19T04:09:41Z")

</div>

Stupid question time: I’ve recently moved our site to Rails 2.0 and am trying to get the asset host functionality working. I followed the docs and added this line to production.rb: config.action\_controller.asset\_host…

---

## [Timezone $B4X?t$,(B cygwin $B$G8+$D$+$j$^$;$s(B](https://www.ruby-forum.com/t/timezone-b4x-t-b-cygwin-b-g8-d-j-s-b/122931)

<div class="topic-metadata">

**Author:** [@drenovac](https://www.ruby-forum.com/u/drenovac)\
**Replies:** 3\
**Last updated:** [December 14, 2007, 8:49am UTC](https://www.ruby-forum.com/t/timezone-b4x-t-b-cygwin-b-g8-d-j-s-b/122931 "2007-12-14T08:49:43Z")

</div>

e$B%k%S3+H/\<T$N3’$5$s!"e(B e$B:G?7$Ne(B HEAD e$B$Ge(B make e$B$7$h$&$H$7$?$i\<!$N$h$&$J%(%i!\<$K$J$j$^$7$?!#e(B missing/strftime.c:465: undefined reference to \`\_timezone’ strftime.c e$B$Oe(B 7e$B7nEv$?$j$+$iJQ99L5$7$G!…

---

## [Urgent! responds\_to\_parent error](https://www.ruby-forum.com/t/urgent-responds-to-parent-error/119357)

<div class="topic-metadata">

**Author:** [@zaid](https://www.ruby-forum.com/u/zaid)\
**Replies:** 3\
**Last updated:** [November 6, 2007, 1:03pm UTC](https://www.ruby-forum.com/t/urgent-responds-to-parent-error/119357 "2007-11-06T13:03:07Z")

</div>

Hello I am trying to upload a picture and refrecar layer with responds\_to\_parent. I have this form rhtml \<% form\_for(photo, :url =\> {:action =\> “create”, :tID =\> params\[:tID\] }, :html =\> { :multipart =\> true, :target…

---

## [Best approach - letting users put their own temp. fields to see diff](https://www.ruby-forum.com/t/best-approach-letting-users-put-their-own-temp-fields-to-see-diff/116566)

<div class="topic-metadata">

**Author:** [@ramontayag](https://www.ruby-forum.com/u/ramontayag)\
**Replies:** 3\
**Last updated:** [October 8, 2007, 2:52pm UTC](https://www.ruby-forum.com/t/best-approach-letting-users-put-their-own-temp-fields-to-see-diff/116566 "2007-10-08T14:52:52Z")

</div>

Hey everyone! I need some input on the best approach. I have a model Property that has some fields (price, down payment rate), then methods in property.rb that compute derived information (down payment amount) based …

---

## [Bad Smells sing in a rails application](https://www.ruby-forum.com/t/bad-smells-sing-in-a-rails-application/107952)

<div class="topic-metadata">

**Author:** [@pedro](https://www.ruby-forum.com/u/pedro)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/bad-smells-sing-in-a-rails-application/107952 "2007-09-25T23:05:39Z")

</div>

Hi all, Sometime ago, i read the slides “when V is for Vexing: Patterns to DRY Up Your Views” (Bruce W. railsconf). They are not online anymore. I post one slide in my\[1}… But only the bad smells sign in the view,…

---

## [Select list and observe\_field problem](https://www.ruby-forum.com/t/select-list-and-observe-field-problem/115127)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 3\
**Last updated:** [September 21, 2007, 9:01am UTC](https://www.ruby-forum.com/t/select-list-and-observe-field-problem/115127 "2007-09-21T09:01:51Z")

</div>

Hey all, I have attached an observe\_field to a select box in one of my views in order to trigger a function when the user selects a new item. The problem is that I can not seem to be able to convince it by any means …

---

## [FileTest.identical? with IO](https://www.ruby-forum.com/t/filetest-identical-with-io/113842)

<div class="topic-metadata">

**Author:** [@sheepman](https://www.ruby-forum.com/u/sheepman)\
**Replies:** 3\
**Last updated:** [September 6, 2007, 5:23pm UTC](https://www.ruby-forum.com/t/filetest-identical-with-io/113842 "2007-09-06T17:23:20Z")

</div>

e$B$3$s$P$s$Oe(B sheepman e$B$G$9!#e(B FileTest.identical? e$B$K$O0z?t$H$7$Fe(B IO e$B%\*%V%8%’%/%H$bEO$9$3$H$,e(B e$B$G$-$^$9!#$7$+$7e(B IO e$B$,DL\>o%U%!%$%k$N$=$l$+$r8!::$7$F$$$^$;$s!#$G$9$N$G!"e(B e$B0J2\<$N$h$&$J$…

---

## [Samples of full ROR applications](https://www.ruby-forum.com/t/samples-of-full-ror-applications/112773)

<div class="topic-metadata">

**Author:** [@sunny\_beach](https://www.ruby-forum.com/u/sunny_beach)\
**Replies:** 3\
**Last updated:** [August 23, 2007, 8:23pm UTC](https://www.ruby-forum.com/t/samples-of-full-ror-applications/112773 "2007-08-23T20:23:32Z")

</div>

I was wondering if there are any sites/resources out there with full ROR apps that I could download and look through. I still have a lot to learn and find that looking through other “creations” is helpful. Thanks, S…

---

## [How to dump contents of an array as parameters](https://www.ruby-forum.com/t/how-to-dump-contents-of-an-array-as-parameters/112708)

<div class="topic-metadata">

**Author:** [@akifusenet](https://www.ruby-forum.com/u/akifusenet)\
**Replies:** 3\
**Last updated:** [August 22, 2007, 3:01pm UTC](https://www.ruby-forum.com/t/how-to-dump-contents-of-an-array-as-parameters/112708 "2007-08-22T15:01:16Z")

</div>

Hi Ä± am a beginner Rubyist and I have a small problem. Track=Struct.new(:name,:surname) #This works perfectly tempTrack=Track.new(15,“b”) p tempTrack.name p tempTrack.surname But I want to create a temptrack with…

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

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