# Top

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

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

---

## [Radiant on Merb](https://www.ruby-forum.com/t/radiant-on-merb/126972)

<div class="topic-metadata">

**Author:** [@sbusso](https://www.ruby-forum.com/u/sbusso)\
**Replies:** 4\
**Last updated:** [February 17, 2008, 8:40pm UTC](https://www.ruby-forum.com/t/radiant-on-merb/126972 "2008-02-17T20:40:22Z")

</div>

Has anybody though, tried or made a use of Radiant on Merb\[http://merbivore.com/\] framework yet? – Stephane

---

## [Contribution: ofdm system](https://www.ruby-forum.com/t/contribution-ofdm-system/117629)

<div class="topic-metadata">

**Author:** [@Dominik\_A](https://www.ruby-forum.com/u/Dominik_A)\
**Replies:** 4\
**Last updated:** [October 21, 2007, 9:10pm UTC](https://www.ruby-forum.com/t/contribution-ofdm-system/117629 "2007-10-21T21:10:36Z")

</div>

Hello, In the last months, we have developed an ofdm system using your gnuradio architecture as part of a research on dynamic resource allocation. Now we like to contribute parts of our code to the gnuradio project. …

---

## [Rails ed il riciclo delle variabili](https://www.ruby-forum.com/t/rails-ed-il-riciclo-delle-variabili/117489)

<div class="topic-metadata">

**Author:** [@reis](https://www.ruby-forum.com/u/reis)\
**Replies:** 4\
**Last updated:** [October 17, 2007, 1:16pm UTC](https://www.ruby-forum.com/t/rails-ed-il-riciclo-delle-variabili/117489 "2007-10-17T13:16:03Z")

</div>

Ciao a tutti, ho un grandissimo problema di ignoranza: se creo un sito in rails ci sono alcune variabili che mi servono in tutte le view… un esempio? “Il menu” mi chiedo Ã¨ possibile portarsi dietro questa variabile …

---

## [\[ANN\] RVideo - Ruby video transcoding library](https://www.ruby-forum.com/t/ann-rvideo-ruby-video-transcoding-library/116145)

<div class="topic-metadata">

**Author:** [@jdruse](https://www.ruby-forum.com/u/jdruse)\
**Replies:** 4\
**Last updated:** [October 3, 2007, 5:28pm UTC](https://www.ruby-forum.com/t/ann-rvideo-ruby-video-transcoding-library/116145 "2007-10-03T17:28:40Z")

</div>

RVideo has just been released as a gem! RVideo is a Ruby library inspects and processes video and audio files by providing an interface to free Unix tools like ffmpeg. Install with: sudo gem install rvideo (RVideo r…

---

## [Symbols vs. Strings](https://www.ruby-forum.com/t/symbols-vs-strings/105423)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 4\
**Last updated:** [May 30, 2007, 10:31am UTC](https://www.ruby-forum.com/t/symbols-vs-strings/105423 "2007-05-30T10:31:45Z")

</div>

I’m new to Ruby, but coming up to speed quickly. One question I still have never seen a good explanation to is this: When is it preferred to a key a hash with a symbol, and when is it keyed by string? Is this just p…

---

## [Fixnum, range and array into one single loop?](https://www.ruby-forum.com/t/fixnum-range-and-array-into-one-single-loop/103466)

<div class="topic-metadata">

**Author:** [@anansi](https://www.ruby-forum.com/u/anansi)\
**Replies:** 4\
**Last updated:** [May 6, 2007, 4:50pm UTC](https://www.ruby-forum.com/t/fixnum-range-and-array-into-one-single-loop/103466 "2007-05-06T16:50:46Z")

</div>

Hi, I’m struggeling with writing a little script. It has a loop just e.g. like this: for x in 1…10 do begin puts “#{x}” end The userinput is the loop count (so above the userinput would have been 1…10): but now t…

---

## [How to count a word in a line](https://www.ruby-forum.com/t/how-to-count-a-word-in-a-line/92445)

<div class="topic-metadata">

**Author:** [@yusufcelik](https://www.ruby-forum.com/u/yusufcelik)\
**Replies:** 4\
**Last updated:** [April 19, 2007, 4:34pm UTC](https://www.ruby-forum.com/t/how-to-count-a-word-in-a-line/92445 "2007-04-19T16:34:37Z")

</div>

Hi, I wonder if there is a way of counting a word in a line using ruby regexp. Such as how many “Hi”'s in a line. Let’s say when I enter a line “Hello and Hi there hey hear my Hi” It should give me 2, because ther…

---

## [How to Connect PostgreSQL Database in Ruby](https://www.ruby-forum.com/t/how-to-connect-postgresql-database-in-ruby/87965)

<div class="topic-metadata">

**Author:** [@ramakrishna\_reddy](https://www.ruby-forum.com/u/ramakrishna_reddy)\
**Replies:** 4\
**Last updated:** [March 7, 2007, 12:34pm UTC](https://www.ruby-forum.com/t/how-to-connect-postgresql-database-in-ruby/87965 "2007-03-07T12:34:54Z")

</div>

Hello, I try to connect PostgreSQL in Ruby , i am not geeting i got some error in server starting , can u tell me , what is the configuration process Ruby + PostgreSQL . Thanking u Waiting for Reply Ramak…

---

## [Rest](https://www.ruby-forum.com/t/rest/87651)

<div class="topic-metadata">

**Author:** [@oscuro1987](https://www.ruby-forum.com/u/oscuro1987)\
**Replies:** 4\
**Last updated:** [March 5, 2007, 6:45pm UTC](https://www.ruby-forum.com/t/rest/87651 "2007-03-05T18:45:23Z")

</div>

Hola, he leido por algunos sitios cosas sobre REST, que es una de las novedades de Rails 1.2 Me he hecho una idea sobre como va leyendo esto: http://www.b-simple.de/documents Por lo que he entendido, se trata de una …

---

## [2 questions about generate scaffold](https://www.ruby-forum.com/t/2-questions-about-generate-scaffold/84941)

<div class="topic-metadata">

**Author:** [@nephish](https://www.ruby-forum.com/u/nephish)\
**Replies:** 4\
**Last updated:** [February 9, 2007, 5:36am UTC](https://www.ruby-forum.com/t/2-questions-about-generate-scaffold/84941 "2007-02-09T05:36:50Z")

</div>

i know this may be easy, but i cant find how to do this. i have a table called status\_def i want to generate a scaffold for it, but it will not let me create one because (i think) the table name is not plural. is the…

---

## [Using Mkmf to Verify Libraries](https://www.ruby-forum.com/t/using-mkmf-to-verify-libraries/78476)

<div class="topic-metadata">

**Author:** [@rooster](https://www.ruby-forum.com/u/rooster)\
**Replies:** 4\
**Last updated:** [December 6, 2006, 10:32am UTC](https://www.ruby-forum.com/t/using-mkmf-to-verify-libraries/78476 "2006-12-06T10:32:49Z")

</div>

Hi, I’m trying to use the ‘mkmf’ library to determine if a given library is installed. I have two identical machines. On machine 1: find\_library(‘mysqlclient’, ‘mysql\_query’, ‘/path/to/lib’) =\> true On machine 2: …

---

## [Multi-threaded C++, new, and xmalloc](https://www.ruby-forum.com/t/multi-threaded-c-new-and-xmalloc/77015)

<div class="topic-metadata">

**Author:** [@timhunter](https://www.ruby-forum.com/u/timhunter)\
**Replies:** 4\
**Last updated:** [November 24, 2006, 6:02pm UTC](https://www.ruby-forum.com/t/multi-threaded-c-new-and-xmalloc/77015 "2006-11-24T18:02:21Z")

</div>

Hello I have a C++ application with an embedded ruby interpreter. I have overridden the new() operator globally: void\* operator new (size\_t size) { void \*p=xmalloc(size); if (p==0) // did malloc succeed? throw st…

---

## [Lookup tables and scaffolding](https://www.ruby-forum.com/t/lookup-tables-and-scaffolding/60992)

<div class="topic-metadata">

**Author:** [@jkadarusman](https://www.ruby-forum.com/u/jkadarusman)\
**Replies:** 4\
**Last updated:** [May 22, 2006, 10:41pm UTC](https://www.ruby-forum.com/t/lookup-tables-and-scaffolding/60992 "2006-05-22T22:41:05Z")

</div>

It occurs to me as a missing feature that there’s no way to indicate a lookup table relationship (as opposed to other sorts of foreign key relationships) in Rails and that the scaffolding generator could recognise th…

---

## [Javascript help](https://www.ruby-forum.com/t/javascript-help/56527)

<div class="topic-metadata">

**Author:** [@steveoco](https://www.ruby-forum.com/u/steveoco)\
**Replies:** 4\
**Last updated:** [April 1, 2006, 2:43am UTC](https://www.ruby-forum.com/t/javascript-help/56527 "2006-04-01T02:43:48Z")

</div>

Hi list, I have a list of tags. I want to be able to click on a tag and have that tag name populate an input field. I think delicious used to allow you to click on existing links to tag your bookmark similar to this…

---

## [:failure and :success in form\_remote\_tag](https://www.ruby-forum.com/t/failure-and-success-in-form-remote-tag/49829)

<div class="topic-metadata">

**Author:** [@a.filipowski](https://www.ruby-forum.com/u/a.filipowski)\
**Replies:** 4\
**Last updated:** [December 9, 2005, 2:42pm UTC](https://www.ruby-forum.com/t/failure-and-success-in-form-remote-tag/49829 "2005-12-09T14:42:32Z")

</div>

I have a form that unfortunatly is not associated with a model as it is created dynamically based on selections from a user. I have a validation action called validate\_the\_form to make sure that fields the user signif…

---

## [On click, open new text box in Ruby on Rails](https://www.ruby-forum.com/t/on-click-open-new-text-box-in-ruby-on-rails/199567)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [November 24, 2010, 12:11pm UTC](https://www.ruby-forum.com/t/on-click-open-new-text-box-in-ruby-on-rails/199567 "2010-11-24T12:11:46Z")

</div>

Hello, I have a BlogPost resources, where in BlogPost ‘show’ screen, I want a “new comment” button to be displayed and only on clicking that button I want the new Comment view to be rendered into the same page. I woul…

---

## [SSL Randomness Source](https://www.ruby-forum.com/t/ssl-randomness-source/191557)

<div class="topic-metadata">

**Author:** [@Dave\_Barton](https://www.ruby-forum.com/u/Dave_Barton)\
**Replies:** 2\
**Last updated:** [July 14, 2010, 3:01pm UTC](https://www.ruby-forum.com/t/ssl-randomness-source/191557 "2010-07-14T15:01:22Z")

</div>

We currently run nginx on the majority of our internet-facing webservers and we process a lot of SSL traffic. That’s a lot of SSL handshakes and a lot of entropy required. To help with this, we’ve bought some USB pseu…

---

## [Error on reconnecting to TCP port](https://www.ruby-forum.com/t/error-on-reconnecting-to-tcp-port/187574)

<div class="topic-metadata">

**Author:** [@Berndt\_Josef\_W](https://www.ruby-forum.com/u/Berndt_Josef_W)\
**Replies:** 2\
**Last updated:** [April 27, 2010, 1:12am UTC](https://www.ruby-forum.com/t/error-on-reconnecting-to-tcp-port/187574 "2010-04-27T01:12:09Z")

</div>

G’day, I’ve created a simple application in GRC using a TCP source in server mode. When started, it excepts connections on the allocated port for the first time. However, after statefully disconnecting from the port…

---

## [jRuby on Rails on Weblogic - best practice sharing](https://www.ruby-forum.com/t/jruby-on-rails-on-weblogic-best-practice-sharing/166721)

<div class="topic-metadata">

**Author:** [@joern\_hartmann](https://www.ruby-forum.com/u/joern_hartmann)\
**Replies:** 2\
**Last updated:** [April 28, 2009, 11:08pm UTC](https://www.ruby-forum.com/t/jruby-on-rails-on-weblogic-best-practice-sharing/166721 "2009-04-28T23:08:53Z")

</div>

Hello, I’m maintaining a Rails application which is hosted on a Bea Weblogic 9.2 application server. The server’s CPU is a Sun UltraSPARC T1. I am experiencing serious performances issues compared to running the appl…

---

## [Overriding eql? and hash](https://www.ruby-forum.com/t/overriding-eql-and-hash/166501)

<div class="topic-metadata">

**Author:** [@cesardiaz](https://www.ruby-forum.com/u/cesardiaz)\
**Replies:** 2\
**Last updated:** [April 26, 2009, 4:53pm UTC](https://www.ruby-forum.com/t/overriding-eql-and-hash/166501 "2009-04-26T16:53:52Z")

</div>

Hi, I am working in an application and I need to store my own objects in some collections. I was using instances of Array to store that objects, but now, I need not to store duplicated instances. Searching the Web I …

---

## [Bad Gateway Error](https://www.ruby-forum.com/t/bad-gateway-error/159110)

<div class="topic-metadata">

**Author:** [@splattael](https://www.ruby-forum.com/u/splattael)\
**Replies:** 2\
**Last updated:** [January 31, 2009, 6:57pm UTC](https://www.ruby-forum.com/t/bad-gateway-error/159110 "2009-01-31T18:57:05Z")

</div>

Hi, I’m hoping that someone might be able to help me. I run a website www.goodtravelcompany.com, which was created using radiant. For someone unexplained reason the website is down and the following error message is…

---

## [Acts\_as\_ordered dritter Versuch](https://www.ruby-forum.com/t/acts-as-ordered-dritter-versuch/144858)

<div class="topic-metadata">

**Author:** [@mrkohrea](https://www.ruby-forum.com/u/mrkohrea)\
**Replies:** 2\
**Last updated:** [August 3, 2008, 1:51pm UTC](https://www.ruby-forum.com/t/acts-as-ordered-dritter-versuch/144858 "2008-08-03T13:51:39Z")

</div>

Hallo, ich formuliere meine Frage zu acts\_as\_ordered nochmal um. Ich benÃ¶tige fÃ¼r meine Anwendung verschiedene Sortierungen fÃ¼r das selbe model fÃ¼r acts\_as\_ordered einmal brÃ¤uchte ich class Product \< ActiveRec…

---

## [Form.select with :onChange event help](https://www.ruby-forum.com/t/form-select-with-onchange-event-help/133967)

<div class="topic-metadata">

**Author:** [@addywaddy](https://www.ruby-forum.com/u/addywaddy)\
**Replies:** 2\
**Last updated:** [April 6, 2008, 10:21am UTC](https://www.ruby-forum.com/t/form-select-with-onchange-event-help/133967 "2008-04-06T10:21:59Z")

</div>

Hey everyone, As a quick elaboration: I’m trying to make an Admin panel which lists the CRUD actions for several models. The use case calls for a drop-down box for the user to be able to select the object they want to…

---

## [\[bug\] nice exception in Net::HTTP::HTTPHeader](https://www.ruby-forum.com/t/bug-nice-exception-in-net-httpheader/129931)

<div class="topic-metadata">

**Author:** [@Ustalov\_D](https://www.ruby-forum.com/u/Ustalov_D)\
**Replies:** 2\
**Last updated:** [February 22, 2008, 9:01pm UTC](https://www.ruby-forum.com/t/bug-nice-exception-in-net-httpheader/129931 "2008-02-22T21:01:13Z")

</div>

hello. method initialize\_http\_header() of the Net::HTTP::HTTPHeader doesn’t check the type of the ‘value’, and crashes with exception: —8\<— /usr/lib/ruby/1.8/net/http.rb:1142:in initialize\_http\_header': undefined met…

---

## [LONG2NUM vs LONG2FIX](https://www.ruby-forum.com/t/long2num-vs-long2fix/93267)

<div class="topic-metadata">

**Author:** [@haoqi](https://www.ruby-forum.com/u/haoqi)\
**Replies:** 2\
**Last updated:** [May 1, 2007, 7:47am UTC](https://www.ruby-forum.com/t/long2num-vs-long2fix/93267 "2007-05-01T07:47:17Z")

</div>

what’s the difference about “LONG2NUM and LONG2FIX” in ruby c api? why not “return LONG2FIX after FIX2LONG”?? thanks. ruby source file(numeric.c): /\* call-seq: fix.abs -\> aFixnum Returns the absolute value of f…

---

## [Collaboa Temporarily Read Only](https://www.ruby-forum.com/t/collaboa-temporarily-read-only/65948)

<div class="topic-metadata">

**Author:** [@turnip](https://www.ruby-forum.com/u/turnip)\
**Replies:** 2\
**Last updated:** [August 22, 2006, 6:36pm UTC](https://www.ruby-forum.com/t/collaboa-temporarily-read-only/65948 "2006-08-22T18:36:50Z")

</div>

Hi, Collaboa is currently being spammed. I am going to remove public rights to create tickets until we can clean it up a little. Regards, Jon

---

## [Can ActionWebService be included in Engine?](https://www.ruby-forum.com/t/can-actionwebservice-be-included-in-engine/65305)

<div class="topic-metadata">

**Author:** [@akimichi](https://www.ruby-forum.com/u/akimichi)\
**Replies:** 2\
**Last updated:** [August 20, 2006, 4:20pm UTC](https://www.ruby-forum.com/t/can-actionwebservice-be-included-in-engine/65305 "2006-08-20T16:20:48Z")

</div>

Hello, everyone. I’m newbie to engine developing. When I generate a scaffold of an engine, $ script/generate engine FooEngine there is no directory as ‘vendor/plugins/foo\_engine/app/apis’ And, I can’t find +’/engin…

---

## [Lock/Unlock segfaulting](https://www.ruby-forum.com/t/lock-unlock-segfaulting/236815)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [October 7, 2013, 6:12pm UTC](https://www.ruby-forum.com/t/lock-unlock-segfaulting/236815 "2013-10-07T18:12:37Z")

</div>

I have a pyhton program (see http://web.eecs.umich.edu/~anastas/docs/onoff\_flat\_test.py) that based on a button chooser (on/off) rearranges itself. I use lock/unlock to do the disconnection/reconnection. However, I a…

---

## [Comment has\_many comments](https://www.ruby-forum.com/t/comment-has-many-comments/229698)

<div class="topic-metadata">

**Author:** [@SS\_SSSSSSSSS\_S](https://www.ruby-forum.com/u/SS_SSSSSSSSS_S)\
**Replies:** 6\
**Last updated:** [January 18, 2013, 10:10am UTC](https://www.ruby-forum.com/t/comment-has-many-comments/229698 "2013-01-18T10:10:10Z")

</div>

Hi, I want to create web application where people can discuss some things. There will be a Posts and users can comment it, but I also want users can comment commentaries. Can I create model comment, that belongs\_to …

---

## [Mac Phusion Passenger Pane not working](https://www.ruby-forum.com/t/mac-phusion-passenger-pane-not-working/206020)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [April 21, 2011, 6:54pm UTC](https://www.ruby-forum.com/t/mac-phusion-passenger-pane-not-working/206020 "2011-04-21T18:54:37Z")

</div>

I have a feeling that this is something centered around my apache/Passenger configurations but everything seems to check out. Another off the hand problem I’m having, and might be a clue is w/ my Passenger Pane. I i…

---

## [Finding a tag in a binary file](https://www.ruby-forum.com/t/finding-a-tag-in-a-binary-file/203618)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 6\
**Last updated:** [February 25, 2011, 2:05am UTC](https://www.ruby-forum.com/t/finding-a-tag-in-a-binary-file/203618 "2011-02-25T02:05:27Z")

</div>

Hi I’m a complete non programmer but willing to give it a try. I have a DICOMDIR (medical imaging file) which has various tags in, following a tag ie 0010, 0010 is the “patient name”, “study date” 0008,0020 is another…

---

## [Initialise](https://www.ruby-forum.com/t/initialise/193912)

<div class="topic-metadata">

**Author:** [@tensaiji](https://www.ruby-forum.com/u/tensaiji)\
**Replies:** 6\
**Last updated:** [August 27, 2010, 10:15am UTC](https://www.ruby-forum.com/t/initialise/193912 "2010-08-27T10:15:41Z")

</div>

Hi all, Being English and able to spell proper like, innit, I find I’m creating a lot of stupid errors by writing def initialise a lot. I had the bright idea of making an alias to stop this transatlantic turmoil, but …

---

## [Figuring out the relationships between models](https://www.ruby-forum.com/t/figuring-out-the-relationships-between-models/185173)

<div class="topic-metadata">

**Author:** [@horsefly](https://www.ruby-forum.com/u/horsefly)\
**Replies:** 6\
**Last updated:** [March 15, 2010, 6:32pm UTC](https://www.ruby-forum.com/t/figuring-out-the-relationships-between-models/185173 "2010-03-15T18:32:50Z")

</div>

Hi Guys, I’m trying to come up with a model layout for a simple enough race prediction app but am a little stuck. Basically, the app will allow users to enter their predictions for a number of races (20 races in tota…

---

## [String.insert newbie question](https://www.ruby-forum.com/t/string-insert-newbie-question/83543)

<div class="topic-metadata">

**Author:** [@kreatix](https://www.ruby-forum.com/u/kreatix)\
**Replies:** 6\
**Last updated:** [September 29, 2009, 5:26pm UTC](https://www.ruby-forum.com/t/string-insert-newbie-question/83543 "2009-09-29T17:26:16Z")

</div>

Hello, I’ve only been checking out Ruby for a couple of days, but today I came across this problem. If I do this: #!/usr/bin/env ruby -w string1 = “abc” string2 = string1 string2.insert(-1, “def”) puts string1 p…

---

## [Hash auto-true ({:a} == {:a =\> true})](https://www.ruby-forum.com/t/hash-auto-true-a-a-true/148020)

<div class="topic-metadata">

**Author:** [@woahdae](https://www.ruby-forum.com/u/woahdae)\
**Replies:** 6\
**Last updated:** [September 8, 2008, 12:39pm UTC](https://www.ruby-forum.com/t/hash-auto-true-a-a-true/148020 "2008-09-08T12:39:23Z")

</div>

I have a unix-inspired desire to pass arguments to a method where some are toggle flags and some are values, aka “bash$ method --flag –config=/etc/method”. I can think of a few ways to do it that are close, but if I h…

---

## [Plugin translate\_routes](https://www.ruby-forum.com/t/plugin-translate-routes/147625)

<div class="topic-metadata">

**Author:** [@miguel](https://www.ruby-forum.com/u/miguel)\
**Replies:** 6\
**Last updated:** [September 4, 2008, 4:55pm UTC](https://www.ruby-forum.com/t/plugin-translate-routes/147625 "2008-09-04T16:55:16Z")

</div>

Hola expertos, estoy utilizando el plugin trasnlate\_routes de raul murciano, el plugin esta muy bueno y se ajusta a muy bien mis necesidades. el unico problema que no puedo resolver es que el lenguaje por defecto qu…

---

## [Use of "next" in Ruby 1.9?](https://www.ruby-forum.com/t/use-of-next-in-ruby-1-9/147250)

<div class="topic-metadata">

**Author:** [@Charles\_Turner](https://www.ruby-forum.com/u/Charles_Turner)\
**Replies:** 6\
**Last updated:** [August 30, 2008, 1:47pm UTC](https://www.ruby-forum.com/t/use-of-next-in-ruby-1-9/147250 "2008-08-30T13:47:19Z")

</div>

Hi all- Fiddling around with external iterators in Ruby 1.9, and had a question. Given the following method definition: def twice if block\_given? yield 1 yield 2 else self.to\_enum(:twice) end end Why does: it…

---

## [How can I build params via javascript?](https://www.ruby-forum.com/t/how-can-i-build-params-via-javascript/144804)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 6\
**Last updated:** [August 2, 2008, 1:07pm UTC](https://www.ruby-forum.com/t/how-can-i-build-params-via-javascript/144804 "2008-08-02T13:07:44Z")

</div>

I want use javascript to send a javascript object back to the rails.How can I do it. If I write like below: var material={code:“000”,name:“test”}; params={“material”:material} then I the params look like this: {"\_d…

---

## [Everyone Using Rspec Autotest?](https://www.ruby-forum.com/t/everyone-using-rspec-autotest/136575)

<div class="topic-metadata">

**Author:** [@bfsog](https://www.ruby-forum.com/u/bfsog)\
**Replies:** 6\
**Last updated:** [May 4, 2008, 6:40pm UTC](https://www.ruby-forum.com/t/everyone-using-rspec-autotest/136575 "2008-05-04T18:40:27Z")

</div>

I haven’t been spec’ing lately, but been hopping back on and adding autotest. However I get an error: http://pastie.caboo.se/177538/wrap I also noticed a post by Scott and there was mention of rspec\_autotest. Is thi…

---

## [Hey, try out Flock](https://www.ruby-forum.com/t/hey-try-out-flock/136129)

<div class="topic-metadata">

**Author:** [@esceo](https://www.ruby-forum.com/u/esceo)\
**Replies:** 6\
**Last updated:** [April 30, 2008, 6:05am UTC](https://www.ruby-forum.com/t/hey-try-out-flock/136129 "2008-04-30T06:05:20Z")

</div>

Hello,I’m emailing you about Flock. I’m now using Flock as my default browser, and I love what it’s done for my whole Web experience. Flock is a social web browser that uniquely pulls together the people, photos, vi…

---

## [Acl\_system](https://www.ruby-forum.com/t/acl-system/109484)

<div class="topic-metadata">

**Author:** [@sandman](https://www.ruby-forum.com/u/sandman)\
**Replies:** 6\
**Last updated:** [November 7, 2007, 1:03pm UTC](https://www.ruby-forum.com/t/acl-system/109484 "2007-11-07T13:03:27Z")

</div>

Hi all, I’m using Ezra’s acl\_system plugin for authorization over the acts\_as\_authenticated plugin(for authentication). I really haven’t figured out how to use acl\_system. My requirement is simple - I have 3 roles - …

---

## [Generator from Enumerable#map](https://www.ruby-forum.com/t/generator-from-enumerable-map/114995)

<div class="topic-metadata">

**Author:** [@Yusuke\_ENDOH](https://www.ruby-forum.com/u/Yusuke_ENDOH)\
**Replies:** 6\
**Last updated:** [October 15, 2007, 2:38am UTC](https://www.ruby-forum.com/t/generator-from-enumerable-map/114995 "2007-10-15T02:38:36Z")

</div>

e$B1sF#$H?=$7$^$9!#e(B 1.9 e$B$G$O!“e(BEnumerable#map e$B$de(B Enumerable#index e$B$r%V%m%C%/$J$7$G8F$V$He(B generator e$B$rJV$9$h$&$G$9$,!”$3$l$Oe(B Object#to\_enum e$B$H2?$+0\[$J$k$Ne(B e$B$G$7$g$&$+!#e(B $ ./ruby …

---

## [Calling Exec() in Windows versus UNIX](https://www.ruby-forum.com/t/calling-exec-in-windows-versus-unix/115390)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 6\
**Last updated:** [September 24, 2007, 8:48pm UTC](https://www.ruby-forum.com/t/calling-exec-in-windows-versus-unix/115390 "2007-09-24T20:48:34Z")

</div>

I have the following line in a small app: exec(“charting/RequestByProject.jar”,params\[:name\]’) When run in a UNIX environment it works fine. However, moving it over to Windows and trying to run: exec(“charting\\Reques…

---

## [The philosophy of failed pings](https://www.ruby-forum.com/t/the-philosophy-of-failed-pings/89051)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 6\
**Last updated:** [March 17, 2007, 6:06am UTC](https://www.ruby-forum.com/t/the-philosophy-of-failed-pings/89051 "2007-03-17T06:06:28Z")

</div>

Hi all, I need some advice. I recently received a bug report for Net::Ping::External class (part of the net-ping package) where the user was getting false positives. In his case he was pinging some bogus loopback add…

---

## [Pulling my hairs because of the archive behavior](https://www.ruby-forum.com/t/pulling-my-hairs-because-of-the-archive-behavior/67366)

<div class="topic-metadata">

**Author:** [@Maurizio\_B](https://www.ruby-forum.com/u/Maurizio_B)\
**Replies:** 6\
**Last updated:** [January 16, 2007, 8:07pm UTC](https://www.ruby-forum.com/t/pulling-my-hairs-because-of-the-archive-behavior/67366 "2007-01-16T20:07:18Z")

</div>

Hi. I’m not able to make the archive behavior monthly index page working :frowning: I’ve the following content on the monthly index page: \<r:archive:children:each order=“desc”\> Continue Reading … …

---

## [Question about strings](https://www.ruby-forum.com/t/question-about-strings/73731)

<div class="topic-metadata">

**Author:** [@aladrin](https://www.ruby-forum.com/u/aladrin)\
**Replies:** 6\
**Last updated:** [October 26, 2006, 9:16pm UTC](https://www.ruby-forum.com/t/question-about-strings/73731 "2006-10-26T21:16:40Z")

</div>

Okay, given the following string: “This is Will’s string!” what I’m trying to do is replace the single-tick “’” character with a backslash/single-tick “’”, so I can use use that string in a sql query. To do this in P…

---

## [ROR Hivelogic install problems](https://www.ruby-forum.com/t/ror-hivelogic-install-problems/73067)

<div class="topic-metadata">

**Author:** [@jon](https://www.ruby-forum.com/u/jon)\
**Replies:** 6\
**Last updated:** [October 24, 2006, 12:43am UTC](https://www.ruby-forum.com/t/ror-hivelogic-install-problems/73067 "2006-10-24T00:43:35Z")

</div>

Hi, I’m following the instructions from Hivelogic"Building Ruby, Rails, LightTPD, and MySQL on Tiger". I’m trying to install on a MacMini running Tiger(OSX 10.4.6). When I execute the Ruby install by running: ./con…

---

## [Source files for "YART - Yet Another Ruby Tutorial" now avai](https://www.ruby-forum.com/t/source-files-for-yart-yet-another-ruby-tutorial-now-avai/72117)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 6\
**Last updated:** [October 14, 2006, 11:27pm UTC](https://www.ruby-forum.com/t/source-files-for-yart-yet-another-ruby-tutorial-now-avai/72117 "2006-10-14T23:27:25Z")

</div>

Hello. Thanks to everyone who sent me words of encouragement about my Ruby Tutorial. :slight\_smile: Managed to grab an hour this AM to work on putting OpenOffice.org Impress and PowerPoint versions of my Ruby Tutori…

---

## [Rake migration not working](https://www.ruby-forum.com/t/rake-migration-not-working/71702)

<div class="topic-metadata">

**Author:** [@railrocks](https://www.ruby-forum.com/u/railrocks)\
**Replies:** 6\
**Last updated:** [October 11, 2006, 12:22pm UTC](https://www.ruby-forum.com/t/rake-migration-not-working/71702 "2006-10-11T12:22:45Z")

</div>

This is my first project with rails. I am following the book of Curt Hibbs and Bruce Tate. the book is called Ruby on rails: up and running. I built eight different models for eight tables using ruby script/generate …

---

## [Ara's double\_x : generate xml?](https://www.ruby-forum.com/t/aras-double-x-generate-xml/56046)

<div class="topic-metadata">

**Author:** [@itsme213](https://www.ruby-forum.com/u/itsme213)\
**Replies:** 6\
**Last updated:** [March 27, 2006, 10:19pm UTC](https://www.ruby-forum.com/t/aras-double-x-generate-xml/56046 "2006-03-27T22:19:12Z")

</div>

Does this library support generating of xml (not xhtml)? what’s the top level call? I tried xml\_ { …} and it dies with irb(main):021:0\> doc = xml\_ { p\_ “a” } NoMethodError: undefined method create' for nil:NilClass f…

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

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