# Top

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

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

---

## [Iterating over a collection, three at a time](https://www.ruby-forum.com/t/iterating-over-a-collection-three-at-a-time/131508)

<div class="topic-metadata">

**Author:** [@danielb](https://www.ruby-forum.com/u/danielb)\
**Replies:** 3\
**Last updated:** [March 11, 2008, 12:01am UTC](https://www.ruby-forum.com/t/iterating-over-a-collection-three-at-a-time/131508 "2008-03-11T00:01:01Z")

</div>

Hi all, The subject sums up what I want to do in a nutshell. I have a collection of ActiveRecord objects (@galleries), and I want to generate from it another collection of arrays, each three elements long. This is sim…

---

## [Determine when request is fully sent](https://www.ruby-forum.com/t/determine-when-request-is-fully-sent/128880)

<div class="topic-metadata">

**Author:** [@Marcin\_Gajda](https://www.ruby-forum.com/u/Marcin_Gajda)\
**Replies:** 3\
**Last updated:** [February 12, 2008, 4:25pm UTC](https://www.ruby-forum.com/t/determine-when-request-is-fully-sent/128880 "2008-02-12T16:25:01Z")

</div>

Hi all! I need to write a module which will make an action when all request body is sent to the client (or after breaking the connection by the client). It is very important to me to do it when data are really sent, n…

---

## [NEED: Localization tool and Rails 2.0.2](https://www.ruby-forum.com/t/need-localization-tool-and-rails-2-0-2/128128)

<div class="topic-metadata">

**Author:** [@demoversion](https://www.ruby-forum.com/u/demoversion)\
**Replies:** 3\
**Last updated:** [February 6, 2008, 11:15am UTC](https://www.ruby-forum.com/t/need-localization-tool-and-rails-2-0-2/128128 "2008-02-06T11:15:22Z")

</div>

Hello, I need a localization tool/plugin for my rails application that work with REST, can translate whole web pages(or i can create 2 different pages for 2 languages), and fast. Thanks for any suggestions!!!

---

## [When the RAILS first version came to market](https://www.ruby-forum.com/t/when-the-rails-first-version-came-to-market/126669)

<div class="topic-metadata">

**Author:** [@ayyanar](https://www.ruby-forum.com/u/ayyanar)\
**Replies:** 0\
**Last updated:** [January 21, 2008, 9:38am UTC](https://www.ruby-forum.com/t/when-the-rails-first-version-came-to-market/126669 "2008-01-21T09:38:52Z")

</div>

Hi, Some employers are expecting 2 to 3 yrs experience in RAILS. I doubt RAILS was not there before 2 years. Thanks, Ayyanar. A

---

## [Rails check for a .js template instead of .rjs?](https://www.ruby-forum.com/t/rails-check-for-a-js-template-instead-of-rjs/125204)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 3\
**Last updated:** [January 7, 2008, 3:14am UTC](https://www.ruby-forum.com/t/rails-check-for-a-js-template-instead-of-rjs/125204 "2008-01-07T03:14:08Z")

</div>

respond\_to do |format| format.html format.js { render :template =\> “login” } end Whenever I send an AJAX request to the action that has that code it says it cant find the template login.js. Why isnt it looking for l…

---

## [Newbie: setting up restful\_authentication](https://www.ruby-forum.com/t/newbie-setting-up-restful-authentication/123716)

<div class="topic-metadata">

**Author:** [@cskidmore](https://www.ruby-forum.com/u/cskidmore)\
**Replies:** 3\
**Last updated:** [December 20, 2007, 2:50am UTC](https://www.ruby-forum.com/t/newbie-setting-up-restful-authentication/123716 "2007-12-20T02:50:39Z")

</div>

I installed the plug-in for restful\_authentication and ran the migration. The table exists, but when I try creating an account using: http://localhost:3000/users/new no record gets inserted into the users table. I c…

---

## [Schema for straw (rss aggregator)](https://www.ruby-forum.com/t/schema-for-straw-rss-aggregator/120747)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 3\
**Last updated:** [November 20, 2007, 11:32am UTC](https://www.ruby-forum.com/t/schema-for-straw-rss-aggregator/120747 "2007-11-20T11:32:41Z")

</div>

I would like to build an application on top of the following schema, but, of course, it would be preferable to make the schema compatible with the rails naming conventions so that things work as smoothly as possible …

---

## [PATCH for TMail to handle MS Outlook Emails](https://www.ruby-forum.com/t/patch-for-tmail-to-handle-ms-outlook-emails/117890)

<div class="topic-metadata">

**Author:** [@Mikel\_L](https://www.ruby-forum.com/u/Mikel_L)\
**Replies:** 3\
**Last updated:** [October 24, 2007, 3:10am UTC](https://www.ruby-forum.com/t/patch-for-tmail-to-handle-ms-outlook-emails/117890 "2007-10-24T03:10:44Z")

</div>

TMail handles the “content-type” header field per RFC 2045. Per the RFC you can not use /\[?/=\]/ in the boundary=field unless it is quoted, MS Outlook Express (at least) violates this rule. The fix is to check the boun…

---

## [Rails plugin with Javascript file](https://www.ruby-forum.com/t/rails-plugin-with-javascript-file/111826)

<div class="topic-metadata">

**Author:** [@johnlester](https://www.ruby-forum.com/u/johnlester)\
**Replies:** 3\
**Last updated:** [August 16, 2007, 1:50pm UTC](https://www.ruby-forum.com/t/rails-plugin-with-javascript-file/111826 "2007-08-16T13:50:22Z")

</div>

Hi, last question of the day (promise!!!) I’m packaging up some work into a plugin. One of the parts is a javascript file currently in “public/javascripts”. I thought I’d be able to move it to “vendor/myplugin/public/…

---

## [RSRuby?](https://www.ruby-forum.com/t/rsruby/111508)

<div class="topic-metadata">

**Author:** [@michaels](https://www.ruby-forum.com/u/michaels)\
**Replies:** 3\
**Last updated:** [August 8, 2007, 12:19pm UTC](https://www.ruby-forum.com/t/rsruby/111508 "2007-08-08T12:19:24Z")

</div>

Hello, I was hoping someone here can help me with an install of Rsruby. I have it installed on one box but have been having trouble on my other. My R libraries are installed in /usr/local/lib64/R/ the mkmf file is …

---

## [Secondary user groups](https://www.ruby-forum.com/t/secondary-user-groups/107607)

<div class="topic-metadata">

**Author:** [@gga](https://www.ruby-forum.com/u/gga)\
**Replies:** 3\
**Last updated:** [June 25, 2007, 4:42am UTC](https://www.ruby-forum.com/t/secondary-user-groups/107607 "2007-06-25T04:42:30Z")

</div>

require ‘etc’ Etc.getpwnam(user) or, using Daniel B.'s std-admin library\_ require ‘sys/admin’ Sys::Admin.get\_user(user) allows me to get a struct with the user’s primary group. However, I need to obtain the list of…

---

## [Erubis 2.3.0 released - a fast and extensible eRuby implemen](https://www.ruby-forum.com/t/erubis-2-3-0-released-a-fast-and-extensible-eruby-implemen/104836)

<div class="topic-metadata">

**Author:** [@kwatch](https://www.ruby-forum.com/u/kwatch)\
**Replies:** 0\
**Last updated:** [May 23, 2007, 3:46am UTC](https://www.ruby-forum.com/t/erubis-2-3-0-released-a-fast-and-extensible-eruby-implemen/104836 "2007-05-23T03:46:54Z")

</div>

Hi all, I have just released Erubis 2.3.0. Erubis is another implementation of eRuby and it gives more speed to Ruby on Rails application. http://www.kuwata-lab.com/erubis http://www.kuwata-lab.com/erubis/CHANGES F…

---

## [Ajax problem - works once, but not again](https://www.ruby-forum.com/t/ajax-problem-works-once-but-not-again/91368)

<div class="topic-metadata">

**Author:** [@zavulon](https://www.ruby-forum.com/u/zavulon)\
**Replies:** 3\
**Last updated:** [April 8, 2007, 4:26pm UTC](https://www.ruby-forum.com/t/ajax-problem-works-once-but-not-again/91368 "2007-04-08T16:26:43Z")

</div>

Hi all, I have a problem with render partial and all that good stuff. I have a link that updates a number (increment rating) when clicked in an Ajaxy-way, without need to refresh. Clicking it for the first time works …

---

## [Web brick is it that bad](https://www.ruby-forum.com/t/web-brick-is-it-that-bad/91265)

<div class="topic-metadata">

**Author:** [@Camo](https://www.ruby-forum.com/u/Camo)\
**Replies:** 3\
**Last updated:** [April 6, 2007, 5:44am UTC](https://www.ruby-forum.com/t/web-brick-is-it-that-bad/91265 "2007-04-06T05:44:19Z")

</div>

Hey guys, I’ve been a .net developer for a long while and started getting in to rails lately, I was just wondering thou, is there any reason to use say apache or lighttpd over web brick for development. From playing …

---

## [Is there a better way to do this? - newbie question](https://www.ruby-forum.com/t/is-there-a-better-way-to-do-this-newbie-question/90417)

<div class="topic-metadata">

**Author:** [@dkanders](https://www.ruby-forum.com/u/dkanders)\
**Replies:** 3\
**Last updated:** [March 28, 2007, 7:06pm UTC](https://www.ruby-forum.com/t/is-there-a-better-way-to-do-this-newbie-question/90417 "2007-03-28T19:06:38Z")

</div>

I’m deploying and running into problems that I didn’t have in the development environment… In development, I have a section of code that says something like: \<% for charity in @charities %\> \<%= blah blah blah %\> \<% …

---

## [Find with has\_many](https://www.ruby-forum.com/t/find-with-has-many/77132)

<div class="topic-metadata">

**Author:** [@mjgp2](https://www.ruby-forum.com/u/mjgp2)\
**Replies:** 3\
**Last updated:** [November 27, 2006, 11:12am UTC](https://www.ruby-forum.com/t/find-with-has-many/77132 "2006-11-27T11:12:27Z")

</div>

I have a model Person and one Organisation. A Person can belong to any number of Organisations and an Organisation can have any number of Persons attributed to it. As below: ==== class Person \< ActiveRecord::Base ha…

---

## [Retrieving form post parameters from within a controller](https://www.ruby-forum.com/t/retrieving-form-post-parameters-from-within-a-controller/76182)

<div class="topic-metadata">

**Author:** [@danw](https://www.ruby-forum.com/u/danw)\
**Replies:** 3\
**Last updated:** [November 19, 2006, 4:20pm UTC](https://www.ruby-forum.com/t/retrieving-form-post-parameters-from-within-a-controller/76182 "2006-11-19T16:20:45Z")

</div>

Hello: I am having what would seem to be a simple problem, but I just can’t solve it. How do you retrieve a form’s parameters from within a controller? In my form I have the following hidden field.: I set the valu…

---

## [Has Many and finding unused options](https://www.ruby-forum.com/t/has-many-and-finding-unused-options/75447)

<div class="topic-metadata">

**Author:** [@Marlon\_M](https://www.ruby-forum.com/u/Marlon_M)\
**Replies:** 3\
**Last updated:** [November 10, 2006, 2:54pm UTC](https://www.ruby-forum.com/t/has-many-and-finding-unused-options/75447 "2006-11-10T14:54:29Z")

</div>

I’ve got a user model and a policy model. I’ve got the association set up so that both use the has\_many :through syntax. Given the scenario in editing a policy, a couple of users are already assigned. How can I figu…

---

## [Downloading web page as HTML accessed through WATIR](https://www.ruby-forum.com/t/downloading-web-page-as-html-accessed-through-watir/72825)

<div class="topic-metadata">

**Author:** [@michael](https://www.ruby-forum.com/u/michael)\
**Replies:** 3\
**Last updated:** [October 24, 2006, 1:55am UTC](https://www.ruby-forum.com/t/downloading-web-page-as-html-accessed-through-watir/72825 "2006-10-24T01:55:42Z")

</div>

is there anyway to download the page accessed through WATIR as html page?? for instance, require ‘watir’ ie = Watir::IE.start(“http://www.yahoo.com”) above codes will open www.yahoo.com… what should we do to downloa…

---

## [Calling a reader from a writer](https://www.ruby-forum.com/t/calling-a-reader-from-a-writer/72093)

<div class="topic-metadata">

**Author:** [@clintpachl](https://www.ruby-forum.com/u/clintpachl)\
**Replies:** 3\
**Last updated:** [October 14, 2006, 11:41am UTC](https://www.ruby-forum.com/t/calling-a-reader-from-a-writer/72093 "2006-10-14T11:41:44Z")

</div>

class Test def x @x + ‘\_instance’ end def x=(v) @x = v self.x # also tried \`x’ end end t = Test.new puts t.x=(‘test\_x’) =\> test\_x puts t.x =\> test\_x\_instance Why doesn’t the first puts output ‘test\_x\_insta…

---

## [Error Mysql::Error: Lost connection to Mysql server](https://www.ruby-forum.com/t/error-mysql-lost-connection-to-mysql-server/70977)

<div class="topic-metadata">

**Author:** [@fjdeveloper](https://www.ruby-forum.com/u/fjdeveloper)\
**Replies:** 3\
**Last updated:** [October 4, 2006, 4:32pm UTC](https://www.ruby-forum.com/t/error-mysql-lost-connection-to-mysql-server/70977 "2006-10-04T16:32:36Z")

</div>

Hola. Estoy empezando con este maravilloso entorno de desarrollo y me encuentro con el siguiente problema: Estoy probando a implementar la aplicacion de ejemplo de las recetas que hay en esta pagina http://www.sobrer…

---

## [Subversion library for RoR](https://www.ruby-forum.com/t/subversion-library-for-ror/100139)

<div class="topic-metadata">

**Author:** [@Tiffani\_Ashley\_B](https://www.ruby-forum.com/u/Tiffani_Ashley_B)\
**Replies:** 3\
**Last updated:** [July 28, 2006, 3:51pm UTC](https://www.ruby-forum.com/t/subversion-library-for-ror/100139 "2006-07-28T15:51:51Z")

</div>

Hi everybody, Is there a gem or something for working directly with Subversion from a RoR app? Thanks, Tiffani A.B.

---

## [WAP With Rails?](https://www.ruby-forum.com/t/wap-with-rails/100161)

<div class="topic-metadata">

**Author:** [@Lennie\_De\_Villiers](https://www.ruby-forum.com/u/Lennie_De_Villiers)\
**Replies:** 3\
**Last updated:** [July 27, 2006, 9:35pm UTC](https://www.ruby-forum.com/t/wap-with-rails/100161 "2006-07-27T21:35:33Z")

</div>

Rails mailing list removed\_email\_address@domain.invalid http://lists.rubyonrails.org/mailman/listinfo/rails

---

## [Radrails controllers](https://www.ruby-forum.com/t/radrails-controllers/99967)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [July 26, 2006, 4:14pm UTC](https://www.ruby-forum.com/t/radrails-controllers/99967 "2006-07-26T16:14:49Z")

</div>

is there any reason in the world why the controllers i edit in radrails(and save) aren’t affecting the application running on localhost? what’s going on? i just don’t g e t it!!! thanks. !@#@!

---

## [Checking for directory (noob mistake?)](https://www.ruby-forum.com/t/checking-for-directory-noob-mistake/99569)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [July 24, 2006, 6:48am UTC](https://www.ruby-forum.com/t/checking-for-directory-noob-mistake/99569 "2006-07-24T06:48:46Z")

</div>

I apologize in advance if this is a stupid question, but this is the first time I’m playing around with ruby and I’m kinda stuck. Been going thru the pickaxe as well, but maybe I’m just missing something. I have the f…

---

## [Newbie: Display hierarchical Records in a view](https://www.ruby-forum.com/t/newbie-display-hierarchical-records-in-a-view/99491)

<div class="topic-metadata">

**Author:** [@mingworld](https://www.ruby-forum.com/u/mingworld)\
**Replies:** 3\
**Last updated:** [July 24, 2006, 1:26am UTC](https://www.ruby-forum.com/t/newbie-display-hierarchical-records-in-a-view/99491 "2006-07-24T01:26:45Z")

</div>

Hi, I have two models: category and subcategory. (one to many relationship), and a controller ‘home’ I’d like to display all the categories and their sub categories in the view: home\\index.rhtml. I have a method in …

---

## [ROR - Apache - FastCGI / Can't see stylesheets or javascript](https://www.ruby-forum.com/t/ror-apache-fastcgi-cant-see-stylesheets-or-javascript/99304)

<div class="topic-metadata">

**Author:** [@DCDCDC](https://www.ruby-forum.com/u/DCDCDC)\
**Replies:** 3\
**Last updated:** [July 22, 2006, 3:54pm UTC](https://www.ruby-forum.com/t/ror-apache-fastcgi-cant-see-stylesheets-or-javascript/99304 "2006-07-22T15:54:00Z")

</div>

Folks … I have been porting my app from dev environment on Webrick to Apache with FastCGI. I have the app responding and pulling up the data, but it is ignoring the “images”, “stylesheets”, “javascripts” directories …

---

## [SocketError when trying to install Rails with RubyGems](https://www.ruby-forum.com/t/socketerror-when-trying-to-install-rails-with-rubygems/98501)

<div class="topic-metadata">

**Author:** [@Sri\_Kandan](https://www.ruby-forum.com/u/Sri_Kandan)\
**Replies:** 3\
**Last updated:** [July 19, 2006, 7:30am UTC](https://www.ruby-forum.com/t/socketerror-when-trying-to-install-rails-with-rubygems/98501 "2006-07-19T07:30:56Z")

</div>

I downloaded RubyGems 0.9.0 and successfully extracted and built it by running “sudo setup.rb”. Then I try to install Rails via this command: “sudo gem install rails --include-dependencies” But I get this error every…

---

## [ERb question with xml](https://www.ruby-forum.com/t/erb-question-with-xml/96488)

<div class="topic-metadata">

**Author:** [@brez](https://www.ruby-forum.com/u/brez)\
**Replies:** 3\
**Last updated:** [June 30, 2006, 6:19pm UTC](https://www.ruby-forum.com/t/erb-question-with-xml/96488 "2006-06-30T18:19:56Z")

</div>

In the rdoc there’s an example: xml.em { xml.b(“emp & bold”) } Which produces: emph & bold But what if I wanted to nest tags with text, i.e.: just emph and emph & bold ? I’ve messed around with it and have only go…

---

## [Syntax for observe\_field( :with =\>](https://www.ruby-forum.com/t/syntax-for-observe-field-with/96117)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 3\
**Last updated:** [June 26, 2006, 5:49pm UTC](https://www.ruby-forum.com/t/syntax-for-observe-field-with/96117 "2006-06-26T17:49:36Z")

</div>

Greetings! What is up with the syntax of this thing? I mean, if the only thing I can send back using :with is the field being observed, then why in the world is the syntax so convoluted? For example, what I’ve been …

---

## [Yet another problem with NoMethodError in Store#display\_cart](https://www.ruby-forum.com/t/yet-another-problem-with-nomethoderror-in-store-display-cart/64271)

<div class="topic-metadata">

**Author:** [@erix](https://www.ruby-forum.com/u/erix)\
**Replies:** 3\
**Last updated:** [June 23, 2006, 8:32pm UTC](https://www.ruby-forum.com/t/yet-another-problem-with-nomethoderror-in-store-display-cart/64271 "2006-06-23T20:32:01Z")

</div>

Hi everybody, I’ve search a lot on google to help me with this one without success. I know that some people had the same problem as I have, but there solutions doesn’t seems to work for me. I’m trying to do the depot…

---

## [What's up with symbols?](https://www.ruby-forum.com/t/whats-up-with-symbols/56744)

<div class="topic-metadata">

**Author:** [@Hans-Eric\_GrSSSSnlu](https://www.ruby-forum.com/u/Hans-Eric_GrSSSSnlu)\
**Replies:** 3\
**Last updated:** [May 23, 2006, 4:20am UTC](https://www.ruby-forum.com/t/whats-up-with-symbols/56744 "2006-05-23T04:20:53Z")

</div>

Hello fellows! I’m trying to understand symbols. Not what they are, but rather why Ruby has them. They are neat and I use them, but effectively you end up with the same thing using plain strings, right? So why extend …

---

## [Hi List](https://www.ruby-forum.com/t/hi-list/94094)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [April 20, 2006, 8:04pm UTC](https://www.ruby-forum.com/t/hi-list/94094 "2006-04-20T20:04:23Z")

</div>

Can you hear me now? T.

---

## [Rails et LDAP](https://www.ruby-forum.com/t/rails-et-ldap/93686)

<div class="topic-metadata">

**Author:** [@Mathieu\_Ferracin](https://www.ruby-forum.com/u/Mathieu_Ferracin)\
**Replies:** 3\
**Last updated:** [April 6, 2006, 6:26pm UTC](https://www.ruby-forum.com/t/rails-et-ldap/93686 "2006-04-06T18:26:33Z")

</div>

Bonjour, J’aurai besoin de connecter Rails à un serveur LDAP, et j’aimerais avoir les conseils avisés de quelqu’un qui a déja effectuer ce genre de chose. Merci, Mathieu.

---

## [Newbie: 'find' across multiple relationships](https://www.ruby-forum.com/t/newbie-find-across-multiple-relationships/55697)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 3\
**Last updated:** [March 23, 2006, 4:59pm UTC](https://www.ruby-forum.com/t/newbie-find-across-multiple-relationships/55697 "2006-03-23T16:59:33Z")

</div>

For security purposes, I often want to find objects that are ‘visible’. e.g. class Person \< ActiveRecord::Base has\_many :x end … @person.x.find(params\[:id\]) as opposed to X.find(\[params\[:id\]). Simple enough for me…

---

## [In Place Editor and Empty Fields](https://www.ruby-forum.com/t/in-place-editor-and-empty-fields/79327)

<div class="topic-metadata">

**Author:** [@HHHHHH](https://www.ruby-forum.com/u/HHHHHH)\
**Replies:** 3\
**Last updated:** [March 13, 2006, 3:04am UTC](https://www.ruby-forum.com/t/in-place-editor-and-empty-fields/79327 "2006-03-13T03:04:23Z")

</div>

So, the InPlaceEditor with AJAX is all nice and dandy, works great. What about fields that don’t have any content? As far as I can tell, this doesn’t work so well - there’s nothing to click on so no edit form pops up…

---

## [\[OT\] Rails in Bristol?](https://www.ruby-forum.com/t/ot-rails-in-bristol/79331)

<div class="topic-metadata">

**Author:** [@Josh\_on\_Rails](https://www.ruby-forum.com/u/Josh_on_Rails)\
**Replies:** 3\
**Last updated:** [March 10, 2006, 6:19pm UTC](https://www.ruby-forum.com/t/ot-rails-in-bristol/79331 "2006-03-10T18:19:34Z")

</div>

I suppose it’s just idle curiosity… but I’m wondering if there are any Railsers from/in Bristol (I mean the English city, if there’s more than one) ?

---

## [\[ANN\] "syncPeople on Rails" Bundle 0.7 Released](https://www.ruby-forum.com/t/ann-syncpeople-on-rails-bundle-0-7-released/70381)

<div class="topic-metadata">

**Author:** [@Duane\_J](https://www.ruby-forum.com/u/Duane_J)\
**Replies:** 3\
**Last updated:** [February 20, 2006, 1:48am UTC](https://www.ruby-forum.com/t/ann-syncpeople-on-rails-bundle-0-7-released/70381 "2006-02-20T01:48:36Z")

</div>

This has been such a fun project. Couldn’t keep myself away: http://blog.inquirylabs.com/2006/02/19/syncpeople-on-rails-07/ == Summary == Easily navigate between ActionMailer models, views, partials, controllers, he…

---

## [Legacy Table works-except edit?](https://www.ruby-forum.com/t/legacy-table-works-except-edit/89431)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [January 5, 2006, 7:57pm UTC](https://www.ruby-forum.com/t/legacy-table-works-except-edit/89431 "2006-01-05T19:57:33Z")

</div>

Greetings, I’m trying to put a Rails face on a Legacy Oracle 10 table. I am currently setting the table\_name and primary\_key, and I get the list and show to work fine. However, when I hit edit I just get the Editing…

---

## [Date\_select oddness](https://www.ruby-forum.com/t/date-select-oddness/49086)

<div class="topic-metadata">

**Author:** [@openbsdpl](https://www.ruby-forum.com/u/openbsdpl)\
**Replies:** 3\
**Last updated:** [December 3, 2005, 2:17pm UTC](https://www.ruby-forum.com/t/date-select-oddness/49086 "2005-12-03T14:17:43Z")

</div>

Hello, I have a problem when with this tag in view: \<%= date\_select :customdate, nil %\> In the controller there is: d = Date.new d = params\[:customdate\] render\_text “#{d.inspect}” The problem is the :customdate do…

---

## [How to properly debug?](https://www.ruby-forum.com/t/how-to-properly-debug/49127)

<div class="topic-metadata">

**Author:** [@miriamraphael](https://www.ruby-forum.com/u/miriamraphael)\
**Replies:** 3\
**Last updated:** [November 30, 2005, 7:16pm UTC](https://www.ruby-forum.com/t/how-to-properly-debug/49127 "2005-11-30T19:16:31Z")

</div>

I am writing my first rails script and am having lots of trouble doing the simplest tasks. Right now, I have a form (new.rhtml) and it allows someone to become a new user by entering their info (username, password, na…

---

## [User Engine: Login + Roles](https://www.ruby-forum.com/t/user-engine-login-roles/49008)

<div class="topic-metadata">

**Author:** [@james.adam](https://www.ruby-forum.com/u/james.adam)\
**Replies:** 3\
**Last updated:** [November 29, 2005, 12:51am UTC](https://www.ruby-forum.com/t/user-engine-login-roles/49008 "2005-11-29T00:51:47Z")

</div>

http://rails-engines.rubyforge.org/rdoc/user\_engine/ From the fiery depths of the README: UserEngine: Login + Roles The UserEngine\[1\] extends the LoginEngine with a very, very simple implementation of RBAC - role b…

---

## [Restrictings actions to post requests only](https://www.ruby-forum.com/t/restrictings-actions-to-post-requests-only/48868)

<div class="topic-metadata">

**Author:** [@eugenol](https://www.ruby-forum.com/u/eugenol)\
**Replies:** 3\
**Last updated:** [November 26, 2005, 11:11am UTC](https://www.ruby-forum.com/t/restrictings-actions-to-post-requests-only/48868 "2005-11-26T11:11:56Z")

</div>

Hello Isn’t there a new declaration for restricting actions to post requests only ? I cannot retrieve it in the changelog (or did I dream it ?) Thanks !

---

## [Searching via association](https://www.ruby-forum.com/t/searching-via-association/48249)

<div class="topic-metadata">

**Author:** [@oksteev](https://www.ruby-forum.com/u/oksteev)\
**Replies:** 3\
**Last updated:** [November 20, 2005, 9:43pm UTC](https://www.ruby-forum.com/t/searching-via-association/48249 "2005-11-20T21:43:43Z")

</div>

I have a belongs\_to :from, :foreign\_key =\> ‘from\_user\_id’ on my User object Now I want to do a User.find() with the :conditions of from = some user id. Is there anyway to use :conditions without the actual column nam…

---

## [Stupid optparse question](https://www.ruby-forum.com/t/stupid-optparse-question/199156)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 4\
**Last updated:** [November 15, 2010, 11:19pm UTC](https://www.ruby-forum.com/t/stupid-optparse-question/199156 "2010-11-15T23:19:55Z")

</div>

How can I make my code print the usage even if zero options are given? I had thought opts.on\_tail would do this, but it doesn’t seem to be working. The usage prints properly if I use -h though: require ‘optparse’ opt…

---

## [Friday Night at My House](https://www.ruby-forum.com/t/friday-night-at-my-house/191934)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 4\
**Last updated:** [July 21, 2010, 9:20am UTC](https://www.ruby-forum.com/t/friday-night-at-my-house/191934 "2010-07-21T09:20:35Z")

</div>

Attendees: Me, Aaron P., Ben B., Eric H., Ryan D., and various pets and significant others. Before an ill-advised screening of “Leprechaun In The Hood,” we presented Ryan with a velvet painting of himself. I’ll ask th…

---

## [Password Requests?](https://www.ruby-forum.com/t/password-requests/183175)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 4\
**Last updated:** [February 9, 2010, 4:25pm UTC](https://www.ruby-forum.com/t/password-requests/183175 "2010-02-09T16:25:39Z")

</div>

When I amended my registration page, I included the digest to encrypt the password in the database. If someone forgets their password, how do I get this mailed back to the user? The action is as follows: def remind …

---

## [View configuration](https://www.ruby-forum.com/t/view-configuration/182897)

<div class="topic-metadata">

**Author:** [@beny18241](https://www.ruby-forum.com/u/beny18241)\
**Replies:** 4\
**Last updated:** [February 4, 2010, 3:08pm UTC](https://www.ruby-forum.com/t/view-configuration/182897 "2010-02-04T15:08:38Z")

</div>

Hi, I have a list of things in my application (let it be list with something to borrow). I wanted to change in css and view something. I wanted to see row with has one field empty (let us say it will be given back d…

---

## [Year Wierdness](https://www.ruby-forum.com/t/year-wierdness/180606)

<div class="topic-metadata">

**Author:** [@rilindo](https://www.ruby-forum.com/u/rilindo)\
**Replies:** 4\
**Last updated:** [December 22, 2009, 9:40pm UTC](https://www.ruby-forum.com/t/year-wierdness/180606 "2009-12-22T21:40:03Z")

</div>

Why is Rails displaying date like: Sat Jan 01 13:31:00 UTC 2000 When the date is clearly correct in the database: reverseblade\_development=\> select \* from blogs; id | postdate | posttitle | post | created\_a…

---

## [I know this is a join, but not sure how to do it](https://www.ruby-forum.com/t/i-know-this-is-a-join-but-not-sure-how-to-do-it/178211)

<div class="topic-metadata">

**Author:** [@lunaclaire](https://www.ruby-forum.com/u/lunaclaire)\
**Replies:** 4\
**Last updated:** [November 1, 2009, 9:11pm UTC](https://www.ruby-forum.com/t/i-know-this-is-a-join-but-not-sure-how-to-do-it/178211 "2009-11-01T21:11:13Z")

</div>

here are a few models: Stream has\_many :postings belongs\_to :user Posting belongs\_to :stream belongs\_to :user User has\_many :streams has\_many :postings Each Posting has a ‘created\_at’ attribute. I need to find…

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

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