# Top

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

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

---

## [Using "join" on associated objects](https://www.ruby-forum.com/t/using-join-on-associated-objects/161921)

<div class="topic-metadata">

**Author:** [@partydrone](https://www.ruby-forum.com/u/partydrone)\
**Replies:** 3\
**Last updated:** [March 4, 2009, 3:35am UTC](https://www.ruby-forum.com/t/using-join-on-associated-objects/161921 "2009-03-04T03:35:22Z")

</div>

I have a model, Download, with a HABTM relationship to another model, Product. In the index view for Download, I want to list all of the associated products by name. Here is my view code for the table row: I’ve tried…

---

## [Lazy evaluation and scoping](https://www.ruby-forum.com/t/lazy-evaluation-and-scoping/156768)

<div class="topic-metadata">

**Author:** [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Replies:** 3\
**Last updated:** [January 3, 2009, 12:43pm UTC](https://www.ruby-forum.com/t/lazy-evaluation-and-scoping/156768 "2009-01-03T12:43:29Z")

</div>

Take a look at the #should\_require\_login\_for inside this pastie (it’s a Shoulda macro): http://pastie.org/350658 #should\_require\_login\_for takes an action name and a Proc. The method is meant to be used like this in m…

---

## [Validation](https://www.ruby-forum.com/t/validation/155762)

<div class="topic-metadata">

**Author:** [@cyrus](https://www.ruby-forum.com/u/cyrus)\
**Replies:** 3\
**Last updated:** [December 17, 2008, 7:41am UTC](https://www.ruby-forum.com/t/validation/155762 "2008-12-17T07:41:54Z")

</div>

Hi , any one know how to order validation messages in Rails I have model , with following validation like name, email, password but when it validates ,messages appear unordered…becuase rails store validation message…

---

## [Fukuoka Ruby Award--about $10,000 for first prize](https://www.ruby-forum.com/t/fukuoka-ruby-award-about-10-000-for-first-prize/155719)

<div class="topic-metadata">

**Author:** [@fukuoka](https://www.ruby-forum.com/u/fukuoka)\
**Replies:** 3\
**Last updated:** [December 16, 2008, 5:18am UTC](https://www.ruby-forum.com/t/fukuoka-ruby-award-about-10-000-for-first-prize/155719 "2008-12-16T05:18:30Z")

</div>

I am working with the Government of Fukuoka, Japan to get the word out about the Fukuoka Ruby Award to Ruby developers in the US. It is free to apply for this award. The top prize is about $10,000. Deadline is Dece…

---

## [I am facing problem when i am running my rails app](https://www.ruby-forum.com/t/i-am-facing-problem-when-i-am-running-my-rails-app/155191)

<div class="topic-metadata">

**Author:** [@nike](https://www.ruby-forum.com/u/nike)\
**Replies:** 3\
**Last updated:** [December 9, 2008, 12:43pm UTC](https://www.ruby-forum.com/t/i-am-facing-problem-when-i-am-running-my-rails-app/155191 "2008-12-09T12:43:12Z")

</div>

hi have upgraded my version from 2.0.2 to 2.2.2.but the application which i have created from rails 2.0.2 is not getting started. Throwing ruby script/server /usr/local/lib/site\_ruby/1.8/rubygems.rb:149:in activate':…

---

## [Using a model in a library](https://www.ruby-forum.com/t/using-a-model-in-a-library/154400)

<div class="topic-metadata">

**Author:** [@clauer](https://www.ruby-forum.com/u/clauer)\
**Replies:** 3\
**Last updated:** [December 4, 2008, 4:31pm UTC](https://www.ruby-forum.com/t/using-a-model-in-a-library/154400 "2008-12-04T16:31:11Z")

</div>

Hi, I’m trying to verify that a parameter is an instance of a specific class in Rails: def schedule(action, \*args) if arg.is\_a? Aircraft … end end I’m doing this in a library class (the file is in lib/) and I get…

---

## [Direct to same page](https://www.ruby-forum.com/t/direct-to-same-page/152901)

<div class="topic-metadata">

**Author:** [@xxmithila](https://www.ruby-forum.com/u/xxmithila)\
**Replies:** 3\
**Last updated:** [November 10, 2008, 4:17pm UTC](https://www.ruby-forum.com/t/direct-to-same-page/152901 "2008-11-10T16:17:53Z")

</div>

Hi guys… I want to drict again same page after submitting values to another methode in the controller. ex:: Im in post.rhtml I submit some data to methode def mail end then I want to direct again to post.rhtml …

---

## [Activerecord :include](https://www.ruby-forum.com/t/activerecord-include/151150)

<div class="topic-metadata">

**Author:** [@hiddenhippo](https://www.ruby-forum.com/u/hiddenhippo)\
**Replies:** 3\
**Last updated:** [October 18, 2008, 1:57am UTC](https://www.ruby-forum.com/t/activerecord-include/151150 "2008-10-18T01:57:37Z")

</div>

basically I’ve got a design which has a model describing, say a folder, and within each folder I associate some notes. I’ve built my models so that a folder can have many notes, and that a note belongs to a folder. …

---

## [Using ActionWebService from PHP](https://www.ruby-forum.com/t/using-actionwebservice-from-php/146180)

<div class="topic-metadata">

**Author:** [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Replies:** 3\
**Last updated:** [August 19, 2008, 6:16pm UTC](https://www.ruby-forum.com/t/using-actionwebservice-from-php/146180 "2008-08-19T18:16:35Z")

</div>

I have an existing Rails API using ActionWebService that is used for billing. I have been given a site written in PHP that accepts billing information and now needs to submit this information to the ActionWebService A…

---

## [Sorting an array object](https://www.ruby-forum.com/t/sorting-an-array-object/146223)

<div class="topic-metadata">

**Author:** [@gandhi-tush](https://www.ruby-forum.com/u/gandhi-tush)\
**Replies:** 3\
**Last updated:** [August 19, 2008, 2:23pm UTC](https://www.ruby-forum.com/t/sorting-an-array-object/146223 "2008-08-19T14:23:43Z")

</div>

Hi, I have three mechanisms for sorting 1) First Name 2) Last Name 3) Created Date Currently, I am doing query for each type of sorting. That means I am hitting database 3 times. I want to do like this it will hit d…

---

## [Validates\_each, how to set options?](https://www.ruby-forum.com/t/validates-each-how-to-set-options/145848)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 3\
**Last updated:** [August 14, 2008, 8:04pm UTC](https://www.ruby-forum.com/t/validates-each-how-to-set-options/145848 "2008-08-14T20:04:14Z")

</div>

Hi I wrote the following validation in my model (using Rails 2.1) validates\_each :checker :do |record, attr, value| record.errors.add attr, :existing\_checkin\_out if value == 0 end , :on =\> :update, :if =\> :checker\_r…

---

## [Multiple Ferret Server support? Support for Failover?](https://www.ruby-forum.com/t/multiple-ferret-server-support-support-for-failover/144632)

<div class="topic-metadata">

**Author:** [@chubbard](https://www.ruby-forum.com/u/chubbard)\
**Replies:** 0\
**Last updated:** [July 31, 2008, 5:22pm UTC](https://www.ruby-forum.com/t/multiple-ferret-server-support-support-for-failover/144632 "2008-07-31T17:22:45Z")

</div>

I’m in an environment where we need multiple ferret servers for failover and redundancy. The problem is that ferret\_server.yml configuration file only let’s you specify a single ferret server. Is there any support f…

---

## [Fiber $B$b$I$-(B for 1.8.x](https://www.ruby-forum.com/t/fiber-b-b-i-b-for-1-8-x/142250)

<div class="topic-metadata">

**Author:** [@IWAMURO\_Motonori](https://www.ruby-forum.com/u/IWAMURO_Motonori)\
**Replies:** 3\
**Last updated:** [July 6, 2008, 2:34pm UTC](https://www.ruby-forum.com/t/fiber-b-b-i-b-for-1-8-x/142250 "2008-07-06T14:34:52Z")

</div>

å²©å®¤ã§ã™ã€‚ 1.9.0-2è¦‹ã‚‹ã¾ã§çŸ¥ã‚‰ãªã‹ã£ãŸã®ã§ã™ãŒã€Generatoræ¶ˆãˆã‚‹ã‚“ã§ã™ã­ã€‚ ã¾ã 1.8ãƒ¦ãƒ¼ã‚¶ã§ã™ãŒã€å˜ã«æ¶ˆãˆã‚‰ã‚Œã‚‹ã¨ã¡ã‚‡ã£ã¨å›°ã‚‹ã®ã§ã€callcc ã‚’ä½¿ã£ã¦1.8ã«Fiberã‚‚ã…

---

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

<div class="topic-metadata">

**Author:** [@fox](https://www.ruby-forum.com/u/fox)\
**Replies:** 3\
**Last updated:** [July 1, 2008, 3:09pm UTC](https://www.ruby-forum.com/t/help-with-threads/141806 "2008-07-01T15:09:46Z")

</div>

hi all, i’m trying to do some automated tasks with threads. Basically, my app is initialized with an input file, and an output path and some processing is done on that. I’m trying to automatically detect when the thr…

---

## [Multiple server\_name entries not working with FastCGI?](https://www.ruby-forum.com/t/multiple-server-name-entries-not-working-with-fastcgi/140096)

<div class="topic-metadata">

**Author:** [@michael](https://www.ruby-forum.com/u/michael)\
**Replies:** 3\
**Last updated:** [June 11, 2008, 11:45pm UTC](https://www.ruby-forum.com/t/multiple-server-name-entries-not-working-with-fastcgi/140096 "2008-06-11T23:45:25Z")

</div>

I probably just overlooked something in the documentation… I have the following config (sans less relevant things): server { server\_name test.domain.com test; location / { fastcgi\_pass 127.0.0.1:10001; } } If I b…

---

## [How to attached Timestamp to file in ruby](https://www.ruby-forum.com/t/how-to-attached-timestamp-to-file-in-ruby/136909)

<div class="topic-metadata">

**Author:** [@sunfish](https://www.ruby-forum.com/u/sunfish)\
**Replies:** 0\
**Last updated:** [May 7, 2008, 10:06am UTC](https://www.ruby-forum.com/t/how-to-attached-timestamp-to-file-in-ruby/136909 "2008-05-07T10:06:49Z")

</div>

please tell me a way to attached a timestamps to file name in ruby urgently!

---

## [What does the USRP transmit after I've done tx-\>stop](https://www.ruby-forum.com/t/what-does-the-usrp-transmit-after-ive-done-tx-stop/135826)

<div class="topic-metadata">

**Author:** [@Per\_Z](https://www.ruby-forum.com/u/Per_Z)\
**Replies:** 3\
**Last updated:** [April 29, 2008, 5:11pm UTC](https://www.ruby-forum.com/t/what-does-the-usrp-transmit-after-ive-done-tx-stop/135826 "2008-04-29T17:11:03Z")

</div>

Hi All, I am transmitting a stream of buffers from the USRP (based on libusrp with standard .rbf file). After I’ve done tx-\>stop (where tx is a pointer to usrp\_standard\_tx) it seems that the USRP is repeating the las…

---

## [Urgent help -----onchange is not working](https://www.ruby-forum.com/t/urgent-help-onchange-is-not-working/133787)

<div class="topic-metadata">

**Author:** [@mokkai](https://www.ruby-forum.com/u/mokkai)\
**Replies:** 3\
**Last updated:** [April 4, 2008, 7:54am UTC](https://www.ruby-forum.com/t/urgent-help-onchange-is-not-working/133787 "2008-04-04T07:54:09Z")

</div>

i am using firefox 2.0.0.6 the above html will open a a text box and button step 1: enter into box ‘aaa’ & press button ‘Click Me’ step 2: enter into box ‘aab’ & press button ‘Click Me’ step 3: now if you enter ‘a’ i…

---

## [X\_FORWARDED\_PROTO issues](https://www.ruby-forum.com/t/x-forwarded-proto-issues/133689)

<div class="topic-metadata">

**Author:** [@evronm](https://www.ruby-forum.com/u/evronm)\
**Replies:** 0\
**Last updated:** [April 2, 2008, 5:18pm UTC](https://www.ruby-forum.com/t/x-forwarded-proto-issues/133689 "2008-04-02T17:18:23Z")

</div>

Hi all - I’m having some behavior that i can’t track down and I’m not sure if this is an Apache problem, a mongrel problem or neither. Anyway - in my production setting I have two Apache 2.2 proxy servers pointing to…

---

## [Rake only works once from rails](https://www.ruby-forum.com/t/rake-only-works-once-from-rails/133044)

<div class="topic-metadata">

**Author:** [@ddancer](https://www.ruby-forum.com/u/ddancer)\
**Replies:** 3\
**Last updated:** [March 28, 2008, 10:10pm UTC](https://www.ruby-forum.com/t/rake-only-works-once-from-rails/133044 "2008-03-28T22:10:18Z")

</div>

sorry this is rails related, but I think it’s more of a Rake thing I’ve made a rake task that I’m running from my rails, and it works - but only once. If I then restart the server (mongrel) it works again - once. I …

---

## [How to save a pdf file in local](https://www.ruby-forum.com/t/how-to-save-a-pdf-file-in-local/132162)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 3\
**Last updated:** [March 21, 2008, 2:51pm UTC](https://www.ruby-forum.com/t/how-to-save-a-pdf-file-in-local/132162 "2008-03-21T14:51:18Z")

</div>

I would like to know how to save a pdf file (generated with pdf-writer) in a local folder.

---

## [Lots of duplicate row (except the id) in database](https://www.ruby-forum.com/t/lots-of-duplicate-row-except-the-id-in-database/127852)

<div class="topic-metadata">

**Author:** [@semyou](https://www.ruby-forum.com/u/semyou)\
**Replies:** 3\
**Last updated:** [February 3, 2008, 10:47pm UTC](https://www.ruby-forum.com/t/lots-of-duplicate-row-except-the-id-in-database/127852 "2008-02-03T22:47:49Z")

</div>

Hi, I have a 2 tables project and task. The task table has a foreign key on projects. Whenever, I create a new task through my view, I see my added task and a new project\_id, but my project table keeps on having dupl…

---

## [Warning when running sqlite3 with Ruby on Windows](https://www.ruby-forum.com/t/warning-when-running-sqlite3-with-ruby-on-windows/127612)

<div class="topic-metadata">

**Author:** [@eliben](https://www.ruby-forum.com/u/eliben)\
**Replies:** 3\
**Last updated:** [January 31, 2008, 11:37pm UTC](https://www.ruby-forum.com/t/warning-when-running-sqlite3-with-ruby-on-windows/127612 "2008-01-31T23:37:47Z")

</div>

Hello, I installed ruby-sqlite3 as a gem from Rubyforge to my Windows PC. I’ve also downloaded the sqlite3 DLL and placed it in the same directory with my script, for testing. This simple code: require ‘sqlite3’ db …

---

## [Regex issue](https://www.ruby-forum.com/t/regex-issue/127150)

<div class="topic-metadata">

**Author:** [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Replies:** 3\
**Last updated:** [January 25, 2008, 2:48pm UTC](https://www.ruby-forum.com/t/regex-issue/127150 "2008-01-25T14:48:39Z")

</div>

my pattern should match either import or delete However it does not seem to be working. irb(main):014:0\> pattern="(\[import\]|\[delete\])" =\> “(\[import\]|\[delete\])” irb(main):015:0\> pattern.match(“import”) =\> #MatchData:…

---

## [Environment.rb ruby path issue](https://www.ruby-forum.com/t/environment-rb-ruby-path-issue/125525)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [January 10, 2008, 6:48pm UTC](https://www.ruby-forum.com/t/environment-rb-ruby-path-issue/125525 "2008-01-10T18:48:33Z")

</div>

I’m attempting to add a path to my rails app by adding the line : config.load\_paths += %W( #{RAILS\_ROOT}/new\_path ) to my config/environments/development.rb file. For some reason rails doesn’t seem to be picking up th…

---

## [Rails Issue](https://www.ruby-forum.com/t/rails-issue/125128)

<div class="topic-metadata">

**Author:** [@blake](https://www.ruby-forum.com/u/blake)\
**Replies:** 3\
**Last updated:** [January 8, 2008, 2:04am UTC](https://www.ruby-forum.com/t/rails-issue/125128 "2008-01-08T02:04:46Z")

</div>

When doing db:migrate I got this error dyld: NSLinkModule() error dyld: Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient. 15.dylib Referenced from: /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/lib/ mysql…

---

## [Getting actionailer-2.0.2.gem error Rails 2.0.2](https://www.ruby-forum.com/t/getting-actionailer-2-0-2-gem-error-rails-2-0-2/123442)

<div class="topic-metadata">

**Author:** [@devaulw](https://www.ruby-forum.com/u/devaulw)\
**Replies:** 3\
**Last updated:** [December 17, 2007, 9:19pm UTC](https://www.ruby-forum.com/t/getting-actionailer-2-0-2-gem-error-rails-2-0-2/123442 "2007-12-17T21:19:55Z")

</div>

I noticed that while trying to update Rails 2.0.2 and I cannot update my gems. Ubuntu system: gem -v 0.9.5 rails -v 2.0.2 ruby -v 1.8.6 Leopard System: gem 0.9.5 rails 2.0.1 ruby 1.8.5 I GET THE SAME ERROR ON …

---

## [What happened to annotate\_models?](https://www.ruby-forum.com/t/what-happened-to-annotate-models/120466)

<div class="topic-metadata">

**Author:** [@Jake\_C](https://www.ruby-forum.com/u/Jake_C)\
**Replies:** 3\
**Last updated:** [November 18, 2007, 3:12am UTC](https://www.ruby-forum.com/t/what-happened-to-annotate-models/120466 "2007-11-18T03:12:14Z")

</div>

Guys, One of my favorite plugins seems to have disappeared. Has something replaced it without me realizing it? The pragprog svn repos seems to not be working any longer, unfortunately… Thanks! Jake

---

## [RedCloth startup?](https://www.ruby-forum.com/t/redcloth-startup/119503)

<div class="topic-metadata">

**Author:** [@ari\_gold](https://www.ruby-forum.com/u/ari_gold)\
**Replies:** 0\
**Last updated:** [November 7, 2007, 3:09pm UTC](https://www.ruby-forum.com/t/redcloth-startup/119503 "2007-11-07T15:09:21Z")

</div>

hello hello… as i am both developing and using my rails app on my laptop and as i shut it down at least daily (at night - to conserve energy), i had put the ruby startup server command (ruby script/server -d) in a cro…

---

## [Report generation in rails](https://www.ruby-forum.com/t/report-generation-in-rails/118257)

<div class="topic-metadata">

**Author:** [@abhi](https://www.ruby-forum.com/u/abhi)\
**Replies:** 3\
**Last updated:** [October 25, 2007, 7:47am UTC](https://www.ruby-forum.com/t/report-generation-in-rails/118257 "2007-10-25T07:47:59Z")

</div>

Hi is there any way of generating reports other than xls and pdf. I am using my sql .

---

## [Demo environment more strict than development one](https://www.ruby-forum.com/t/demo-environment-more-strict-than-development-one/114903)

<div class="topic-metadata">

**Author:** [@Karine\_D](https://www.ruby-forum.com/u/Karine_D)\
**Replies:** 3\
**Last updated:** [September 20, 2007, 9:54am UTC](https://www.ruby-forum.com/t/demo-environment-more-strict-than-development-one/114903 "2007-09-20T09:54:27Z")

</div>

Hello, I’m writing a Rails application on my home computer. I update it from time to time to a demo server. The demo server complains a lot, while I didn’t have any problems at home. Whenever I iterate over an empty …

---

## [Any way to evaluate blocks using an arbitrary Binding?](https://www.ruby-forum.com/t/any-way-to-evaluate-blocks-using-an-arbitrary-binding/113432)

<div class="topic-metadata">

**Author:** [@Kenneth\_McDonald](https://www.ruby-forum.com/u/Kenneth_McDonald)\
**Replies:** 3\
**Last updated:** [August 31, 2007, 9:08am UTC](https://www.ruby-forum.com/t/any-way-to-evaluate-blocks-using-an-arbitrary-binding/113432 "2007-08-31T09:08:42Z")

</div>

Using Kernel.eval, I can evaluate a Ruby string under an arbitrary variable Binding object. However, while I can obtain from a Proc the Binding it uses when it is evaluated, there does not seem to be any way of evalua…

---

## [Rails does it leak or not?](https://www.ruby-forum.com/t/rails-does-it-leak-or-not/112958)

<div class="topic-metadata">

**Author:** [@msantoli](https://www.ruby-forum.com/u/msantoli)\
**Replies:** 3\
**Last updated:** [August 25, 2007, 5:58am UTC](https://www.ruby-forum.com/t/rails-does-it-leak-or-not/112958 "2007-08-25T05:58:26Z")

</div>

I am having big problems with an application handling big datasets through activerecord. I need to handle about 10000 records and the memory usage of my mongrel process reaches up to 700MB. The memory is not freed wh…

---

## [USRP hardware purchase](https://www.ruby-forum.com/t/usrp-hardware-purchase/112174)

<div class="topic-metadata">

**Author:** [@LiS\_W\_David](https://www.ruby-forum.com/u/LiS_W_David)\
**Replies:** 3\
**Last updated:** [August 16, 2007, 11:27am UTC](https://www.ruby-forum.com/t/usrp-hardware-purchase/112174 "2007-08-16T11:27:39Z")

</div>

Hi, For those who have experience with the hardware, please see if my list of components is adequate for a single host. The intent is to be able to build a 802.11 (b/g) network. One USRP board package (including mot…

---

## [Howto express schema in model for one to many relationship](https://www.ruby-forum.com/t/howto-express-schema-in-model-for-one-to-many-relationship/110953)

<div class="topic-metadata">

**Author:** [@rrevo](https://www.ruby-forum.com/u/rrevo)\
**Replies:** 3\
**Last updated:** [August 2, 2007, 3:18am UTC](https://www.ruby-forum.com/t/howto-express-schema-in-model-for-one-to-many-relationship/110953 "2007-08-02T03:18:46Z")

</div>

Hi All, I’m new to Rails and was confused on how to express a model. I appreciate any help on this. The schema is as follows - CREATE TABLE ds ( id int(11) NOT NULL auto\_increment, some\_data int(11) NOT NULL, PRIM…

---

## [:join not working](https://www.ruby-forum.com/t/join-not-working/104935)

<div class="topic-metadata">

**Author:** [@dgm](https://www.ruby-forum.com/u/dgm)\
**Replies:** 3\
**Last updated:** [May 24, 2007, 4:27am UTC](https://www.ruby-forum.com/t/join-not-working/104935 "2007-05-24T04:27:47Z")

</div>

I have a table called emails and a table called codes. emails have columns email\_addr and type\_cd and codes have columns family\_name, code, code\_desc and rank. For example: –emails– email\_addr : removed\_email\_addre…

---

## [Capistrano: after\_deploy doesn't run if I deploy\_with\_migrat](https://www.ruby-forum.com/t/capistrano-after-deploy-doesnt-run-if-i-deploy-with-migrat/89059)

<div class="topic-metadata">

**Author:** [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Replies:** 3\
**Last updated:** [March 17, 2007, 3:36am UTC](https://www.ruby-forum.com/t/capistrano-after-deploy-doesnt-run-if-i-deploy-with-migrat/89059 "2007-03-17T03:36:19Z")

</div>

I’ve got an after\_deploy task in my cap script. If I cap deploy, the task executes. If I do cap deploy\_with\_migrations, it doesn’t. Do I have to define the deploy\_with\_migrations task to include this after\_deploy t…

---

## [How to create an action with two params](https://www.ruby-forum.com/t/how-to-create-an-action-with-two-params/88506)

<div class="topic-metadata">

**Author:** [@abon](https://www.ruby-forum.com/u/abon)\
**Replies:** 3\
**Last updated:** [March 12, 2007, 7:54am UTC](https://www.ruby-forum.com/t/how-to-create-an-action-with-two-params/88506 "2007-03-12T07:54:45Z")

</div>

I’m implementing an action that needs two parameters in the url like do/a/b and in the controller I would like to access a and b like params\[:id\] Please let me know if there’s any solution. THanks Abon

---

## [Jump to a particular page in pagination](https://www.ruby-forum.com/t/jump-to-a-particular-page-in-pagination/86416)

<div class="topic-metadata">

**Author:** [@rmehta](https://www.ruby-forum.com/u/rmehta)\
**Replies:** 3\
**Last updated:** [February 22, 2007, 3:01pm UTC](https://www.ruby-forum.com/t/jump-to-a-particular-page-in-pagination/86416 "2007-02-22T15:01:37Z")

</div>

Hi, On one page in my application there is a list of all the merchants that are in the system and with each merchant there is a link which takes the user to a page where the details are listed of all the merchants usi…

---

## [Functional tests broken in 1.2.2?](https://www.ruby-forum.com/t/functional-tests-broken-in-1-2-2/84966)

<div class="topic-metadata">

**Author:** [@ingoweiss](https://www.ruby-forum.com/u/ingoweiss)\
**Replies:** 3\
**Last updated:** [February 8, 2007, 11:23pm UTC](https://www.ruby-forum.com/t/functional-tests-broken-in-1-2-2/84966 "2007-02-08T23:23:10Z")

</div>

Hi, I upgraded to 1.2.2 and many of my functional tests broke. It seems like passing stuff into the session using the following syntax doesn’t work: get :index, {}, {:user\_id =\> ‘1’} In the debugger I could clearly s…

---

## [Help writing a cron job to get Flickr photos](https://www.ruby-forum.com/t/help-writing-a-cron-job-to-get-flickr-photos/84913)

<div class="topic-metadata">

**Author:** [@rph](https://www.ruby-forum.com/u/rph)\
**Replies:** 3\
**Last updated:** [February 8, 2007, 9:13pm UTC](https://www.ruby-forum.com/t/help-writing-a-cron-job-to-get-flickr-photos/84913 "2007-02-08T21:13:06Z")

</div>

I’m currently using net/http to get my flickr data and displaying it on my site. I have a method in application.rb that sets up my layout, and does this everytime the page loads. However, it was suggested to me that …

---

## [Which page an object is from](https://www.ruby-forum.com/t/which-page-an-object-is-from/81330)

<div class="topic-metadata">

**Author:** [@extempore](https://www.ruby-forum.com/u/extempore)\
**Replies:** 3\
**Last updated:** [January 8, 2007, 11:05am UTC](https://www.ruby-forum.com/t/which-page-an-object-is-from/81330 "2007-01-08T11:05:58Z")

</div>

Hi all, is it possible to figure out which page a particular object belongs to? Say i have a paginated list of 10 image objects over 5 pages, and I have a list of thumbnails along the bottom of all 10 objects. the id’…

---

## [Controller inheritance problem](https://www.ruby-forum.com/t/controller-inheritance-problem/80528)

<div class="topic-metadata">

**Author:** [@harper](https://www.ruby-forum.com/u/harper)\
**Replies:** 3\
**Last updated:** [December 31, 2006, 5:52pm UTC](https://www.ruby-forum.com/t/controller-inheritance-problem/80528 "2006-12-31T17:52:59Z")

</div>

Hi, problems with inheritance (:: issues?) i have the following two controllers: application.rb pages\_contoller.rb (PagesController \< applicationController::Base ) in the applicationcontroller, i have some methods …

---

## [Apache2 + eruby problem](https://www.ruby-forum.com/t/apache2-eruby-problem/79950)

<div class="topic-metadata">

**Author:** [@sweb](https://www.ruby-forum.com/u/sweb)\
**Replies:** 3\
**Last updated:** [December 21, 2006, 9:51am UTC](https://www.ruby-forum.com/t/apache2-eruby-problem/79950 "2006-12-21T09:51:44Z")

</div>

I can get Apache2 on Ubuntu Edgy to execute ruby (.rb) files. But I’m having trouble getting it to recognize .rhtml files. Here is the sites-available file. /etc/apache2/sites-available/www.site.local: \<VirtualHost …

---

## [Insert\_html inserting fragment twice](https://www.ruby-forum.com/t/insert-html-inserting-fragment-twice/99906)

<div class="topic-metadata">

**Author:** [@boram](https://www.ruby-forum.com/u/boram)\
**Replies:** 3\
**Last updated:** [December 17, 2006, 8:54pm UTC](https://www.ruby-forum.com/t/insert-html-inserting-fragment-twice/99906 "2006-12-17T20:54:25Z")

</div>

Has anyone had trouble with inline RJS insert\_html with the latest version of Rails? My problem is that insert\_html inserts the html fragment twice. For example, render :update do |page| page.insert\_html :top, "…

---

## [Paginato e has\_many](https://www.ruby-forum.com/t/paginato-e-has-many/77430)

<div class="topic-metadata">

**Author:** [@hpatoio](https://www.ruby-forum.com/u/hpatoio)\
**Replies:** 3\
**Last updated:** [November 28, 2006, 2:00pm UTC](https://www.ruby-forum.com/t/paginato-e-has-many/77430 "2006-11-28T14:00:54Z")

</div>

Ciao a tutti. Premetto che ho appena iniziato con Rails. Ho la classica struttura Category -\> Article class Category \< ActiveRecord::Base has\_many :articles end class Article \< ActiveRecord::Base belongs\_to :categ…

---

## [Beginner's question about passing arrays as arguments to met](https://www.ruby-forum.com/t/beginners-question-about-passing-arrays-as-arguments-to-met/75779)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [November 13, 2006, 3:57pm UTC](https://www.ruby-forum.com/t/beginners-question-about-passing-arrays-as-arguments-to-met/75779 "2006-11-13T15:57:03Z")

</div>

I am doing a little script that builds an array (called darray) of all filenames in a directory tree. I am doing this by recursively calling a method (called enter\_dir) and passing the partially filled array (called …

---

## [Caratteri specia li](https://www.ruby-forum.com/t/caratteri-specia-li/72554)

<div class="topic-metadata">

**Author:** [@d3vid](https://www.ruby-forum.com/u/d3vid)\
**Replies:** 3\
**Last updated:** [October 18, 2006, 4:04pm UTC](https://www.ruby-forum.com/t/caratteri-specia-li/72554 "2006-10-18T16:04:07Z")

</div>

Salve, visualizzando dei dati presi da un RSS, ottengo al posto dei caratteri specia li dei codici incomprensibili :slight\_smile: Esiste un metodo per ovviare al problema? Grazie mille

---

## [Ruby-lang.org suggestion](https://www.ruby-forum.com/t/ruby-lang-org-suggestion/72440)

<div class="topic-metadata">

**Author:** [@pool007](https://www.ruby-forum.com/u/pool007)\
**Replies:** 3\
**Last updated:** [October 17, 2006, 4:11pm UTC](https://www.ruby-forum.com/t/ruby-lang-org-suggestion/72440 "2006-10-17T16:11:27Z")

</div>

Hi. In the download section of ruby-lang.org, there’s a how-to about installation of Ruby. The document says: However, afaik, the recommendation way of installing ruby is using virtual package named ‘ruby’ especia…

---

## [List of Rails admin backends? What's your favorite?](https://www.ruby-forum.com/t/list-of-rails-admin-backends-whats-your-favorite/69576)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 3\
**Last updated:** [September 21, 2006, 11:53pm UTC](https://www.ruby-forum.com/t/list-of-rails-admin-backends-whats-your-favorite/69576 "2006-09-21T23:53:36Z")

</div>

As I tire of coding yet another admin backend, does anybody use a pre-made one? What’s your favorite? Here’s a list I’ve come up with: Streamlined http://streamlined.relevancellc.com/ AJAX Scaffold http://www.height…

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

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