# Top

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

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

---

## [Building Ruby on Solaris 10 with OpenSSL, for Rails... problem](https://www.ruby-forum.com/t/building-ruby-on-solaris-10-with-openssl-for-rails-problem/137666)

<div class="topic-metadata">

**Author:** [@michael\_teter](https://www.ruby-forum.com/u/michael_teter)\
**Replies:** 2\
**Last updated:** [May 15, 2008, 5:35am UTC](https://www.ruby-forum.com/t/building-ruby-on-solaris-10-with-openssl-for-rails-problem/137666 "2008-05-15T05:35:29Z")

</div>

Howdy. I’ve built Ruby, RubyGems, installed Rails and Oracle adapter, etc. However, when I try to start script/server, I get the following error: $ ruby script/server =\> Booting WEBrick… /opt/home/lsadmin/ruby/lib/r…

---

## [Setting Focus on Console Window](https://www.ruby-forum.com/t/setting-focus-on-console-window/131528)

<div class="topic-metadata">

**Author:** [@hiriumi](https://www.ruby-forum.com/u/hiriumi)\
**Replies:** 2\
**Last updated:** [March 26, 2008, 12:27am UTC](https://www.ruby-forum.com/t/setting-focus-on-console-window/131528 "2008-03-26T00:27:47Z")

</div>

Hello, I’m having an issue with having a focus on the Ruby invoked console window on Windows platform when I start the process from one of the Scheduled Tasks. I have a Ruby script that gets kicked off by Scheduled T…

---

## [Has\_many :through aggregation](https://www.ruby-forum.com/t/has-many-through-aggregation/132299)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [March 19, 2008, 12:31am UTC](https://www.ruby-forum.com/t/has-many-through-aggregation/132299 "2008-03-19T00:31:43Z")

</div>

Hello there, I’m trying to figure out a way to use the has\_many :through option to aggregate collections in a specific way. Here’s an example of the issue I’m trying to address: create\_table :companies do |t| t.int…

---

## [IronRuby on rails - A comment posted on Rob Connery's Blog](https://www.ruby-forum.com/t/ironruby-on-rails-a-comment-posted-on-rob-connerys-blog/124173)

<div class="topic-metadata">

**Author:** [@myreply](https://www.ruby-forum.com/u/myreply)\
**Replies:** 2\
**Last updated:** [December 28, 2007, 3:43am UTC](https://www.ruby-forum.com/t/ironruby-on-rails-a-comment-posted-on-rob-connerys-blog/124173 "2007-12-28T03:43:11Z")

</div>

Hi, I just found this comment on " Rob Conery’s " Blog about SubSonic and the future of MVC . I am pasting as it is. Hi Rob, Very good informative blog indeed. I am curious to know one step ahead, since after few…

---

## [STDOUT is nil when rake task is run via cron](https://www.ruby-forum.com/t/stdout-is-nil-when-rake-task-is-run-via-cron/121859)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 2\
**Last updated:** [December 18, 2007, 8:56pm UTC](https://www.ruby-forum.com/t/stdout-is-nil-when-rake-task-is-run-via-cron/121859 "2007-12-18T20:56:02Z")

</div>

I have a simple rake script which looks like this task :test =\> :environment do response = %x{date} puts 1 puts response puts 2 end When I run this directly from the command line, I get the correct output. Howev…

---

## [Checklist for production deployment?](https://www.ruby-forum.com/t/checklist-for-production-deployment/121359)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 2\
**Last updated:** [November 27, 2007, 11:04am UTC](https://www.ruby-forum.com/t/checklist-for-production-deployment/121359 "2007-11-27T11:04:12Z")

</div>

Here is my checklist for deployment in production mode. I do everything on this list, but my app still refuses to run in production mode. Does anybody know what I’m missing? “mongrel\_rails start -d -e production -p …

---

## [\[ERROR\] while trying to create root page](https://www.ruby-forum.com/t/error-while-trying-to-create-root-page/105897)

<div class="topic-metadata">

**Author:** [@Aitor\_Garay-Romero](https://www.ruby-forum.com/u/Aitor_Garay-Romero)\
**Replies:** 2\
**Last updated:** [June 4, 2007, 9:50pm UTC](https://www.ruby-forum.com/t/error-while-trying-to-create-root-page/105897 "2007-06-04T21:50:16Z")

</div>

Hi there!, I'm new to Radiant and i'm getting an error while trying to create the first page of a site. Details from production.log follow. Someone knows what’s going on? Running Radiant 0.6.1 (from gems) on Debian …

---

## [Radiant + Wiki](https://www.ruby-forum.com/t/radiant-wiki/88789)

<div class="topic-metadata">

**Author:** [@Giovanni\_I](https://www.ruby-forum.com/u/Giovanni_I)\
**Replies:** 2\
**Last updated:** [March 14, 2007, 2:10pm UTC](https://www.ruby-forum.com/t/radiant-wiki/88789 "2007-03-14T14:10:51Z")

</div>

What is the best way you have seen to integrate a wiki on a radiant site? I was thinking about putting the wiki in a subdirectory and making an extension that helps making links to the wiki. Is this a correct path?

---

## [Code Highlighter Plugin and Textile?](https://www.ruby-forum.com/t/code-highlighter-plugin-and-textile/74949)

<div class="topic-metadata">

**Author:** [@le\_colibri](https://www.ruby-forum.com/u/le_colibri)\
**Replies:** 2\
**Last updated:** [November 7, 2006, 11:03am UTC](https://www.ruby-forum.com/t/code-highlighter-plugin-and-textile/74949 "2006-11-07T11:03:50Z")

</div>

\-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear Rubies, Did any of you try to use the beautiful Code Highlighter Plugin by Sean C. in a post that uses the textile filter? The result I get is ruby code converted i…

---

## [HABTM: Find sorted by number of associations](https://www.ruby-forum.com/t/habtm-find-sorted-by-number-of-associations/59510)

<div class="topic-metadata">

**Author:** [@blewis](https://www.ruby-forum.com/u/blewis)\
**Replies:** 2\
**Last updated:** [August 3, 2006, 6:06pm UTC](https://www.ruby-forum.com/t/habtm-find-sorted-by-number-of-associations/59510 "2006-08-03T18:06:19Z")

</div>

Hi, I’ve been googling and searching the forums for some time but can’t seem to find exactly what I’m looking for. Suppose User HABTM Products (for example a favorites list). I would like to construct a single qu…

---

## [Optimization tweak . Using fork as a "mark" and "release" he](https://www.ruby-forum.com/t/optimization-tweak-using-fork-as-a-mark-and-release-he/56215)

<div class="topic-metadata">

**Author:** [@amin1426](https://www.ruby-forum.com/u/amin1426)\
**Replies:** 2\
**Last updated:** [March 29, 2006, 8:43am UTC](https://www.ruby-forum.com/t/optimization-tweak-using-fork-as-a-mark-and-release-he/56215 "2006-03-29T08:43:02Z")

</div>

Some old Pascal implementations had (and I think some still do) had a facility to “mark” the heap, and then at some point “release” all items allocated after that mark. Here is a nifty way of doing the same (and more!…

---

## [Switching theme support in Typo to Liquid?](https://www.ruby-forum.com/t/switching-theme-support-in-typo-to-liquid/82668)

<div class="topic-metadata">

**Author:** [@seanmctex](https://www.ruby-forum.com/u/seanmctex)\
**Replies:** 2\
**Last updated:** [March 17, 2006, 6:15am UTC](https://www.ruby-forum.com/t/switching-theme-support-in-typo-to-liquid/82668 "2006-03-17T06:15:12Z")

</div>

Has anyone investigated the amount of work required to switch the theme support in Typo to Liquid (http://home.leetsoft.com/liquid)? I realize there are a large number of themes out there which Typo would like to con…

---

## [Ruby-mode in emacs](https://www.ruby-forum.com/t/ruby-mode-in-emacs/101177)

<div class="topic-metadata">

**Author:** [@Human\_D](https://www.ruby-forum.com/u/Human_D)\
**Replies:** 2\
**Last updated:** [February 15, 2006, 6:36am UTC](https://www.ruby-forum.com/t/ruby-mode-in-emacs/101177 "2006-02-15T06:36:00Z")

</div>

Hi, I’m new to emacs, just bought a book and started my way into it. How could I enable ruby-mode in emacs? I copied all 4 \*.el files to C:\\emacs-21.3\\lisp\\progmodes, and enabled global font lock (through the menu) …

---

## [New View Example With Child Object?](https://www.ruby-forum.com/t/new-view-example-with-child-object/61361)

<div class="topic-metadata">

**Author:** [@dstocks](https://www.ruby-forum.com/u/dstocks)\
**Replies:** 2\
**Last updated:** [January 17, 2006, 3:07am UTC](https://www.ruby-forum.com/t/new-view-example-with-child-object/61361 "2006-01-17T03:07:34Z")

</div>

Could somebody point me to some example code? This must be simple, I just can’t find any examples. I need a new view (new.rhtml) to include the creation of a child object. I have a table for servers (Servers) and a…

---

## [File\_column problem](https://www.ruby-forum.com/t/file-column-problem/50139)

<div class="topic-metadata">

**Author:** [@Andrew\_VanSpronsen](https://www.ruby-forum.com/u/Andrew_VanSpronsen)\
**Replies:** 2\
**Last updated:** [December 13, 2005, 5:14pm UTC](https://www.ruby-forum.com/t/file-column-problem/50139 "2005-12-13T17:14:43Z")

</div>

Hello all, I get the message below when I try to use the file\_column plugin in my app to upload files. I have followed the instructions on the file\_column website and the RoR rails wiki with no luck. Any ideas? I w…

---

## [Cant Connect to Localhost for my existing project](https://www.ruby-forum.com/t/cant-connect-to-localhost-for-my-existing-project/244703)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [May 30, 2016, 2:34pm UTC](https://www.ruby-forum.com/t/cant-connect-to-localhost-for-my-existing-project/244703 "2016-05-30T14:34:17Z")

</div>

Hi , This has been a daunting task . One i type ‘rails s’ on my console i get no error … but doesn’t reflect on localhost:3000 on any of my browsers. Also the problem is only with my existing project , if i create a…

---

## [Proxy\_redirect not working with "refresh"](https://www.ruby-forum.com/t/proxy-redirect-not-working-with-refresh/241784)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [April 30, 2015, 10:11am UTC](https://www.ruby-forum.com/t/proxy-redirect-not-working-with-refresh/241784 "2015-04-30T10:11:38Z")

</div>

http://nginx.org/en/docs/http/ngx\_http\_proxy\_module.html#proxy\_redirect says: “(proxy\_redirect) Sets the text that should be changed in the “Location” and “Refresh” header fields of a proxied server response.” All ex…

---

## [Dependee is newer than depender gr-3.7.7 verbose build (harmless?)](https://www.ruby-forum.com/t/dependee-is-newer-than-depender-gr-3-7-7-verbose-build-harmless/241669)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 1\
**Last updated:** [April 24, 2015, 3:21am UTC](https://www.ruby-forum.com/t/dependee-is-newer-than-depender-gr-3-7-7-verbose-build-harmless/241669 "2015-04-24T03:21:45Z")

</div>

Greetings These messages appeared when running “make V=1 VERBOSE=1” on a checkout of v3.7.7 in ubuntu 14.04 x86\_64. The build ran OK - not sure how serious it is; I’m posting in case anyone finds it interesting… Be…

---

## [\[JOBS\] Front End Work - CSS/SAAS/HAML/RAILS](https://www.ruby-forum.com/t/jobs-front-end-work-css-saas-haml-rails/230754)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 1\
**Last updated:** [July 2, 2014, 7:52pm UTC](https://www.ruby-forum.com/t/jobs-front-end-work-css-saas-haml-rails/230754 "2014-07-02T19:52:05Z")

</div>

Hi All, I’m looking for strong support in CSS/HAML/RAILS/SAAS. Need some PSD’s broken down - have some excellent creative work done and custom fonts. Should understand ruby on rails asset pipeline and if possible he…

---

## [PHP to Ruby Conversion](https://www.ruby-forum.com/t/php-to-ruby-conversion/230563)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [June 24, 2014, 8:06pm UTC](https://www.ruby-forum.com/t/php-to-ruby-conversion/230563 "2014-06-24T20:06:11Z")

</div>

I am interested in learning ruby for web development. I was looking into ruby on rails, but on my PHP code i wrote a very simple template engine available here: https://github.com/Aleeious/AleeiousMMO/blob/master/libs…

---

## [ValueError: operands could not be broadcast together with shapes (4095) (4081)](https://www.ruby-forum.com/t/valueerror-operands-could-not-be-broadcast-together-with-shapes-4095-4081/238963)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 1\
**Last updated:** [February 6, 2014, 11:20am UTC](https://www.ruby-forum.com/t/valueerror-operands-could-not-be-broadcast-together-with-shapes-4095-4081/238963 "2014-02-06T11:20:12Z")

</div>

Hi everybody, I am also facing this problem. I am running a GMSK modulation and sometimes I get the error: Exception in thread Thread-915: Traceback (most recent call last): File “/usr/lib/python2.7/threading.py”, …

---

## [Re: Ricerca di Sviluppatore Senior per progetto a lungo termine](https://www.ruby-forum.com/t/re-ricerca-di-sviluppatore-senior-per-progetto-a-lungo-termine/226733)

<div class="topic-metadata">

**Author:** [@Nicholas\_W](https://www.ruby-forum.com/u/Nicholas_W)\
**Replies:** 1\
**Last updated:** [February 20, 2013, 11:54am UTC](https://www.ruby-forum.com/t/re-ricerca-di-sviluppatore-senior-per-progetto-a-lungo-termine/226733 "2013-02-20T11:54:53Z")

</div>

Ciao, ho trovato il tuo contatto sulla ML Ruby. Sarei interessato alla posizione. Il mio CV: http://nofeed.org/assets/ngw-resume.pdf Negli ultimi mesi ho lavorato per una startup qui a Milano, full time, sempre RoR +…

---

## [AssetNotPrecompiledError for missing assets - really?](https://www.ruby-forum.com/t/assetnotprecompilederror-for-missing-assets-really/216204)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [January 29, 2012, 8:04pm UTC](https://www.ruby-forum.com/t/assetnotprecompilederror-for-missing-assets-really/216204 "2012-01-29T20:04:14Z")

</div>

I migrated one of my projects to from Rails 3.0 to 3.2.1 which means I’m using the asset pipeline for the first time. As much as I like the ease of compressing and minifying my assets the more I’m annoyed about its be…

---

## [Pubblicazione App Web RoR su Spazio Web](https://www.ruby-forum.com/t/pubblicazione-app-web-ror-su-spazio-web/213338)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 1\
**Last updated:** [October 30, 2011, 11:20pm UTC](https://www.ruby-forum.com/t/pubblicazione-app-web-ror-su-spazio-web/213338 "2011-10-30T23:20:20Z")

</div>

Buonasera, sono Nando e da pochissimo che mi sono avvicinato a Ruby on Rails. Ho realizzato una piccola applicazione con l’ausilio di un database sql e ora vorrei pubblicare su uno spazio web. Quindi vi chiedo quali s…

---

## [Lua: ngx.location.capture / limit proxy\_cache individual file size](https://www.ruby-forum.com/t/lua-ngx-location-capture-limit-proxy-cache-individual-file-size/207167)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 1\
**Last updated:** [May 20, 2011, 8:52am UTC](https://www.ruby-forum.com/t/lua-ngx-location-capture-limit-proxy-cache-individual-file-size/207167 "2011-05-20T08:52:08Z")

</div>

Hi Is it possible to do a version of ngx.location.capture that only does a HEAD request rather than GET? I’m only interested in the headers returned, the body would make what I’m trying to do pointless :frowning: Al…

---

## [Multiple (possibly load-balanced) PHP FastCGI Upstream?](https://www.ruby-forum.com/t/multiple-possibly-load-balanced-php-fastcgi-upstream/177526)

<div class="topic-metadata">

**Author:** [@Arie\_Karhendana](https://www.ruby-forum.com/u/Arie_Karhendana)\
**Replies:** 1\
**Last updated:** [October 19, 2009, 8:09pm UTC](https://www.ruby-forum.com/t/multiple-possibly-load-balanced-php-fastcgi-upstream/177526 "2009-10-19T20:09:18Z")

</div>

Hello all, I’m a happy user of nginx + PHP FastCGI. Currently, nginx and PHP FastCGI processes run on different hosts. We’re reaching a point where PHP backend become the main bottleneck. Can nginx handle the scenari…

---

## [Re: extending gr-trellis to perform Viterbi, MLSD on	GMSK](https://www.ruby-forum.com/t/re-extending-gr-trellis-to-perform-viterbi-mlsd-on-gmsk/159374)

<div class="topic-metadata">

**Author:** [@Achilleas\_A](https://www.ruby-forum.com/u/Achilleas_A)\
**Replies:** 1\
**Last updated:** [February 11, 2009, 10:20am UTC](https://www.ruby-forum.com/t/re-extending-gr-trellis-to-perform-viterbi-mlsd-on-gmsk/159374 "2009-02-11T10:20:47Z")

</div>

Nick, there is no change required in the modules that perform viterbi decoding in order to implement either MLSD in ISI or (coherent) GMSK demod. The whole idea around gr-trellis was to disentangle the trellis aspect …

---

## [ERROR: no driver for sqlite3 found (Ruby 1.9.0 + Windows)](https://www.ruby-forum.com/t/error-no-driver-for-sqlite3-found-ruby-1-9-0-windows/156143)

<div class="topic-metadata">

**Author:** [@nachocab](https://www.ruby-forum.com/u/nachocab)\
**Replies:** 1\
**Last updated:** [December 22, 2008, 9:45am UTC](https://www.ruby-forum.com/t/error-no-driver-for-sqlite3-found-ruby-1-9-0-windows/156143 "2008-12-22T09:45:38Z")

</div>

Hi everyone, I’m getting this error after I upgraded Ruby from 1.8 to 1.9.0 and it’s driving me crazy: “no driver for sqlite3 found” If I do an irb: irb(main):001:0\> require ‘sqlite3’ =\> true irb(main):002:0\> SQLi…

---

## [Float to\_s behavior](https://www.ruby-forum.com/t/float-to-s-behavior/146710)

<div class="topic-metadata">

**Author:** [@Svend\_Haugaard\_SSSS](https://www.ruby-forum.com/u/Svend_Haugaard_SSSS)\
**Replies:** 1\
**Last updated:** [August 24, 2008, 3:13pm UTC](https://www.ruby-forum.com/t/float-to-s-behavior/146710 "2008-08-24T15:13:34Z")

</div>

Does wxruby change the behavior of to\_s for float ? If I run this little program a = \[1.23,4.56,7.89\] puts a.join(’ ') I get the following output 1.23 4.56 7.89 As your would expect, but if I add it to a program th…

---

## [Why is authenticate\_with\_http\_basic undefined?](https://www.ruby-forum.com/t/why-is-authenticate-with-http-basic-undefined/122826)

<div class="topic-metadata">

**Author:** [@Kei\_Simone](https://www.ruby-forum.com/u/Kei_Simone)\
**Replies:** 1\
**Last updated:** [December 12, 2007, 6:27pm UTC](https://www.ruby-forum.com/t/why-is-authenticate-with-http-basic-undefined/122826 "2007-12-12T18:27:46Z")

</div>

Hi, i used the rick olson’s restful\_authentication plugin rails 1.2.6 i wanted to check for authenticated user so i wrote this in my application.rb Filters before\_filter :authenticate Sets @authenticated\_user if …

---

## [Problema con relacion e tablas](https://www.ruby-forum.com/t/problema-con-relacion-e-tablas/117856)

<div class="topic-metadata">

**Author:** [@miguel](https://www.ruby-forum.com/u/miguel)\
**Replies:** 1\
**Last updated:** [October 23, 2007, 12:37am UTC](https://www.ruby-forum.com/t/problema-con-relacion-e-tablas/117856 "2007-10-23T00:37:31Z")

</div>

Hola tengo un pequeÃ±o problema de relacion de tablas. verÃ¡n tengo dos tablas, “usuarios\_artista” y “diseno\_catalogo” class DisenoCatalogo \< ActiveRecord::Base set\_table\_name ‘diseno\_catalogo’ belongs\_to :usuarios\_a…

---

## [Catch MYSQL errors](https://www.ruby-forum.com/t/catch-mysql-errors/82579)

<div class="topic-metadata">

**Author:** [@Serdar\_KSSSSlSSSSSS](https://www.ruby-forum.com/u/Serdar_KSSSSlSSSSSS)\
**Replies:** 1\
**Last updated:** [September 25, 2007, 10:48pm UTC](https://www.ruby-forum.com/t/catch-mysql-errors/82579 "2007-09-25T22:48:51Z")

</div>

Hello, How does one go about catching db errors, such as: Mysql::Error in BlogController#index Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2) I’d rather render the error in my own layout (I…

---

## [Per ora \[ot\]](https://www.ruby-forum.com/t/per-ora-ot/106820)

<div class="topic-metadata">

**Author:** [@Massimiliano\_Balest](https://www.ruby-forum.com/u/Massimiliano_Balest)\
**Replies:** 1\
**Last updated:** [June 14, 2007, 12:52pm UTC](https://www.ruby-forum.com/t/per-ora-ot/106820 "2007-06-14T12:52:10Z")

</div>

ciao a tutti, avevo scritto giorni fa per una sorta di libreria da programmare. intendevo rendere partecipi tutti coloro che volevano fare qualche esercizio… discussioni precedenti, cmq passo al nocciolo. appena fini…

---

## [FXTable](https://www.ruby-forum.com/t/fxtable/87697)

<div class="topic-metadata">

**Author:** [@jabe](https://www.ruby-forum.com/u/jabe)\
**Replies:** 1\
**Last updated:** [March 5, 2007, 4:35pm UTC](https://www.ruby-forum.com/t/fxtable/87697 "2007-03-05T16:35:53Z")

</div>

when I use an FXTable in an FxRuby-Application, an random-crash (often after some minutes) occurs Code (cyclic refresh-method): def onUpdMode(sender, sel, ptr) if(@table.numRows \< 10) @table.appendRows(2) else @ta…

---

## [Salted\_password() in php](https://www.ruby-forum.com/t/salted-password-in-php/63184)

<div class="topic-metadata">

**Author:** [@Chris\_Fortune](https://www.ruby-forum.com/u/Chris_Fortune)\
**Replies:** 1\
**Last updated:** [June 13, 2006, 7:07pm UTC](https://www.ruby-forum.com/t/salted-password-in-php/63184 "2006-06-13T19:07:56Z")

</div>

Hello, I’m trying to implement a php version of the ruby hashed() and salted\_password() functions in /vendor/plugins/login\_engine/lib/login\_engine/authenticated\_user.rb def self.hashed(str) # check if a salt ha…

---

## [Working with two arrays](https://www.ruby-forum.com/t/working-with-two-arrays/220945)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [June 26, 2012, 11:32am UTC](https://www.ruby-forum.com/t/working-with-two-arrays/220945 "2012-06-26T11:32:01Z")

</div>

What method could I use to do the following: people = \[“person1”,“person2”,“person3”\] issue = \[“issue1”,“issue2”,“issue3”,“issue4”,“issue5”,“issue6”\] person1 =\> issue1 person2 =\> issue2 person3 =\> issue3 person1 =\> …

---

## [Where is the Rails-way to place view that is not related to any specific controller?](https://www.ruby-forum.com/t/where-is-the-rails-way-to-place-view-that-is-not-related-to-any-specific-controller/210541)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [August 10, 2011, 10:53pm UTC](https://www.ruby-forum.com/t/where-is-the-rails-way-to-place-view-that-is-not-related-to-any-specific-controller/210541 "2011-08-10T22:53:56Z")

</div>

Well, I have a “sidebar” in a website that is rendered inside the main layout. What I want to do is to put the sidebar in a separated file and then call = render :partial =\> “sidebar.html.haml” Just to have them in s…

---

## [Bootstrapping test database?](https://www.ruby-forum.com/t/bootstrapping-test-database/196197)

<div class="topic-metadata">

**Author:** [@alex](https://www.ruby-forum.com/u/alex)\
**Replies:** 6\
**Last updated:** [October 10, 2010, 9:57pm UTC](https://www.ruby-forum.com/t/bootstrapping-test-database/196197 "2010-10-10T21:57:46Z")

</div>

With Rails 2.3.x there was a rake task “rake db:test:clone” that I used to use all the time in order to clone the development DB for use with testing. However I can’t seem to find that test with Rails 3.0. How is ev…

---

## [Find Last Errors](https://www.ruby-forum.com/t/find-last-errors/185010)

<div class="topic-metadata">

**Author:** [@kampers](https://www.ruby-forum.com/u/kampers)\
**Replies:** 6\
**Last updated:** [March 11, 2010, 11:07pm UTC](https://www.ruby-forum.com/t/find-last-errors/185010 "2010-03-11T23:07:15Z")

</div>

Hi guys: This is driving me crazy. Can someone please point me in the right direction: I’m trying to get the last record from my table. Every time I do this, it tells me there is no method, other than id. theconditio…

---

## [Share a subroutine with all controllers](https://www.ruby-forum.com/t/share-a-subroutine-with-all-controllers/180370)

<div class="topic-metadata">

**Author:** [@softwarewin](https://www.ruby-forum.com/u/softwarewin)\
**Replies:** 6\
**Last updated:** [December 19, 2009, 12:32am UTC](https://www.ruby-forum.com/t/share-a-subroutine-with-all-controllers/180370 "2009-12-19T00:32:16Z")

</div>

Hi, I would like to create a subroutine to use in all my admin\_controller. Actuall in my admin\_controller I have: def acronym\_guide … @guide.description=@guide.description.gsub(/ PPC /," \<acronym title=#{34.chr}Poc…

---

## [Unknown directive "env"](https://www.ruby-forum.com/t/unknown-directive-env/175565)

<div class="topic-metadata">

**Author:** [@myschizobuddy](https://www.ruby-forum.com/u/myschizobuddy)\
**Replies:** 6\
**Last updated:** [September 17, 2009, 7:10am UTC](https://www.ruby-forum.com/t/unknown-directive-env/175565 "2009-09-17T07:10:54Z")

</div>

Where does the env directive go. I’m using it under the Server scope

---

## [Fastcgi problem](https://www.ruby-forum.com/t/fastcgi-problem/160950)

<div class="topic-metadata">

**Author:** [@Paul\_van\_der\_Linden](https://www.ruby-forum.com/u/Paul_van_der_Linden)\
**Replies:** 6\
**Last updated:** [February 23, 2009, 2:13pm UTC](https://www.ruby-forum.com/t/fastcgi-problem/160950 "2009-02-23T14:13:04Z")

</div>

I was trying to install moin on fastcgi with nginx. The problem is I only see the front page of the moin wiki, and any other url don’t seem to make its way through nginx to the fastcgi process. It just displays the de…

---

## [Regexp multiple matches](https://www.ruby-forum.com/t/regexp-multiple-matches/158817)

<div class="topic-metadata">

**Author:** [@micktaiwan](https://www.ruby-forum.com/u/micktaiwan)\
**Replies:** 6\
**Last updated:** [January 28, 2009, 5:26pm UTC](https://www.ruby-forum.com/t/regexp-multiple-matches/158817 "2009-01-28T17:26:36Z")

</div>

Hi, /(\\d+),(\\d+)(;(\\d+),(\\d+))\*/ This regexp matches are: 0: (5,1;5,7;3,2) 1: (5) 2: (1) 3: (;3,2) 4: (3) 5: (2) My question is why ;5,7 is not matched ? Thanks, Mickael.

---

## [Hampton's Ruby Survey 2008](https://www.ruby-forum.com/t/hamptons-ruby-survey-2008/144468)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [July 30, 2008, 6:29pm UTC](https://www.ruby-forum.com/t/hamptons-ruby-survey-2008/144468 "2008-07-30T18:29:52Z")

</div>

if you have a minute, i’d really appreciate people taking my survey! http://survey.hamptoncatlin.com -hampton.

---

## [Validations without save](https://www.ruby-forum.com/t/validations-without-save/142212)

<div class="topic-metadata">

**Author:** [@mitch\_newbie](https://www.ruby-forum.com/u/mitch_newbie)\
**Replies:** 6\
**Last updated:** [July 4, 2008, 6:56pm UTC](https://www.ruby-forum.com/t/validations-without-save/142212 "2008-07-04T18:56:18Z")

</div>

the validates\_format and other validations are called when the .save function is called on an object. If I want the validations to be called without saving is there a way to do this? Do I user .create? Thank you in …

---

## [Work out what are the included associations?](https://www.ruby-forum.com/t/work-out-what-are-the-included-associations/136526)

<div class="topic-metadata">

**Author:** [@alexmic](https://www.ruby-forum.com/u/alexmic)\
**Replies:** 6\
**Last updated:** [May 5, 2008, 3:41am UTC](https://www.ruby-forum.com/t/work-out-what-are-the-included-associations/136526 "2008-05-05T03:41:54Z")

</div>

I have a person model: Person has\_many :phone\_numbers has\_one :address has\_many :email\_addresses When I do the query: people = Person.find(52, :include =\> \[:address\], :limit =\> 10) How can I work out which associa…

---

## [Validate 2 models in 1 form?](https://www.ruby-forum.com/t/validate-2-models-in-1-form/131203)

<div class="topic-metadata">

**Author:** [@pood](https://www.ruby-forum.com/u/pood)\
**Replies:** 6\
**Last updated:** [March 7, 2008, 1:20am UTC](https://www.ruby-forum.com/t/validate-2-models-in-1-form/131203 "2008-03-07T01:20:48Z")

</div>

I have 2 models, an artist and song model I have the validates\_presence\_of on each of the models (for checking title, artist name, and etc). They validate fine when you add items on their own controller (1 form for ea…

---

## [Post\_to\_static](https://www.ruby-forum.com/t/post-to-static/129880)

<div class="topic-metadata">

**Author:** [@imixaly4](https://www.ruby-forum.com/u/imixaly4)\
**Replies:** 6\
**Last updated:** [February 25, 2008, 3:01am UTC](https://www.ruby-forum.com/t/post-to-static/129880 "2008-02-25T03:01:22Z")

</div>

I’m going to commit capability to POST to static files, however, I’m not sure about directive name: post\_to\_static on|off static\_post on|off Are other variants ?

---

## [Regular Expressions](https://www.ruby-forum.com/t/regular-expressions/114939)

<div class="topic-metadata">

**Author:** [@Acroterra](https://www.ruby-forum.com/u/Acroterra)\
**Replies:** 6\
**Last updated:** [September 19, 2007, 12:47pm UTC](https://www.ruby-forum.com/t/regular-expressions/114939 "2007-09-19T12:47:34Z")

</div>

I am having a really simple problem with regular expressions and Rails. I need to validate that input is a number or only digits. I using this: validates\_format\_of :po\_box, :with =\> /\\d\*/, :message =\> “PO Box must b…

---

## [Attachment\_fu file deletion](https://www.ruby-forum.com/t/attachment-fu-file-deletion/107961)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [June 28, 2007, 1:51am UTC](https://www.ruby-forum.com/t/attachment-fu-file-deletion/107961 "2007-06-28T01:51:10Z")

</div>

I was wondering if there was a built in function for deleting non-image files?

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

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