# Top

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

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

---

## [Help error "undefined method \`middleware' for #\<Radiant::Configuration:0x6cc84c846cb0\>"](https://www.ruby-forum.com/t/help-error-undefined-method-middleware-for-radiant-0x6cc84c846cb0/199837)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 2\
**Last updated:** [November 30, 2010, 4:29am UTC](https://www.ruby-forum.com/t/help-error-undefined-method-middleware-for-radiant-0x6cc84c846cb0/199837 "2010-11-30T04:29:19Z")

</div>

Hi, I’m installing Radiant on Dreamhost and I’m getting “undefined method \`middleware’ for #Radiant::Configuration:0x6cc84c846cb0” from the following line “config.middleware.use ::Radiant::Cache”, 55, in config/ envi…

---

## [Database.yml password and security](https://www.ruby-forum.com/t/database-yml-password-and-security/157131)

<div class="topic-metadata">

**Author:** [@pikz](https://www.ruby-forum.com/u/pikz)\
**Replies:** 2\
**Last updated:** [January 8, 2009, 9:41am UTC](https://www.ruby-forum.com/t/database-yml-password-and-security/157131 "2009-01-08T09:41:31Z")

</div>

I would like to ask if it’s less secure to grant all privileges in MySQL to the user running the application, instead of having the password in the database.yml file?

---

## [Installing gnuradio e110](https://www.ruby-forum.com/t/installing-gnuradio-e110/240631)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 5\
**Last updated:** [April 25, 2014, 3:05pm UTC](https://www.ruby-forum.com/t/installing-gnuradio-e110/240631 "2014-04-25T15:05:25Z")

</div>

Hello, i’m new in gnuradio and i want to update all needed to program this device the e110. how it says in: http://code.ettus.com/redmine/ettus/projects/usrpe1xx/wiki/FAQ#How-do-I-install-GNU-Radio-from-source i hav…

---

## [Factory Girl, Spork and Cucumber - duplicate model classes](https://www.ruby-forum.com/t/factory-girl-spork-and-cucumber-duplicate-model-classes/202241)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 5\
**Last updated:** [January 25, 2011, 4:04pm UTC](https://www.ruby-forum.com/t/factory-girl-spork-and-cucumber-duplicate-model-classes/202241 "2011-01-25T16:04:23Z")

</div>

I am having a strange problem with FactoryGirl, Spork and Cucumber. It seems to be happening when on a ‘before\_validation’ hook another model object is created and saved. Below is a cut down version of the model in qu…

---

## [Detect any "\<a href=mailto:...\>...\</a\>" string in a string?](https://www.ruby-forum.com/t/detect-any-a-href-mailto-a-string-in-a-string/176905)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 5\
**Last updated:** [October 8, 2009, 1:01pm UTC](https://www.ruby-forum.com/t/detect-any-a-href-mailto-a-string-in-a-string/176905 "2009-10-08T13:01:01Z")

</div>

Hi all I have a long, long string of HTML tags. There might be some unprotected Email links in there like this: Some Email or Some Email or… I need to detect these email links and substitute them with something d…

---

## [Wrong number of arguments (2 for 1)](https://www.ruby-forum.com/t/wrong-number-of-arguments-2-for-1/144429)

<div class="topic-metadata">

**Author:** [@skorpions77](https://www.ruby-forum.com/u/skorpions77)\
**Replies:** 5\
**Last updated:** [July 30, 2008, 8:06am UTC](https://www.ruby-forum.com/t/wrong-number-of-arguments-2-for-1/144429 "2008-07-30T08:06:21Z")

</div>

Kann mir da jemand helfen? Ich bin im new.html.erb und mÃ¶chte ein dropdown feld machen mit vorgaben aus der db. \<% alben= @alben.find(:all, :conditions =\> {:aktiv =\> 1} ) %\> \<% alben.each do|album| %\> \<%= album.n…

---

## [Ruby/GnomePrint2 and Ruby/GnomePrintUI2 in windows](https://www.ruby-forum.com/t/ruby-gnomeprint2-and-ruby-gnomeprintui2-in-windows/136548)

<div class="topic-metadata">

**Author:** [@shinwoo](https://www.ruby-forum.com/u/shinwoo)\
**Replies:** 5\
**Last updated:** [May 3, 2008, 4:36pm UTC](https://www.ruby-forum.com/t/ruby-gnomeprint2-and-ruby-gnomeprintui2-in-windows/136548 "2008-05-03T16:36:11Z")

</div>

Anyone able to use the ruby/gnomeprint2 and ruby/gnomeprintui2 in windows platform?

---

## [Perfect Rails emacs ide](https://www.ruby-forum.com/t/perfect-rails-emacs-ide/114306)

<div class="topic-metadata">

**Author:** [@mhfs](https://www.ruby-forum.com/u/mhfs)\
**Replies:** 5\
**Last updated:** [September 11, 2007, 2:18pm UTC](https://www.ruby-forum.com/t/perfect-rails-emacs-ide/114306 "2007-09-11T14:18:51Z")

</div>

Hello list! I currently use emacs for planning and notes (PlannerMode). Been using RadRails for Ruby/Rails dev but can’t stand it anymore. I’d like to set up emacs to be a powerful rails/ruby ide. However, I’m confu…

---

## [How to call a controller from an app view?](https://www.ruby-forum.com/t/how-to-call-a-controller-from-an-app-view/57145)

<div class="topic-metadata">

**Author:** [@nuno](https://www.ruby-forum.com/u/nuno)\
**Replies:** 5\
**Last updated:** [April 8, 2006, 6:19pm UTC](https://www.ruby-forum.com/t/how-to-call-a-controller-from-an-app-view/57145 "2006-04-08T18:19:47Z")

</div>

Hello, I allready asked about embedding an engine view from an app view : using partials works fine. Now, my main app needs to ask my publish engine : give me a “news” block. This block of datas will be embedded in th…

---

## [Net::imap exceptions](https://www.ruby-forum.com/t/net-imap-exceptions/96428)

<div class="topic-metadata">

**Author:** [@russellf](https://www.ruby-forum.com/u/russellf)\
**Replies:** 5\
**Last updated:** [January 25, 2006, 12:52am UTC](https://www.ruby-forum.com/t/net-imap-exceptions/96428 "2006-01-25T00:52:58Z")

</div>

Hi, I have a program that I am using to do password auditing on various IMAP servers. It defines this method: def tryIMAP (host, usessl, user, pass) proto = usessl ? "IMAPS" : "IMAP" begin imap = Net::IMAP.new(hos…

---

## [Single table inheritance introduce on mid of development](https://www.ruby-forum.com/t/single-table-inheritance-introduce-on-mid-of-development/229248)

<div class="topic-metadata">

**Author:** [@DHAMODHARAN\_N](https://www.ruby-forum.com/u/DHAMODHARAN_N)\
**Replies:** 8\
**Last updated:** [January 8, 2013, 3:17pm UTC](https://www.ruby-forum.com/t/single-table-inheritance-introduce-on-mid-of-development/229248 "2013-01-08T15:17:53Z")

</div>

Hi Folks, I converting existing model to STI Existing model CtctContact ctct\_contacts rename as contacts and add column called type in table. In model modified base class(CtctContact \< Contact) during migration it’s s…

---

## [Magic comments justification](https://www.ruby-forum.com/t/magic-comments-justification/220339)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 8\
**Last updated:** [June 8, 2012, 1:55pm UTC](https://www.ruby-forum.com/t/magic-comments-justification/220339 "2012-06-08T13:55:55Z")

</div>

Hi, I’m looking for explanations about the choice of using magic comment to set the source encoding for ruby 1.9 code. I’ve searched on the web but didn’t find anything. Does anyone have good pointers? Thanks Raph

---

## [Suggestions for RoR Web hosting service](https://www.ruby-forum.com/t/suggestions-for-ror-web-hosting-service/208453)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 8\
**Last updated:** [June 19, 2011, 3:20pm UTC](https://www.ruby-forum.com/t/suggestions-for-ror-web-hosting-service/208453 "2011-06-19T15:20:03Z")

</div>

Is there a website and/or individual suggestions for a good RoR web hosting service. Ralph

---

## [ctionView::TemplateError (undefined method \`start\_form\_tag'](https://www.ruby-forum.com/t/ctionview-templateerror-undefined-method-start-form-tag/168410)

<div class="topic-metadata">

**Author:** [@alissonx](https://www.ruby-forum.com/u/alissonx)\
**Replies:** 8\
**Last updated:** [May 21, 2009, 2:31pm UTC](https://www.ruby-forum.com/t/ctionview-templateerror-undefined-method-start-form-tag/168410 "2009-05-21T14:31:10Z")

</div>

I upgrade my version of ruby on rails And my SO Free BSD was working with Ruby 1.8 + 1.2.6 and now Mandriva Linux with Ruby 1.8 + Rails 2.1.1 it’s not working ERROR: Processing LoginController#fazer\_login (for 192.16…

---

## [Ricerche sui campi di un form](https://www.ruby-forum.com/t/ricerche-sui-campi-di-un-form/122571)

<div class="topic-metadata">

**Author:** [@lobo](https://www.ruby-forum.com/u/lobo)\
**Replies:** 8\
**Last updated:** [December 10, 2007, 5:02pm UTC](https://www.ruby-forum.com/t/ricerche-sui-campi-di-un-form/122571 "2007-12-10T17:02:35Z")

</div>

Salve a tutti, vorrei chiedere, in quanto inesperto di Rails, il metodo piÃ¹ appropriato per utilizzare i campi di un form come criteri di una query, senza dover compormi l’SQL da passare al metodo ‘find\_by\_sql’ (che …

---

## [Active Record SQL View Support for SQL Server - Is this supp](https://www.ruby-forum.com/t/active-record-sql-view-support-for-sql-server-is-this-supp/89916)

<div class="topic-metadata">

**Author:** [@BrendanC](https://www.ruby-forum.com/u/BrendanC)\
**Replies:** 8\
**Last updated:** [March 26, 2007, 4:28pm UTC](https://www.ruby-forum.com/t/active-record-sql-view-support-for-sql-server-is-this-supp/89916 "2007-03-26T16:28:16Z")

</div>

I’m just exploring ROR for the first time - so excuse me if that has already been asked/answered. I’m intersted in developing a Web front end to an existing SQL Server database - migrating this to MySql/ Postgres is N…

---

## [Tags to ruby interface: What I am missing? (repost)](https://www.ruby-forum.com/t/tags-to-ruby-interface-what-i-am-missing-repost/82039)

<div class="topic-metadata">

**Author:** [@elegant](https://www.ruby-forum.com/u/elegant)\
**Replies:** 8\
**Last updated:** [March 16, 2006, 1:31pm UTC](https://www.ruby-forum.com/t/tags-to-ruby-interface-what-i-am-missing-repost/82039 "2006-03-16T13:31:30Z")

</div>

I offer my apologies in advance for the repost. On a list as busy as this, it is sometimes easy to get missed in the shuffle. I am trying to create, display and edit a referenced object’s text field on the same view …

---

## [RoR on a VPS](https://www.ruby-forum.com/t/ror-on-a-vps/77409)

<div class="topic-metadata">

**Author:** [@karunnt](https://www.ruby-forum.com/u/karunnt)\
**Replies:** 8\
**Last updated:** [March 7, 2006, 3:41am UTC](https://www.ruby-forum.com/t/ror-on-a-vps/77409 "2006-03-07T03:41:51Z")

</div>

I’m looking for a virtual private server to run a RoR site accessing a database on a different machine. This is a small application - basically a form to add records, and a few summary screens. What are the minimal r…

---

## ["cannot load such file -- ffi\_c" error in AWS Lambda ruby - Ruby version 2.5.0](https://www.ruby-forum.com/t/cannot-load-such-file-ffi-c-error-in-aws-lambda-ruby-ruby-version-2-5-0/261686)

<div class="topic-metadata">

**Author:** [@karansharma](https://www.ruby-forum.com/u/karansharma)\
**Replies:** 0\
**Last updated:** [August 10, 2021, 3:13am UTC](https://www.ruby-forum.com/t/cannot-load-such-file-ffi-c-error-in-aws-lambda-ruby-ruby-version-2-5-0/261686 "2021-08-10T03:13:11Z")

</div>

Hello, I am getting this error “errorMessage”: “cannot load such file – ffi\_c”, In my aws ruby lambda when I try to require a gem that uses gem ‘typhoeus’, ‘1.3.0’ Can anyone please suggest what am I missing. My rub…

---

## [Errori lanciando Gnuradio-Companion](https://www.ruby-forum.com/t/errori-lanciando-gnuradio-companion/244985)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [July 24, 2016, 9:30am UTC](https://www.ruby-forum.com/t/errori-lanciando-gnuradio-companion/244985 "2016-07-24T09:30:34Z")

</div>

Ciao alla lista, Sono un nuovo utente e sto cercando di usare di eseguire gnuradio sotto Ubuntu. Non sono un utente di Ubuntu e gnuradio, ma sto cercando di Eseguire un programma che utilizza gnuradio. Quando eseguo…

---

## [Query strings duplicating on 301 redirect](https://www.ruby-forum.com/t/query-strings-duplicating-on-301-redirect/240896)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [May 5, 2014, 11:09pm UTC](https://www.ruby-forum.com/t/query-strings-duplicating-on-301-redirect/240896 "2014-05-05T23:09:17Z")

</div>

Hey All, I am trying to redirect (301) all HTTP request to TLS (HTTPS) and I keep getting duplicate query strings added to the uri. e.g.: curl -I “http://foo.bar.example.com/foobar.css?v=2” HTTP/1.1 301 Moved Permane…

---

## [I cannot use multi-thread?](https://www.ruby-forum.com/t/i-cannot-use-multi-thread/211482)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [September 10, 2011, 12:44am UTC](https://www.ruby-forum.com/t/i-cannot-use-multi-thread/211482 "2011-09-10T00:44:30Z")

</div>

enviornments: jruby 1.6.2 ( mode 1.8 ) rails 3.0.6 ubuntu 11.04 x86\_64 x86\_64 x86\_64 GNU/Linux Today, I try to use the multithread(in application.rb): … config.threadsafe! … But many class doesnt work BTW: I’m us…

---

## [Wiki updated with reset\_timedout\_connection](https://www.ruby-forum.com/t/wiki-updated-with-reset-timedout-connection/209522)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [July 15, 2011, 9:30pm UTC](https://www.ruby-forum.com/t/wiki-updated-with-reset-timedout-connection/209522 "2011-07-15T21:30:16Z")

</div>

Hello, I’ve updated the Wiki with a directive that was missing from the english version: http://wiki.nginx.org/HttpCoreModule#reset\_timedout\_connection I’ve used the translation provided by Google of the original do…

---

## [Using "require" in irb, where did my variables go!?](https://www.ruby-forum.com/t/using-require-in-irb-where-did-my-variables-go/189441)

<div class="topic-metadata">

**Author:** [@azzoti](https://www.ruby-forum.com/u/azzoti)\
**Replies:** 4\
**Last updated:** [June 2, 2010, 12:17am UTC](https://www.ruby-forum.com/t/using-require-in-irb-where-did-my-variables-go/189441 "2010-06-02T00:17:15Z")

</div>

Hello, I have a somewhat basic question: lets say that in my working directory I have a file called my\_vars.rb. It contains: x = 5.0 puts “your variable x is #{x}” Now, I fire up irb in my command window, and type …

---

## [Passenger nginx latest frozen rails tgz](https://www.ruby-forum.com/t/passenger-nginx-latest-frozen-rails-tgz/165976)

<div class="topic-metadata">

**Author:** [@benedikt](https://www.ruby-forum.com/u/benedikt)\
**Replies:** 4\
**Last updated:** [April 21, 2009, 5:37am UTC](https://www.ruby-forum.com/t/passenger-nginx-latest-frozen-rails-tgz/165976 "2009-04-21T05:37:35Z")

</div>

Hi ! Trying to install radiant0.7.1tgz on Ubuntu Passenger Nginx I get this: rake production db:bootstrap --trace (in /deploy/radiant) rake aborted! no such file to load – spec/rake/spectask /usr/lib/ruby/1.8/r…

---

## [How to wait and check for login to an external site](https://www.ruby-forum.com/t/how-to-wait-and-check-for-login-to-an-external-site/154343)

<div class="topic-metadata">

**Author:** [@codecarpenter](https://www.ruby-forum.com/u/codecarpenter)\
**Replies:** 4\
**Last updated:** [December 1, 2008, 4:43am UTC](https://www.ruby-forum.com/t/how-to-wait-and-check-for-login-to-an-external-site/154343 "2008-12-01T04:43:35Z")

</div>

Hi I am working on a event calendar app that I would like a user to be able to save an event they selected to an online calendar such as Google Calendar. I have a link to Google C. a user can click to open it in a ne…

---

## [Help! problem with mongrel, request.remote\_ip and lighttpd](https://www.ruby-forum.com/t/help-problem-with-mongrel-request-remote-ip-and-lighttpd/121126)

<div class="topic-metadata">

**Author:** [@Rajiv\_S](https://www.ruby-forum.com/u/Rajiv_S)\
**Replies:** 4\
**Last updated:** [November 29, 2007, 6:14am UTC](https://www.ruby-forum.com/t/help-problem-with-mongrel-request-remote-ip-and-lighttpd/121126 "2007-11-29T06:14:39Z")

</div>

I have an existing rails application on lighttpd and I am trrying to upgrade to mongrel for the enhanced scalability it offers. I am running mongrel 1.1.1, rails 1.2.5, lighttpd 1.4.13 and ruby 1.8.5 Everything is wo…

---

## [Importing Database into Rails App database?](https://www.ruby-forum.com/t/importing-database-into-rails-app-database/78103)

<div class="topic-metadata">

**Author:** [@eDave](https://www.ruby-forum.com/u/eDave)\
**Replies:** 4\
**Last updated:** [December 4, 2006, 12:43pm UTC](https://www.ruby-forum.com/t/importing-database-into-rails-app-database/78103 "2006-12-04T12:43:01Z")

</div>

I’m working on an app that uses info from a government database. For a variety of reasons (not the least of which is that their database is in MS Access), I can’t simply write a wrapper around the legacy database. Ins…

---

## [Typo comments not submitting in IE when using Scribbish them](https://www.ruby-forum.com/t/typo-comments-not-submitting-in-ie-when-using-scribbish-them/73675)

<div class="topic-metadata">

**Author:** [@ratcheer](https://www.ruby-forum.com/u/ratcheer)\
**Replies:** 4\
**Last updated:** [October 27, 2006, 9:27am UTC](https://www.ruby-forum.com/t/typo-comments-not-submitting-in-ie-when-using-scribbish-them/73675 "2006-10-27T09:27:11Z")

</div>

I know I found at least one old email about someone asking about this, but I never saw a fix, so I tracked down what was going wrong and made a quick workaround: http://www.timocracy.com/articles/2006/10/25/36-commen…

---

## [RE: Agile HTML](https://www.ruby-forum.com/t/re-agile-html/98967)

<div class="topic-metadata">

**Author:** [@esox\_ch](https://www.ruby-forum.com/u/esox_ch)\
**Replies:** 4\
**Last updated:** [July 19, 2006, 6:31pm UTC](https://www.ruby-forum.com/t/re-agile-html/98967 "2006-07-19T18:31:31Z")

</div>

La logica di sviluppo dell’html negli ultimi anni è cambiata, e anche di parecchio. Ha perfettamente ragione chiaro scuro, la direzione è quella dell’XHTML costruito in maniera semantica, privo di elementi di presenta…

---

## [Using 'validates\_inclusion\_of' to validate foreign key](https://www.ruby-forum.com/t/using-validates-inclusion-of-to-validate-foreign-key/61758)

<div class="topic-metadata">

**Author:** [@mgreenly](https://www.ruby-forum.com/u/mgreenly)\
**Replies:** 4\
**Last updated:** [May 27, 2006, 4:06am UTC](https://www.ruby-forum.com/t/using-validates-inclusion-of-to-validate-foreign-key/61758 "2006-05-27T04:06:14Z")

</div>

I seem to be missing something trying to use ‘validates\_inclusion\_of’ to validate a foreign key and was hoping some one could piont out my mistake? The problem seems to be that Order.find\_all.collect is not returning …

---

## [Flickr Plug-in Issue](https://www.ruby-forum.com/t/flickr-plug-in-issue/55251)

<div class="topic-metadata">

**Author:** [@Chris\_Saylor](https://www.ruby-forum.com/u/Chris_Saylor)\
**Replies:** 4\
**Last updated:** [March 18, 2006, 9:42pm UTC](https://www.ruby-forum.com/t/flickr-plug-in-issue/55251 "2006-03-18T21:42:24Z")

</div>

Is anybody else having a problem with the Flickr plugin? I just noticed that my pictures stopped showing up on my blog, http://www.justhack.com. I’m not sure when that happened. I’m running the latest trunk, 923. I lo…

---

## [Sync\_interpolator](https://www.ruby-forum.com/t/sync-interpolator/246104)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 6\
**Last updated:** [August 28, 2013, 2:08pm UTC](https://www.ruby-forum.com/t/sync-interpolator/246104 "2013-08-28T14:08:02Z")

</div>

Hi Guys, I do not understand how set\_history and fixed rate blocks are interacting. Supposedly, the scheduler can figure out a static schedule for sync blocks. However, the sync\_interpolator is forcasting this int s…

---

## [Incorrect library paths in App.Config](https://www.ruby-forum.com/t/incorrect-library-paths-in-app-config/160266)

<div class="topic-metadata">

**Author:** [@cephas](https://www.ruby-forum.com/u/cephas)\
**Replies:** 6\
**Last updated:** [February 15, 2009, 4:37pm UTC](https://www.ruby-forum.com/t/incorrect-library-paths-in-app-config/160266 "2009-02-15T16:37:34Z")

</div>

Hi, I just noticed that the App.Config that is generated in an in Unsigned build of IronRuby (i.e. rake compile) contains incorrect library paths. When I tried to run rake mspec:core it failed to require ‘fileutils…

---

## [RSpec, TestUnit, Cucumber and Autotest](https://www.ruby-forum.com/t/rspec-testunit-cucumber-and-autotest/153661)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 6\
**Last updated:** [November 20, 2008, 7:52pm UTC](https://www.ruby-forum.com/t/rspec-testunit-cucumber-and-autotest/153661 "2008-11-20T19:52:28Z")

</div>

OS=CentOS-5.2 Ruby=1.8.6 Rails=2.2.1\_RC Gems all up to date I have been experimenting with autotest and I have a few questions. given export AUTOFEATURES=TRUE if ./test exists (with tests) then these tests are ru…

---

## [Random SystemExit. ActiveRecord::StatementInvalid](https://www.ruby-forum.com/t/random-systemexit-activerecord-statementinvalid/151996)

<div class="topic-metadata">

**Author:** [@cgarada](https://www.ruby-forum.com/u/cgarada)\
**Replies:** 6\
**Last updated:** [October 28, 2008, 10:22pm UTC](https://www.ruby-forum.com/t/random-systemexit-activerecord-statementinvalid/151996 "2008-10-28T22:22:19Z")

</div>

I have this recurrent problem that I just can’t figure out. On several parts of the application when active record is executing some query it throws a ActiveRecord::StatementInvalid exit like this: A ActiveRecord::Sta…

---

## [Rails and Enterprise Applications](https://www.ruby-forum.com/t/rails-and-enterprise-applications/127183)

<div class="topic-metadata">

**Author:** [@sprsquish](https://www.ruby-forum.com/u/sprsquish)\
**Replies:** 6\
**Last updated:** [January 26, 2008, 10:20am UTC](https://www.ruby-forum.com/t/rails-and-enterprise-applications/127183 "2008-01-26T10:20:40Z")

</div>

Hi Everyone: My company is looking to migrate one of their enterprise-class products to Ruby on Rails, and there are some questions from the highest levels of management about what we’re doing. So, my question to the…

---

## [\[ANN\] Mailer extension](https://www.ruby-forum.com/t/ann-mailer-extension/81962)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 6\
**Last updated:** [September 25, 2007, 10:31pm UTC](https://www.ruby-forum.com/t/ann-mailer-extension/81962 "2007-09-25T22:31:20Z")

</div>

I’ve teased you long enough! The Mailer extension has been added to the Radiant repository. You can find it at: http://dev.radiantcms.org/svn/radiant/branches/mental/extensions/mailer/ The code has only been slightl…

---

## [Difference between local and live server](https://www.ruby-forum.com/t/difference-between-local-and-live-server/113394)

<div class="topic-metadata">

**Author:** [@joep](https://www.ruby-forum.com/u/joep)\
**Replies:** 6\
**Last updated:** [August 30, 2007, 7:51pm UTC](https://www.ruby-forum.com/t/difference-between-local-and-live-server/113394 "2007-08-30T19:51:54Z")

</div>

Yello, I’m setting my layout in a before\_filter. Here is what I have in application.rb: before\_filter :find\_current\_site layout $layout def find\_current\_site if blahblahblah $layout = “joe1” else $layout = “joe2…

---

## [WEBrick catching keyboard interrupts](https://www.ruby-forum.com/t/webrick-catching-keyboard-interrupts/71102)

<div class="topic-metadata">

**Author:** [@regularfry](https://www.ruby-forum.com/u/regularfry)\
**Replies:** 6\
**Last updated:** [October 5, 2006, 2:02pm UTC](https://www.ruby-forum.com/t/webrick-catching-keyboard-interrupts/71102 "2006-10-05T14:02:38Z")

</div>

Hi all, I’m knocking up a few test scripts using WEBrick (on Ubuntu), and I’m constantly annoyed by the fact that hitting Ctrl-C doesn’t kill it, but makes it print the following to the console: \[2006-10-05 09:43:48\]…

---

## [Ruby 1.8.4 binaries for Win32 are available here](https://www.ruby-forum.com/t/ruby-1-8-4-binaries-for-win32-are-available-here/82932)

<div class="topic-metadata">

**Author:** [@Conductor](https://www.ruby-forum.com/u/Conductor)\
**Replies:** 6\
**Last updated:** [April 10, 2006, 5:29pm UTC](https://www.ruby-forum.com/t/ruby-1-8-4-binaries-for-win32-are-available-here/82932 "2006-04-10T17:29:08Z")

</div>

Ruby 1.8.4 for Microsoft Windows (Win32): File: ruby-1.8.4-i386-mswin32.zip (6,950KB) Version: ruby 1.8.4 (2005-12-24) \[i386-mswin32\] Md5sum: d0ecd0984988c9740ed96b92d43d76b8 Download URL: ftp://ftp.ruby-lang.org/pub/…

---

## [Issue with Cairo mask function in a Gtk Window](https://www.ruby-forum.com/t/issue-with-cairo-mask-function-in-a-gtk-window/246422)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 2\
**Last updated:** [October 13, 2013, 7:51am UTC](https://www.ruby-forum.com/t/issue-with-cairo-mask-function-in-a-gtk-window/246422 "2013-10-13T07:51:40Z")

</div>

Hi ! I’m trying to do smth a little tricky that is explain only in one tutorial I found on the net (and it’s a C tuto) It’s to use a pixbuf, or eventually a png file as a mask. All seems to work well, except the last …

---

## [\[ANN\] Multidimensional Array - MDArray (0.5.0)](https://www.ruby-forum.com/t/ann-multidimensional-array-mdarray-0-5-0/234898)

<div class="topic-metadata">

**Author:** [@alcina](https://www.ruby-forum.com/u/alcina)\
**Replies:** 2\
**Last updated:** [May 17, 2013, 8:54pm UTC](https://www.ruby-forum.com/t/ann-multidimensional-array-mdarray-0-5-0/234898 "2013-05-17T20:54:53Z")

</div>

MDArray MDArray is a multi dimensional array implemented for JRuby inspired by NumPy (www.numpy.org) and Narray (narray.rubyforge.org) by Masahiro Tanaka. MDArray stands on the shoulders of Java-NetCDF and Parallel…

---

## [Rake rdoc issue](https://www.ruby-forum.com/t/rake-rdoc-issue/122347)

<div class="topic-metadata">

**Author:** [@stephanie](https://www.ruby-forum.com/u/stephanie)\
**Replies:** 2\
**Last updated:** [December 6, 2007, 10:41pm UTC](https://www.ruby-forum.com/t/rake-rdoc-issue/122347 "2007-12-06T22:41:31Z")

</div>

When I run “rake doc:app” I receive this error message. rake aborted! Don’t know how to build task ‘doc/README\_FOR\_APP’ Any Ideas? Thanks in advance. -Stephanie

---

## [IShort to Complex is causing this code to save all zeros?](https://www.ruby-forum.com/t/ishort-to-complex-is-causing-this-code-to-save-all-zeros/263782)

<div class="topic-metadata">

**Author:** [@vinci.22](https://www.ruby-forum.com/u/vinci.22)\
**Replies:** 0\
**Last updated:** [April 12, 2023, 6:34pm UTC](https://www.ruby-forum.com/t/ishort-to-complex-is-causing-this-code-to-save-all-zeros/263782 "2023-04-12T18:34:24Z")

</div>

I have a simple GNU radio code for recording data from an SDR and saving the samples to files. It records data in IShort format and saves directly to the hard drive as IShort. Amplitude scaling to the data must be done i…

---

## [Confusion between precedence of unary minus and puts method](https://www.ruby-forum.com/t/confusion-between-precedence-of-unary-minus-and-puts-method/231222)

<div class="topic-metadata">

**Author:** [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Replies:** 3\
**Last updated:** [August 3, 2014, 10:52am UTC](https://www.ruby-forum.com/t/confusion-between-precedence-of-unary-minus-and-puts-method/231222 "2014-08-03T10:52:27Z")

</div>

If I write puts 10 - 5 gives 5, same as puts(10 -5) Now if I write puts(- 5) #gives -5 But if I try - puts - 5 #NoMethodError: undefined method \`-’ for nil:NilClass It seems, puts - 5 is parsed as (puts) - 5. B…

---

## [NGINX looks for /logs/error.log as default?](https://www.ruby-forum.com/t/nginx-looks-for-logs-error-log-as-default/223884)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [October 25, 2012, 10:45am UTC](https://www.ruby-forum.com/t/nginx-looks-for-logs-error-log-as-default/223884 "2012-10-25T10:45:22Z")

</div>

Hello, I have a problem with NGINX version 1.2.4 it will constantly look for /logs/error.log, even though I have defined another error.log in my configuration. I start NGINX like this: nginx -p . -c config/nginx/deve…

---

## [Directory monitoring on NTFS](https://www.ruby-forum.com/t/directory-monitoring-on-ntfs/216127)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 30, 2012, 1:27am UTC](https://www.ruby-forum.com/t/directory-monitoring-on-ntfs/216127 "2012-01-30T01:27:04Z")

</div>

Hello all, I am in a situation where I need to monitor a directory for changes (Basically only when files are created in it) on Windows (NTFS filesystem) from a long running jruby script. After a bit of searching I f…

---

## [Une vague Rails en France?](https://www.ruby-forum.com/t/une-vague-rails-en-france/197913)

<div class="topic-metadata">

**Author:** [@Dobai-Pataky\_BSSSSl](https://www.ruby-forum.com/u/Dobai-Pataky_BSSSSl)\
**Replies:** 3\
**Last updated:** [January 25, 2011, 12:38pm UTC](https://www.ruby-forum.com/t/une-vague-rails-en-france/197913 "2011-01-25T12:38:13Z")

</div>

Chers Railers, J’ai l’impression qu’une vague Rails arrive en France (notamment sur Paris pour le moment). Il me semble de plus en plus de projets sont faits en Rails, que de plus en plus de développeurs se forment à…

---

## [Respond\_with javascript](https://www.ruby-forum.com/t/respond-with-javascript/201817)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 3\
**Last updated:** [January 18, 2011, 11:31pm UTC](https://www.ruby-forum.com/t/respond-with-javascript/201817 "2011-01-18T23:31:31Z")

</div>

My ajax stopped working when I switched to using respond\_with. For my Votes, I have the create action and the corresponding create.js.erb, and respond\_to :html, :js, :xml in the controller. Heres the log when I try an…

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

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