# Top

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

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

---

## [Noob question 1](https://www.ruby-forum.com/t/noob-question-1/243274)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 5\
**Last updated:** [September 8, 2015, 1:26pm UTC](https://www.ruby-forum.com/t/noob-question-1/243274 "2015-09-08T13:26:16Z")

</div>

Hello all 4 weeks ago did my first steps into Linux Ubuntu. I am trying to get the RTL-Dongel to work but still not succeded in that, Time to ask some help. There is a image with pre-installed drivers and GNU-Radio …

---

## [Inicializar un objeto, Ã³ buscando el constructor](https://www.ruby-forum.com/t/inicializar-un-objeto-a-buscando-el-constructor/132923)

<div class="topic-metadata">

**Author:** [@fearx](https://www.ruby-forum.com/u/fearx)\
**Replies:** 5\
**Last updated:** [March 26, 2008, 4:28pm UTC](https://www.ruby-forum.com/t/inicializar-un-objeto-a-buscando-el-constructor/132923 "2008-03-26T16:28:44Z")

</div>

Hola gente, Me estoy volviendo loco intentando encontrar el lugar dónde se inicializan los atributos de un objeto. He encontrado esto: http://www.ruby-forum.com/topic/74160 Pero no me puedo creer que tenga que poner…

---

## [How to create tables/models on the fly?](https://www.ruby-forum.com/t/how-to-create-tables-models-on-the-fly/57359)

<div class="topic-metadata">

**Author:** [@sergeypo](https://www.ruby-forum.com/u/sergeypo)\
**Replies:** 5\
**Last updated:** [April 13, 2006, 12:14am UTC](https://www.ruby-forum.com/t/how-to-create-tables-models-on-the-fly/57359 "2006-04-13T00:14:18Z")

</div>

Hi everyone, I need to create a lot of new db tables during application lifecycle. Like 1000 tables, each holding data from a specific device, collecting data in real time. Each table may have different columns number…

---

## [502 errors with nginx and php5-fpm](https://www.ruby-forum.com/t/502-errors-with-nginx-and-php5-fpm/231933)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 6\
**Last updated:** [September 16, 2014, 9:19pm UTC](https://www.ruby-forum.com/t/502-errors-with-nginx-and-php5-fpm/231933 "2014-09-16T21:19:48Z")

</div>

Hi, I’m getting lots of 502 errors but my nginx logs and php logs don’t give me information that can help me identify the problem. I only have the 502 errors in the access logs. I don’t see any errors in the error.…

---

## [Ruby + OODB and OODBMS](https://www.ruby-forum.com/t/ruby-oodb-and-oodbms/246049)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 6\
**Last updated:** [August 23, 2013, 11:28am UTC](https://www.ruby-forum.com/t/ruby-oodb-and-oodbms/246049 "2013-08-23T11:28:21Z")

</div>

Hi guys, I have a question regarding the object oriented database and object oriented database management systems with regards to Ruby. My question is this: is there a pure object oriented database and management sys…

---

## [Rails & "rename convention"](https://www.ruby-forum.com/t/rails-rename-convention/219444)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 6\
**Last updated:** [May 4, 2012, 1:20pm UTC](https://www.ruby-forum.com/t/rails-rename-convention/219444 "2012-05-04T13:20:39Z")

</div>

Eil, vedendo la mail di Cluter V. sul rinominare una app rails m’ venuto in mente di chiedere di nuovo se qualcuno si fatto una gem/rake task/script awk per rinominare qualcosa dentro una app rails in modo furbo. O…

---

## [Formularios y MySQL](https://www.ruby-forum.com/t/formularios-y-mysql/153374)

<div class="topic-metadata">

**Author:** [@rubystudent](https://www.ruby-forum.com/u/rubystudent)\
**Replies:** 6\
**Last updated:** [November 16, 2008, 12:24am UTC](https://www.ruby-forum.com/t/formularios-y-mysql/153374 "2008-11-16T00:24:38Z")

</div>

Buenas a todos. Soy nuevo con rails, hace algun tiempo ya que programo cositas con ruby, pero he decidido recientemente aprender rails, y me ha surgido alguna duda, que tras mucho buscar no he conseguido resolver, y e…

---

## [Interactive Rake Tasks](https://www.ruby-forum.com/t/interactive-rake-tasks/145661)

<div class="topic-metadata">

**Author:** [@sjmadsen](https://www.ruby-forum.com/u/sjmadsen)\
**Replies:** 6\
**Last updated:** [August 12, 2008, 9:59pm UTC](https://www.ruby-forum.com/t/interactive-rake-tasks/145661 "2008-08-12T21:59:14Z")

</div>

Anyone have a guide or a good example gem/rake task that prompts the user for input and does logic based on it? I want to write an interactive installer for a plugin.

---

## [The Case Against Ruby on Rails](https://www.ruby-forum.com/t/the-case-against-ruby-on-rails/108706)

<div class="topic-metadata">

**Author:** [@whiterabbit](https://www.ruby-forum.com/u/whiterabbit)\
**Replies:** 6\
**Last updated:** [July 7, 2007, 10:31pm UTC](https://www.ruby-forum.com/t/the-case-against-ruby-on-rails/108706 "2007-07-07T22:31:20Z")

</div>

Some blockhead wrote this absurd critique of RoR. Thought some of you might want to comment on his article. Just search that page for “max hodges” to see the reply I posted: http://alterlabs.com/general/articles/blasp…

---

## [Word Chains (#65)](https://www.ruby-forum.com/t/word-chains-65/100645)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 6\
**Last updated:** [February 3, 2006, 3:48pm UTC](https://www.ruby-forum.com/t/word-chains-65/100645 "2006-02-03T15:48:21Z")

</div>

The three rules of Ruby Q.: Please do not post any solutions or spoiler discussion for this quiz until 48 hours have passed from the time on this message. Support Ruby Q. by submitting ideas as often as you can: …

---

## [Production vs Development](https://www.ruby-forum.com/t/production-vs-development/238709)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 8\
**Last updated:** [January 25, 2014, 3:35pm UTC](https://www.ruby-forum.com/t/production-vs-development/238709 "2014-01-25T15:35:29Z")

</div>

Hi folks. New to Rails. Got the following coming up using Passenger: We’re sorry, but something went wrong. If you are the application owner check the logs for more information. Turns out mysql is barfing. My datab…

---

## [Strange behavior](https://www.ruby-forum.com/t/strange-behavior/206327)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 8\
**Last updated:** [April 30, 2011, 1:49pm UTC](https://www.ruby-forum.com/t/strange-behavior/206327 "2011-04-30T13:49:28Z")

</div>

Guys, I’m using some AJAX on my application, but when protect\_from\_forgery is on sometimes it works and sometimes the user session is killed. Today i found out why. It happens the following: The authenticity\_token…

---

## [RESTful design/url question](https://www.ruby-forum.com/t/restful-design-url-question/85554)

<div class="topic-metadata">

**Author:** [@Meech](https://www.ruby-forum.com/u/Meech)\
**Replies:** 8\
**Last updated:** [February 14, 2007, 11:28pm UTC](https://www.ruby-forum.com/t/restful-design-url-question/85554 "2007-02-14T23:28:52Z")

</div>

New to rails and restful design, forgive me if this has been asked… Lets say you have customers and orders models. orders belongs\_to customers. When viewing a customer, (/customers/1/) I want to present the option …

---

## [No me funciona: countries --\> Country](https://www.ruby-forum.com/t/no-me-funciona-countries-country/81614)

<div class="topic-metadata">

**Author:** [@alfredogz](https://www.ruby-forum.com/u/alfredogz)\
**Replies:** 8\
**Last updated:** [January 10, 2007, 11:35pm UTC](https://www.ruby-forum.com/t/no-me-funciona-countries-country/81614 "2007-01-10T23:35:48Z")

</div>

Holas, todo iva bien hasta que me toco poner el la base da datos la tabla countries, luego agrere el modelo Country pero al momento de hacer las vistas para mostrar el nomber del pais sale Nil error. \<%= car.country.…

---

## [Anyone use rack-timeout?](https://www.ruby-forum.com/t/anyone-use-rack-timeout/233916)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [January 22, 2015, 7:13pm UTC](https://www.ruby-forum.com/t/anyone-use-rack-timeout/233916 "2015-01-22T19:13:15Z")

</div>

Whenever I’ve tried using rack-timeout with JRuby I’ve run into hard-to-diagnose problems. I’m in the process of compiling my observations and theories, but first I just wanted to ask if anyone out there has been usi…

---

## [Regarding Filtering Aliasing in USRP B210](https://www.ruby-forum.com/t/regarding-filtering-aliasing-in-usrp-b210/231386)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 2\
**Last updated:** [August 7, 2014, 10:39am UTC](https://www.ruby-forum.com/t/regarding-filtering-aliasing-in-usrp-b210/231386 "2014-08-07T10:39:27Z")

</div>

Hello, We are generating a single tone at 875MHz and we are able to see it using the USRP and Gnuradio while sampling at 16MHz. However, when tuning to 860MHz we see an alias tone near 859MHz; something similar occur…

---

## [Doesn't rspec check the existence of template file](https://www.ruby-forum.com/t/doesnt-rspec-check-the-existence-of-template-file/211089)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [August 25, 2011, 5:03pm UTC](https://www.ruby-forum.com/t/doesnt-rspec-check-the-existence-of-template-file/211089 "2011-08-25T17:03:24Z")

</div>

Hey, I am using rspec (1.3.0) and rspec-rails (1.3.2) for my current rails2 project, I found that in my controller test, rspec doesn’t check the existence of view template. For example, it “should render show templat…

---

## [Does animated gif will work properly using RMagick?](https://www.ruby-forum.com/t/does-animated-gif-will-work-properly-using-rmagick/154833)

<div class="topic-metadata">

**Author:** [@martin\_mercy2001](https://www.ruby-forum.com/u/martin_mercy2001)\
**Replies:** 2\
**Last updated:** [December 12, 2008, 5:29am UTC](https://www.ruby-forum.com/t/does-animated-gif-will-work-properly-using-rmagick/154833 "2008-12-12T05:29:10Z")

</div>

Dear all, I have used RMagic to read and write a image while uploading. An animated gif was read from my local machine and was written in my images folder using RMagick. But the animated gif which i read was witten in…

---

## [Vr not lauching](https://www.ruby-forum.com/t/vr-not-lauching/242740)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [February 15, 2016, 3:18pm UTC](https://www.ruby-forum.com/t/vr-not-lauching/242740 "2016-02-15T15:18:59Z")

</div>

I’ve installed Visual Ruby but it won’t lauch when I write the ‘vr’ command in in my prompt command. I have an error (in French) ‘vr’ n’est pas reconnu en tant que commande interne ou externe, un programme exécutable …

---

## [Rails- Devise- confirmable- confirmation email not received](https://www.ruby-forum.com/t/rails-devise-confirmable-confirmation-email-not-received/227276)

<div class="topic-metadata">

**Author:** [@sajeevzacharias4](https://www.ruby-forum.com/u/sajeevzacharias4)\
**Replies:** 1\
**Last updated:** [March 9, 2013, 11:39pm UTC](https://www.ruby-forum.com/t/rails-devise-confirmable-confirmation-email-not-received/227276 "2013-03-09T23:39:46Z")

</div>

In an application I use devise authentication. I added confirmable.During sign up, message is that email has been sent. But email is not received in my gmail account. How can I solve this problem. Do I need to add ot…

---

## [\[feature:trunk\] Server Name Indication (SNI) for net/http](https://www.ruby-forum.com/t/feature-trunk-server-name-indication-sni-for-net-http/202504)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [February 7, 2011, 2:51pm UTC](https://www.ruby-forum.com/t/feature-trunk-server-name-indication-sni-for-net-http/202504 "2011-02-07T14:51:45Z")

</div>

$B$U$H!“(BSSL $B$G(B name based vitual $B$r$d$kOC(B (SNI - RFC 3546) $B$O$I$&$J$C$?$s$@$C$1!”(B $B$H;W$C$FC5$7$?$i!“0J2\<$r8+$D$1$?$N$G!”(Bnet/http $B$K$bBP=h$r(B $BF~$l$k$N$O$I$&$G$9$+$M!#(B ssl - OpenSSL Server Name…

---

## [Putty on Ruby and how to hide password](https://www.ruby-forum.com/t/putty-on-ruby-and-how-to-hide-password/104716)

<div class="topic-metadata">

**Author:** [@ribes](https://www.ruby-forum.com/u/ribes)\
**Replies:** 3\
**Last updated:** [May 21, 2007, 9:42pm UTC](https://www.ruby-forum.com/t/putty-on-ruby-and-how-to-hide-password/104716 "2007-05-21T21:42:59Z")

</div>

Team, Several times per week and need to login to around 120 AIX servers from a Windows desktop. I am using ssh under putty to accomplish this. I coded a simple \*batch \*file to establish all 120 sessions. The proble…

---

## [Uninitialized constant OpenSSL::Digest::SHA1](https://www.ruby-forum.com/t/uninitialized-constant-openssl-sha1/57639)

<div class="topic-metadata">

**Author:** [@slain](https://www.ruby-forum.com/u/slain)\
**Replies:** 3\
**Last updated:** [April 20, 2006, 5:06pm UTC](https://www.ruby-forum.com/t/uninitialized-constant-openssl-sha1/57639 "2006-04-20T17:06:04Z")

</div>

I just updated my ruby from 1.8.2 to the Windows Installer 184-16 RC1, and now when I try to start Webrick I get the following: c:/program files/dev/ruby/lib/ruby/site\_ruby/1.8/rubygems/security.rb:18: uninitialized …

---

## [Getting "Could not find gem 'rack (~\> 2.x) ruby'" error while running bundle for Rails 5 app](https://www.ruby-forum.com/t/getting-could-not-find-gem-rack-2-x-ruby-error-while-running-bundle-for-rails-5-app/243104)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [August 21, 2015, 10:00pm UTC](https://www.ruby-forum.com/t/getting-could-not-find-gem-rack-2-x-ruby-error-while-running-bundle-for-rails-5-app/243104 "2015-08-21T22:00:21Z")

</div>

I have 5 Rails 5 "canery apps’ that in the past run bundle cleanly, but yesterday things changed. I have two repos (rt\_demo\_app5, rt\_first\_app5) that have run bundle cleanly (after adding rack master to Gemfile) and…

---

## [Implementing Java Interface on a per Instance Basis?](https://www.ruby-forum.com/t/implementing-java-interface-on-a-per-instance-basis/204507)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 15, 2011, 3:29pm UTC](https://www.ruby-forum.com/t/implementing-java-interface-on-a-per-instance-basis/204507 "2011-03-15T15:29:51Z")

</div>

Hi, Ideally I would like to have a Ruby script which creates an instance which when returned from the script implements a particular interface. Example final ScriptingContainer sc = new ScriptingContainer(LocalConte…

---

## [Best way to generate an API key?](https://www.ruby-forum.com/t/best-way-to-generate-an-api-key/147228)

<div class="topic-metadata">

**Author:** [@marstoni](https://www.ruby-forum.com/u/marstoni)\
**Replies:** 4\
**Last updated:** [August 31, 2008, 8:01pm UTC](https://www.ruby-forum.com/t/best-way-to-generate-an-api-key/147228 "2008-08-31T20:01:31Z")

</div>

I’m in the middle of creating an API for our app and wanted to get some feedback on the best way to generate unique APIKEY’s for each account. Similar to Basecamp’s API keys for example. md5 hash of username:password…

---

## [Asignar valor a una variable ruby dentro de rhtml](https://www.ruby-forum.com/t/asignar-valor-a-una-variable-ruby-dentro-de-rhtml/143282)

<div class="topic-metadata">

**Author:** [@goku](https://www.ruby-forum.com/u/goku)\
**Replies:** 4\
**Last updated:** [July 17, 2008, 1:14am UTC](https://www.ruby-forum.com/t/asignar-valor-a-una-variable-ruby-dentro-de-rhtml/143282 "2008-07-17T01:14:43Z")

</div>

Buenas amigos, necesito su ayuda : Quiero asignar a una variable de session de ruby un valor dentro de una fncion javascrits, gracias

---

## [Don't know how to build task 'db:migrate:engines'](https://www.ruby-forum.com/t/dont-know-how-to-build-task-dbengines/104593)

<div class="topic-metadata">

**Author:** [@javier\_barcena](https://www.ruby-forum.com/u/javier_barcena)\
**Replies:** 4\
**Last updated:** [May 21, 2007, 12:00am UTC](https://www.ruby-forum.com/t/dont-know-how-to-build-task-dbengines/104593 "2007-05-21T00:00:28Z")

</div>

hello, that instruction is used now to use rake db: migrate engine? Thanks,

---

## [Action for creating object through 3 models. rails 4](https://www.ruby-forum.com/t/action-for-creating-object-through-3-models-rails-4/233279)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 7\
**Last updated:** [December 3, 2014, 6:57pm UTC](https://www.ruby-forum.com/t/action-for-creating-object-through-3-models-rails-4/233279 "2014-12-03T18:57:26Z")

</div>

Hi all! I have 3 models: user, post, comment User has\_many :posts, :commentsPost belongs\_to :user, has\_many :commentsComments belongs\_to :user, post So for creating post i have action create def create @post = Post…

---

## [From time to time we can't reload the nginx service and get this error... /var/run/nginx.pid: No su](https://www.ruby-forum.com/t/from-time-to-time-we-cant-reload-the-nginx-service-and-get-this-error-var-run-nginx-pid-no-su/175310)

<div class="topic-metadata">

**Author:** [@iberci](https://www.ruby-forum.com/u/iberci)\
**Replies:** 7\
**Last updated:** [September 25, 2013, 2:30pm UTC](https://www.ruby-forum.com/t/from-time-to-time-we-cant-reload-the-nginx-service-and-get-this-error-var-run-nginx-pid-no-su/175310 "2013-09-25T14:30:27Z")

</div>

Reloading nginx daemon configuration…cat: /var/run/nginx.pid: No such file or directory kill: usage: kill \[-s sigspec | -n signum | -sigspec\] pid | jobspec … or kill -l \[sigspec\] can’t reload. Any idea why? I can…

---

## [Delete method also modifies the original variable](https://www.ruby-forum.com/t/delete-method-also-modifies-the-original-variable/228298)

<div class="topic-metadata">

**Author:** [@vzmind](https://www.ruby-forum.com/u/vzmind)\
**Replies:** 7\
**Last updated:** [April 17, 2013, 5:50pm UTC](https://www.ruby-forum.com/t/delete-method-also-modifies-the-original-variable/228298 "2013-04-17T17:50:00Z")

</div>

Suppose a code is like this: array1 = \[1,2,3,4,5\] array2 = array1 array2.delete(1) And the result was: array2 =\> \[2,3,4,5\] array1 =\> \[2,3,4,5\] How do I make sure the first array stays original after the modificati…

---

## [Get common entries in two arrays](https://www.ruby-forum.com/t/get-common-entries-in-two-arrays/209635)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 7\
**Last updated:** [July 19, 2011, 12:27pm UTC](https://www.ruby-forum.com/t/get-common-entries-in-two-arrays/209635 "2011-07-19T12:27:36Z")

</div>

Hi, is there a way to generate a new array with the common elements in array A and arra B? This is: arrayA = \[“qqq”, “www”, “eee”\] arrayB = \[“www”, “eee”, “rrr”, “ttt”\] the result should be: \[“www”, “eee”\] Thanks a…

---

## [Rails on edge](https://www.ruby-forum.com/t/rails-on-edge/181970)

<div class="topic-metadata">

**Author:** [@samuel](https://www.ruby-forum.com/u/samuel)\
**Replies:** 7\
**Last updated:** [January 21, 2010, 11:27am UTC](https://www.ruby-forum.com/t/rails-on-edge/181970 "2010-01-21T11:27:31Z")

</div>

bonsoir, ma question va s’en doute vous parraÃ®tre bÃªte mais je viens en me renseignant sur typo je suis tombÃ© sur le mode d’installation de typo edge. en cherchant un peu j’ai cru comprendre que c’est un portage d…

---

## [Chess960 (#106)](https://www.ruby-forum.com/t/chess960-106/80117)

<div class="topic-metadata">

**Author:** [@bbazzarrakk](https://www.ruby-forum.com/u/bbazzarrakk)\
**Replies:** 7\
**Last updated:** [December 21, 2006, 8:21pm UTC](https://www.ruby-forum.com/t/chess960-106/80117 "2006-12-21T20:21:21Z")

</div>

There are a surprising number of ways to think about this problem, each leading to a different solution. Let’s examine several. First, you can think of this as a constraints problem. We have the rules of a board s…

---

## [Having three ruby versions installed](https://www.ruby-forum.com/t/having-three-ruby-versions-installed/77225)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 7\
**Last updated:** [November 25, 2006, 9:25pm UTC](https://www.ruby-forum.com/t/having-three-ruby-versions-installed/77225 "2006-11-25T21:25:42Z")

</div>

on my box running Mac OS X (Tiger the latest) i do have three ruby versions : /usr/bin/ruby # Apple’s default installed version : =\> 1.8.2 /opt/local/bin/ruby # the MacPort version : =\> 1.8.5 /Users/yvon/bin/jrub…

---

## [Rails 3 nested routing without resources](https://www.ruby-forum.com/t/rails-3-nested-routing-without-resources/208831)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 5\
**Last updated:** [June 29, 2011, 11:03pm UTC](https://www.ruby-forum.com/t/rails-3-nested-routing-without-resources/208831 "2011-06-29T23:03:37Z")

</div>

It sounds like it is generally recommended either not to nest controllers at all or at most by one level. However this seems to relate mostly to resources. Interactive functionality generally works well with resource…

---

## [Hahses and sort](https://www.ruby-forum.com/t/hahses-and-sort/146483)

<div class="topic-metadata">

**Author:** [@scudco](https://www.ruby-forum.com/u/scudco)\
**Replies:** 5\
**Last updated:** [August 22, 2008, 4:41am UTC](https://www.ruby-forum.com/t/hahses-and-sort/146483 "2008-08-22T04:41:30Z")

</div>

i have a hash whose values are hashes themselves like this stats\_hash = { “fourth”=\> {:total\_completed=\>1, :total\_sold=\>1, :str=\>0.0}, “third”=\> {:total\_completed=\>1, :total\_sold=\>0, :str=\>25.0}, “second”=\>{:total\_c…

---

## [Active Record not found](https://www.ruby-forum.com/t/active-record-not-found/108194)

<div class="topic-metadata">

**Author:** [@lu5t](https://www.ruby-forum.com/u/lu5t)\
**Replies:** 5\
**Last updated:** [June 30, 2007, 4:30am UTC](https://www.ruby-forum.com/t/active-record-not-found/108194 "2007-06-30T04:30:46Z")

</div>

I’m new to ruby, so I may have this all wrong. I’m trying to use activerecord to manage database functions for a small script I’m writing. I’ve installed the activerecord gem, and verified it’s in the list of local g…

---

## [Login authentication - which plugin?](https://www.ruby-forum.com/t/login-authentication-which-plugin/106866)

<div class="topic-metadata">

**Author:** [@Simon\_Holroyd](https://www.ruby-forum.com/u/Simon_Holroyd)\
**Replies:** 5\
**Last updated:** [June 15, 2007, 9:24pm UTC](https://www.ruby-forum.com/t/login-authentication-which-plugin/106866 "2007-06-15T21:24:59Z")

</div>

Hello, This is my first post to the forum as I’m a new RoR user. I’m trying to decide which login/authentication plugin to use. I suppose defining what I mean by best is a good idea, so I want the plugin that is most…

---

## [Engine tests don't seem to run at all from trunk](https://www.ruby-forum.com/t/engine-tests-dont-seem-to-run-at-all-from-trunk/89829)

<div class="topic-metadata">

**Author:** [@wolfmanjm](https://www.ruby-forum.com/u/wolfmanjm)\
**Replies:** 5\
**Last updated:** [March 30, 2006, 8:37am UTC](https://www.ruby-forum.com/t/engine-tests-dont-seem-to-run-at-all-from-trunk/89829 "2006-03-30T08:37:32Z")

</div>

I have checked out from trunk, am on rails 1.1 and ruby 1.8.4 The first problem I ran into was not finding the testing\_extensions. I fixed it by changing this line, and adding the “engines” after “lib” require File.jo…

---

## [DRY and engines](https://www.ruby-forum.com/t/dry-and-engines/54297)

<div class="topic-metadata">

**Author:** [@masschel](https://www.ruby-forum.com/u/masschel)\
**Replies:** 5\
**Last updated:** [March 1, 2006, 7:40pm UTC](https://www.ruby-forum.com/t/dry-and-engines/54297 "2006-03-01T19:40:26Z")

</div>

Hello, I’m using the UserEngine in my Rails application, in casu Riki. In the page to create a new book, the administrator can select the book administrator for that book, or create a new one if it does not exists. I…

---

## [What is the pattern for testing a time argument using argument matcher](https://www.ruby-forum.com/t/what-is-the-pattern-for-testing-a-time-argument-using-argument-matcher/216146)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 2\
**Last updated:** [January 26, 2012, 5:47pm UTC](https://www.ruby-forum.com/t/what-is-the-pattern-for-testing-a-time-argument-using-argument-matcher/216146 "2012-01-26T17:47:05Z")

</div>

Say I do: object.method 5.days.ago In the test I want to test using should\_receive like: object.should\_receive(:method).with(5.days.ago) This will fail since two time objects aren’t exact the same. What is the gener…

---

## [TCP connection problems (FIN\_WAIT2/LAST\_ACK) when upstream server is keepalived](https://www.ruby-forum.com/t/tcp-connection-problems-fin-wait2-last-ack-when-upstream-server-is-keepalived/193360)

<div class="topic-metadata">

**Author:** [@dwass](https://www.ruby-forum.com/u/dwass)\
**Replies:** 2\
**Last updated:** [August 18, 2010, 9:53am UTC](https://www.ruby-forum.com/t/tcp-connection-problems-fin-wait2-last-ack-when-upstream-server-is-keepalived/193360 "2010-08-18T09:53:43Z")

</div>

Have a strange problem. We have a configuration (this is only a part of the configuration) that has problems if the upstream server is a load-balanced server using ipvs/keepalived. Here is the relevant part of the con…

---

## [Capistrano on Windows](https://www.ruby-forum.com/t/capistrano-on-windows/58251)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [April 20, 2006, 4:55am UTC](https://www.ruby-forum.com/t/capistrano-on-windows/58251 "2006-04-20T04:55:37Z")

</div>

So, I’ve just completed my first develop-test-deploy-wait -fix-test-deploy, and although it was successful it was a nightmare to carry out. Aside from not knowing that sqlite doesnt have a facility to delete columns …

---

## [Equivalent of C# readonly](https://www.ruby-forum.com/t/equivalent-of-c-readonly/244360)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 6\
**Last updated:** [April 7, 2016, 8:36pm UTC](https://www.ruby-forum.com/t/equivalent-of-c-readonly/244360 "2016-04-07T20:36:25Z")

</div>

Has there ever been discussion of adding this to Ruby? I couldn’t find anything by searching this forum or the issue log. attr\_reader is great but sometimes it’s good to prevent assignment of @field within a class out…

---

## [Rails 4 Join table query not working](https://www.ruby-forum.com/t/rails-4-join-table-query-not-working/239645)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 6\
**Last updated:** [March 9, 2014, 10:22pm UTC](https://www.ruby-forum.com/t/rails-4-join-table-query-not-working/239645 "2014-03-09T22:22:05Z")

</div>

Hi, I wonder if anyone has any suggestions for solving the following issue. I just upgraded from rails 3.2.x to 4.0.3 The following was working in 3.2.x In questions\_controller: def show @question = Question.find(p…

---

## [Class method's has a fuzzy meaning and a sharp meaning](https://www.ruby-forum.com/t/class-methods-has-a-fuzzy-meaning-and-a-sharp-meaning/226813)

<div class="topic-metadata">

**Author:** [@my-ruby](https://www.ruby-forum.com/u/my-ruby)\
**Replies:** 6\
**Last updated:** [February 23, 2013, 12:54pm UTC](https://www.ruby-forum.com/t/class-methods-has-a-fuzzy-meaning-and-a-sharp-meaning/226813 "2013-02-23T12:54:36Z")

</div>

David A. Black in his book - “The Well-Grounded Rubyist” “So class method has a fuzzy meaning and a sharp meaning. Fuzzily, any method that gets called directly on a Class object is a class method. Sharply, a class me…

---

## [Compile nginx for zimbra](https://www.ruby-forum.com/t/compile-nginx-for-zimbra/221271)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 6\
**Last updated:** [July 6, 2012, 4:00pm UTC](https://www.ruby-forum.com/t/compile-nginx-for-zimbra/221271 "2012-07-06T16:00:02Z")

</div>

Hi, I have a ubuntu 10.04 TLS. When compile nginx for zimbra (http://zimbra.imladris.sk/download/src/HELIX-720.fbsd/ThirdParty/nginx/nginx-0.9-zimbra/) I get this error: gcc -o objs/nginx \\ objs/src/core/nginx…

---

## [Get blinking cursor in Console, but not in SciTE](https://www.ruby-forum.com/t/get-blinking-cursor-in-console-but-not-in-scite/197875)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 6\
**Last updated:** [October 21, 2010, 10:17pm UTC](https://www.ruby-forum.com/t/get-blinking-cursor-in-console-but-not-in-scite/197875 "2010-10-21T22:17:45Z")

</div>

Hi, I’m running Ruby 1.5.6 over WinXP-Pro/SP3. I’ve got a snippet: puts “Click to the right of cursor;” printf “then enter name and press ENTER:” STDOUT.flush name = $stdin.gets.chomp When I run it in a Command wi…

---

## [Json und attibut reihenfolge?](https://www.ruby-forum.com/t/json-und-attibut-reihenfolge/140717)

<div class="topic-metadata">

**Author:** [@d-w](https://www.ruby-forum.com/u/d-w)\
**Replies:** 6\
**Last updated:** [June 18, 2008, 1:54pm UTC](https://www.ruby-forum.com/t/json-und-attibut-reihenfolge/140717 "2008-06-18T13:54:00Z")

</div>

Hallo, kann mir jemand sagen ob das normal ist dass .to\_json die attribute neu “aufteilt”. Ich habe ein Konstrukt dass ich als json auf dem Server brauche, allerdings kommen die Attribute nicht so an wie ich sie ben…

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

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