# Rails

**URL:** https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1496

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

---

## [Observers Don't Save State Across Form Submit \[Help\]](https://www.ruby-forum.com/t/observers-dont-save-state-across-form-submit-help/128652)

<div class="topic-metadata">

**Author:** [@kommissar](https://www.ruby-forum.com/u/kommissar)\
**Replies:** 0\
**Last updated:** [February 9, 2008, 10:52pm UTC](https://www.ruby-forum.com/t/observers-dont-save-state-across-form-submit-help/128652 "2008-02-09T22:52:45Z")

</div>

Hello, any help with the issue below would be much appreciated! I have a from that I use the observe\_field method on to “watch” a drop down box. Depending upon how the drop down box changes, I update the contents of …

---

## [Testing with httperf...help a noob?](https://www.ruby-forum.com/t/testing-with-httperf-help-a-noob/128651)

<div class="topic-metadata">

**Author:** [@bbqplate](https://www.ruby-forum.com/u/bbqplate)\
**Replies:** 0\
**Last updated:** [February 9, 2008, 10:39pm UTC](https://www.ruby-forum.com/t/testing-with-httperf-help-a-noob/128651 "2008-02-09T22:39:22Z")

</div>

hello there, ive downloaded and watched the peepcode screencast on httperf. i am now trying to see how much load my site can handle. quick question, while i run 1000 connections, while this test is running, and i go …

---

## [Yeni Ã‡Ä±kan Full AlbÃ¼mler 2008](https://www.ruby-forum.com/t/yeni-a-a-kan-full-alba-mler-2008/128647)

<div class="topic-metadata">

**Author:** [@www.Bitmezbusevda.c](https://www.ruby-forum.com/u/www.Bitmezbusevda.c)\
**Replies:** 0\
**Last updated:** [February 9, 2008, 9:22pm UTC](https://www.ruby-forum.com/t/yeni-a-a-kan-full-alba-mler-2008/128647 "2008-02-09T21:22:38Z")

</div>

Yeni Ã‡Ä±kan Full AlbÃ¼mler 2008 Bekle Bizi Ä°sviÃ§re - Euro (Milli TakÄ±mÄ±mÄ±za BaÅŸarÄ±lar) http://www.bitmezbusevda.com/forum/showthread.php/bekle-bizi-isvicre-euro-milli-takimimiza-basarilar-2572.html SlowTÃ¼rk -…

---

## [Adding conditions to a report](https://www.ruby-forum.com/t/adding-conditions-to-a-report/128643)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 1\
**Last updated:** [February 9, 2008, 9:18pm UTC](https://www.ruby-forum.com/t/adding-conditions-to-a-report/128643 "2008-02-09T21:18:31Z")

</div>

I think that I need to flesh out the Call.report method, or perhaps break it down, because it’s not giving the desired output. The array calls\_logins has the condition in which the @call.login\_id =\> 1, and this seems…

---

## [External HTTP requests](https://www.ruby-forum.com/t/external-http-requests/128462)

<div class="topic-metadata">

**Author:** [@reacher](https://www.ruby-forum.com/u/reacher)\
**Replies:** 9\
**Last updated:** [February 9, 2008, 8:35pm UTC](https://www.ruby-forum.com/t/external-http-requests/128462 "2008-02-09T20:35:36Z")

</div>

I’ve got a simple Rails 2.0 app with a (scaffold) resource (Provider) that has an integer (npi) and a string (name). I fleshed out the scaffold views a bit to display and give edit access to the int and string. The …

---

## [Speeed of generating a PDF](https://www.ruby-forum.com/t/speeed-of-generating-a-pdf/128549)

<div class="topic-metadata">

**Author:** [@neha-rohan](https://www.ruby-forum.com/u/neha-rohan)\
**Replies:** 6\
**Last updated:** [February 9, 2008, 8:30pm UTC](https://www.ruby-forum.com/t/speeed-of-generating-a-pdf/128549 "2008-02-09T20:30:19Z")

</div>

Hi, I have been using the PDF::Writer to generate pdf for reports for our system and they have worked fine but speed is becoming an issue for us now. Since we can have like 1000 of records with about 20-30 columns t…

---

## [Prevent a click happy user?](https://www.ruby-forum.com/t/prevent-a-click-happy-user/128644)

<div class="topic-metadata">

**Author:** [@rickf](https://www.ruby-forum.com/u/rickf)\
**Replies:** 0\
**Last updated:** [February 9, 2008, 8:11pm UTC](https://www.ruby-forum.com/t/prevent-a-click-happy-user/128644 "2008-02-09T20:11:40Z")

</div>

Hello, So a product I have been working on is in SQA and they have uncovered what is considered a defect in my implementation. I should point out that navigation is link based via a drop down CSS menu. Essentially th…

---

## [Active record tutorials](https://www.ruby-forum.com/t/active-record-tutorials/128612)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 1\
**Last updated:** [February 9, 2008, 6:52pm UTC](https://www.ruby-forum.com/t/active-record-tutorials/128612 "2008-02-09T18:52:24Z")

</div>

Hi Can anybody give links to(ebooks,tutorials) understand relations,callbacks and validations of Active Record more deeply Sijo

---

## [Has\_many through habtm alternatives?](https://www.ruby-forum.com/t/has-many-through-habtm-alternatives/127476)

<div class="topic-metadata">

**Author:** [@gsterndale](https://www.ruby-forum.com/u/gsterndale)\
**Replies:** 3\
**Last updated:** [February 9, 2008, 6:24pm UTC](https://www.ruby-forum.com/t/has-many-through-habtm-alternatives/127476 "2008-02-09T18:24:49Z")

</div>

In the following hypothetical scenario, I’d like to associate Books and Clubs. Class Club \< ActiveRecord::Base has\_many :memberships has\_many :readers, :through =\> :memberships #DOES NOT WORK #has\_ma…

---

## [My alicia](https://www.ruby-forum.com/t/my-alicia/128637)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [February 9, 2008, 6:24pm UTC](https://www.ruby-forum.com/t/my-alicia/128637 "2008-02-09T18:24:48Z")

</div>

Some subj’s from my collection: http://leryashle.tripod.com/alicia-lane.html alicia lane http://leryashle.tripod.com/alicia-lane-bikini-photos.html alicia lane bikini photos http://leryashle.tripod.com/alicia--lane--…

---

## [Action with multiple parameters](https://www.ruby-forum.com/t/action-with-multiple-parameters/128636)

<div class="topic-metadata">

**Author:** [@martin](https://www.ruby-forum.com/u/martin)\
**Replies:** 0\
**Last updated:** [February 9, 2008, 6:19pm UTC](https://www.ruby-forum.com/t/action-with-multiple-parameters/128636 "2008-02-09T18:19:31Z")

</div>

Hello all! I would like to delete multiple records on a single call. Something similar to the following line. new Ajax.Request(’/myctrl/delete/1,2,3,4,5’, {asynchronous:true, evalScripts:true}); However, I don’t kno…

---

## [Backgrounddrb problem](https://www.ruby-forum.com/t/backgrounddrb-problem/91215)

<div class="topic-metadata">

**Author:** [@stewbawka](https://www.ruby-forum.com/u/stewbawka)\
**Replies:** 4\
**Last updated:** [February 9, 2008, 5:58pm UTC](https://www.ruby-forum.com/t/backgrounddrb-problem/91215 "2008-02-09T17:58:55Z")

</div>

i’m having some problems getting a simple example going with backgrounDRB. after i set my worker to work i try to get back the result like this: w = MiddleMan.worker(key) w.items comes back as DRb::DRbUnknown (i have…

---

## [Securing using model finder?](https://www.ruby-forum.com/t/securing-using-model-finder/128635)

<div class="topic-metadata">

**Author:** [@marksta](https://www.ruby-forum.com/u/marksta)\
**Replies:** 0\
**Last updated:** [February 9, 2008, 5:58pm UTC](https://www.ruby-forum.com/t/securing-using-model-finder/128635 "2008-02-09T17:58:20Z")

</div>

Dear rails user I’ve just spent serveral hours getting to know the authentication plugins like “act as authenticated”, “model based security” etc. Now I’m wondering why none of the existing plugins use a model based …

---

## [Disabling DB connection pooling in ActiveRecord: is it ever a good idea?](https://www.ruby-forum.com/t/disabling-db-connection-pooling-in-activerecord-is-it-ever-a-good-idea/128634)

<div class="topic-metadata">

**Author:** [@Mike\_Subelsky](https://www.ruby-forum.com/u/Mike_Subelsky)\
**Replies:** 0\
**Last updated:** [February 9, 2008, 5:31pm UTC](https://www.ruby-forum.com/t/disabling-db-connection-pooling-in-activerecord-is-it-ever-a-good-idea/128634 "2008-02-09T17:31:52Z")

</div>

The Problem: We’ve built an application where each user has a large, always-growing amount of data – thousands of records per user with a variety of data types. Right now, everybody’s data is in a single MySQL datab…

---

## [Updating the checkboxes with data from the db](https://www.ruby-forum.com/t/updating-the-checkboxes-with-data-from-the-db/128631)

<div class="topic-metadata">

**Author:** [@dezer85](https://www.ruby-forum.com/u/dezer85)\
**Replies:** 0\
**Last updated:** [February 9, 2008, 4:39pm UTC](https://www.ruby-forum.com/t/updating-the-checkboxes-with-data-from-the-db/128631 "2008-02-09T16:39:57Z")

</div>

I’m making a musicians site where the users are able to check some checkboxes with their music-style if they want to edit their music-style i would like the previous checked checkboxes to be checked. here’s some code …

---

## [FastDebugger install problem](https://www.ruby-forum.com/t/fastdebugger-install-problem/128628)

<div class="topic-metadata">

**Author:** [@vasanth](https://www.ruby-forum.com/u/vasanth)\
**Replies:** 0\
**Last updated:** [February 9, 2008, 4:04pm UTC](https://www.ruby-forum.com/t/fastdebugger-install-problem/128628 "2008-02-09T16:04:39Z")

</div>

Hi Has some managed to install Ruby Debugger with gems package manager ? I was trying to install the debugger with command “gem install ruby- debug” ===================================================================…

---

## [Beautiful Clocks](https://www.ruby-forum.com/t/beautiful-clocks/128626)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [February 9, 2008, 3:50pm UTC](https://www.ruby-forum.com/t/beautiful-clocks/128626 "2008-02-09T15:50:31Z")

</div>

http://clocks.110mb.com/swf/phone.swf http://clocks.110mb.com/swf/guitar.swf http://clocks.110mb.com/swf/ipod.swf http://clocks.110mb.com/swf/pspcolourclock.swf http://clocks.110mb.com/swf/flashclock3.swf http://clo…

---

## [ØµÙˆØ± Ù…Ø«ÙŠØ±Ø© Ø¬Ø¯Ø§ Ù„Ø¬Ø³Ù… Ùˆ Ø¨Ø²Ø§Ø² Ø¬ÙŠÙ† ÙŠÙØ± Ù„ÙˆÙ Ù‡ÙˆÙŠØª ... ØµÙˆØ± Ø¬Ø§Ù…Ø¯Ø© Ù‚](https://www.ruby-forum.com/t/o-u-o-u-o-uso-o-o-o-o-u-o-o-u-u-o-o-o-o-o-usu-usu-o-u-u-u-u-u-uso-o-u-o-o-o-u-o-o-u/128624)

<div class="topic-metadata">

**Author:** [@zizo](https://www.ruby-forum.com/u/zizo)\
**Replies:** 0\
**Last updated:** [February 9, 2008, 3:11pm UTC](https://www.ruby-forum.com/t/o-u-o-u-o-uso-o-o-o-o-u-o-o-u-u-o-o-o-o-o-usu-usu-o-u-u-u-u-u-uso-o-u-o-o-o-u-o-o-u/128624 "2008-02-09T15:11:37Z")

</div>

sexy photos for her boobs http://www.pic46.com/showthread.php?t=277

---

## [Create my own template engine?](https://www.ruby-forum.com/t/create-my-own-template-engine/128614)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 2\
**Last updated:** [February 9, 2008, 2:36pm UTC](https://www.ruby-forum.com/t/create-my-own-template-engine/128614 "2008-02-09T14:36:51Z")

</div>

Hi all I’m trying to create my own template engine, but sadly I couldn’t find much information on how to start. Where can I find such informations? I need infos on… How to “register” a file extension for being parse…

---

## [Problem with special characters in input field](https://www.ruby-forum.com/t/problem-with-special-characters-in-input-field/128613)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [February 9, 2008, 2:10pm UTC](https://www.ruby-forum.com/t/problem-with-special-characters-in-input-field/128613 "2008-02-09T14:10:24Z")

</div>

Hello, In my application, a template can be created. Sometime, this template would include a special character like e.g. the Euro sign so the user will fill in € When the field is displayed again in edit mode Rails g…

---

## [A problem with before\_create and validations](https://www.ruby-forum.com/t/a-problem-with-before-create-and-validations/128618)

<div class="topic-metadata">

**Author:** [@threeeyedfish](https://www.ruby-forum.com/u/threeeyedfish)\
**Replies:** 0\
**Last updated:** [February 9, 2008, 1:23pm UTC](https://www.ruby-forum.com/t/a-problem-with-before-create-and-validations/128618 "2008-02-09T13:23:55Z")

</div>

I stumble across some strange problem. I have a model with a virtual attribute file\_contents that is a string. The model has validates\_format\_of :file\_contents, :on =\> create, :unless =\> no\_contents? (The method that …

---

## [We - I and my girlfriend. Mad 18 hours in my lifes](https://www.ruby-forum.com/t/we-i-and-my-girlfriend-mad-18-hours-in-my-lifes/128615)

<div class="topic-metadata">

**Author:** [@Verona\_dsm](https://www.ruby-forum.com/u/Verona_dsm)\
**Replies:** 0\
**Last updated:** [February 9, 2008, 12:29pm UTC](https://www.ruby-forum.com/t/we-i-and-my-girlfriend-mad-18-hours-in-my-lifes/128615 "2008-02-09T12:29:50Z")

</div>

Once upon a time we have solved to make the evening party and check the action feminine viagra. Have Bought the tablets, champaign and started to wait output. When has approached output - have collected the evening pa…

---

## [Binding Google Map API key to the application](https://www.ruby-forum.com/t/binding-google-map-api-key-to-the-application/128610)

<div class="topic-metadata">

**Author:** [@Mukund](https://www.ruby-forum.com/u/Mukund)\
**Replies:** 1\
**Last updated:** [February 9, 2008, 10:27am UTC](https://www.ruby-forum.com/t/binding-google-map-api-key-to-the-application/128610 "2008-02-09T10:27:05Z")

</div>

Is there is a way to bind the Google Maps API to the application instead of a controller / view? http://abc/controller/action/parameter doesn’t work as I am forced to use the key only for the action. If I can bind …

---

## [SSL + Lighty + SCGI Beginner's Help Please](https://www.ruby-forum.com/t/ssl-lighty-scgi-beginners-help-please/127658)

<div class="topic-metadata">

**Author:** [@freaknasty](https://www.ruby-forum.com/u/freaknasty)\
**Replies:** 5\
**Last updated:** [February 9, 2008, 10:25am UTC](https://www.ruby-forum.com/t/ssl-lighty-scgi-beginners-help-please/127658 "2008-02-09T10:25:27Z")

</div>

Hi everyone, I tried looking around google and found not too many clear and elaborate tutorials for a absolute beginner. I knew I could count on all the people here. Here is what I want to do. I want to have a SSL …

---

## [URL aliasing with timestamp](https://www.ruby-forum.com/t/url-aliasing-with-timestamp/128606)

<div class="topic-metadata">

**Author:** [@naresh](https://www.ruby-forum.com/u/naresh)\
**Replies:** 0\
**Last updated:** [February 9, 2008, 8:15am UTC](https://www.ruby-forum.com/t/url-aliasing-with-timestamp/128606 "2008-02-09T08:15:02Z")

</div>

HI all, i just want to make my url looks pretty then the ugliest one, say suppose mu url, domain/controller/action/id/title to replace this i just want to make look like, domain/controller/timestamp/title or doma…

---

## [MVC interplay to query multiple models](https://www.ruby-forum.com/t/mvc-interplay-to-query-multiple-models/128608)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 0\
**Last updated:** [February 9, 2008, 8:12am UTC](https://www.ruby-forum.com/t/mvc-interplay-to-query-multiple-models/128608 "2008-02-09T08:12:46Z")

</div>

I’m trying to track down why I’m getting close to desired output, but not quite. It looks like the webpage sorta-kinda is grabbing the right data. For instance, there are three Login objects which should be showing…

---

## [Find and belongs\_to](https://www.ruby-forum.com/t/find-and-belongs-to/128605)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 0\
**Last updated:** [February 9, 2008, 7:57am UTC](https://www.ruby-forum.com/t/find-and-belongs-to/128605 "2008-02-09T07:57:24Z")

</div>

I have two tables 1)knowledge\_bases id integer not null default nextval(‘public.knowledge\_bases\_id\_seq’::text) name character varying(200) keyword text url character varying(500) summary text de…

---

## [A SELECT join query; does it go in the controller?](https://www.ruby-forum.com/t/a-select-join-query-does-it-go-in-the-controller/128594)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 2\
**Last updated:** [February 9, 2008, 7:10am UTC](https://www.ruby-forum.com/t/a-select-join-query-does-it-go-in-the-controller/128594 "2008-02-09T07:10:05Z")

</div>

If I understand MVC correctly, basically the SQL statement below can be “translated” to ruby as a method in the controller, then called from the view. I have a “report” method in my controller which I’m trying to call…

---

## [Querying multiple tables from the console](https://www.ruby-forum.com/t/querying-multiple-tables-from-the-console/128601)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 3\
**Last updated:** [February 9, 2008, 6:55am UTC](https://www.ruby-forum.com/t/querying-multiple-tables-from-the-console/128601 "2008-02-09T06:55:27Z")

</div>

So, I’m just trying to understand the console a bit better :slight\_smile: I’m able to get some decent output through the console, but it’s a bit short of what I want, which is to put the “calls” array together with th…

---

## [Console syntax](https://www.ruby-forum.com/t/console-syntax/128464)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 4\
**Last updated:** [February 9, 2008, 5:35am UTC](https://www.ruby-forum.com/t/console-syntax/128464 "2008-02-09T05:35:48Z")

</div>

What’s the syntax for something like: f=Foo.(id==1) Here’s what I’ve tried: thufir@arrakis ~/goodfellow-tool $ thufir@arrakis ~/goodfellow-tool $ script/console Loading development environment. Call.find :all =\> …

[Previous page](https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1495)

[Next page](https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1497)
