# Top

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

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

---

## [Recommended way of restricting action permissions?](https://www.ruby-forum.com/t/recommended-way-of-restricting-action-permissions/156058)

<div class="topic-metadata">

**Author:** [@Lisa\_Klein](https://www.ruby-forum.com/u/Lisa_Klein)\
**Replies:** 3\
**Last updated:** [December 19, 2008, 9:38pm UTC](https://www.ruby-forum.com/t/recommended-way-of-restricting-action-permissions/156058 "2008-12-19T21:38:30Z")

</div>

Hi, I just have a “best practices” question. I’d like to block users that don’t own a particular resource from performing edit/update/ destroy actions on it. Here’s how I currently do it: User has many resources, of…

---

## [Erb & action\_view outside rails](https://www.ruby-forum.com/t/erb-action-view-outside-rails/153393)

<div class="topic-metadata">

**Author:** [@drlelon](https://www.ruby-forum.com/u/drlelon)\
**Replies:** 3\
**Last updated:** [November 16, 2008, 9:37pm UTC](https://www.ruby-forum.com/t/erb-action-view-outside-rails/153393 "2008-11-16T21:37:47Z")

</div>

I’m using erb as a templating package to generate html files – not in Rails. Question – is there a way to use the action\_view package to augment the templates? For example – link\_to( “clickable text”, href\_path) is in …

---

## [MissingSourceFile in LookController#index](https://www.ruby-forum.com/t/missingsourcefile-in-lookcontroller-index/151754)

<div class="topic-metadata">

**Author:** [@Khaled\_mahmud\_K](https://www.ruby-forum.com/u/Khaled_mahmud_K)\
**Replies:** 3\
**Last updated:** [October 26, 2008, 1:49pm UTC](https://www.ruby-forum.com/t/missingsourcefile-in-lookcontroller-index/151754 "2008-10-26T13:49:47Z")

</div>

Hi Friends, I am facing a problem, when I run a simple Ruby program on my browser, it shows me an error like “MissingSourceFile in LookController#index”. Infect, I made a controller named “Look”. When I type “http://…

---

## [Rspec fails when assigning to an ActiveRecord field](https://www.ruby-forum.com/t/rspec-fails-when-assigning-to-an-activerecord-field/151035)

<div class="topic-metadata">

**Author:** [@leogodin217](https://www.ruby-forum.com/u/leogodin217)\
**Replies:** 3\
**Last updated:** [October 25, 2008, 1:48am UTC](https://www.ruby-forum.com/t/rspec-fails-when-assigning-to-an-activerecord-field/151035 "2008-10-25T01:48:47Z")

</div>

HI, I have a controller action that assigns a user\_id to an event record. The app works fine from the browser. However, rspec fails and I cannot figure out why. I have several tests failing but I’ll give an example…

---

## [Xml Decleration using builder](https://www.ruby-forum.com/t/xml-decleration-using-builder/150975)

<div class="topic-metadata">

**Author:** [@dan](https://www.ruby-forum.com/u/dan)\
**Replies:** 3\
**Last updated:** [October 17, 2008, 12:10am UTC](https://www.ruby-forum.com/t/xml-decleration-using-builder/150975 "2008-10-17T00:10:53Z")

</div>

I’m trying to create an XML file and I don’t see any way with the builder methods to write the doc type down. \<?xml version = "1.0" encoding = "UTF-8" standalone = "no"?\> I can sucessfully using xml.instruct! :xml, :…

---

## [Trying to replace some .find calls with better code](https://www.ruby-forum.com/t/trying-to-replace-some-find-calls-with-better-code/150880)

<div class="topic-metadata">

**Author:** [@bagadoughnuts](https://www.ruby-forum.com/u/bagadoughnuts)\
**Replies:** 3\
**Last updated:** [October 14, 2008, 3:41pm UTC](https://www.ruby-forum.com/t/trying-to-replace-some-find-calls-with-better-code/150880 "2008-10-14T15:41:53Z")

</div>

Hi all, This forum has been very helpful in the past so I figured I’d try and ask for some help on some (yet again) rather “newbie” stuff again. I currently have the following DB Schema (Two Tables Listed here): User…

---

## [Webrat within selector](https://www.ruby-forum.com/t/webrat-within-selector/150821)

<div class="topic-metadata">

**Author:** [@johanatan](https://www.ruby-forum.com/u/johanatan)\
**Replies:** 3\
**Last updated:** [October 14, 2008, 8:52am UTC](https://www.ruby-forum.com/t/webrat-within-selector/150821 "2008-10-14T08:52:21Z")

</div>

anyone know if/how webrat can scope a clicks\_link within a selector? eg, if I have more than one “Foo” link on a page, I want to make sure I click the one within a specific div Tia linoj

---

## [How can one get the Hpricot DOM document from Mechanize?](https://www.ruby-forum.com/t/how-can-one-get-the-hpricot-dom-document-from-mechanize/148507)

<div class="topic-metadata">

**Author:** [@maz](https://www.ruby-forum.com/u/maz)\
**Replies:** 3\
**Last updated:** [September 18, 2008, 7:13am UTC](https://www.ruby-forum.com/t/how-can-one-get-the-hpricot-dom-document-from-mechanize/148507 "2008-09-18T07:13:31Z")

</div>

I was wondering if there were some way of getting the Hpricot DOM (for lack of a better term) from a Mechanize page. For example: agent = WWW:Mechanize.new page = agent.get(http://www.website.com) I am currently do…

---

## [Duplicate comments using remote\_form\_for](https://www.ruby-forum.com/t/duplicate-comments-using-remote-form-for/145257)

<div class="topic-metadata">

**Author:** [@chunkyslink](https://www.ruby-forum.com/u/chunkyslink)\
**Replies:** 3\
**Last updated:** [August 7, 2008, 7:52pm UTC](https://www.ruby-forum.com/t/duplicate-comments-using-remote-form-for/145257 "2008-08-07T19:52:37Z")

</div>

Is there a best practice way to prevent duplicate comments (or whatever the model may be) submissions from a remote\_form\_for? Maybe a time-based validation, like the way WordPress seems to prevent comments being poste…

---

## [Auto\_link is not working](https://www.ruby-forum.com/t/auto-link-is-not-working/144107)

<div class="topic-metadata">

**Author:** [@sunfish](https://www.ruby-forum.com/u/sunfish)\
**Replies:** 3\
**Last updated:** [July 25, 2008, 4:06pm UTC](https://www.ruby-forum.com/t/auto-link-is-not-working/144107 "2008-07-25T16:06:04Z")

</div>

Hi, In one of my project I am using auto\_link function for providing link to text. but when I am using it with truncate it is not working it gives following error code:- \<%=auto\_link truncate(group\_user.group.descri…

---

## [Default behavior on unrecognized route in development and production environment](https://www.ruby-forum.com/t/default-behavior-on-unrecognized-route-in-development-and-production-environment/142045)

<div class="topic-metadata">

**Author:** [@waddilove](https://www.ruby-forum.com/u/waddilove)\
**Replies:** 3\
**Last updated:** [July 3, 2008, 12:12am UTC](https://www.ruby-forum.com/t/default-behavior-on-unrecognized-route-in-development-and-production-environment/142045 "2008-07-03T00:12:11Z")

</div>

Hello, The default behavior for a new rails 2.1 with mongrel 1.1.5 for an unrecognized route in both a production and development environment is to generate a Routing Exception. I was under the impression the default…

---

## [ActionMailer Reply-To Header](https://www.ruby-forum.com/t/actionmailer-reply-to-header/134210)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [May 30, 2008, 10:43pm UTC](https://www.ruby-forum.com/t/actionmailer-reply-to-header/134210 "2008-05-30T22:43:14Z")

</div>

I am trying to include the persons name as well as email in the reply- to field of the email header. In the process, I’m seeing some weird behavior: You can set the from address: @from = "Persons Name " But if you…

---

## [JavaScript code call method in controller?](https://www.ruby-forum.com/t/javascript-code-call-method-in-controller/136977)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 3\
**Last updated:** [May 7, 2008, 11:49pm UTC](https://www.ruby-forum.com/t/javascript-code-call-method-in-controller/136977 "2008-05-07T23:49:45Z")

</div>

I have this text field that once a certain number of character are entered I would like it to call a method in the controller and save the data. To make a long story short, I do this because I don’t want the user to h…

---

## [External card connected to USRP board](https://www.ruby-forum.com/t/external-card-connected-to-usrp-board/136316)

<div class="topic-metadata">

**Author:** [@diana](https://www.ruby-forum.com/u/diana)\
**Replies:** 3\
**Last updated:** [May 5, 2008, 7:19pm UTC](https://www.ruby-forum.com/t/external-card-connected-to-usrp-board/136316 "2008-05-05T19:19:19Z")

</div>

Hello, I would like to develop a user card, to interface with the USRP motherboard, with a high resolution UHF synthesized local oscillator for a flexible narrowband application that can not use any standard card. Is…

---

## [SEGV by regexp and thread](https://www.ruby-forum.com/t/segv-by-regexp-and-thread/133670)

<div class="topic-metadata">

**Author:** [@Tanaka\_A](https://www.ruby-forum.com/u/Tanaka_A)\
**Replies:** 3\
**Last updated:** [April 14, 2008, 4:08am UTC](https://www.ruby-forum.com/t/segv-by-regexp-and-thread/133670 "2008-04-14T04:08:53Z")

</div>

e$B0J2\<$N$h$&$K$9$k$He(B SEGV e$B$7$^$9!#e(B % cat z.rb def m(s) /\\Azzzzzz(\\S)(\\S)(\\S)(\\S\*)\\z/ =~ s \[$1.class, $2.class, $3.class, $4.class\] end s1 = “z” \* 10000 s1.force\_encoding(“EUC-JP”) s2 = “a” Thread.new {…

---

## [Handling multiple Check boxes in a XHTML Strict way](https://www.ruby-forum.com/t/handling-multiple-check-boxes-in-a-xhtml-strict-way/127697)

<div class="topic-metadata">

**Author:** [@sazwqa](https://www.ruby-forum.com/u/sazwqa)\
**Replies:** 3\
**Last updated:** [February 5, 2008, 11:46am UTC](https://www.ruby-forum.com/t/handling-multiple-check-boxes-in-a-xhtml-strict-way/127697 "2008-02-05T11:46:40Z")

</div>

Hi, The default way we handle an array of checkboxes is like this: \<% items.each do |item| %\> \<%= check\_box\_tag ‘item\[\]’, “#{item.id}” %\> \<% end -%\> this returns an array item\[\] that holds the ids of all the items. …

---

## [Variables in proxy\_method](https://www.ruby-forum.com/t/variables-in-proxy-method/125324)

<div class="topic-metadata">

**Author:** [@Jed\_Schmidt](https://www.ruby-forum.com/u/Jed_Schmidt)\
**Replies:** 0\
**Last updated:** [January 8, 2008, 8:52am UTC](https://www.ruby-forum.com/t/variables-in-proxy-method/125324 "2008-01-08T08:52:56Z")

</div>

Hello all, Is there any chance that proxy\_method could be modified to allow variables? I’d like to proxy all incoming POST requests using PUT (for use with Amazon S3) like this: set $s3\_method $request\_method; i…

---

## [Using autotest + rspec for plain ruby (not rails)](https://www.ruby-forum.com/t/using-autotest-rspec-for-plain-ruby-not-rails/123662)

<div class="topic-metadata">

**Author:** [@micheldogger](https://www.ruby-forum.com/u/micheldogger)\
**Replies:** 3\
**Last updated:** [December 19, 2007, 6:00pm UTC](https://www.ruby-forum.com/t/using-autotest-rspec-for-plain-ruby-not-rails/123662 "2007-12-19T18:00:42Z")

</div>

autotest (zentest 3.5.0) + rspec 1.1.1 ask for “spec\_autotest.rb”, nowhere to be found…

---

## [How to test views with Nested Resources and Partials](https://www.ruby-forum.com/t/how-to-test-views-with-nested-resources-and-partials/120834)

<div class="topic-metadata">

**Author:** [@Troy\_Nini](https://www.ruby-forum.com/u/Troy_Nini)\
**Replies:** 0\
**Last updated:** [November 20, 2007, 11:08pm UTC](https://www.ruby-forum.com/t/how-to-test-views-with-nested-resources-and-partials/120834 "2007-11-20T23:08:18Z")

</div>

Hi everyone, I am relatively new to rspec and I am running into a wall in testing my views. I have a RESTful resource Contracts with a nested resource of Line\_items. I am trying to figure out how to test the “edit” f…

---

## [2 questions: redirect and form fields](https://www.ruby-forum.com/t/2-questions-redirect-and-form-fields/118115)

<div class="topic-metadata">

**Author:** [@elle](https://www.ruby-forum.com/u/elle)\
**Replies:** 3\
**Last updated:** [October 26, 2007, 11:46pm UTC](https://www.ruby-forum.com/t/2-questions-redirect-and-form-fields/118115 "2007-10-26T23:46:53Z")

</div>

Just three quick questions: when a user logs in, how do you redirect her to the last page they were on? what do most use for a form field that lists all the states in a certain country? when you create a form, the de…

---

## [I got Pickaxe 1 should I buy Pickaxe 2?](https://www.ruby-forum.com/t/i-got-pickaxe-1-should-i-buy-pickaxe-2/118344)

<div class="topic-metadata">

**Author:** [@bob](https://www.ruby-forum.com/u/bob)\
**Replies:** 3\
**Last updated:** [October 25, 2007, 10:08pm UTC](https://www.ruby-forum.com/t/i-got-pickaxe-1-should-i-buy-pickaxe-2/118344 "2007-10-25T22:08:04Z")

</div>

I got Pickaxe 1 should I buy Pickaxe 2? Do differences make it worth buying the same book twice? Does anybody have an opinion on this? I know RoR v2.0 is coming, but I don’t what to wait several months for a book on …

---

## [ROR Mandatory Upgrades Discussion List](https://www.ruby-forum.com/t/ror-mandatory-upgrades-discussion-list/118130)

<div class="topic-metadata">

**Author:** [@xia](https://www.ruby-forum.com/u/xia)\
**Replies:** 3\
**Last updated:** [October 25, 2007, 2:56am UTC](https://www.ruby-forum.com/t/ror-mandatory-upgrades-discussion-list/118130 "2007-10-25T02:56:13Z")

</div>

I’m finding it hard to stay on top of updates to the 50+ gems/plugins etc we are using. I think there is a need for a single discussion/rss feed which ONLY includes notifications for Mandatory upgrades for any Ruby on…

---

## [Big project in ruby](https://www.ruby-forum.com/t/big-project-in-ruby/82530)

<div class="topic-metadata">

**Author:** [@miquel](https://www.ruby-forum.com/u/miquel)\
**Replies:** 3\
**Last updated:** [September 25, 2007, 10:52pm UTC](https://www.ruby-forum.com/t/big-project-in-ruby/82530 "2007-09-25T22:52:18Z")

</div>

Hi all I’m trying to design a big application in ruby and I have (among others) a doubt/question. I’m creating folders with the classes (I supose influenced by java package distribution structure) and I want to use t…

---

## [What is happening with this Unary minus?](https://www.ruby-forum.com/t/what-is-happening-with-this-unary-minus/113097)

<div class="topic-metadata">

**Author:** [@toadkicker](https://www.ruby-forum.com/u/toadkicker)\
**Replies:** 3\
**Last updated:** [August 27, 2007, 11:23pm UTC](https://www.ruby-forum.com/t/what-is-happening-with-this-unary-minus/113097 "2007-08-27T23:23:33Z")

</div>

LOOPER = 6 -(LOOPER).upto(LOOPER) {|i| puts i } I get one line of output: 6 However, I get 13 lines of output here: (-LOOPER).upto(LOOPER) {|i| puts i } What is happening with the unary minus on the first example…

---

## [Deactivate instances on delete](https://www.ruby-forum.com/t/deactivate-instances-on-delete/110774)

<div class="topic-metadata">

**Author:** [@lundie](https://www.ruby-forum.com/u/lundie)\
**Replies:** 3\
**Last updated:** [July 31, 2007, 3:12pm UTC](https://www.ruby-forum.com/t/deactivate-instances-on-delete/110774 "2007-07-31T15:12:38Z")

</div>

Hi, I have created an application in which a customer model has many locations. Customers are then assigned to an order, and one of their locations is also assigned to the order. My issue comes if a locations is remo…

---

## [Ruby extension with vararg function woes](https://www.ruby-forum.com/t/ruby-extension-with-vararg-function-woes/110236)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [July 25, 2007, 7:16pm UTC](https://www.ruby-forum.com/t/ruby-extension-with-vararg-function-woes/110236 "2007-07-25T19:16:23Z")

</div>

I’m developing a port of Ruby for the Nokia internet tablets (N800 currently) with full bindings to the Maemo platform (hildon widgets, libosso, etc). I’ve hit a couple of snags along the way, which basically go like …

---

## [Accessing the name of the current function](https://www.ruby-forum.com/t/accessing-the-name-of-the-current-function/109541)

<div class="topic-metadata">

**Author:** [@ronaldfischer](https://www.ruby-forum.com/u/ronaldfischer)\
**Replies:** 3\
**Last updated:** [July 16, 2007, 6:22pm UTC](https://www.ruby-forum.com/t/accessing-the-name-of-the-current-function/109541 "2007-07-16T18:22:40Z")

</div>

Is there away to access the name of the currently defined function? Example: Right now I do tracing like this: def myfunc(a,b) trace.debug “ENTER myfunc a=#{a} b=#{b}” … trace.debug “LEAVE myfunc result=#{result}” …

---

## [NoMethodError when using find\_by\_sql](https://www.ruby-forum.com/t/nomethoderror-when-using-find-by-sql/108897)

<div class="topic-metadata">

**Author:** [@simplydope](https://www.ruby-forum.com/u/simplydope)\
**Replies:** 3\
**Last updated:** [July 10, 2007, 2:52am UTC](https://www.ruby-forum.com/t/nomethoderror-when-using-find-by-sql/108897 "2007-07-10T02:52:25Z")

</div>

I’m try to verify users on login. Here is my code: def self.authenticate(username,password,account\_code) employee = self.find(:all, :select =\> “e.id, e.first\_name, e.last\_name, e.username, e.account\_id, e.department…

---

## [Comportamiento extraÃ±o de to\_sentence](https://www.ruby-forum.com/t/comportamiento-extraa-o-de-to-sentence/104671)

<div class="topic-metadata">

**Author:** [@vilec](https://www.ruby-forum.com/u/vilec)\
**Replies:** 3\
**Last updated:** [May 21, 2007, 4:07pm UTC](https://www.ruby-forum.com/t/comportamiento-extraa-o-de-to-sentence/104671 "2007-05-21T16:07:09Z")

</div>

c = \[“cosa1”,“cosa2”\] c.to\_sentence(:skip\_last\_comma =\> false, :connector =\> “”) =\> “cosa1 cosa2” c \<\< “cosa3” c.to\_sentence(:skip\_last\_comma =\> false, :connector =\> “”) =\> “cosa1, cosa2, cosa3” Â¿Por quÃ© hace …

---

## [Problem in ROR](https://www.ruby-forum.com/t/problem-in-ror/103230)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [May 3, 2007, 5:34pm UTC](https://www.ruby-forum.com/t/problem-in-ror/103230 "2007-05-03T17:34:56Z")

</div>

hi, while the time of executing ROR application I get the following problem. Because of this problem I am not able to continue with my project. Please any one help me. Application error Change this error message f…

---

## [Flash doesnt work](https://www.ruby-forum.com/t/flash-doesnt-work/93022)

<div class="topic-metadata">

**Author:** [@dasch](https://www.ruby-forum.com/u/dasch)\
**Replies:** 3\
**Last updated:** [April 30, 2007, 4:13am UTC](https://www.ruby-forum.com/t/flash-doesnt-work/93022 "2007-04-30T04:13:59Z")

</div>

I have flash\[:notice\] lines everywhere throughout my application, and not once has one popped up. Is there something else you have to set to make these come up?

---

## [What is the typical max USB transfer rate from the URSP?](https://www.ruby-forum.com/t/what-is-the-typical-max-usb-transfer-rate-from-the-ursp/93061)

<div class="topic-metadata">

**Author:** [@jkpalmer52](https://www.ruby-forum.com/u/jkpalmer52)\
**Replies:** 3\
**Last updated:** [April 27, 2007, 3:06am UTC](https://www.ruby-forum.com/t/what-is-the-typical-max-usb-transfer-rate-from-the-ursp/93061 "2007-04-27T03:06:54Z")

</div>

I got my USRP running today. The first test I ran was the usb speed test in the examples/usrp folder. It will do up to 16MB/s. The 32 MB/s transfer fails. This is a dual Opteron system with 4G of memory running Su…

---

## [Resource routes para controladores en un directorio](https://www.ruby-forum.com/t/resource-routes-para-controladores-en-un-directorio/92400)

<div class="topic-metadata">

**Author:** [@alarkspur](https://www.ruby-forum.com/u/alarkspur)\
**Replies:** 3\
**Last updated:** [April 19, 2007, 2:39pm UTC](https://www.ruby-forum.com/t/resource-routes-para-controladores-en-un-directorio/92400 "2007-04-19T14:39:34Z")

</div>

Hola, seguro que es una tonteria, pero llevo ya un rato y no encuentro la solución, o expongo el problema he creado una serie de controladores dentro de un directorio llamado mycms lo que ocurre es que desde las vis…

---

## [Assign events on creation of a new user](https://www.ruby-forum.com/t/assign-events-on-creation-of-a-new-user/89770)

<div class="topic-metadata">

**Author:** [@kinneyjd](https://www.ruby-forum.com/u/kinneyjd)\
**Replies:** 3\
**Last updated:** [March 23, 2007, 4:21pm UTC](https://www.ruby-forum.com/t/assign-events-on-creation-of-a-new-user/89770 "2007-03-23T16:21:02Z")

</div>

Hello everyone, I am developing a web app that is being used to track users and their associated events. Events could be like ‘getting married’, ‘having a baby’, ‘buying a car’, etc. and each event has a median age as…

---

## [Passing Arguments to an Action](https://www.ruby-forum.com/t/passing-arguments-to-an-action/87645)

<div class="topic-metadata">

**Author:** [@doug](https://www.ruby-forum.com/u/doug)\
**Replies:** 3\
**Last updated:** [March 5, 2007, 9:20am UTC](https://www.ruby-forum.com/t/passing-arguments-to-an-action/87645 "2007-03-05T09:20:48Z")

</div>

I have spent a fair amount of time searching to find information on how one would pass arguments to an action (presumably some sort of URL appendage). It would seem to me that that would be something that would be do…

---

## [Pipes and STDERR](https://www.ruby-forum.com/t/pipes-and-stderr/85792)

<div class="topic-metadata">

**Author:** [@jspencer78](https://www.ruby-forum.com/u/jspencer78)\
**Replies:** 3\
**Last updated:** [February 16, 2007, 6:15pm UTC](https://www.ruby-forum.com/t/pipes-and-stderr/85792 "2007-02-16T18:15:37Z")

</div>

Hello everyone, I would like to be able to assign my pipe to a variable, whilst still being able to capture STDERR; i’m sure this is possible but can’t think how to do it… This is the code for the pipe: @pipe = IO.p…

---

## [Error in installing login generator](https://www.ruby-forum.com/t/error-in-installing-login-generator/59562)

<div class="topic-metadata">

**Author:** [@bash](https://www.ruby-forum.com/u/bash)\
**Replies:** 3\
**Last updated:** [January 31, 2007, 9:58am UTC](https://www.ruby-forum.com/t/error-in-installing-login-generator/59562 "2007-01-31T09:58:11Z")

</div>

hi guys, i tried to install login generator following these steps: first i open the forlder where my application is saved than writing in the commad prompt: gem install login\_generator, then ruby script/generate logi…

---

## [Quick questions about link\_to](https://www.ruby-forum.com/t/quick-questions-about-link-to/81888)

<div class="topic-metadata">

**Author:** [@figo2476](https://www.ruby-forum.com/u/figo2476)\
**Replies:** 3\
**Last updated:** [January 16, 2007, 6:49am UTC](https://www.ruby-forum.com/t/quick-questions-about-link-to/81888 "2007-01-16T06:49:37Z")

</div>

e.g. index.rhtml has: \<%= link\_to ‘nextpage’ :action=\>‘show’ %\> when it is clicked, it will take you to nextpage\_controller, then execute ‘show’, then stay in nextpage.rhtml. If that is the case, action ‘show’ has t…

---

## [Avoiding output caching, mod\_ruby/Apache?](https://www.ruby-forum.com/t/avoiding-output-caching-mod-ruby-apache/81426)

<div class="topic-metadata">

**Author:** [@snitko](https://www.ruby-forum.com/u/snitko)\
**Replies:** 3\
**Last updated:** [January 10, 2007, 9:12am UTC](https://www.ruby-forum.com/t/avoiding-output-caching-mod-ruby-apache/81426 "2007-01-10T09:12:45Z")

</div>

I got that annoying thing: all pages that are parsed by Ruby - they cache somehow, so that I have to restart Apache in order to see any changes in browser. It’s not FastCGI, because I turned it of, so that could be mo…

---

## [Windows command & unicode](https://www.ruby-forum.com/t/windows-command-unicode/76060)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 3\
**Last updated:** [November 15, 2006, 9:01pm UTC](https://www.ruby-forum.com/t/windows-command-unicode/76060 "2006-11-15T21:01:33Z")

</div>

Hi all, I have a problem using unicode characters in the windows command. As a very simple example, when I type this: H:\>ruby -e ‘puts “rien à faire”’ I will get the following: rien Ó faire Does anyone know what ca…

---

## [Action mailer, error Subject: Header must not be multiple](https://www.ruby-forum.com/t/action-mailer-error-subject-header-must-not-be-multiple/72469)

<div class="topic-metadata">

**Author:** [@yoni](https://www.ruby-forum.com/u/yoni)\
**Replies:** 3\
**Last updated:** [October 17, 2006, 5:55pm UTC](https://www.ruby-forum.com/t/action-mailer-error-subject-header-must-not-be-multiple/72469 "2006-10-17T17:55:56Z")

</div>

i want to send multiple emails: #my Controller def send\_email if params\[:group\_ids\] groups = Group.find(params\[:group\_ids\]) # creates an array called ‘groups’ that looks like : \[{:id =\> 1, :title =\> ‘yediot’},…

---

## [Associations don't work with FormHelpers?](https://www.ruby-forum.com/t/associations-dont-work-with-formhelpers/71381)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [October 9, 2006, 8:27am UTC](https://www.ruby-forum.com/t/associations-dont-work-with-formhelpers/71381 "2006-10-09T08:27:10Z")

</div>

Hi, I am trying to use an association in a form helper, like this: \<%= text\_field “group.moderator”, “id” %\> I get this error: \`@group.moderator’ is not allowed as an instance variable name Here is how I defined the…

---

## [Sorting arrays - Any thoughts?](https://www.ruby-forum.com/t/sorting-arrays-any-thoughts/69542)

<div class="topic-metadata">

**Author:** [@hreyaatnh](https://www.ruby-forum.com/u/hreyaatnh)\
**Replies:** 3\
**Last updated:** [September 25, 2006, 4:54pm UTC](https://www.ruby-forum.com/t/sorting-arrays-any-thoughts/69542 "2006-09-25T16:54:46Z")

</div>

I’m using the “rubilicious” gem to integrate delicious into my site, and it’s working fine. However, the items are out of order. It pulls the most recent 10 posts, but not in descending order. This is what I’m doin…

---

## [Can this 1337 PostgreSQL Subquery Union be done in AR?](https://www.ruby-forum.com/t/can-this-1337-postgresql-subquery-union-be-done-in-ar/69414)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 3\
**Last updated:** [September 21, 2006, 10:33am UTC](https://www.ruby-forum.com/t/can-this-1337-postgresql-subquery-union-be-done-in-ar/69414 "2006-09-21T10:33:05Z")

</div>

Just wondering if it’s possible, without resorting to find\_by\_sql. select id, title, datetime, type from ( select id, title, added as datetime, ‘items’ as type from items union select id, headline as title, datetime,…

---

## [Multipage Forms](https://www.ruby-forum.com/t/multipage-forms/225917)

<div class="topic-metadata">

**Author:** [@The\_Great\_Mochini](https://www.ruby-forum.com/u/The_Great_Mochini)\
**Replies:** 3\
**Last updated:** [August 29, 2006, 5:32pm UTC](https://www.ruby-forum.com/t/multipage-forms/225917 "2006-08-29T17:32:44Z")

</div>

I think this may actually be an object oriented programming question. Not only am I new to Ruby and Rails, but I’m also coming from a functional PHP background, so this whole OO approach to web programming is new to m…

---

## [Scaffold, aggiunta riferimenti a campi](https://www.ruby-forum.com/t/scaffold-aggiunta-riferimenti-a-campi/66137)

<div class="topic-metadata">

**Author:** [@robyonrails](https://www.ruby-forum.com/u/robyonrails)\
**Replies:** 3\
**Last updated:** [August 25, 2006, 6:09pm UTC](https://www.ruby-forum.com/t/scaffold-aggiunta-riferimenti-a-campi/66137 "2006-08-25T18:09:21Z")

</div>

Capita nelle tabelle di inserire i campi altratabella\_id, sarebbe simpatico, se, nello scaffold, apparisse una select box contenente title. (Il post sul Relational Scaffolding si riferiva a questo?) Io ho aggiunto in …

---

## [Adding class or id tags to tags like linkto and form](https://www.ruby-forum.com/t/adding-class-or-id-tags-to-tags-like-linkto-and-form/99910)

<div class="topic-metadata">

**Author:** [@Dennis\_Eusebio](https://www.ruby-forum.com/u/Dennis_Eusebio)\
**Replies:** 3\
**Last updated:** [July 26, 2006, 1:58pm UTC](https://www.ruby-forum.com/t/adding-class-or-id-tags-to-tags-like-linkto-and-form/99910 "2006-07-26T13:58:44Z")

</div>

I’m trying to figure out things like this by myself so I don’t bother my developer and slow him down. How do I add class or id css attributes to tags like this: \<%= form\_remote\_tag :url =\> { :action =\> “send\_url” } %\> …

---

## [IRB, Windows and International Keyboards](https://www.ruby-forum.com/t/irb-windows-and-international-keyboards/96543)

<div class="topic-metadata">

**Author:** [@Robert\_MannI](https://www.ruby-forum.com/u/Robert_MannI)\
**Replies:** 3\
**Last updated:** [June 30, 2006, 8:21am UTC](https://www.ruby-forum.com/t/irb-windows-and-international-keyboards/96543 "2006-06-30T08:21:52Z")

</div>

Hello! I have a hungarian keyboard on a windows machine. When I go into IRB, I can only type characters as if I had an English standard keyboard hooked in. Hence I can’t type any special characters properly. Is ther…

---

## [RE: Aiutate la rana!](https://www.ruby-forum.com/t/re-aiutate-la-rana/95835)

<div class="topic-metadata">

**Author:** [@Giuliano\_U](https://www.ruby-forum.com/u/Giuliano_U)\
**Replies:** 3\
**Last updated:** [June 16, 2006, 2:45pm UTC](https://www.ruby-forum.com/t/re-aiutate-la-rana/95835 "2006-06-16T14:45:48Z")

</div>

Ho scaricato, installato e visto la rana. Sicuramente le intenzioni sono ottime e probabilmente anche il prodotto finale lo sarà, ma purtroppo per noi, l’approccio che utilizza è un pò troppo semplicistico per l’utili…

---

## [Weird problem related I am having with scaffold](https://www.ruby-forum.com/t/weird-problem-related-i-am-having-with-scaffold/63152)

<div class="topic-metadata">

**Author:** [@rane](https://www.ruby-forum.com/u/rane)\
**Replies:** 3\
**Last updated:** [June 12, 2006, 8:32pm UTC](https://www.ruby-forum.com/t/weird-problem-related-i-am-having-with-scaffold/63152 "2006-06-12T20:32:34Z")

</div>

i, I have this in expense\_controller.rb: class ExpenseController \< ApplicationController scaffold :expense end It works fine, but let’s say I want to override scaffold’s list. For some reason, just making list.rhtm…

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

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