# Top

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

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

---

## [Plain Text Stories Chaining Scenarios](https://www.ruby-forum.com/t/plain-text-stories-chaining-scenarios/120247)

<div class="topic-metadata">

**Author:** [@confundido](https://www.ruby-forum.com/u/confundido)\
**Replies:** 7\
**Last updated:** [November 16, 2007, 8:24am UTC](https://www.ruby-forum.com/t/plain-text-stories-chaining-scenarios/120247 "2007-11-16T08:24:59Z")

</div>

I’m writing a plain text story (testing the waters) and I have scenarios that I need to chain in my specs. Here is what I have so far: Story: User purchasing tshirts As a user I want to checkout So that I can purch…

---

## [Export Data from Microsoft Access database](https://www.ruby-forum.com/t/export-data-from-microsoft-access-database/99610)

<div class="topic-metadata">

**Author:** [@Jatinder\_S](https://www.ruby-forum.com/u/Jatinder_S)\
**Replies:** 7\
**Last updated:** [July 24, 2006, 5:08pm UTC](https://www.ruby-forum.com/t/export-data-from-microsoft-access-database/99610 "2006-07-24T17:08:23Z")

</div>

How could I leverage Ruby to export mdb tables definations, data, forms, queries and then be able to import it in to some other dbms like oracle/db2 etc? Regards, Jatinder

---

## [Duration between two days](https://www.ruby-forum.com/t/duration-between-two-days/52461)

<div class="topic-metadata">

**Author:** [@cookoo](https://www.ruby-forum.com/u/cookoo)\
**Replies:** 7\
**Last updated:** [January 15, 2006, 5:10pm UTC](https://www.ruby-forum.com/t/duration-between-two-days/52461 "2006-01-15T17:10:54Z")

</div>

According to the Rdoc of Date class, operator ‘-(x)’ is described as: If x is a Date http://www.ruby-doc.org/core/classes/Date.html, return the number of days between the two dates; or, more precisely, how many days …

---

## [Get and post on the same controller method](https://www.ruby-forum.com/t/get-and-post-on-the-same-controller-method/233306)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [December 3, 2014, 11:08am UTC](https://www.ruby-forum.com/t/get-and-post-on-the-same-controller-method/233306 "2014-12-03T11:08:08Z")

</div>

What happens if you have get and post on the same method on a controller? Would it always be get first then if a user clicks on the submit button becomes post? How do you set certain conditions that only must happen i…

---

## [Override .find, .find\_by\_id, etc](https://www.ruby-forum.com/t/override-find-find-by-id-etc/180736)

<div class="topic-metadata">

**Author:** [@ledowong](https://www.ruby-forum.com/u/ledowong)\
**Replies:** 2\
**Last updated:** [December 28, 2009, 3:17pm UTC](https://www.ruby-forum.com/t/override-find-find-by-id-etc/180736 "2009-12-28T15:17:23Z")

</div>

I read these: http://www.ruby-forum.com/topic/185297#new http://www.freezzo.com/2008/05/14/override-default-find-conditions-for-model/ it works, it override the .find perfectly, however it does not cover .find\_by\_id …

---

## [Rails boolean and mysql tinyint(1) question?](https://www.ruby-forum.com/t/rails-boolean-and-mysql-tinyint-1-question/163686)

<div class="topic-metadata">

**Author:** [@vsg](https://www.ruby-forum.com/u/vsg)\
**Replies:** 2\
**Last updated:** [March 24, 2009, 10:21am UTC](https://www.ruby-forum.com/t/rails-boolean-and-mysql-tinyint-1-question/163686 "2009-03-24T10:21:01Z")

</div>

this may seem silly but i just noticed that if in mysql the column which is a tinyint(1) happens 2 or greater, by a chance of glitch or corruption in the database(i did it manually ofcourse but i am speaking hypotheti…

---

## [SSL\_shutdown() failed (SSL:) while proxying](https://www.ruby-forum.com/t/ssl-shutdown-failed-ssl-while-proxying/126405)

<div class="topic-metadata">

**Author:** [@John\_Capo](https://www.ruby-forum.com/u/John_Capo)\
**Replies:** 2\
**Last updated:** [January 22, 2008, 11:53pm UTC](https://www.ruby-forum.com/t/ssl-shutdown-failed-ssl-while-proxying/126405 "2008-01-22T23:53:19Z")

</div>

I am testing 0.5.35 as a replacement for my perdition IMAP/POP3 proxies. I fed a bit of real traffic to nginx today and within a few seconds I see SSL\_shutdown errors in the logs. Nothing in testing produced that er…

---

## [Controller::UrlGenerationError](https://www.ruby-forum.com/t/controller-urlgenerationerror/232656)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [October 26, 2014, 3:00pm UTC](https://www.ruby-forum.com/t/controller-urlgenerationerror/232656 "2014-10-26T15:00:35Z")

</div>

Hey I am adding another database to my first one and i created the html to work showing the data but when i want to create a new entry this error occurs. I have a new controller with everything in it but not sure wh…

---

## [Get and use computer name?](https://www.ruby-forum.com/t/get-and-use-computer-name/239106)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [February 12, 2014, 8:42pm UTC](https://www.ruby-forum.com/t/get-and-use-computer-name/239106 "2014-02-12T20:42:08Z")

</div>

I know multiple ways of getting the computer’s name on ruby and the one I use is ENV\[“COMPUTERNAME”\] Here is my question. How to practically use it? When changing directory to desktop or certain directories you will…

---

## [Graph - finding all paths between nodes](https://www.ruby-forum.com/t/graph-finding-all-paths-between-nodes/246081)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 3\
**Last updated:** [August 29, 2013, 9:53am UTC](https://www.ruby-forum.com/t/graph-finding-all-paths-between-nodes/246081 "2013-08-29T09:53:26Z")

</div>

Hi, I have implementation graph as a dictionary. I done finding a path between two nodes, but I don’t know how find all paths between two nodes. Anybody help or give me an advice? My code: class Graph attr\_accessor …

---

## [How can I exit with a message in ruby?](https://www.ruby-forum.com/t/how-can-i-exit-with-a-message-in-ruby/147467)

<div class="topic-metadata">

**Author:** [@lpc2148](https://www.ruby-forum.com/u/lpc2148)\
**Replies:** 3\
**Last updated:** [September 2, 2008, 9:31am UTC](https://www.ruby-forum.com/t/how-can-i-exit-with-a-message-in-ruby/147467 "2008-09-02T09:31:40Z")

</div>

hi guys ! does ruby have a die method ? or is it there a method that displays a string before exiting ?

---

## [Dependency injection with Needle gem](https://www.ruby-forum.com/t/dependency-injection-with-needle-gem/134322)

<div class="topic-metadata">

**Author:** [@cremes](https://www.ruby-forum.com/u/cremes)\
**Replies:** 3\
**Last updated:** [April 9, 2008, 11:52pm UTC](https://www.ruby-forum.com/t/dependency-injection-with-needle-gem/134322 "2008-04-09T23:52:29Z")

</div>

I am puzzling through a few things with needle and dependency injection. I only know of one library that uses it which is net-ssh (v 1.1.2) since both were written by Jamis B… Anyone know of another publicly available…

---

## [Receiving 2 strict-transport-security headers with different times](https://www.ruby-forum.com/t/receiving-2-strict-transport-security-headers-with-different-times/234118)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [February 8, 2015, 5:44am UTC](https://www.ruby-forum.com/t/receiving-2-strict-transport-security-headers-with-different-times/234118 "2015-02-08T05:44:44Z")

</div>

I have a domain setup with SSL and I am trying to get HSTS headers working. I have done this in NGINX before with no problem. On this new domain I can’t seem to get HSTS working properly. Not sure what I am doing wro…

---

## [How to work with a limited sample](https://www.ruby-forum.com/t/how-to-work-with-a-limited-sample/236811)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 4\
**Last updated:** [October 5, 2013, 8:20pm UTC](https://www.ruby-forum.com/t/how-to-work-with-a-limited-sample/236811 "2013-10-05T20:20:31Z")

</div>

Hi everyone. I just started using GRC for a college assignment, but I’m having a hard time to find what I need to know in order to do what I want. I want to make a flowgraph that works with a limited sample, like a WA…

---

## [Using set\_sensitive on a button](https://www.ruby-forum.com/t/using-set-sensitive-on-a-button/211709)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [September 13, 2011, 1:48pm UTC](https://www.ruby-forum.com/t/using-set-sensitive-on-a-button/211709 "2011-09-13T13:48:38Z")

</div>

Hi. I use .set\_sensitive on a button. That button then becomes: non functional (you can’t click on it) greyed out in case it has an image I am fine with the non-functional part of the button. I don’t want it to res…

---

## [Code Review: Various .NET interop tests](https://www.ruby-forum.com/t/code-review-various-net-interop-tests/164092)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 4\
**Last updated:** [March 27, 2009, 10:56pm UTC](https://www.ruby-forum.com/t/code-review-various-net-interop-tests/164092 "2009-03-27T22:56:42Z")

</div>

This is one of the weak areas for our Git setup. I have multiple commits that need review. I honestly feel that Git needs the concept of a push object, so I could say look at this, or these pushes. So, options to help…

---

## [Limitar carÃ¡cteres en un text\_area](https://www.ruby-forum.com/t/limitar-cara-cteres-en-un-text-area/129418)

<div class="topic-metadata">

**Author:** [@davox](https://www.ruby-forum.com/u/davox)\
**Replies:** 4\
**Last updated:** [February 18, 2008, 4:20pm UTC](https://www.ruby-forum.com/t/limitar-cara-cteres-en-un-text-area/129418 "2008-02-18T16:20:07Z")

</div>

Buenas, Pues eso, alguien sabe si hay alguna manera de limitar el mÃ¡ximo de carÃ¡cteres que permitimos escribir en un text area con Rails. He estado buscando y no he encontrado una manera senzilla de hacerlo. SÃ³lo …

---

## [Automatically Indexing Associated Models](https://www.ruby-forum.com/t/automatically-indexing-associated-models/84068)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 4\
**Last updated:** [June 13, 2007, 1:23am UTC](https://www.ruby-forum.com/t/automatically-indexing-associated-models/84068 "2007-06-13T01:23:55Z")

</div>

PROBLEM I have two models, Blog and BlogComment. When a blog is initially created, it has no comments. Upon creation, the title and body are automatically added to the ferret index and directly searchable. However, w…

---

## [Mruby vs. lua](https://www.ruby-forum.com/t/mruby-vs-lua/239354)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [February 23, 2014, 1:08pm UTC](https://www.ruby-forum.com/t/mruby-vs-lua/239354 "2014-02-23T13:08:09Z")

</div>

Hi, How will mruby compare to lua? I could use mruby similar to lua, is that one of the main ideas behind mruby? And I assume that folks who know C will significantly profit from mruby more so than “normal” ruby use…

---

## [How to write tests for respond\_to in controller?](https://www.ruby-forum.com/t/how-to-write-tests-for-respond-to-in-controller/259201)

<div class="topic-metadata">

**Author:** [@uAlmostGotMe](https://www.ruby-forum.com/u/uAlmostGotMe)\
**Replies:** 0\
**Last updated:** [April 9, 2020, 6:47pm UTC](https://www.ruby-forum.com/t/how-to-write-tests-for-respond-to-in-controller/259201 "2020-04-09T18:47:06Z")

</div>

I’m writing the rspec unit test for the update method of controller. The method is: def update @people = People.find(params\[:id\]) if @people.update(people\_params) respond\_to do |format| format.html {redire…

---

## [Code 499 and ab tools](https://www.ruby-forum.com/t/code-499-and-ab-tools/223274)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 2\
**Last updated:** [September 28, 2012, 10:42am UTC](https://www.ruby-forum.com/t/code-499-and-ab-tools/223274 "2012-09-28T10:42:00Z")

</div>

HI, I am testing one of our production server with ab (ab -n 1000 -c 150 “http://www.myserver.com”) and what I get is: … Completed 400 requests Completed 500 requests Completed 600 requests Completed 700 requests …

---

## [Mouse click with win32api](https://www.ruby-forum.com/t/mouse-click-with-win32api/88794)

<div class="topic-metadata">

**Author:** [@emilsverige](https://www.ruby-forum.com/u/emilsverige)\
**Replies:** 2\
**Last updated:** [March 14, 2007, 2:01pm UTC](https://www.ruby-forum.com/t/mouse-click-with-win32api/88794 "2007-03-14T14:01:49Z")

</div>

Hi, I would like to write a script like this: mouse.move\_cursor\_to( x, y ) mouse.click\_left\_button() I have read that I can use AutoIt, but that the program has to have an ole interface for it to be possible. That a…

---

## [Get methods from module](https://www.ruby-forum.com/t/get-methods-from-module/245095)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [November 7, 2016, 9:26am UTC](https://www.ruby-forum.com/t/get-methods-from-module/245095 "2016-11-07T09:26:52Z")

</div>

I have something like this module MyModule1 module MyModule2 def self.method1 end def self.method2 end end end I need to get the methods declared inside MyModule2 and I need the self. to be able to access it li…

---

## [Chris Pine Arrays and Iterators](https://www.ruby-forum.com/t/chris-pine-arrays-and-iterators/245032)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 5\
**Last updated:** [August 27, 2016, 2:02am UTC](https://www.ruby-forum.com/t/chris-pine-arrays-and-iterators/245032 "2016-08-27T02:02:26Z")

</div>

Hello. This question may have been posted already, but I didn’t see it, so here it goes. I am learning Ruby via Chris P.'s Learn To Program. In Chp. 7, Arrays and Iterators, the first challenge has me baffled a bit.…

---

## [: invalid parameter "backup" error on Ubuntu](https://www.ruby-forum.com/t/invalid-parameter-backup-error-on-ubuntu/175130)

<div class="topic-metadata">

**Author:** [@stefancaunter](https://www.ruby-forum.com/u/stefancaunter)\
**Replies:** 5\
**Last updated:** [September 8, 2009, 7:44pm UTC](https://www.ruby-forum.com/t/invalid-parameter-backup-error-on-ubuntu/175130 "2009-09-08T19:44:42Z")

</div>

Greetings: I am running 0.8.14 on Ubuntu (compiled from source with openssl). Desired result is static cache as backup for dynamic asp webapp. Cache builds nicely, serves fine on 127.0.0.2:80 or unix socket, however w…

---

## [Copy/Paste problems in dragdrop.rb](https://www.ruby-forum.com/t/copy-paste-problems-in-dragdrop-rb/158322)

<div class="topic-metadata">

**Author:** [@rmcghee](https://www.ruby-forum.com/u/rmcghee)\
**Replies:** 5\
**Last updated:** [February 7, 2009, 7:14pm UTC](https://www.ruby-forum.com/t/copy-paste-problems-in-dragdrop-rb/158322 "2009-02-07T19:14:05Z")

</div>

Windows XP Professional + SP3 ruby 1.8.6 wxRuby 1.9.9 The drag and drop sample results in segmentation faults. Instructions to reproduce: Run dragdrop.rb (…/samples/dragdrop/dragdrop.rb) Click on Clipboard tab …

---

## [Factorials](https://www.ruby-forum.com/t/factorials/142965)

<div class="topic-metadata">

**Author:** [@toro04](https://www.ruby-forum.com/u/toro04)\
**Replies:** 5\
**Last updated:** [July 14, 2008, 10:32pm UTC](https://www.ruby-forum.com/t/factorials/142965 "2008-07-14T22:32:36Z")

</div>

I just started using ruby, and no matter how hard i try i cant do factorials. how to a get the factorial of an imported number?

---

## [Can create record but can not update it =\> has\_many through](https://www.ruby-forum.com/t/can-create-record-but-can-not-update-it-has-many-through/139811)

<div class="topic-metadata">

**Author:** [@adinda\_p](https://www.ruby-forum.com/u/adinda_p)\
**Replies:** 5\
**Last updated:** [June 8, 2008, 6:19pm UTC](https://www.ruby-forum.com/t/can-create-record-but-can-not-update-it-has-many-through/139811 "2008-06-08T18:19:58Z")

</div>

Hi All, I have a problem using has\_many through association. I can create a product without problem, but when i edit it, i got this NoMethodError: undefined method \`reciters=’ for #Product:0xb71a77e8 Did i miss some…

---

## [Text file uploads come across as strings instead of files?](https://www.ruby-forum.com/t/text-file-uploads-come-across-as-strings-instead-of-files/83170)

<div class="topic-metadata">

**Author:** [@Christopher\_JSBott](https://www.ruby-forum.com/u/Christopher_JSBott)\
**Replies:** 5\
**Last updated:** [January 24, 2007, 2:27am UTC](https://www.ruby-forum.com/t/text-file-uploads-come-across-as-strings-instead-of-files/83170 "2007-01-24T02:27:09Z")

</div>

Hello, How can I get Rails to treat all uploaded files the same? Text files come across as strings, and other files come across as some kind of file object. Here’s my view code: \<% form\_for(:content, :url =\> {:acti…

---

## [Detecting control-c?](https://www.ruby-forum.com/t/detecting-control-c/96685)

<div class="topic-metadata">

**Author:** [@williamerubin](https://www.ruby-forum.com/u/williamerubin)\
**Replies:** 5\
**Last updated:** [December 9, 2005, 7:44pm UTC](https://www.ruby-forum.com/t/detecting-control-c/96685 "2005-12-09T19:44:09Z")

</div>

How does one detect Control-C? I know that it raises an Interrupt, but there are other things that are also Interrupts (such as Timeout::Error). The documentation at ruby-doc.org doesn’t list any details of class Int…

---

## [Receiving and then sending using USRP2](https://www.ruby-forum.com/t/receiving-and-then-sending-using-usrp2/165155)

<div class="topic-metadata">

**Author:** [@Per\_Z](https://www.ruby-forum.com/u/Per_Z)\
**Replies:** 6\
**Last updated:** [September 24, 2009, 7:22pm UTC](https://www.ruby-forum.com/t/receiving-and-then-sending-using-usrp2/165155 "2009-09-24T19:22:34Z")

</div>

Dear All, I have copied rx\_streaming\_samples.cc from “usrp2/host/apps” to a local directory, compiled and linked with libusrp2 etc. It works. However, in a first small step towards transmitting with the usrp2 I added …

---

## [Simple html link from URL variable call](https://www.ruby-forum.com/t/simple-html-link-from-url-variable-call/135836)

<div class="topic-metadata">

**Author:** [@Laughlink](https://www.ruby-forum.com/u/Laughlink)\
**Replies:** 6\
**Last updated:** [April 27, 2008, 4:05pm UTC](https://www.ruby-forum.com/t/simple-html-link-from-url-variable-call/135836 "2008-04-27T16:05:18Z")

</div>

I am building a business listing page, and there is a field for URL and email. I have the email link working with mail\_to, but is there also a method call for an URL? Website \<%= link\_to @directories.url %\> Intereste…

---

## [SWIG typemap for ta-lib](https://www.ruby-forum.com/t/swig-typemap-for-ta-lib/88662)

<div class="topic-metadata">

**Author:** [@BENI](https://www.ruby-forum.com/u/BENI)\
**Replies:** 6\
**Last updated:** [March 20, 2007, 12:30pm UTC](https://www.ruby-forum.com/t/swig-typemap-for-ta-lib/88662 "2007-03-20T12:30:45Z")

</div>

I was trying to swig a function in ta-lib (TA-Lib provides common functions for the technical analysis of financial market data) http://ta-lib.org/index.html the c functuon api TA\_RetCode TA\_MA( int startIdx…

---

## [String into Array](https://www.ruby-forum.com/t/string-into-array/251067)

<div class="topic-metadata">

**Author:** [@dccmmtop](https://www.ruby-forum.com/u/dccmmtop)\
**Replies:** 3\
**Last updated:** [November 28, 2018, 1:56pm UTC](https://www.ruby-forum.com/t/string-into-array/251067 "2018-11-28T13:56:55Z")

</div>

I want to get a Array from String; ex: “\[1,2,3,4,{a:1}\]” --\> \[1,2,3,4,{:a =\> 1}\], dont use eval()

---

## [OFDM Blocks](https://www.ruby-forum.com/t/ofdm-blocks/231173)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [August 5, 2014, 3:55am UTC](https://www.ruby-forum.com/t/ofdm-blocks/231173 "2014-08-05T03:55:30Z")

</div>

Hello, I’m working with USRP OFDM blocks. I’m confused about how to use built-in OFDM Transmitter and OFDM Receiver blocks. How to set the fields- occupied carriers, pilot carriers, sync word and pilot symbols? …

---

## [Scope of assignments with lambda](https://www.ruby-forum.com/t/scope-of-assignments-with-lambda/204784)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [April 15, 2011, 8:37am UTC](https://www.ruby-forum.com/t/scope-of-assignments-with-lambda/204784 "2011-04-15T08:37:13Z")

</div>

This isn’t a question – it’s just a comment that I find it awesome and only slightly mysterious that a lambda can reference the variable it is assigned to in its body, such as p here: p = lambda {|n| puts “bing #{n}…

---

## [Beginner's Beginner](https://www.ruby-forum.com/t/beginners-beginner/205625)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [April 12, 2011, 1:23am UTC](https://www.ruby-forum.com/t/beginners-beginner/205625 "2011-04-12T01:23:50Z")

</div>

I am trying to execute the Sudoku Solver listed in the book “The Ruby Programming Book” (pages 17 -24) The code for the Sudoku Module is available online but I do not understand the following instruction: require ‘su…

---

## [Scrittura su file modalitÃ  binaria](https://www.ruby-forum.com/t/scrittura-su-file-modalita-binaria/182386)

<div class="topic-metadata">

**Author:** [@sircotra](https://www.ruby-forum.com/u/sircotra)\
**Replies:** 8\
**Last updated:** [January 27, 2010, 8:46pm UTC](https://www.ruby-forum.com/t/scrittura-su-file-modalita-binaria/182386 "2010-01-27T20:46:29Z")

</div>

Ciao a tutti, ho da poco scoperto il modno di ruby e devo capire ancora molte cose. Ad esempio una di queste riguarda la scrittura a file. Dopo opportune elaborazioni ottengo una stringa di bit lunga un bel pÃ²… Per…

---

## [Akismet ou defensio](https://www.ruby-forum.com/t/akismet-ou-defensio/163717)

<div class="topic-metadata">

**Author:** [@joelito](https://www.ruby-forum.com/u/joelito)\
**Replies:** 8\
**Last updated:** [March 24, 2009, 12:08pm UTC](https://www.ruby-forum.com/t/akismet-ou-defensio/163717 "2009-03-24T12:08:49Z")

</div>

Bonjour à tous, Je dois mettre en place un système anti-spam sur mes commentaires et ces 2 projets on l’air très similaire. Avez vous des retours d’expériences sur l’un ou l’autre pour aider a choisir. Merci.

---

## [Look Da Fat Controller Man ! (etait : controller)](https://www.ruby-forum.com/t/look-da-fat-controller-man-etait-controller/121312)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois\_Tr](https://www.ruby-forum.com/u/Jean-FranSSSSois_Tr)\
**Replies:** 8\
**Last updated:** [December 4, 2007, 1:21pm UTC](https://www.ruby-forum.com/t/look-da-fat-controller-man-etait-controller/121312 "2007-12-04T13:21:08Z")

</div>

Raph : les vues? Un bout de code vaut parfois mieux qu’un long discours, je te propose de regarder Geego, télécharge le tarball de la version 1.2.1 à http://www.geegocms.com/download/en et d’examiner app/controller…

---

## [Storing additional data on join tables with Rails](https://www.ruby-forum.com/t/storing-additional-data-on-join-tables-with-rails/59795)

<div class="topic-metadata">

**Author:** [@alder](https://www.ruby-forum.com/u/alder)\
**Replies:** 3\
**Last updated:** [May 6, 2006, 9:10pm UTC](https://www.ruby-forum.com/t/storing-additional-data-on-join-tables-with-rails/59795 "2006-05-06T21:10:03Z")

</div>

Hi there I need to store additional attributes on join table. Searching the Wiki \[1\] revealed two possible methods: push\_with\_attributes, as described by Justin Palmer \[2\]. Unfortunately, “this method is now deprec…

---

## [How to use ARGV\*,How do i implement command line argument in it](https://www.ruby-forum.com/t/how-to-use-argv-how-do-i-implement-command-line-argument-in-it/252650)

<div class="topic-metadata">

**Author:** [@ndy](https://www.ruby-forum.com/u/ndy)\
**Replies:** 1\
**Last updated:** [July 4, 2019, 7:29am UTC](https://www.ruby-forum.com/t/how-to-use-argv-how-do-i-implement-command-line-argument-in-it/252650 "2019-07-04T07:29:51Z")

</div>

\<\<-doc Modify the sum of times method for any number of time values passed to this method. Eg: (“11:23:07”,“22:53:45”,“0:23:23”,“23:45:56”) -\> “2 day & 10:26:11” (“0:45:34”,“0:15:58”) -\> 01:01:32 ; (“11:23:07”,“22:53:…

---

## [UCLA ZigBee and the Capture Effect](https://www.ruby-forum.com/t/ucla-zigbee-and-the-capture-effect/217136)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [February 25, 2012, 3:32am UTC](https://www.ruby-forum.com/t/ucla-zigbee-and-the-capture-effect/217136 "2012-02-25T03:32:55Z")

</div>

Hi everyone, First of all thanks a lot for any support! I’m use the UCLA zigbee PHY (IEEE 802.15.4) on three nodes, of which one is a dedicated receiver and the other two nodes are transmitting simultaneously (No CSM…

---

## [Vhost support](https://www.ruby-forum.com/t/vhost-support/202446)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 7\
**Last updated:** [January 29, 2011, 7:16pm UTC](https://www.ruby-forum.com/t/vhost-support/202446 "2011-01-29T19:16:09Z")

</div>

So there doesn’t seem to be any interest in some kind of vhost\_alias module so I’d like to try and write one but I need a little help with the nginx codebase. server { listen 80; server\_name \_; location / { root /…

---

## [Error\_messages\_for help](https://www.ruby-forum.com/t/error-messages-for-help/174592)

<div class="topic-metadata">

**Author:** [@bgumbiker](https://www.ruby-forum.com/u/bgumbiker)\
**Replies:** 7\
**Last updated:** [September 4, 2009, 8:00pm UTC](https://www.ruby-forum.com/t/error-messages-for-help/174592 "2009-09-04T20:00:35Z")

</div>

Hello, Does anyone know how to use error\_messages\_for with remote\_form\_for? Here is my code: \<%= error\_messages\_for ‘quotation’ %\> \<% remote\_form\_for(Quotation.new, :url =\> { :action =\> "send\_quotation" }) do |f| %\>…

---

## [Prevent attribute from being changed with "attr\_readonly"](https://www.ruby-forum.com/t/prevent-attribute-from-being-changed-with-attr-readonly/171463)

<div class="topic-metadata">

**Author:** [@Learn\_by\_D](https://www.ruby-forum.com/u/Learn_by_D)\
**Replies:** 1\
**Last updated:** [July 3, 2009, 9:53am UTC](https://www.ruby-forum.com/t/prevent-attribute-from-being-changed-with-attr-readonly/171463 "2009-07-03T09:53:57Z")

</div>

Is there a way to prevent an attribute from being changed from outside the class instance? So that after a record is created, the attribute can be read but cannot be changed from outside the class instance. At first g…

---

## [Iso-8859-1 no effect in browser](https://www.ruby-forum.com/t/iso-8859-1-no-effect-in-browser/168798)

<div class="topic-metadata">

**Author:** [@tivrfoa](https://www.ruby-forum.com/u/tivrfoa)\
**Replies:** 7\
**Last updated:** [May 28, 2009, 5:10pm UTC](https://www.ruby-forum.com/t/iso-8859-1-no-effect-in-browser/168798 "2009-05-28T17:10:24Z")

</div>

hi folks! I want to use characters with accent, like: é, ç, ã, ô. Then I changed from UTF-8 to iso-8859-1, so I can use é direct, instead of é The strange is that when I go in View -\> Codification, it is marked …

---

## [Driving rspec from a Ruby script](https://www.ruby-forum.com/t/driving-rspec-from-a-ruby-script/157936)

<div class="topic-metadata">

**Author:** [@eddyhkim](https://www.ruby-forum.com/u/eddyhkim)\
**Replies:** 7\
**Last updated:** [January 18, 2009, 7:42pm UTC](https://www.ruby-forum.com/t/driving-rspec-from-a-ruby-script/157936 "2009-01-18T19:42:42Z")

</div>

I have very little experience with Ruby. I am using RSpec to test a cross platform C++ library. I am using a shell script (and batch file) to run the tests with several different compilers. I do no want to put the det…

---

## [Luke does not work with Ferret indexes?](https://www.ruby-forum.com/t/luke-does-not-work-with-ferret-indexes/71330)

<div class="topic-metadata">

**Author:** [@amin1426](https://www.ruby-forum.com/u/amin1426)\
**Replies:** 7\
**Last updated:** [October 7, 2006, 11:14pm UTC](https://www.ruby-forum.com/t/luke-does-not-work-with-ferret-indexes/71330 "2006-10-07T23:14:54Z")

</div>

Hey, Luke doesn’t seem to be able to open a Ferret index I’ve created. Is this expected? If yes, can someone recommend another index inspection tool? Thanks, John

---

## [Cannot import name GNURadio when launching perf-monitorx and ctrlport-monitor](https://www.ruby-forum.com/t/cannot-import-name-gnuradio-when-launching-perf-monitorx-and-ctrlport-monitor/242840)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [August 5, 2015, 8:17am UTC](https://www.ruby-forum.com/t/cannot-import-name-gnuradio-when-launching-perf-monitorx-and-ctrlport-monitor/242840 "2015-08-05T08:17:24Z")

</div>

I am trying to measure performance of my OOT module with performance counter and control port. When I execute a command line gr-perf-monitorx or gr-ctrlport-monitor, an error below occurred: File “/usr/local/li…

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

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