# Top

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

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

---

## [Dtabase access with Ruby](https://www.ruby-forum.com/t/dtabase-access-with-ruby/147584)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 5\
**Last updated:** [September 4, 2008, 6:22am UTC](https://www.ruby-forum.com/t/dtabase-access-with-ruby/147584 "2008-09-04T06:22:54Z")

</div>

Hi If myb doubt is a stupidity please forgive…I was reading a ruby book as part of learning Ruby and I reached heading accessing database with Ruby I have installed and running rails project…In the book it says two m…

---

## [Q: Remote installer](https://www.ruby-forum.com/t/q-remote-installer/142491)

<div class="topic-metadata">

**Author:** [@GSRalph\_KuntzS\_MD](https://www.ruby-forum.com/u/GSRalph_KuntzS_MD)\
**Replies:** 5\
**Last updated:** [July 8, 2008, 3:37pm UTC](https://www.ruby-forum.com/t/q-remote-installer/142491 "2008-07-08T15:37:18Z")

</div>

I am looking for a “remote installer” for ruby for Windows. I need to install ruby on about 150 machines over ssh connections and do not want to use a GUI installer like the one-click installer, because it will take m…

---

## [Code Review: FastFixes1](https://www.ruby-forum.com/t/code-review-fastfixes1/138889)

<div class="topic-metadata">

**Author:** [@curthibbs](https://www.ruby-forum.com/u/curthibbs)\
**Replies:** 5\
**Last updated:** [May 29, 2008, 11:48pm UTC](https://www.ruby-forum.com/t/code-review-fastfixes1/138889 "2008-05-29T23:48:41Z")

</div>

tfpt review “/shelveset:FastFixes1;REDMOND\\curth” Fixed critical error in Dir.glob Added File.split Added stub for BigDecimal class

---

## [How much details is enough?](https://www.ruby-forum.com/t/how-much-details-is-enough/135127)

<div class="topic-metadata">

**Author:** [@Matt\_Berther](https://www.ruby-forum.com/u/Matt_Berther)\
**Replies:** 5\
**Last updated:** [April 18, 2008, 11:51am UTC](https://www.ruby-forum.com/t/how-much-details-is-enough/135127 "2008-04-18T11:51:36Z")

</div>

Hi all, Long time lurker, first-time question. :slight\_smile: I’ve been going back and forth trying to decide how much detail is enough in my controller specs. I feel that if I put too much detail in them, then my te…

---

## [Beginner Help with code example from book](https://www.ruby-forum.com/t/beginner-help-with-code-example-from-book/130578)

<div class="topic-metadata">

**Author:** [@Joseph\_LSCasale](https://www.ruby-forum.com/u/Joseph_LSCasale)\
**Replies:** 5\
**Last updated:** [February 29, 2008, 7:41pm UTC](https://www.ruby-forum.com/t/beginner-help-with-code-example-from-book/130578 "2008-02-29T19:41:40Z")

</div>

I am trying to understand how the following code knows not to count a tile that has been previously counted, its an example from Chris P.'s Learn to Program from Pragmatic Bookshelf. I understand how the first size = …

---

## [Broken URL on rspec.info](https://www.ruby-forum.com/t/broken-url-on-rspec-info/126116)

<div class="topic-metadata">

**Author:** [@Cody\_PSSkidmore](https://www.ruby-forum.com/u/Cody_PSSkidmore)\
**Replies:** 5\
**Last updated:** [January 15, 2008, 11:34pm UTC](https://www.ruby-forum.com/t/broken-url-on-rspec-info/126116 "2008-01-15T23:34:30Z")

</div>

Hey folks. I was looking for the mailing list archive up on rspec.info. I clicked on the “community” link and received the URL “http://ey01-s00414/community/”. This isn’t correct, obviously. The hint shows it as, …

---

## [Programmer Ping-Pong (#150)](https://www.ruby-forum.com/t/programmer-ping-pong-150/123771)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 5\
**Last updated:** [December 28, 2007, 1:33am UTC](https://www.ruby-forum.com/t/programmer-ping-pong-150/123771 "2007-12-28T01:33:56Z")

</div>

This quiz was definitely more about the process than what we produced. For the record though, I do feel what we produced was quite successful. We have built a full AVL Tree implementation in under a week. It may st…

---

## [1.2.6 to 2.0.1 500 internal server error](https://www.ruby-forum.com/t/1-2-6-to-2-0-1-500-internal-server-error/123207)

<div class="topic-metadata">

**Author:** [@ledelste](https://www.ruby-forum.com/u/ledelste)\
**Replies:** 5\
**Last updated:** [December 14, 2007, 11:51pm UTC](https://www.ruby-forum.com/t/1-2-6-to-2-0-1-500-internal-server-error/123207 "2007-12-14T23:51:30Z")

</div>

Trying to upgrade from 1.2.6 to 2.0.1 and I am getting a 500 internal server error after server start up and I try to make any request or even click on ‘about your applications environment’. Am I missing something si…

---

## [Rexml - please help](https://www.ruby-forum.com/t/rexml-please-help/122734)

<div class="topic-metadata">

**Author:** [@sameera](https://www.ruby-forum.com/u/sameera)\
**Replies:** 5\
**Last updated:** [December 12, 2007, 8:32pm UTC](https://www.ruby-forum.com/t/rexml-please-help/122734 "2007-12-12T20:32:50Z")

</div>

Hi ppl, I’m new to this forum and also to ruby. My question is I have a rails project and i want to load some data from an xml file and to write it. for that i have wrote a 1 model (Oxml) 2 controller (XmlTestContro…

---

## [Compile error](https://www.ruby-forum.com/t/compile-error/120851)

<div class="topic-metadata">

**Author:** [@Sanghyeon\_S](https://www.ruby-forum.com/u/Sanghyeon_S)\
**Replies:** 5\
**Last updated:** [November 21, 2007, 8:39pm UTC](https://www.ruby-forum.com/t/compile-error/120851 "2007-11-21T20:39:44Z")

</div>

IronRuby SVN doesn’t compile for me. $ rake compile mono=1 (snip) /home/tinuviel/svn/ironruby/src/microsoft.scripting/Ast/Compiler.cs(40,30): error CS1501: No overload for method EmitBranchFalse' takes2’ arguments …

---

## [Condicional .nil?](https://www.ruby-forum.com/t/condicional-nil/114259)

<div class="topic-metadata">

**Author:** [@davidjrice](https://www.ruby-forum.com/u/davidjrice)\
**Replies:** 5\
**Last updated:** [September 11, 2007, 4:28pm UTC](https://www.ruby-forum.com/t/condicional-nil/114259 "2007-09-11T16:28:53Z")

</div>

Buenas, tengo una pequeÃ±a duda, a ver si alguien me puede echar una mano: Tengo la siguiente sentencia: \<% @homes = Home.find(:all, :conditions =\> \[“type\_id = ? AND habitaciones \>= ? AND location\_id = ? AND lavabos \>…

---

## [Ruport Roundtable](https://www.ruby-forum.com/t/ruport-roundtable/106289)

<div class="topic-metadata">

**Author:** [@mikem836](https://www.ruby-forum.com/u/mikem836)\
**Replies:** 5\
**Last updated:** [June 10, 2007, 6:56pm UTC](https://www.ruby-forum.com/t/ruport-roundtable/106289 "2007-06-10T18:56:41Z")

</div>

It’s been a few weeks now since the 1.0 release of Ruport and now that the dust has settled, it seems like a good time to have a roundtable discussion to see how things are going. We’re mainly hoping to get some feedb…

---

## [Passing info to classes and methods](https://www.ruby-forum.com/t/passing-info-to-classes-and-methods/103670)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 5\
**Last updated:** [May 9, 2007, 8:25am UTC](https://www.ruby-forum.com/t/passing-info-to-classes-and-methods/103670 "2007-05-09T08:25:44Z")

</div>

Newbie here. Two steps forward and one back. I’m working through Pine’s book and maybe am jumping into areas beyond my knowledge. Some of you have seen an earlier version of this script. I’m trying to pass a value to …

---

## [Problem installing Rails](https://www.ruby-forum.com/t/problem-installing-rails/87930)

<div class="topic-metadata">

**Author:** [@more2hari](https://www.ruby-forum.com/u/more2hari)\
**Replies:** 5\
**Last updated:** [April 24, 2007, 3:03pm UTC](https://www.ruby-forum.com/t/problem-installing-rails/87930 "2007-04-24T15:03:56Z")

</div>

Hi I am getting the following error when i tried to install rails in windows using command prompt… Attempting remote installation of ‘rails’ Updating Gem source index for: http://gems.rubyforge.org ERROR: While exe…

---

## [2 lines in one](https://www.ruby-forum.com/t/2-lines-in-one/88263)

<div class="topic-metadata">

**Author:** [@Josselin](https://www.ruby-forum.com/u/Josselin)\
**Replies:** 5\
**Last updated:** [March 9, 2007, 8:55am UTC](https://www.ruby-forum.com/t/2-lines-in-one/88263 "2007-03-09T08:55:15Z")

</div>

Could I write it in just 1 line ? find the first value greater than d, in a list (special one : each value is the double of the previous…) then give me the index of this value (with special case …) i = (\[0.5,1.0,…

---

## [Trouble with functional tests](https://www.ruby-forum.com/t/trouble-with-functional-tests/84948)

<div class="topic-metadata">

**Author:** [@jeff](https://www.ruby-forum.com/u/jeff)\
**Replies:** 5\
**Last updated:** [March 2, 2007, 8:24pm UTC](https://www.ruby-forum.com/t/trouble-with-functional-tests/84948 "2007-03-02T20:24:17Z")

</div>

I’m having trouble making my functional tests work. I’m trying to simulate an action performed while a user is logged in, but it only redirects me to the signin page as if no user was logged in. Here’s my functional …

---

## [Supporto lingue orientali](https://www.ruby-forum.com/t/supporto-lingue-orientali/86469)

<div class="topic-metadata">

**Author:** [@rajarose](https://www.ruby-forum.com/u/rajarose)\
**Replies:** 5\
**Last updated:** [February 22, 2007, 9:39pm UTC](https://www.ruby-forum.com/t/supporto-lingue-orientali/86469 "2007-02-22T21:39:47Z")

</div>

Ciao a tutti, ho creato una pagina web che legge da wikipedia tutte le lingue esistenti ho perÃ² un problema, non riesco a visualizzarle correttamente, so che Ã¨ un problema di browser ma esiste un metodo in ruby c…

---

## [Book about rails internals](https://www.ruby-forum.com/t/book-about-rails-internals/85903)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 5\
**Last updated:** [February 18, 2007, 2:33am UTC](https://www.ruby-forum.com/t/book-about-rails-internals/85903 "2007-02-18T02:33:46Z")

</div>

Are there any books currently available that discuss topics related more about the Rails core code than on how to ‘use’ Rails?

---

## [Foreign key plugin](https://www.ruby-forum.com/t/foreign-key-plugin/84847)

<div class="topic-metadata">

**Author:** [@MSBarbosa](https://www.ruby-forum.com/u/MSBarbosa)\
**Replies:** 5\
**Last updated:** [February 8, 2007, 1:15pm UTC](https://www.ruby-forum.com/t/foreign-key-plugin/84847 "2007-02-08T13:15:08Z")

</div>

Hi guys, i have just installed the foreign key pluging from http:// www.redhillconsulting.com.au/ rails\_plugins.html#foreign\_key\_migrations. The problem that I’m facing is the following: I have set up migrations for …

---

## [Gtkhtml2 blank window](https://www.ruby-forum.com/t/gtkhtml2-blank-window/79062)

<div class="topic-metadata">

**Author:** [@pjpatten](https://www.ruby-forum.com/u/pjpatten)\
**Replies:** 5\
**Last updated:** [December 12, 2006, 1:00am UTC](https://www.ruby-forum.com/t/gtkhtml2-blank-window/79062 "2006-12-12T01:00:44Z")

</div>

hi ho ml :-), i run into a new problem while writing an gtk application. a lot of things are working now, but not the gtkhtml2. i tried to put some html code into the html-document, but i get an blank window only. i’…

---

## [Passing proc blocks to rhtml templates](https://www.ruby-forum.com/t/passing-proc-blocks-to-rhtml-templates/77594)

<div class="topic-metadata">

**Author:** [@zackola](https://www.ruby-forum.com/u/zackola)\
**Replies:** 5\
**Last updated:** [November 29, 2006, 6:34am UTC](https://www.ruby-forum.com/t/passing-proc-blocks-to-rhtml-templates/77594 "2006-11-29T06:34:07Z")

</div>

I want to create layout components that function like my layout does. A layout can yield the body content, is there any way to get this functionality in rhtml templates? For example, say I have a layout component th…

---

## [Agile Web Dev with Rails](https://www.ruby-forum.com/t/agile-web-dev-with-rails/72536)

<div class="topic-metadata">

**Author:** [@Jee](https://www.ruby-forum.com/u/Jee)\
**Replies:** 5\
**Last updated:** [October 19, 2006, 2:25am UTC](https://www.ruby-forum.com/t/agile-web-dev-with-rails/72536 "2006-10-19T02:25:56Z")

</div>

Is anyone else currently working their way through creating the depot application in this book? I am on Task D and thought it might be useful and fun to work together on this. Sort of a study group. Particularly on …

---

## [Ruby e birra nel nord-est](https://www.ruby-forum.com/t/ruby-e-birra-nel-nord-est/62682)

<div class="topic-metadata">

**Author:** [@Jacopo\_M](https://www.ruby-forum.com/u/Jacopo_M)\
**Replies:** 5\
**Last updated:** [June 16, 2006, 3:49pm UTC](https://www.ruby-forum.com/t/ruby-e-birra-nel-nord-est/62682 "2006-06-16T15:49:06Z")

</div>

Ciao a tutti. visti i pallini blu sulla mappa di Filippo, mi chiedevo se anche qui nel nord est vogliamo provare ad incontrarci per fare due chiacchere su Ruby bevendo una birra. Ne avevamo già parlato nella ml del ru…

---

## [Class Caching Problem \[was Newbie Question about Custom Clas](https://www.ruby-forum.com/t/class-caching-problem-was-newbie-question-about-custom-clas/85312)

<div class="topic-metadata">

**Author:** [@Brent\_J](https://www.ruby-forum.com/u/Brent_J)\
**Replies:** 5\
**Last updated:** [March 22, 2006, 4:35pm UTC](https://www.ruby-forum.com/t/class-caching-problem-was-newbie-question-about-custom-clas/85312 "2006-03-22T16:35:50Z")

</div>

So any other ideas as to why my custom class under app/models is being cached even though all the caching is set to false in the config/environments/\* files? Currently I’m having to restart WEBrick after EVERY change…

---

## [Strange messages in "congratulations" mode](https://www.ruby-forum.com/t/strange-messages-in-congratulations-mode/65966)

<div class="topic-metadata">

**Author:** [@aaron](https://www.ruby-forum.com/u/aaron)\
**Replies:** 5\
**Last updated:** [February 12, 2006, 10:10pm UTC](https://www.ruby-forum.com/t/strange-messages-in-congratulations-mode/65966 "2006-02-12T22:10:03Z")

</div>

Hi All… First off, I thought I’d let you know that im UBER new at ruby, so what im asking you may have a really simple answer… Anyway, i just started using RoR and i’ve set it up on OSX, running Apache2. It all goes…

---

## [Ripper status, English docs?](https://www.ruby-forum.com/t/ripper-status-english-docs/61121)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 5\
**Last updated:** [January 13, 2006, 4:01am UTC](https://www.ruby-forum.com/t/ripper-status-english-docs/61121 "2006-01-13T04:01:03Z")

</div>

What’s the status of ripper? I thought it was supposed to be in the standard Ruby dist now, but that doesn’t seem to be the case. Are there any English available for Ripper? Phil

---

## [RJS and layouts](https://www.ruby-forum.com/t/rjs-and-layouts/52179)

<div class="topic-metadata">

**Author:** [@jason](https://www.ruby-forum.com/u/jason)\
**Replies:** 5\
**Last updated:** [January 11, 2006, 8:44pm UTC](https://www.ruby-forum.com/t/rjs-and-layouts/52179 "2006-01-11T20:44:08Z")

</div>

Hi all, I’ve been using RJS more and more for my app and I have sorta run into a possible issue. My app has different user roles that require different layouts. So far, this has worked fine, but now that I’m using rjs…

---

## [Faraday::ConnectionFailed in Devise::SessionsController#create Connection refused - connect(2) for](https://www.ruby-forum.com/t/faraday-connectionfailed-in-devise-sessionscontroller-create-connection-refused-connect-2-for/244199)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [March 3, 2016, 9:31pm UTC](https://www.ruby-forum.com/t/faraday-connectionfailed-in-devise-sessionscontroller-create-connection-refused-connect-2-for/244199 "2016-03-03T21:31:05Z")

</div>

I’m getting this error I think because openssl maybe has the wrong path to certs Typing openssl version -a says openssldir is “/usr/lib/ssl” I dunno if that means this is the path that openssl expects to find certifi…

---

## ["button\_to" for custom action not working](https://www.ruby-forum.com/t/button-to-for-custom-action-not-working/241786)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 0\
**Last updated:** [April 30, 2015, 9:07am UTC](https://www.ruby-forum.com/t/button-to-for-custom-action-not-working/241786 "2015-04-30T09:07:43Z")

</div>

First thing is I’m no using form\_for or any other form tags. I have a Model class Modelname \< ActiveRecord::Base def self.methodfirst #Class method : Some code : end def methodsecond #Instance meth…

---

## [Auto send email on 50](https://www.ruby-forum.com/t/auto-send-email-on-50/240442)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [April 14, 2014, 5:01pm UTC](https://www.ruby-forum.com/t/auto-send-email-on-50/240442 "2014-04-14T17:01:59Z")

</div>

Hello. It might be nice if nginx included some type of logging functionality like…if something \[like fastcgi, etc.\] returns a 500 error, it sends off an email message to alert an admin. Something like that. Anyway,…

---

## [Heroku, Ruby on Rails, GitHub](https://www.ruby-forum.com/t/heroku-ruby-on-rails-github/238990)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 3\
**Last updated:** [February 6, 2014, 7:02pm UTC](https://www.ruby-forum.com/t/heroku-ruby-on-rails-github/238990 "2014-02-06T19:02:20Z")

</div>

I get the following message after I have run ‘$git push heroku master’ at the command line: This is the message: An error occurred while installing sqlite3 (1.3.8), and Bundler cannot continue. Make sure that gem i…

---

## [How to decrypt .net API response in rails app?](https://www.ruby-forum.com/t/how-to-decrypt-net-api-response-in-rails-app/238888)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [February 3, 2014, 4:09pm UTC](https://www.ruby-forum.com/t/how-to-decrypt-net-api-response-in-rails-app/238888 "2014-02-03T16:09:49Z")

</div>

Hello folks, I am using .net API and response of API is in encrypted form. Please let me know how should I proceed to do decryption. Thanks! in advance. Best Regards Fahim Babar Patel

---

## [\[ruby-trunk - Bug #8531\]\[Assigned\] ifuncに渡したブロックが共有される](https://www.ruby-forum.com/t/ruby-trunk-bug-8531-assigned-ifunc/245570)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 3\
**Last updated:** [June 17, 2013, 3:00am UTC](https://www.ruby-forum.com/t/ruby-trunk-bug-8531-assigned-ifunc/245570 "2013-06-17T03:00:01Z")

</div>

Issue #8531 has been reported by ktsj (Kazuki Tsujimoto). Bug #8531: ifuncに渡したブロックが共有される Author: ktsj (Kazuki Tsujimoto) Status: Assigned Priority: Normal Assignee: ko1 (Koichi Sasada) Category: Target version: …

---

## [Kill webrick process on OSX Lion {localhost:3000}](https://www.ruby-forum.com/t/kill-webrick-process-on-osx-lion-localhost-3000/229573)

<div class="topic-metadata">

**Author:** [@cluter](https://www.ruby-forum.com/u/cluter)\
**Replies:** 3\
**Last updated:** [February 5, 2013, 1:20am UTC](https://www.ruby-forum.com/t/kill-webrick-process-on-osx-lion-localhost-3000/229573 "2013-02-05T01:20:26Z")

</div>

Hi Folks, I have a simple question When I have to stop the webrick server on my OSX Lion I use the follow keyboard button: Ctrl + Z but after that I launch the command: “ps” the webrick server is always active I ha…

---

## [(koans) another problem (syntax error)](https://www.ruby-forum.com/t/koans-another-problem-syntax-error/223079)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [September 21, 2012, 7:33pm UTC](https://www.ruby-forum.com/t/koans-another-problem-syntax-error/223079 "2012-09-21T19:33:17Z")

</div>

Hello, I now trying to solve this one : Triangle Project Code. Triangle analyzes the lengths of the sides of a triangle (represented by a, b and c) and returns the type of triangle. It returns: :equilateral if all si…

---

## [Nginx won't stop](https://www.ruby-forum.com/t/nginx-wont-stop/214602)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [December 7, 2011, 5:47am UTC](https://www.ruby-forum.com/t/nginx-wont-stop/214602 "2011-12-07T05:47:55Z")

</div>

Hello everyone, I’ve spent the last few hours on what I thought was the end of a Rails/Passenger/Nginx setup but I have had absolutely no luck. When I try to restart nginx (using /etc/init.d/nginx restart) I get: Res…

---

## [Purge Css and JS files](https://www.ruby-forum.com/t/purge-css-and-js-files/204627)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [March 18, 2011, 11:17am UTC](https://www.ruby-forum.com/t/purge-css-and-js-files/204627 "2011-03-18T11:17:32Z")

</div>

Hi, Just installed purge module and its working fine for url and images how do I purge Css and Js files eg need to purge the file /css/base.css and /js/virtualpaginate.js Regards Posted at Nginx Forum:

---

## [Sqlite3 to Mysql on Godaddy](https://www.ruby-forum.com/t/sqlite3-to-mysql-on-godaddy/199029)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 0\
**Last updated:** [November 12, 2010, 5:26pm UTC](https://www.ruby-forum.com/t/sqlite3-to-mysql-on-godaddy/199029 "2010-11-12T17:26:37Z")

</div>

Hello! I have built a website using NetBeans 6.8 I believe I’m running ruby 1.8.6 With a mongrel server and Sqlite3 as the Database I want to deploy it to a Go Daddy server which uses only Mysql. I have Mysql insta…

---

## [Deny access per extension in multiple locations](https://www.ruby-forum.com/t/deny-access-per-extension-in-multiple-locations/196160)

<div class="topic-metadata">

**Author:** [@nfn](https://www.ruby-forum.com/u/nfn)\
**Replies:** 3\
**Last updated:** [October 8, 2010, 12:06am UTC](https://www.ruby-forum.com/t/deny-access-per-extension-in-multiple-locations/196160 "2010-10-08T00:06:30Z")

</div>

Hello, I have this rule in apache that denies access to some extensions in multiple locations. I have this .htaccess in some folders like uploads, docs, pdfs. Order allow,deny Deny from all How can I join this in on…

---

## [How to test the assignment of current\_user](https://www.ruby-forum.com/t/how-to-test-the-assignment-of-current-user/189799)

<div class="topic-metadata">

**Author:** [@mhfs](https://www.ruby-forum.com/u/mhfs)\
**Replies:** 3\
**Last updated:** [June 8, 2010, 6:46pm UTC](https://www.ruby-forum.com/t/how-to-test-the-assignment-of-current-user/189799 "2010-06-08T18:46:34Z")

</div>

Hello, This could be rephrased as – How to test calls of special assigment (setter) methods? I am trying to test the assigmnet of a user object to the current\_user=(new\_user) method. It is part of an authentication …

---

## [ÐŸÐ¾Ð´Ð´ÐµÑ€Ð¶ÐºÐ° Windows x64](https://www.ruby-forum.com/t/dyd-d-d-d-n-d-d-d-windows-x64/188966)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [May 21, 2010, 11:02am UTC](https://www.ruby-forum.com/t/dyd-d-d-d-n-d-d-d-windows-x64/188966 "2010-05-21T11:02:59Z")

</div>

Ð—Ð´Ñ€Ð°Ð²ÑÑ‚Ð²ÑƒÐ¹Ñ‚Ðµ. Ð¥Ð¾Ñ‚ÐµÐ»Ð¾ÑÑŒ Ð±Ñ‹ ÑƒÐ·Ð½Ð°Ñ‚ÑŒ, Ð¿Ð»Ð°Ð½Ð¸Ñ€ÑƒÐµÑ‚ÑÑ (Ð¸ ÐºÐ¾Ð³Ð´Ð°) Ð»Ð¸ Ð²Ð½ÐµÐ´Ñ€Ð¸Ñ‚ÑŒ Ð² nginx Ð¿Ð¾Ð´Ð´ÐµÑ€Ð¶ÐºÑƒ Windows x64? Ð Ñ‚Ð¾ Java Ñ…Ð¾Ñ€Ð¾ÑˆÐ¾ Ñ€Ð°Ð±Ð¾Ñ‚Ð°ÐµÑ‚ Ð½Ð° 6 Ð“Ð…

---

## [\[Bug #2516\] IO#reopen Compatibility (original: )](https://www.ruby-forum.com/t/bug-2516-io-reopen-compatibility-original/183289)

<div class="topic-metadata">

**Author:** [@Yusuke\_E](https://www.ruby-forum.com/u/Yusuke_E)\
**Replies:** 3\
**Last updated:** [February 15, 2010, 2:08pm UTC](https://www.ruby-forum.com/t/bug-2516-io-reopen-compatibility-original/183289 "2010-02-15T14:08:16Z")

</div>

e$B%A%1%C%He(B #2516 e$B$,99?7$5$l$^$7$?!#e(B (by Yusuke E.) e$B1sF#$G$9!#e(B IO#reopen e$B$K$D$$$FD4$Y$F$$$k$N$G$9$,!"$5$C$Q$j$o$+$j$^$;$s!#e(B $ cat foo.txt 1 2 3 1.8: e$BESCf0LCV$Ne(B File e$B$Ke(B reopen e$B$…

---

## [What does the followed\_by construct mean?](https://www.ruby-forum.com/t/what-does-the-followed-by-construct-mean/181910)

<div class="topic-metadata">

**Author:** [@palidanx](https://www.ruby-forum.com/u/palidanx)\
**Replies:** 3\
**Last updated:** [January 21, 2010, 7:33am UTC](https://www.ruby-forum.com/t/what-does-the-followed-by-construct-mean/181910 "2010-01-21T07:33:23Z")

</div>

I’m reading some code and it states… #this can only occur on the person who was invited def make\_friends(invited, inviter) transaction do if user.followed\_by? target what does user.followed\_by mean? thanks! -dan

---

## [Date precedence validation (ex. Round Trip travel dates)](https://www.ruby-forum.com/t/date-precedence-validation-ex-round-trip-travel-dates/174512)

<div class="topic-metadata">

**Author:** [@Axinte\_L](https://www.ruby-forum.com/u/Axinte_L)\
**Replies:** 3\
**Last updated:** [August 28, 2009, 9:39am UTC](https://www.ruby-forum.com/t/date-precedence-validation-ex-round-trip-travel-dates/174512 "2009-08-28T09:39:31Z")

</div>

Hello, I’m trying to validate 2 dates that were provided by the user using a form that wraps a model. I want to do the following 2 validations in the model: \*\*\*\* validate the date format =\> That I know how to do! …

---

## [Starting ruby script on server's reboot](https://www.ruby-forum.com/t/starting-ruby-script-on-servers-reboot/170891)

<div class="topic-metadata">

**Author:** [@serenobs](https://www.ruby-forum.com/u/serenobs)\
**Replies:** 3\
**Last updated:** [June 24, 2009, 4:48pm UTC](https://www.ruby-forum.com/t/starting-ruby-script-on-servers-reboot/170891 "2009-06-24T16:48:43Z")

</div>

Hi I’m using passenger + apache. with this combination, how can I start my ruby script on server’s reboot? now I type “ruby myscript.rb run” whenever server reboot.

---

## [X-Accel-Redirect doen't work with php pages](https://www.ruby-forum.com/t/x-accel-redirect-doent-work-with-php-pages/168954)

<div class="topic-metadata">

**Author:** [@danmezzetti](https://www.ruby-forum.com/u/danmezzetti)\
**Replies:** 3\
**Last updated:** [May 28, 2009, 11:42am UTC](https://www.ruby-forum.com/t/x-accel-redirect-doent-work-with-php-pages/168954 "2009-05-28T11:42:07Z")

</div>

Hi all, i tried using X-Accel-Redirect as described on this guide: http://blog.kovyrin.net/2006/11/01/nginx-x-accel-redirect-php-rails/ If i use this conf: daniele@lara:/var/www$ cat down.php \<? // And redirect user…

---

## [\[help\] Esecuzione di Ruby su XP: Access is denied](https://www.ruby-forum.com/t/help-esecuzione-di-ruby-su-xp-access-is-denied/159642)

<div class="topic-metadata">

**Author:** [@mamoo](https://www.ruby-forum.com/u/mamoo)\
**Replies:** 3\
**Last updated:** [February 7, 2009, 10:08pm UTC](https://www.ruby-forum.com/t/help-esecuzione-di-ruby-su-xp-access-is-denied/159642 "2009-02-07T22:08:17Z")

</div>

Ciao a tutti, ho googlato per una mezz’ora buona e cercato negli archivi del forum ma senza successo. Recentemente ho dovuto formattare il PC (Win XP sp3) e ho quindi reinstallato ruby (1.8.6 dal one-click installer)…

---

## [\[ANN\] At last, the book](https://www.ruby-forum.com/t/ann-at-last-the-book/158936)

<div class="topic-metadata">

**Author:** [@jmcervera](https://www.ruby-forum.com/u/jmcervera)\
**Replies:** 3\
**Last updated:** [January 29, 2009, 5:26pm UTC](https://www.ruby-forum.com/t/ann-at-last-the-book/158936 "2009-01-29T17:26:14Z")

</div>

I have just gone to “Pragmatic Programmers” and spent my money in the book I have dreaming for six months. :slight\_smile: Maybe I’m the first :slight\_smile:

---

## [After a step fails, if successive steps have been executed and passed, cucumber reports them as skip](https://www.ruby-forum.com/t/after-a-step-fails-if-successive-steps-have-been-executed-and-passed-cucumber-reports-them-as-skip/152162)

<div class="topic-metadata">

**Author:** [@aidy\_lewis](https://www.ruby-forum.com/u/aidy_lewis)\
**Replies:** 3\
**Last updated:** [October 30, 2008, 8:34pm UTC](https://www.ruby-forum.com/t/after-a-step-fails-if-successive-steps-have-been-executed-and-passed-cucumber-reports-them-as-skip/152162 "2008-10-30T20:34:19Z")

</div>

Hi, I have a Given step that fails: For that Scenario the remaining Given’s, When, and Then’s are reported as being skipped, even though theses steps have been executed. Why I am not submitting this to Lighthouse, is…

---

## [\[ActiveRecord\] wrong number of arguments (0 for 2) ?!](https://www.ruby-forum.com/t/activerecord-wrong-number-of-arguments-0-for-2/149760)

<div class="topic-metadata">

**Author:** [@mrdamien](https://www.ruby-forum.com/u/mrdamien)\
**Replies:** 3\
**Last updated:** [September 29, 2008, 3:10pm UTC](https://www.ruby-forum.com/t/activerecord-wrong-number-of-arguments-0-for-2/149760 "2008-09-29T15:10:13Z")

</div>

Hi all, I have a basic model as follow, but when I try to query the database, I get the following error: ‘wrong number of arguments (0 for 2)’ I don’t see any problem, I am becoming crazy o\_O’ Migration class Create…

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

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