# Top

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

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

---

## [RSpec and Rake](https://www.ruby-forum.com/t/rspec-and-rake/207576)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 2\
**Last updated:** [May 28, 2011, 4:45pm UTC](https://www.ruby-forum.com/t/rspec-and-rake/207576 "2011-05-28T16:45:05Z")

</div>

Guys, Just upgraded to rspec / rspec-rails 2.6 today and noticed that it pulled in rake 0.9.0 which was causing the rails 3.0.7 tasks to blowup. I’ve downgraded rake to 0.8.7. Are there any ‘side-effects’ that may i…

---

## [HTML snapshots for crawlable ajax](https://www.ruby-forum.com/t/html-snapshots-for-crawlable-ajax/207047)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [May 18, 2011, 2:13pm UTC](https://www.ruby-forum.com/t/html-snapshots-for-crawlable-ajax/207047 "2011-05-18T14:13:05Z")

</div>

Hi, There doesn’t seem to be any reference for taking HTML snapshots from within a Rails server. I wonder how one could implement Google’s crawlable AJAX spec (Understand JavaScript SEO Basics | Google Search Centra…

---

## [How do you a new inflection rule in Rails 3?](https://www.ruby-forum.com/t/how-do-you-a-new-inflection-rule-in-rails-3/203579)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [February 23, 2011, 9:44am UTC](https://www.ruby-forum.com/t/how-do-you-a-new-inflection-rule-in-rails-3/203579 "2011-02-23T09:44:57Z")

</div>

Hi, I’m trying to implement dehumanize method in Rails 3. Basically what this post does: Here: module ActiveSupport::Inflector does the opposite of humanize… mostly. Basically does a space-substituting .underscor…

---

## [To\_date Error](https://www.ruby-forum.com/t/to-date-error/199112)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 2\
**Last updated:** [November 15, 2010, 2:42pm UTC](https://www.ruby-forum.com/t/to-date-error/199112 "2010-11-15T14:42:32Z")

</div>

Hi, After a ruby upgrade I have an error with to\_date. C:\>ruby Test\_todate.rb Test\_todate.rb:7:in \<main\>': undefined methodto\_date’ for “2011-01-01”:String (NoMethodError) Any advice ? code is here require ‘rubygem…

---

## [Question on redundant nginx reverse proxy setup](https://www.ruby-forum.com/t/question-on-redundant-nginx-reverse-proxy-setup/197800)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [October 20, 2010, 2:07pm UTC](https://www.ruby-forum.com/t/question-on-redundant-nginx-reverse-proxy-setup/197800 "2010-10-20T14:07:11Z")

</div>

Hi, I’m planning to set up this environment: ±------------+ ±------------+ | ISP1 | | ISP2 | ±------------+ ±------------+ | | ±------…

---

## [HP-UX (IA64) download file only 64k](https://www.ruby-forum.com/t/hp-ux-ia64-download-file-only-64k/190940)

<div class="topic-metadata">

**Author:** [@cauherk](https://www.ruby-forum.com/u/cauherk)\
**Replies:** 2\
**Last updated:** [July 3, 2010, 7:33pm UTC](https://www.ruby-forum.com/t/hp-ux-ia64-download-file-only-64k/190940 "2010-07-03T19:33:48Z")

</div>

nginx nginx-0.7.62 OS HP-UX B.11.31 U ia64 gcc hp-gcc-4.4.3 when a file bigger than 64K , download the file just only 64k. The error.log contains \[alert\] 8222#0: \*6 writev() failed (246: Operati…

---

## [Cannot start Rails 2.3.4 app with Passenger](https://www.ruby-forum.com/t/cannot-start-rails-2-3-4-app-with-passenger/189099)

<div class="topic-metadata">

**Author:** [@chrismalek](https://www.ruby-forum.com/u/chrismalek)\
**Replies:** 2\
**Last updated:** [May 24, 2010, 9:02pm UTC](https://www.ruby-forum.com/t/cannot-start-rails-2-3-4-app-with-passenger/189099 "2010-05-24T21:02:15Z")

</div>

I’m having a heck of a time trying to get my app to start. What is odd is that I had a Rails 2.0.2 app running on the same server. I upgraded everything and the app works great in development with Rails 2.3.5. I’m g…

---

## [HtmlEasyPrinting footer](https://www.ruby-forum.com/t/htmleasyprinting-footer/161416)

<div class="topic-metadata">

**Author:** [@biospank](https://www.ruby-forum.com/u/biospank)\
**Replies:** 2\
**Last updated:** [February 26, 2009, 9:42pm UTC](https://www.ruby-forum.com/t/htmleasyprinting-footer/161416 "2009-02-26T21:42:31Z")

</div>

Hi all, i’m using HtmlEasyPrinting class to easy printing effort: into my multiple pages document i need a footer or something located on the bottom of the document only once, the last page. There are three constan…

---

## [Load and Save data in yaml file in capistrano](https://www.ruby-forum.com/t/load-and-save-data-in-yaml-file-in-capistrano/160446)

<div class="topic-metadata">

**Author:** [@artchrst](https://www.ruby-forum.com/u/artchrst)\
**Replies:** 2\
**Last updated:** [February 17, 2009, 2:21am UTC](https://www.ruby-forum.com/t/load-and-save-data-in-yaml-file-in-capistrano/160446 "2009-02-17T02:21:37Z")

</div>

Hi All, I tried to request user to input username and password for the database when deploy, therefore, in my capistrano task, I task :create\_database\_user do @username = Capistrano::CLI.password\_prompt('mysql\_usern…

---

## [Link\_to not asking confirmation (js)](https://www.ruby-forum.com/t/link-to-not-asking-confirmation-js/156608)

<div class="topic-metadata">

**Author:** [@pablo](https://www.ruby-forum.com/u/pablo)\
**Replies:** 2\
**Last updated:** [December 31, 2008, 5:21pm UTC](https://www.ruby-forum.com/t/link-to-not-asking-confirmation-js/156608 "2008-12-31T17:21:30Z")

</div>

Hi, I have this link\_to helper \<%= link\_to “edit”, :action =\> ‘edit’, :id =\> @pirate, :confirm =\> ‘should edit?’ %\> It should (in order to what I read in apidock) prompt me for confirmation via javascript confirm, bu…

---

## [Cucumber/rails tutorial #2](https://www.ruby-forum.com/t/cucumber-rails-tutorial-2/156538)

<div class="topic-metadata">

**Author:** [@sackerson](https://www.ruby-forum.com/u/sackerson)\
**Replies:** 2\
**Last updated:** [December 30, 2008, 2:30am UTC](https://www.ruby-forum.com/t/cucumber-rails-tutorial-2/156538 "2008-12-30T02:30:54Z")

</div>

I thought you all might be interested in my second tutorial: http://www.ultrasaurus.com/code/2008/12/rails-2-day-4-rcov-and-bdd.html It covers more webrat plus a trickier delete scenario, based on a previous thread: S…

---

## [Omando para instalar una Gem de un archivo](https://www.ruby-forum.com/t/omando-para-instalar-una-gem-de-un-archivo/155976)

<div class="topic-metadata">

**Author:** [@xurde\_dix](https://www.ruby-forum.com/u/xurde_dix)\
**Replies:** 2\
**Last updated:** [December 18, 2008, 9:09pm UTC](https://www.ruby-forum.com/t/omando-para-instalar-una-gem-de-un-archivo/155976 "2008-12-18T21:09:48Z")

</div>

Buenas tarde me podrÃ­an decir como es el comando para instalar una Gem de un archivo .gem en vez de desde un repositorio. Gracias, de antemano llevo rato buscÃ¡ndolo por Inet y no hay manera.

---

## [Can we use MS Word Template using Ruby](https://www.ruby-forum.com/t/can-we-use-ms-word-template-using-ruby/91677)

<div class="topic-metadata">

**Author:** [@aveo](https://www.ruby-forum.com/u/aveo)\
**Replies:** 2\
**Last updated:** [April 12, 2007, 4:38am UTC](https://www.ruby-forum.com/t/can-we-use-ms-word-template-using-ruby/91677 "2007-04-12T04:38:04Z")

</div>

Hi all, I am creating MS word document using ruby. can I use a “template” document in Microsoft word with place holders for dynamic data from database using ruby. Like, I’ve a template, I want to fill it by data from…

---

## [Pdf](https://www.ruby-forum.com/t/pdf/91556)

<div class="topic-metadata">

**Author:** [@giovanno\_zangrolli](https://www.ruby-forum.com/u/giovanno_zangrolli)\
**Replies:** 2\
**Last updated:** [April 10, 2007, 6:24pm UTC](https://www.ruby-forum.com/t/pdf/91556 "2007-04-10T18:24:36Z")

</div>

Ciao a tutti, qualcuno sa dirmi per favore come faccio a trasformare in pdf (o in rtf) una pagina rhtml (?) Io vorrei mettere un pulsantino a piÃ¨ di pagina con scritto salva in versione pdf…Ã¨ difficile (?)Grazie, Gi…

---

## [Link\_to with all properties of a model](https://www.ruby-forum.com/t/link-to-with-all-properties-of-a-model/81528)

<div class="topic-metadata">

**Author:** [@giantcranes](https://www.ruby-forum.com/u/giantcranes)\
**Replies:** 2\
**Last updated:** [January 10, 2007, 1:35pm UTC](https://www.ruby-forum.com/t/link-to-with-all-properties-of-a-model/81528 "2007-01-10T13:35:35Z")

</div>

Hi, I am trying to create a link with all of the properties of a model as parameters. Is this possible in a generic way? Say I have the model: filter = Filter.new filter.page\_number = 2 filter.page\_size = 10 filte…

---

## [Reload controller class with caching callbacks](https://www.ruby-forum.com/t/reload-controller-class-with-caching-callbacks/224830)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [November 27, 2012, 11:43pm UTC](https://www.ruby-forum.com/t/reload-controller-class-with-caching-callbacks/224830 "2012-11-27T23:43:43Z")

</div>

I’m trying to write an RSpec helper for testing cached actions: How it works is visible in lib/rspec-rails-caching.rb, but to outline the setup process: Define the global RAILS\_CACHE constant (i.e. Rails.cache) to…

---

## [Limit IP req/s excl bots](https://www.ruby-forum.com/t/limit-ip-req-s-excl-bots/236597)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 4\
**Last updated:** [September 19, 2013, 2:01am UTC](https://www.ruby-forum.com/t/limit-ip-req-s-excl-bots/236597 "2013-09-19T02:01:04Z")

</div>

Does anyone know if there is any truth to this blog post: And if so where about in the code its implemented? I was trying to find out if its possible to use a map to control limit req/s limits but I still cant find…

---

## [Appropriate use of constants](https://www.ruby-forum.com/t/appropriate-use-of-constants/220282)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 4\
**Last updated:** [June 5, 2012, 7:12pm UTC](https://www.ruby-forum.com/t/appropriate-use-of-constants/220282 "2012-06-05T19:12:52Z")

</div>

I am making a program that will load settings from a config file. I am thinking of the best way to implement this. One idea is that the main file could simply set constants that are equal to values loaded from the con…

---

## [How to rebuild the digital\_swig for the modification of ofdm](https://www.ruby-forum.com/t/how-to-rebuild-the-digital-swig-for-the-modification-of-ofdm/217817)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [March 14, 2012, 6:54pm UTC](https://www.ruby-forum.com/t/how-to-rebuild-the-digital-swig-for-the-modification-of-ofdm/217817 "2012-03-14T18:54:27Z")

</div>

Hi Gurus, I am modifying some c++ code over the current ofdm modulator and demodulator. My question is: As the all the sub C++ blocks of ofdm are combined together into the digital\_swig, how can I re-generate these b…

---

## [Nginx causing high IO](https://www.ruby-forum.com/t/nginx-causing-high-io/215991)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 22, 2012, 10:06pm UTC](https://www.ruby-forum.com/t/nginx-causing-high-io/215991 "2012-01-22T22:06:46Z")

</div>

Hello ladies and gents, I am using nginx to serve video on our video sharing platform. We are seeing high IO from nginx which is causing extremely slow responsiveness from the servers. I have tried changing the number…

---

## [Aggregated attribute changed but \_was is changed too. So nothing is update in database](https://www.ruby-forum.com/t/aggregated-attribute-changed-but-was-is-changed-too-so-nothing-is-update-in-database/212436)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [October 3, 2011, 11:27pm UTC](https://www.ruby-forum.com/t/aggregated-attribute-changed-but-was-is-changed-too-so-nothing-is-update-in-database/212436 "2011-10-03T23:27:14Z")

</div>

(Frenchy, sorry =) ) Hi everyone, i’ve got some troubles with aggregated attribute. I created a point and path class which receive postgresql point and path type data. Path object contains an array of point object. I…

---

## [Where is instance\_eval() defined?](https://www.ruby-forum.com/t/where-is-instance-eval-defined/207128)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [May 22, 2011, 12:58am UTC](https://www.ruby-forum.com/t/where-is-instance-eval-defined/207128 "2011-05-22T00:58:41Z")

</div>

Where in the hell is instance\_eval() defined? In “The Ruby P.ming Language”, it says it’s defined in Object, but the 1.9.2 docs don’t list it in Object: http://www.ruby-doc.org/core/classes/Object.html Nor is it lis…

---

## [Scaffold con Rails3 e MongoDB](https://www.ruby-forum.com/t/scaffold-con-rails3-e-mongodb/201708)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [January 13, 2011, 12:11pm UTC](https://www.ruby-forum.com/t/scaffold-con-rails3-e-mongodb/201708 "2011-01-13T12:11:11Z")

</div>

Ciao a tutti, stavo provando a realizzare una semplice app con rails3 usando mongodb invece di un RDBMS per capirne vantaggi e svantaggi Ho seguito queste info http://www.mongodb.org/display/DOCS/Rails+3+-+Getting+St…

---

## [Having trouble with link breaks in a table](https://www.ruby-forum.com/t/having-trouble-with-link-breaks-in-a-table/193888)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 4\
**Last updated:** [August 26, 2010, 9:06pm UTC](https://www.ruby-forum.com/t/having-trouble-with-link-breaks-in-a-table/193888 "2010-08-26T21:06:34Z")

</div>

I have table being filled by a partial. When the fields are filled, the fields end up together or not there for half a page. See below. My controller code and views are below… controller: @single = Array.new for @h …

---

## [Postgres, concurrency, and rails](https://www.ruby-forum.com/t/postgres-concurrency-and-rails/193560)

<div class="topic-metadata">

**Author:** [@zbrod](https://www.ruby-forum.com/u/zbrod)\
**Replies:** 4\
**Last updated:** [August 19, 2010, 10:34pm UTC](https://www.ruby-forum.com/t/postgres-concurrency-and-rails/193560 "2010-08-19T22:34:50Z")

</div>

I work on a fairly large website that uses Ruby 1.8.6 and Rails 1.2.3. We cannot upgrade as it will hopelessly break our code. We are working on a new version in Java but for the next year at least we are stuck with t…

---

## [\[Bug #3579\] RHEL5$B$N(Bautoconf-2.59$B$@$H(Bruby-1.8.7-p299$B$G(Bautoconf$B$,\<:GT$9$k(B](https://www.ruby-forum.com/t/bug-3579-rhel5-b-n-bautoconf-2-59-b-h-bruby-1-8-7-p299-b-g-bautoconf-b-gt-9-k-b/191720)

<div class="topic-metadata">

**Author:** [@Motohiro\_KOSAKI](https://www.ruby-forum.com/u/Motohiro_KOSAKI)\
**Replies:** 4\
**Last updated:** [July 17, 2010, 8:41am UTC](https://www.ruby-forum.com/t/bug-3579-rhel5-b-n-bautoconf-2-59-b-h-bruby-1-8-7-p299-b-g-bautoconf-b-gt-9-k-b/191720 "2010-07-17T08:41:46Z")

</div>

Bug #3579: RHEL5e$B$Ne(Bautoconf-2.59e$B$@$He(Bruby-1.8.7-p299e$B$Ge(Bautoconfe$B$,\<:GT$9$ke(B http://redmine.ruby-lang.org/issues/show/3579 e$B5/I\<\<Te(B: Motohiro KOSAKI e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal …

---

## [Getting array input from command line](https://www.ruby-forum.com/t/getting-array-input-from-command-line/190737)

<div class="topic-metadata">

**Author:** [@tedforte](https://www.ruby-forum.com/u/tedforte)\
**Replies:** 4\
**Last updated:** [July 2, 2010, 5:32am UTC](https://www.ruby-forum.com/t/getting-array-input-from-command-line/190737 "2010-07-02T05:32:06Z")

</div>

Hi everyone, I want to get some data from a user, that I want to put in an array… well the first one is filename and the rest are a bunch of numbers which are sepparated by -i and -o options. inFile = ARGV\[0\] myA…

---

## [Paperclip attachment to AWS - ActiveRecord::AssociationTypeMismatch](https://www.ruby-forum.com/t/paperclip-attachment-to-aws-activerecord-associationtypemismatch/175263)

<div class="topic-metadata">

**Author:** [@jasongarber](https://www.ruby-forum.com/u/jasongarber)\
**Replies:** 4\
**Last updated:** [September 15, 2009, 2:42pm UTC](https://www.ruby-forum.com/t/paperclip-attachment-to-aws-activerecord-associationtypemismatch/175263 "2009-09-15T14:42:14Z")

</div>

Hi, I have been trying to do this for a few days now and cannot figure it out. I would be very grateful is anyone can help me I am trying to upload an attachment to AWS, S3 using paperclip, however every time I keep …

---

## [Multi\_usrp examples in trunk](https://www.ruby-forum.com/t/multi-usrp-examples-in-trunk/173357)

<div class="topic-metadata">

**Author:** [@Moritz\_Fischer](https://www.ruby-forum.com/u/Moritz_Fischer)\
**Replies:** 4\
**Last updated:** [August 9, 2009, 10:09pm UTC](https://www.ruby-forum.com/t/multi-usrp-examples-in-trunk/173357 "2009-08-09T22:09:58Z")

</div>

Hi all, after some time searching through the list archives I was not able to find out what happened to the multi\_usrp.py file which is needed to run the the multi\_usrp/multi\_usrp\_rx\_cfile.py and multi\_usrp/multi\_usr…

---

## [Gem list -r -d \*\*\* generates Error\*\*\* on http://gems.github.com](https://www.ruby-forum.com/t/gem-list-r-d-generates-error-on-http-gems-github-com/173042)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 4\
**Last updated:** [August 3, 2009, 7:07am UTC](https://www.ruby-forum.com/t/gem-list-r-d-generates-error-on-http-gems-github-com/173042 "2009-08-03T07:07:10Z")

</div>

I’m using ruby 1.8.6 & gem 1.3.5 : I receive and error trying to list the details of C:\\Users\\spanton\>gem source \*\*\* CURRENT SOURCES \*\*\* http://gems.github.com C:\\Users\\spanton\>gem list -r -d \*\*\* REMOTE GEMS \*\*\* E…

---

## [Regexp Help](https://www.ruby-forum.com/t/regexp-help/172796)

<div class="topic-metadata">

**Author:** [@jillyh0](https://www.ruby-forum.com/u/jillyh0)\
**Replies:** 4\
**Last updated:** [July 28, 2009, 7:21pm UTC](https://www.ruby-forum.com/t/regexp-help/172796 "2009-07-28T19:21:02Z")

</div>

Hi, I am looking for a way to do the following: I have some html in strings, mostly links (i.e. ). I need to delete these lines. I’ve been trying to do this, but it’s not working out: question.gsub! ("\<a href="/(\[.…

---

## [\[Bug #1509\] typo in CGI::HTTP\_STATUS](https://www.ruby-forum.com/t/bug-1509-typo-in-cgi-http-status/168682)

<div class="topic-metadata">

**Author:** [@Nobuhiro\_IMAI](https://www.ruby-forum.com/u/Nobuhiro_IMAI)\
**Replies:** 4\
**Last updated:** [July 24, 2009, 10:27am UTC](https://www.ruby-forum.com/t/bug-1509-typo-in-cgi-http-status/168682 "2009-07-24T10:27:59Z")

</div>

Bug #1509: typo in CGI::HTTP\_STATUS http://redmine.ruby-lang.org/issues/show/1509 e$B5/I\<\<Te(B: Nobuhiro IMAI e$B%9%F!\<%?%9e(B: Open, e$BM%@hEYe(B: Normal e$B%+%F%4%je(B: lib ruby -v: ruby 1.9.2dev (2009-05-23 trunk…

---

## [Ruby 1.9 splat in return statement, bug or feature?](https://www.ruby-forum.com/t/ruby-1-9-splat-in-return-statement-bug-or-feature/85880)

<div class="topic-metadata">

**Author:** [@pfharlock](https://www.ruby-forum.com/u/pfharlock)\
**Replies:** 4\
**Last updated:** [June 3, 2009, 8:30am UTC](https://www.ruby-forum.com/t/ruby-1-9-splat-in-return-statement-bug-or-feature/85880 "2009-06-03T08:30:27Z")

</div>

What’s going on with splat in 1.9? $ ruby -e ‘def foo; return \*\[1\]; end; p foo’ 1 $ ruby-1.9 -e ‘def foo; return \*\[1\]; end; p foo’ \[1\] Gary W.

---

## [RedCloth gem/pluging not working in production mode](https://www.ruby-forum.com/t/redcloth-gem-pluging-not-working-in-production-mode/157727)

<div class="topic-metadata">

**Author:** [@ptremblett](https://www.ruby-forum.com/u/ptremblett)\
**Replies:** 4\
**Last updated:** [January 17, 2009, 12:38am UTC](https://www.ruby-forum.com/t/redcloth-gem-pluging-not-working-in-production-mode/157727 "2009-01-17T00:38:37Z")

</div>

Hi, I installed RedCloth 4.1.1 using - gem install RedCloth - This has worked fine on my development (webbrick) machine. I then did the same on my production machine which is using Apache and Passenger. However the p…

---

## [Testing lib code](https://www.ruby-forum.com/t/testing-lib-code/156602)

<div class="topic-metadata">

**Author:** [@cwd](https://www.ruby-forum.com/u/cwd)\
**Replies:** 4\
**Last updated:** [December 30, 2008, 9:32pm UTC](https://www.ruby-forum.com/t/testing-lib-code/156602 "2008-12-30T21:32:47Z")

</div>

Hello– This question has, I’m sure, been asked and answered hundreds of times, but I was unable to turn up anything in Google. Here’s the issue: I have some code in a Rails app in the lib/ directory that affects how …

---

## [Server virtuale](https://www.ruby-forum.com/t/server-virtuale/155588)

<div class="topic-metadata">

**Author:** [@spitfire](https://www.ruby-forum.com/u/spitfire)\
**Replies:** 4\
**Last updated:** [December 14, 2008, 3:18pm UTC](https://www.ruby-forum.com/t/server-virtuale/155588 "2008-12-14T15:18:05Z")

</div>

Volevo sapere se qualche utente urilizza dei servizi di server virtuale (ubuntu) amministrabile via ssh per installare delle applicazioni rails. Ho sentito paralre di http://www.slicehost.com/? Qualcuno lo usa? Ci son…

---

## [Dorkbot 18 dec 2008 @milan](https://www.ruby-forum.com/t/dorkbot-18-dec-2008-milan/155491)

<div class="topic-metadata">

**Author:** [@chiaroscuro](https://www.ruby-forum.com/u/chiaroscuro)\
**Replies:** 4\
**Last updated:** [December 14, 2008, 2:52am UTC](https://www.ruby-forum.com/t/dorkbot-18-dec-2008-milan/155491 "2008-12-14T02:52:52Z")

</div>

Giovedi’ prossimo facciamo una presentazione al Dorkbot di milano. http://blog.mikamai.com/2008/12/dorkbot-milano-coming-soon/ Stiamo cercando di creare un cappello per tutta una serie di iniziative tech+art –chiaros…

---

## [Autotest setup to run Story Runner?](https://www.ruby-forum.com/t/autotest-setup-to-run-story-runner/129193)

<div class="topic-metadata">

**Author:** [@kamal](https://www.ruby-forum.com/u/kamal)\
**Replies:** 4\
**Last updated:** [August 22, 2008, 7:45pm UTC](https://www.ruby-forum.com/t/autotest-setup-to-run-story-runner/129193 "2008-08-22T19:45:27Z")

</div>

Has anyone looked at hooking up the Story Runner to Autotest? Currently, the autotest hooks that rspec uses explicitly runs ./script/ spec, which when pointed to a story runner file doesn’t do anything. (In fact, the …

---

## [Installing RMagick with Gmagick on xp64!](https://www.ruby-forum.com/t/installing-rmagick-with-gmagick-on-xp64/136268)

<div class="topic-metadata">

**Author:** [@Chris\_Gunn](https://www.ruby-forum.com/u/Chris_Gunn)\
**Replies:** 4\
**Last updated:** [April 30, 2008, 1:31pm UTC](https://www.ruby-forum.com/t/installing-rmagick-with-gmagick-on-xp64/136268 "2008-04-30T13:31:24Z")

</div>

With Ruby -186-26 I installed GMagic first. v 1.1.11 q16 as I wanted some simple graphics. lines etc. Then I installed RMagic 2.3.0 Now, it’s in the gem list: \*\*\* LOCAL GEMS \*\*\* fxri (0.3.6) fxruby (1.6.12) hpric…

---

## [envoyÃ© du code via une variable](https://www.ruby-forum.com/t/envoya-du-code-via-une-variable/135731)

<div class="topic-metadata">

**Author:** [@ormizd](https://www.ruby-forum.com/u/ormizd)\
**Replies:** 4\
**Last updated:** [April 29, 2008, 10:41am UTC](https://www.ruby-forum.com/t/envoya-du-code-via-une-variable/135731 "2008-04-29T10:41:08Z")

</div>

Bonjour a tous, et merci de vous attarder sur mon probleme Je souhaiterai dÃ©finir une methode dans mon controleur qui renvoi une variable tel que : @var = “ \<% mes\_commande\_a\_effectuer %\>” En gros, ma variable contie…

---

## [InvalidAuthenticityToken y Restful\_Autenthication](https://www.ruby-forum.com/t/invalidauthenticitytoken-y-restful-autenthication/130916)

<div class="topic-metadata">

**Author:** [@SSdac](https://www.ruby-forum.com/u/SSdac)\
**Replies:** 4\
**Last updated:** [April 5, 2008, 6:25pm UTC](https://www.ruby-forum.com/t/invalidauthenticitytoken-y-restful-autenthication/130916 "2008-04-05T18:25:45Z")

</div>

Hola!. Algunas veces al intentar hacer login en mi aplicaciÃ³n me devuelve este error: ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken): Como comento, solo pasa a veces. Â¿Algu…

---

## [Email address in url generates "no route" error](https://www.ruby-forum.com/t/email-address-in-url-generates-no-route-error/133523)

<div class="topic-metadata">

**Author:** [@g0nzo](https://www.ruby-forum.com/u/g0nzo)\
**Replies:** 4\
**Last updated:** [April 1, 2008, 8:42pm UTC](https://www.ruby-forum.com/t/email-address-in-url-generates-no-route-error/133523 "2008-04-01T20:42:33Z")

</div>

Hi, I’m trying to make unsubscribe link and currently got a route like this: map.unsubscribe ‘/unsubscribe/:email’, :controller =\> ‘foo’, :action =\> ‘bar’ However when I put an email address in the url, it generates…

---

## [Apache mod\_rewrite ... Â¿cÃ³mo hacer accesible la app desde dominio y carpeta de u suario?](https://www.ruby-forum.com/t/apache-mod-rewrite-a-ca-mo-hacer-accesible-la-app-desde-dominio-y-carpeta-de-u-suario/132460)

<div class="topic-metadata">

**Author:** [@Jaime\_I](https://www.ruby-forum.com/u/Jaime_I)\
**Replies:** 4\
**Last updated:** [March 21, 2008, 9:29am UTC](https://www.ruby-forum.com/t/apache-mod-rewrite-a-ca-mo-hacer-accesible-la-app-desde-dominio-y-carpeta-de-u-suario/132460 "2008-03-21T09:29:42Z")

</div>

Holas gentes, tengo una aplicación rails en site5, a la que puedo acceder a través del dominio o a través de la carpeta de usuario. Por ejemplo (datos falsos): http://www.superguantes.com http://123.45.67/~superguant…

---

## [Delegate to allow subclassing Integer, Float](https://www.ruby-forum.com/t/delegate-to-allow-subclassing-integer-float/130297)

<div class="topic-metadata">

**Author:** [@Clifford\_H](https://www.ruby-forum.com/u/Clifford_H)\
**Replies:** 4\
**Last updated:** [February 28, 2008, 12:16am UTC](https://www.ruby-forum.com/t/delegate-to-allow-subclassing-integer-float/130297 "2008-02-28T00:16:02Z")

</div>

I have the following code using facets/basicobject with 1.8, and want to know what the equivalent would be for 1.9: class Real \< BasicObject def initialize® @\_\_value = r.to\_f end define\_method(:class) { self.class …

---

## [\[ANN\] RSpec-1.1.3](https://www.ruby-forum.com/t/ann-rspec-1-1-3/127694)

<div class="topic-metadata">

**Author:** [@crucoba](https://www.ruby-forum.com/u/crucoba)\
**Replies:** 4\
**Last updated:** [February 1, 2008, 6:07am UTC](https://www.ruby-forum.com/t/ann-rspec-1-1-3/127694 "2008-02-01T06:07:40Z")

</div>

RSpec-1.1.3 has been released. If you’re using RSpec and autotest, you’ll have to upgrade to RSpec-1.1.3 and ZenTest-3.9.0 at the same time. == Version 1.1.3 Maintenance release. Tightened up exceptions list in aut…

---

## [Ruby1.9-trunk make failed](https://www.ruby-forum.com/t/ruby1-9-trunk-make-failed/122564)

<div class="topic-metadata">

**Author:** [@Une\_BSSSSvS\_ue](https://www.ruby-forum.com/u/Une_BSSSSvS_ue)\
**Replies:** 4\
**Last updated:** [December 10, 2007, 10:51am UTC](https://www.ruby-forum.com/t/ruby1-9-trunk-make-failed/122564 "2007-12-10T10:51:15Z")

</div>

on Mac OS X 10.4.11 the ruby1.9-trunk make failed with the following : ~/work/Ruby/ruby1.9-trunk%\> make gcc -g -O2 -pipe -fno-common -I. -I.ext/include/powerpc-darwin8.11.0 -I./include -I. -DRUBY\_EXPORT -c main.c …

---

## [Assign a complex regular expression string](https://www.ruby-forum.com/t/assign-a-complex-regular-expression-string/116560)

<div class="topic-metadata">

**Author:** [@johnlester](https://www.ruby-forum.com/u/johnlester)\
**Replies:** 4\
**Last updated:** [October 7, 2007, 11:16pm UTC](https://www.ruby-forum.com/t/assign-a-complex-regular-expression-string/116560 "2007-10-07T23:16:45Z")

</div>

Hi, I have a complex regular expression: \[a-z0-9!#$%&’+/=?^\_{|}~-\]+(?:\\.\[a-z0-9!#$%&'\*+/=?^\_{|}~-\]+)@(?:a-z0-9?.)+(?:\[A-Z\]{2}|com|org|net|gov|biz|info|name|aero|biz|info|jobs|museum)\\b And I want to assign it to a Con…

---

## [:variabile e variabile](https://www.ruby-forum.com/t/variabile-e-variabile/114142)

<div class="topic-metadata">

**Author:** [@simone](https://www.ruby-forum.com/u/simone)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/variabile-e-variabile/114142 "2007-09-25T23:05:24Z")

</div>

Trattatemi male a piacere, ma questa domanda la devo fare. non riesco ancora a comprendere appieno la differenza tra usare :variabile e variabile e quando esattamente si usa l’una o l’altra forma. qualcuno mi spiega? …

---

## [How to implement a hash whose key is another hash?](https://www.ruby-forum.com/t/how-to-implement-a-hash-whose-key-is-another-hash/112527)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 4\
**Last updated:** [September 25, 2007, 11:02pm UTC](https://www.ruby-forum.com/t/how-to-implement-a-hash-whose-key-is-another-hash/112527 "2007-09-25T23:02:35Z")

</div>

I understand that the key of a hash can be any object. Therefore, I would think that the key of a hash can be another hash. If I have the following code sequence. (I using ruby 1.8.5 (2006-08-25) \[i486- linux\]) requi…

---

## [Array#inject to create a hash versus Hash-- Speed, segfault](https://www.ruby-forum.com/t/array-inject-to-create-a-hash-versus-hash-speed-segfault/106486)

<div class="topic-metadata">

**Author:** [@inertia](https://www.ruby-forum.com/u/inertia)\
**Replies:** 4\
**Last updated:** [June 11, 2007, 10:21am UTC](https://www.ruby-forum.com/t/array-inject-to-create-a-hash-versus-hash-speed-segfault/106486 "2007-06-11T10:21:15Z")

</div>

So, I was tinkering with ways to build a hash out of transforming an array, knowing the standard/idiomatic id\_list = \[:test1, :test2, :test3\] id\_list.inject({}) { |a,e| a\[e\]=e.object\_id ; a } I also decided to try so…

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

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