# Top

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

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

---

## [Security risks of cookie-based session storage](https://www.ruby-forum.com/t/security-risks-of-cookie-based-session-storage/160998)

<div class="topic-metadata">

**Author:** [@eric99](https://www.ruby-forum.com/u/eric99)\
**Replies:** 2\
**Last updated:** [February 24, 2009, 3:31am UTC](https://www.ruby-forum.com/t/security-risks-of-cookie-based-session-storage/160998 "2009-02-24T03:31:40Z")

</div>

Should I be concerned if I am using the default cookie-based session storage for a high security application? Nothing sensitive will be stored on the cookie, but it’s critical that one user cannot gain access to anot…

---

## [Code Review: esupport](https://www.ruby-forum.com/t/code-review-esupport/160712)

<div class="topic-metadata">

**Author:** [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Replies:** 2\
**Last updated:** [February 19, 2009, 3:45am UTC](https://www.ruby-forum.com/t/code-review-esupport/160712 "2009-02-19T03:45:38Z")

</div>

DLR: FYI on formatting change. No response needed. tfpt review “/shelveset:esupport;REDMOND\\jdeville” Comment : Adds -e support to IronRuby using CommonConsoleOptions.Command. Also fixes a formatting error in Consol…

---

## [How to block specific IPs with nginx](https://www.ruby-forum.com/t/how-to-block-specific-ips-with-nginx/159619)

<div class="topic-metadata">

**Author:** [@Asif\_A](https://www.ruby-forum.com/u/Asif_A)\
**Replies:** 2\
**Last updated:** [February 10, 2009, 8:53pm UTC](https://www.ruby-forum.com/t/how-to-block-specific-ips-with-nginx/159619 "2009-02-10T20:53:36Z")

</div>

Dear Group, How do I create a block list?. I tried DENY but that does not work well and looks like it is only for blocking access to specific folders. Please advise regards Asif A.

---

## [Monkeybars 1.0](https://www.ruby-forum.com/t/monkeybars-1-0/157853)

<div class="topic-metadata">

**Author:** [@Logan\_B](https://www.ruby-forum.com/u/Logan_B)\
**Replies:** 2\
**Last updated:** [January 16, 2009, 2:12am UTC](https://www.ruby-forum.com/t/monkeybars-1-0/157853 "2009-01-16T02:12:22Z")

</div>

Your favorite JRuby Swing GUI library just became 1.0! There shouldn’t be any major API changes between 6.2 and 1.0. The library is pretty stable now. This release includes many bugfixes and overall polish. http://mo…

---

## [Regular expression question - using 'not' logic with it](https://www.ruby-forum.com/t/regular-expression-question-using-not-logic-with-it/157217)

<div class="topic-metadata">

**Author:** [@mmcolli00](https://www.ruby-forum.com/u/mmcolli00)\
**Replies:** 2\
**Last updated:** [January 8, 2009, 4:25pm UTC](https://www.ruby-forum.com/t/regular-expression-question-using-not-logic-with-it/157217 "2009-01-08T16:25:35Z")

</div>

I know this is probably so easy, but I just can’t find any documentation on it because it is not character class value. If 4 specific values exists, I do not want to output anything. How can I check that these values …

---

## [Getting test method names when getting output](https://www.ruby-forum.com/t/getting-test-method-names-when-getting-output/155957)

<div class="topic-metadata">

**Author:** [@Hunt\_J](https://www.ruby-forum.com/u/Hunt_J)\
**Replies:** 2\
**Last updated:** [December 18, 2008, 4:06pm UTC](https://www.ruby-forum.com/t/getting-test-method-names-when-getting-output/155957 "2008-12-18T16:06:22Z")

</div>

When I run a test file (e.g., ruby test\_user.rb), I get the test output about error and failure and about the overall number of tests, assertions, pass and so on. But I would like to see all the test method names incl…

---

## [Ssl\_required and form\_tag](https://www.ruby-forum.com/t/ssl-required-and-form-tag/155444)

<div class="topic-metadata">

**Author:** [@fritza](https://www.ruby-forum.com/u/fritza)\
**Replies:** 2\
**Last updated:** [December 11, 2008, 9:15pm UTC](https://www.ruby-forum.com/t/ssl-required-and-form-tag/155444 "2008-12-11T21:15:36Z")

</div>

I don’t quite understand how ssl\_required interacts with forms in Ruby on Rails. I’ve installed the ssl\_requirement plugin, and listed one of my form-submission actions (:assign\_building) in an ssl\_required declarati…

---

## [Question about text\_field tag for collect](https://www.ruby-forum.com/t/question-about-text-field-tag-for-collect/152768)

<div class="topic-metadata">

**Author:** [@shoutao](https://www.ruby-forum.com/u/shoutao)\
**Replies:** 2\
**Last updated:** [November 10, 2008, 3:18am UTC](https://www.ruby-forum.com/t/question-about-text-field-tag-for-collect/152768 "2008-11-10T03:18:05Z")

</div>

I have two class Question has\_many :options end How to write the page which create the Question together with the options?

---

## [\[Bug #674\] Failure: test\_aset(TestSDBM)](https://www.ruby-forum.com/t/bug-674-failure-test-aset-testsdbm/151464)

<div class="topic-metadata">

**Author:** [@Kazuhiro\_NISHIYAMA](https://www.ruby-forum.com/u/Kazuhiro_NISHIYAMA)\
**Replies:** 2\
**Last updated:** [October 22, 2008, 7:57am UTC](https://www.ruby-forum.com/t/bug-674-failure-test-aset-testsdbm/151464 "2008-10-22T07:57:23Z")

</div>

Bug #674: Failure: test\_aset(TestSDBM) http://redmine.ruby-lang.org/issues/show/674 e$B5/I\<\<Te(B: Kazuhiro NISHIYAMA e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: core Failure: test\_aset(TestSDBM) \[…

---

## [Are 64-bit machines a concern for GNUradio installation?](https://www.ruby-forum.com/t/are-64-bit-machines-a-concern-for-gnuradio-installation/150970)

<div class="topic-metadata">

**Author:** [@JUAN\_LARA\_AMBEL](https://www.ruby-forum.com/u/JUAN_LARA_AMBEL)\
**Replies:** 2\
**Last updated:** [October 17, 2008, 5:26pm UTC](https://www.ruby-forum.com/t/are-64-bit-machines-a-concern-for-gnuradio-installation/150970 "2008-10-17T17:26:31Z")

</div>

Hello, after successfully playing around for a while with USRP and GNU (amazing tools) and developing some modules by my own, now I’ve moved to a more powerful PC: a 64-bit Quad Core machine. But now I cannot install …

---

## [How to run a standalone Ruby application in Windows XP?](https://www.ruby-forum.com/t/how-to-run-a-standalone-ruby-application-in-windows-xp/149537)

<div class="topic-metadata">

**Author:** [@thiel](https://www.ruby-forum.com/u/thiel)\
**Replies:** 2\
**Last updated:** [September 26, 2008, 12:59am UTC](https://www.ruby-forum.com/t/how-to-run-a-standalone-ruby-application-in-windows-xp/149537 "2008-09-26T00:59:21Z")

</div>

I am new to Ruby and I made a Ruby application that have to run as as a standalone application under Windows XP. Can anyone help me to explain how to do that? Thanks in advance, Thiel Ps By the way, I love the Ruby …

---

## [URI::Parser](https://www.ruby-forum.com/t/uri-parser/145246)

<div class="topic-metadata">

**Author:** [@akira\_yamada\_S\_SSB](https://www.ruby-forum.com/u/akira_yamada_S_SSB)\
**Replies:** 2\
**Last updated:** [September 10, 2008, 11:44am UTC](https://www.ruby-forum.com/t/uri-parser/145246 "2008-09-10T11:44:23Z")

</div>

URIe$B%b%8%e!\<%k$K\<j$r2C$($Fe(B e$B$A$g$C$H4V0c$C$F$$$k$N$@$1$I\<B:\]$K;H$o$l$F$7$^$C$F$$$ke(BURI e$B$r\<u$1F~$l$i$l$k$h$&$K$7$F$\_$^$7$?!#e(B e$B2a5n$K2?EY$+e(B\<\>e$B$H$+e(B\_e$B$H$+$,F~$C$F$$$k$He(B e$BNc30$K$J$k$H$$$&Js…

---

## [May have to use Cake PHP](https://www.ruby-forum.com/t/may-have-to-use-cake-php/146923)

<div class="topic-metadata">

**Author:** [@Joe\_K](https://www.ruby-forum.com/u/Joe_K)\
**Replies:** 2\
**Last updated:** [August 26, 2008, 11:37pm UTC](https://www.ruby-forum.com/t/may-have-to-use-cake-php/146923 "2008-08-26T23:37:30Z")

</div>

I am normally a rails dev, but I have a project coming up where I think I am going to be restricted to php. Does anyone know of some sort of “Cake PHP for Rails devs” tutorial? I would like to read a book first, but …

---

## [Webrat visits fails, but works in browser](https://www.ruby-forum.com/t/webrat-visits-fails-but-works-in-browser/144096)

<div class="topic-metadata">

**Author:** [@fxp](https://www.ruby-forum.com/u/fxp)\
**Replies:** 2\
**Last updated:** [July 25, 2008, 4:54pm UTC](https://www.ruby-forum.com/t/webrat-visits-fails-but-works-in-browser/144096 "2008-07-25T16:54:46Z")

</div>

I’m wondering if folks have suggestions for how I can debug the following problem. I have some RSpec Stories that use WebRat, and do a “visits hotels\_path” type of thing. It is failing, yet the page works fine in t…

---

## [Activerecord status with r110](https://www.ruby-forum.com/t/activerecord-status-with-r110/137844)

<div class="topic-metadata">

**Author:** [@Brian\_Blackwell](https://www.ruby-forum.com/u/Brian_Blackwell)\
**Replies:** 2\
**Last updated:** [May 17, 2008, 2:02am UTC](https://www.ruby-forum.com/t/activerecord-status-with-r110/137844 "2008-05-17T02:02:59Z")

</div>

As a supplement to Wayne’s work with “gems setup.rb”, here is a quick status update with “require ‘active\_record’” with r110. The following bugs or unimplemented features are currently blocking active\_record from load…

---

## [Object#tap $B$N%5%s%W%k(B](https://www.ruby-forum.com/t/object-tap-b-n-5-s-w-k-b/135338)

<div class="topic-metadata">

**Author:** [@okkez](https://www.ruby-forum.com/u/okkez)\
**Replies:** 2\
**Last updated:** [April 22, 2008, 8:14am UTC](https://www.ruby-forum.com/t/object-tap-b-n-5-s-w-k-b/135338 "2008-04-22T08:14:33Z")

</div>

okkez e$B$G$9!#e(B 1.8 e$B$Ne(B HEAD e$B$Ge(B Object#tap e$B$N%5%s%W%k%3!\<%I$,e(B Syntax Error e$B$K$J$C$FF0$-$^$;$s!#e(B % ruby-1.8.x -v sample\_tap.rb ruby 1.8.7 (2008-04-20 patchlevel 5000) \[i686-linux\] sample\_tap…

---

## [XMLRPC::Client doesn't handle cookie correctly](https://www.ruby-forum.com/t/xmlrpc-client-doesnt-handle-cookie-correctly/134830)

<div class="topic-metadata">

**Author:** [@Kouhei\_S](https://www.ruby-forum.com/u/Kouhei_S)\
**Replies:** 2\
**Last updated:** [April 15, 2008, 9:50pm UTC](https://www.ruby-forum.com/t/xmlrpc-client-doesnt-handle-cookie-correctly/134830 "2008-04-15T21:50:38Z")

</div>

é ˆè—¤ã§ã™ã€‚ XMLRPC::ClientãŒSet-Cookieã‚’ãã¡ã‚“ã¨æ‰±ã£ã¦ã„ãªã„ã“ã¨ã‚’è¦‹ã¤ã‘ ã¦ã—ã¾ã„ã¾ã—ãŸã€‚trunkç”¨ã®ãƒ‘ãƒƒãƒã§ã™ãŒã€ruby\_1\_8ã«ã‚‚ã‚ãŸã‚Šã¾ã™ã€‚

---

## [Broken 3.1.1 install on Ubuntu Gutsy? (7.10)](https://www.ruby-forum.com/t/broken-3-1-1-install-on-ubuntu-gutsy-7-10/119975)

<div class="topic-metadata">

**Author:** [@jaredjackson](https://www.ruby-forum.com/u/jaredjackson)\
**Replies:** 2\
**Last updated:** [March 10, 2008, 6:32pm UTC](https://www.ruby-forum.com/t/broken-3-1-1-install-on-ubuntu-gutsy-7-10/119975 "2008-03-10T18:32:50Z")

</div>

I downloaded the 3.1.1. tar ball today and tried to install. For background info, I already had gr3.0rc1 installed and running fine. I untarred, cd’d to gnuradio-3.1.1 and did a… sudo make install Everything went…

---

## [Beta test the Morph Application Platform](https://www.ruby-forum.com/t/beta-test-the-morph-application-platform/128529)

<div class="topic-metadata">

**Author:** [@mannye](https://www.ruby-forum.com/u/mannye)\
**Replies:** 2\
**Last updated:** [February 8, 2008, 6:03pm UTC](https://www.ruby-forum.com/t/beta-test-the-morph-application-platform/128529 "2008-02-08T18:03:01Z")

</div>

Hola, Morph acaba de lanzar al mercado una nueva plataforma para RoR developers. La inforacion esta en ingles, pero si alguno de ustedes necesita traduccion hare lo posible por ayudar con mucho gusto. Pueden registra…

---

## [Adding instance variables using module include](https://www.ruby-forum.com/t/adding-instance-variables-using-module-include/127361)

<div class="topic-metadata">

**Author:** [@ghoti143](https://www.ruby-forum.com/u/ghoti143)\
**Replies:** 2\
**Last updated:** [January 29, 2008, 2:16pm UTC](https://www.ruby-forum.com/t/adding-instance-variables-using-module-include/127361 "2008-01-29T14:16:43Z")

</div>

Hi there, If I have a module and class like this: module VisitMemory def mark\_visited(method) @methods\_visited \<\< method.my\_declaration\_signature end def already\_visited?(method) @methods\_visited.include?(metho…

---

## [Executing Files (without shell)](https://www.ruby-forum.com/t/executing-files-without-shell/123103)

<div class="topic-metadata">

**Author:** [@thefed](https://www.ruby-forum.com/u/thefed)\
**Replies:** 2\
**Last updated:** [December 14, 2007, 3:19am UTC](https://www.ruby-forum.com/t/executing-files-without-shell/123103 "2007-12-14T03:19:50Z")

</div>

Once again, a similarly themed question from me: Is it possible (without syscall ) to execute a file without using a shell? Thanks \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_| Ari I just bought another case of RockStar. Expe…

---

## [I'm told "template is missing", but file is there!](https://www.ruby-forum.com/t/im-told-template-is-missing-but-file-is-there/122258)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [December 7, 2007, 10:28pm UTC](https://www.ruby-forum.com/t/im-told-template-is-missing-but-file-is-there/122258 "2007-12-07T22:28:19Z")

</div>

Hi, I’m working through the tutorial (http://wiki.rubyonrails.org/rails/ pages/TutorialHelperMethods), and have created this file – /usr/local/ apache2/htdocs/myproject/app/views/edit.rhtml, with 775 perms. The file…

---

## [Mephisto Integration](https://www.ruby-forum.com/t/mephisto-integration/120870)

<div class="topic-metadata">

**Author:** [@arpit](https://www.ruby-forum.com/u/arpit)\
**Replies:** 2\
**Last updated:** [November 21, 2007, 12:35pm UTC](https://www.ruby-forum.com/t/mephisto-integration/120870 "2007-11-21T12:35:27Z")

</div>

Hi all. I need to integrate mephisto inside an existing rails application. Can anybody tell me the correct path of doing this. I have searched for it, but i am totally confused that how to start with it… Thanks…

---

## [More Rails Pattern Examples?](https://www.ruby-forum.com/t/more-rails-pattern-examples/120020)

<div class="topic-metadata">

**Author:** [@sorcerous](https://www.ruby-forum.com/u/sorcerous)\
**Replies:** 2\
**Last updated:** [November 13, 2007, 4:42am UTC](https://www.ruby-forum.com/t/more-rails-pattern-examples/120020 "2007-11-13T04:42:20Z")

</div>

Hi, I have been reading the documentation and examples on the rspec site. There are two “patterns” from Rails that I am not clear how to implement that are kind of related, and so I am not sure how to start. Does any…

---

## [Compiling on Mac OS X Leopard (intel)](https://www.ruby-forum.com/t/compiling-on-mac-os-x-leopard-intel/119158)

<div class="topic-metadata">

**Author:** [@croxmeister](https://www.ruby-forum.com/u/croxmeister)\
**Replies:** 2\
**Last updated:** [November 4, 2007, 12:21pm UTC](https://www.ruby-forum.com/t/compiling-on-mac-os-x-leopard-intel/119158 "2007-11-04T12:21:58Z")

</div>

Wondering if anyone could shed some light on a problem I’m having with the make file, ./configure --with-http\_ssl\_module --prefix=/usr/local/nginx –with-pcre=/usr/local when I then run ‘make’ I get the following erro…

---

## [Weird threading problem](https://www.ruby-forum.com/t/weird-threading-problem/90470)

<div class="topic-metadata">

**Author:** [@danhobbs](https://www.ruby-forum.com/u/danhobbs)\
**Replies:** 2\
**Last updated:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/weird-threading-problem/90470 "2007-09-25T23:05:38Z")

</div>

Hi, So I made a loopback graph (file source, modulator, demodulator, file sink) with a short 1K file in it. The following code works (runs and exits without any exceptions): graph = loopback\_graph() print "st…

---

## [Gallery- thumbnails problem](https://www.ruby-forum.com/t/gallery-thumbnails-problem/112105)

<div class="topic-metadata">

**Author:** [@yodla](https://www.ruby-forum.com/u/yodla)\
**Replies:** 2\
**Last updated:** [August 16, 2007, 1:42am UTC](https://www.ruby-forum.com/t/gallery-thumbnails-problem/112105 "2007-08-16T01:42:49Z")

</div>

Hi everyone. i have installed Gallery Extension + Rmagick. When im adding images to gallery tumbnails for JPG files are not generated. It works fine for files like(\*.ico, \*.gif) - images are thumbnails are generated. …

---

## [Puzzled about Ruby's behaviour re. closed sockets](https://www.ruby-forum.com/t/puzzled-about-rubys-behaviour-re-closed-sockets/110687)

<div class="topic-metadata">

**Author:** [@bizot](https://www.ruby-forum.com/u/bizot)\
**Replies:** 2\
**Last updated:** [July 31, 2007, 11:26am UTC](https://www.ruby-forum.com/t/puzzled-about-rubys-behaviour-re-closed-sockets/110687 "2007-07-31T11:26:08Z")

</div>

Everyone, I’d like to write a test that ensures a Server application correctly handles closed client connections – more specifically: I want to set up a TCPServer, then a client, then close the client, then attempt to …

---

## [Firebird, fireruby](https://www.ruby-forum.com/t/firebird-fireruby/110144)

<div class="topic-metadata">

**Author:** [@Ajit](https://www.ruby-forum.com/u/Ajit)\
**Replies:** 2\
**Last updated:** [July 23, 2007, 10:01pm UTC](https://www.ruby-forum.com/t/firebird-fireruby/110144 "2007-07-23T22:01:29Z")

</div>

Hi Guys I am pretty new to Ruby. One of our client is using Firebird as his backend database. I have to create a script which will connect to his database, fetch some data and update few tables in MS-SQL database. No…

---

## [Gruff y Microsoft IE](https://www.ruby-forum.com/t/gruff-y-microsoft-ie/229107)

<div class="topic-metadata">

**Author:** [@Fran\_B](https://www.ruby-forum.com/u/Fran_B)\
**Replies:** 2\
**Last updated:** [July 23, 2007, 12:43am UTC](https://www.ruby-forum.com/t/gruff-y-microsoft-ie/229107 "2007-07-23T00:43:25Z")

</div>

Pues al generar grÃ¡ficos tengo el problema que en MSIE no se ve la imagen, pero en otros navegadores firefox/opera si. A ver si entre todos podemos arreglarlo Vista: \<object data="\<%= url\_for(:controller =\> “/prof…

---

## [Page\_attachments](https://www.ruby-forum.com/t/page-attachments/106872)

<div class="topic-metadata">

**Author:** [@gblakeman](https://www.ruby-forum.com/u/gblakeman)\
**Replies:** 2\
**Last updated:** [June 15, 2007, 7:27pm UTC](https://www.ruby-forum.com/t/page-attachments/106872 "2007-06-15T19:27:44Z")

</div>

Hi, the radiantcms.org server seems to be down and I’m looking for a link so I can download the page\_attachments files - anyone know if it’s available elsewhere? Thanks! – -Grant B. removed\_email\_address@domain.in…

---

## [Has\_and\_belongs\_to\_many question](https://www.ruby-forum.com/t/has-and-belongs-to-many-question/105523)

<div class="topic-metadata">

**Author:** [@uli\_kunkel](https://www.ruby-forum.com/u/uli_kunkel)\
**Replies:** 2\
**Last updated:** [May 31, 2007, 11:09am UTC](https://www.ruby-forum.com/t/has-and-belongs-to-many-question/105523 "2007-05-31T11:09:06Z")

</div>

Hi, I have a has\_and\_belongs\_to\_many relationship between games and users in my project. Now i want to save the rank a user had each game he played. It seems obvious to add a field in the table linking the two holding…

---

## [Free USRP FPGA Resources](https://www.ruby-forum.com/t/free-usrp-fpga-resources/92642)

<div class="topic-metadata">

**Author:** [@EngSFiras](https://www.ruby-forum.com/u/EngSFiras)\
**Replies:** 2\
**Last updated:** [April 22, 2007, 6:40pm UTC](https://www.ruby-forum.com/t/free-usrp-fpga-resources/92642 "2007-04-22T18:40:24Z")

</div>

Dear Matt, Dear All, Is the DDC decimate by 2 half band filter built inside the FPGA ? If it is so, then how much the free available FPGA resources left after building all the present USPR circuits in it? I mean, i…

---

## [Comment creer une compagnie?](https://www.ruby-forum.com/t/comment-creer-une-compagnie/89116)

<div class="topic-metadata">

**Author:** [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Replies:** 2\
**Last updated:** [March 24, 2007, 1:32pm UTC](https://www.ruby-forum.com/t/comment-creer-une-compagnie/89116 "2007-03-24T13:32:28Z")

</div>

Salut as tous je dois creer un web site que expliqe comment creer de compagnies, et aussi donner une assistance aux utilisteurs qui voudraient creer sa propre entreprise Je suis a la recheche de templates qui pourra…

---

## [Comparing Ruby time with SQL time](https://www.ruby-forum.com/t/comparing-ruby-time-with-sql-time/87247)

<div class="topic-metadata">

**Author:** [@daveamos](https://www.ruby-forum.com/u/daveamos)\
**Replies:** 2\
**Last updated:** [March 1, 2007, 4:24am UTC](https://www.ruby-forum.com/t/comparing-ruby-time-with-sql-time/87247 "2007-03-01T04:24:09Z")

</div>

Hi everyone, Quick question: I want to grab all rows in a database posted less than 24 hours ago. Here’s what I have in my controller: def stats now = Time.now recipe\_yesterday = now.yesterday @recipes = Recipe.fin…

---

## [Multiple :includes not working](https://www.ruby-forum.com/t/multiple-includes-not-working/84042)

<div class="topic-metadata">

**Author:** [@canner](https://www.ruby-forum.com/u/canner)\
**Replies:** 2\
**Last updated:** [January 31, 2007, 8:06pm UTC](https://www.ruby-forum.com/t/multiple-includes-not-working/84042 "2007-01-31T20:06:59Z")

</div>

Can you run a query and have multiple includes? I am able to do this through joins, but was trying to get it to work with includes. This works a.find(:all, :include =\> :b) and a.find(:all, :include =\> :c) but a.f…

---

## [Help](https://www.ruby-forum.com/t/help/83685)

<div class="topic-metadata">

**Author:** [@clawson](https://www.ruby-forum.com/u/clawson)\
**Replies:** 2\
**Last updated:** [January 31, 2007, 12:07am UTC](https://www.ruby-forum.com/t/help/83685 "2007-01-31T00:07:56Z")

</div>

I am working on a web app that attaches to a MySQL database. I can add users through the admin\_controller just fine without “before\_filter :authorize” I need that statement obviously. When I try to login with my admi…

---

## [Script to put column names as comments in model class files](https://www.ruby-forum.com/t/script-to-put-column-names-as-comments-in-model-class-files/82836)

<div class="topic-metadata">

**Author:** [@Chris\_Malek](https://www.ruby-forum.com/u/Chris_Malek)\
**Replies:** 2\
**Last updated:** [January 21, 2007, 6:21pm UTC](https://www.ruby-forum.com/t/script-to-put-column-names-as-comments-in-model-class-files/82836 "2007-01-21T18:21:26Z")

</div>

I am looking for a script that will put the database column names as comments above the model files. I read about this somewhere but I can’t seem to find it again. It was a script that ran through the column names of …

---

## [Rb\_iterate](https://www.ruby-forum.com/t/rb-iterate/78654)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 2\
**Last updated:** [December 7, 2006, 5:45pm UTC](https://www.ruby-forum.com/t/rb-iterate/78654 "2006-12-07T17:45:48Z")

</div>

If anyone out there has used the “rb\_iterate” function in a Ruby C extension, could you please post a simple explanation of (a) how to use the function and (b) an explanation of the method signature? From eval.c … VA…

---

## [How to match last word?](https://www.ruby-forum.com/t/how-to-match-last-word/74939)

<div class="topic-metadata">

**Author:** [@camenix](https://www.ruby-forum.com/u/camenix)\
**Replies:** 2\
**Last updated:** [November 7, 2006, 11:03am UTC](https://www.ruby-forum.com/t/how-to-match-last-word/74939 "2006-11-07T11:03:44Z")

</div>

Hi,all I has a script to match ‘Transfer dbf to SQLServer’, the last comand successfully ended.But I found no way to match last command.Whoever can help me? main.rb string=’ Program begin at 2006-11-05T15:01:13+080…

---

## [Parsing and ovewriting a comma delimated file](https://www.ruby-forum.com/t/parsing-and-ovewriting-a-comma-delimated-file/74173)

<div class="topic-metadata">

**Author:** [@rubynewbie](https://www.ruby-forum.com/u/rubynewbie)\
**Replies:** 2\
**Last updated:** [November 7, 2006, 10:50am UTC](https://www.ruby-forum.com/t/parsing-and-ovewriting-a-comma-delimated-file/74173 "2006-11-07T10:50:36Z")

</div>

Hi, I am a newbie please be kind enough to help me… I have XML like config file which looks like below. Code: Test Save False I have a parser which will parse and give me the values out of the above me…

---

## [Documentation for html\_options = {}](https://www.ruby-forum.com/t/documentation-for-html-options/72119)

<div class="topic-metadata">

**Author:** [@lee](https://www.ruby-forum.com/u/lee)\
**Replies:** 2\
**Last updated:** [October 14, 2006, 11:27pm UTC](https://www.ruby-forum.com/t/documentation-for-html-options/72119 "2006-10-14T23:27:02Z")

</div>

Hi, trying to locate documentation for html\_options = {} as allowed in RJS calls such as link\_to\_remote. Can anyone point me in the right direction please?

---

## [End\_eval](https://www.ruby-forum.com/t/end-eval/96123)

<div class="topic-metadata">

**Author:** [@greenbox](https://www.ruby-forum.com/u/greenbox)\
**Replies:** 2\
**Last updated:** [June 26, 2006, 5:30pm UTC](https://www.ruby-forum.com/t/end-eval/96123 "2006-06-26T17:30:12Z")

</div>

Trying to teach myself some metaprogramming and have been sifting through the rails source. I often see: module\_eval \<\< -end\_eval stuff to add end\_eval I understand what this does, but I’m curious what part of the …

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/95231)

<div class="topic-metadata">

**Author:** [@Damir\_Azhar](https://www.ruby-forum.com/u/Damir_Azhar)\
**Replies:** 2\
**Last updated:** [May 25, 2006, 9:43am UTC](https://www.ruby-forum.com/t/no-subject/95231 "2006-05-25T09:43:44Z")

</div>

Hi, I have been using the Ruby PCAP module to implement a simple network traffic flow meter based on the RTFM architecture. When I run my meter with the Ruby profiler option, I have discovered that the biggest singl…

---

## [Weirdness with validates\_presence\_of](https://www.ruby-forum.com/t/weirdness-with-validates-presence-of/61264)

<div class="topic-metadata">

**Author:** [@liquid](https://www.ruby-forum.com/u/liquid)\
**Replies:** 2\
**Last updated:** [May 22, 2006, 5:43pm UTC](https://www.ruby-forum.com/t/weirdness-with-validates-presence-of/61264 "2006-05-22T17:43:45Z")

</div>

Hi, I have a call to validates\_presence\_of in my model and it is behaving very strangely my first stab when this happened during testing was validates\_presence\_of :impact, :ease\_to\_implement if Proc.new { |record| …

---

## [System of tab](https://www.ruby-forum.com/t/system-of-tab/95011)

<div class="topic-metadata">

**Author:** [@mathieu\_roussel](https://www.ruby-forum.com/u/mathieu_roussel)\
**Replies:** 2\
**Last updated:** [May 19, 2006, 1:46pm UTC](https://www.ruby-forum.com/t/system-of-tab/95011 "2006-05-19T13:46:24Z")

</div>

Hello, I would like to create a system of tab by means of Ajax (like in netvibes). Somebody would have a track(runway). A library to be used… Thank you in advance.

---

## [One to one, but only with one table per record](https://www.ruby-forum.com/t/one-to-one-but-only-with-one-table-per-record/94777)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 2\
**Last updated:** [May 14, 2006, 5:05pm UTC](https://www.ruby-forum.com/t/one-to-one-but-only-with-one-table-per-record/94777 "2006-05-14T17:05:24Z")

</div>

Hi, I have a ‘descriptions’ table which has\_one of lots of other tables. The other tables all belong to a description. But I only want each description to have one record from any of the tables. So a description can’…

---

## [Beginner problem with foreign keys](https://www.ruby-forum.com/t/beginner-problem-with-foreign-keys/58172)

<div class="topic-metadata">

**Author:** [@printmkr](https://www.ruby-forum.com/u/printmkr)\
**Replies:** 2\
**Last updated:** [April 20, 2006, 12:28am UTC](https://www.ruby-forum.com/t/beginner-problem-with-foreign-keys/58172 "2006-04-20T00:28:14Z")

</div>

Hi, I’ve been trying to get this to work all night. I’ve made some progress by reading other posts, but I’m stuck now and can’t figure out what I am doing wrong. I have two tables: application\_users and user\_types. …

---

## [Ubuntu 5.10 postrgres gem](https://www.ruby-forum.com/t/ubuntu-5-10-postrgres-gem/58209)

<div class="topic-metadata">

**Author:** [@eno](https://www.ruby-forum.com/u/eno)\
**Replies:** 2\
**Last updated:** [April 19, 2006, 6:14pm UTC](https://www.ruby-forum.com/t/ubuntu-5-10-postrgres-gem/58209 "2006-04-19T18:14:34Z")

</div>

Hi, I’ve installed Ubuntu 5.10, with Ruby 1.8.4 with thoose rep: deb Index of /packages/ubuntu breezy/ deb-src Index of /packages/ubuntu breezy/ when I give: sudo gem install postgres I get: Attempting local inst…

---

## [Unit testing with model inheritence](https://www.ruby-forum.com/t/unit-testing-with-model-inheritence/57596)

<div class="topic-metadata">

**Author:** [@seanb](https://www.ruby-forum.com/u/seanb)\
**Replies:** 2\
**Last updated:** [April 12, 2006, 4:07pm UTC](https://www.ruby-forum.com/t/unit-testing-with-model-inheritence/57596 "2006-04-12T16:07:29Z")

</div>

Having jotted down some models, with some inheritence I tried to run some unit tests. After waiting for rake test\_units to run I got a rake of errors (if you’ll forgive the play on words). The errors were to do with …

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

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