# Top

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

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

---

## [Auth logic - password confirmation](https://www.ruby-forum.com/t/auth-logic-password-confirmation/193462)

<div class="topic-metadata">

**Author:** [@oliver\_torres](https://www.ruby-forum.com/u/oliver_torres)\
**Replies:** 2\
**Last updated:** [August 18, 2010, 3:28pm UTC](https://www.ruby-forum.com/t/auth-logic-password-confirmation/193462 "2010-08-18T15:28:35Z")

</div>

Hi, newbie here. :slight\_smile: i have this form on a test rails app: \<% form\_for @user do |f| %\> \<%= f.error\_messages %\> \<%= f.label :username %\> \<%= f.text\_field :username %\> \<%= f.label :ema…

---

## [Imagemagick, Magickwand y RMsgick](https://www.ruby-forum.com/t/imagemagick-magickwand-y-rmsgick/186920)

<div class="topic-metadata">

**Author:** [@gorkimaximum](https://www.ruby-forum.com/u/gorkimaximum)\
**Replies:** 2\
**Last updated:** [April 15, 2010, 3:03pm UTC](https://www.ruby-forum.com/t/imagemagick-magickwand-y-rmsgick/186920 "2010-04-15T15:03:33Z")

</div>

Hola, He instalado correctamente la version (6.5.6-8 q8) de ImageMagick y la version 2.12.0 de RMagick para Ruby con las rubygems. Ahora, al actualizar las rubygem con “gem update --remote”, siempre me sale un error,…

---

## [Language issue in console](https://www.ruby-forum.com/t/language-issue-in-console/182444)

<div class="topic-metadata">

**Author:** [@toddf](https://www.ruby-forum.com/u/toddf)\
**Replies:** 2\
**Last updated:** [January 28, 2010, 7:43am UTC](https://www.ruby-forum.com/t/language-issue-in-console/182444 "2010-01-28T07:43:48Z")

</div>

Hi, We’re trying to search our database in Thai, but it seems the ruby console doesn’t recognise the characters. Can someone shead some light on this please? Some text input would be “à¸à¸£à¸¸à¸‡à¹€à¸—à¸žà¸¯” And t…

---

## [How to send a html email with attachment](https://www.ruby-forum.com/t/how-to-send-a-html-email-with-attachment/178027)

<div class="topic-metadata">

**Author:** [@terrytie](https://www.ruby-forum.com/u/terrytie)\
**Replies:** 2\
**Last updated:** [October 29, 2009, 8:07am UTC](https://www.ruby-forum.com/t/how-to-send-a-html-email-with-attachment/178027 "2009-10-29T08:07:37Z")

</div>

Hi guys: I wanna send a html format email with a attachment. What I do is like: model: def weekly\_report address = WeeklyReportEmail.find\_all\_by\_validate(true).collect(&:address).to\_sentence(:last\_word\_connector =\>…

---

## [FileUtils.cp\_r - works with regex?](https://www.ruby-forum.com/t/fileutils-cp-r-works-with-regex/159823)

<div class="topic-metadata">

**Author:** [@edouard](https://www.ruby-forum.com/u/edouard)\
**Replies:** 2\
**Last updated:** [February 9, 2009, 11:52am UTC](https://www.ruby-forum.com/t/fileutils-cp-r-works-with-regex/159823 "2009-02-09T11:52:23Z")

</div>

Hi, I try to copy files that match a certain pattern to another dir, i write cp\_r //downloads/bsd/i, “~/biblio/bsd/” if i can use regex to do this what is wrong in my approach? thanks for comments

---

## [Tag.globals.actual\_page returning null](https://www.ruby-forum.com/t/tag-globals-actual-page-returning-null/120322)

<div class="topic-metadata">

**Author:** [@dpitman](https://www.ruby-forum.com/u/dpitman)\
**Replies:** 2\
**Last updated:** [November 15, 2007, 9:12pm UTC](https://www.ruby-forum.com/t/tag-globals-actual-page-returning-null/120322 "2007-11-15T21:12:47Z")

</div>

Using Radiant 0.6.4 gem. The following is false because tag.globals.actual\_page is being returned NULL… tag “if\_page\_is\_self” do |tag| tag.expand if tag.locals.page == tag.globals.actual\_page end I’m using my tag li…

---

## [A couple of issues building in Visual Studio](https://www.ruby-forum.com/t/a-couple-of-issues-building-in-visual-studio/117238)

<div class="topic-metadata">

**Author:** [@Derek\_Knight](https://www.ruby-forum.com/u/Derek_Knight)\
**Replies:** 2\
**Last updated:** [October 15, 2007, 3:50pm UTC](https://www.ruby-forum.com/t/a-couple-of-issues-building-in-visual-studio/117238 "2007-10-15T15:50:10Z")

</div>

I posted this in the open-discussion forum. Maybe that’s not used much these days. I've found a few problems building IronRuby on Windows (using the IronRuby.sln file). It’s possible my set-up might be bad, althoug…

---

## [Strange syntax error on rename](https://www.ruby-forum.com/t/strange-syntax-error-on-rename/225037)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 8\
**Last updated:** [December 8, 2012, 2:17am UTC](https://www.ruby-forum.com/t/strange-syntax-error-on-rename/225037 "2012-12-08T02:17:02Z")

</div>

Hi, I’m a total newb and wanted to get my hands dirty with a lil script I could use right now. I can get the Dir.foreach to print my directory of files separately in irb and the rename of one existing file with it’s …

---

## [Best ruby web framework?](https://www.ruby-forum.com/t/best-ruby-web-framework/195009)

<div class="topic-metadata">

**Author:** [@mrashi12](https://www.ruby-forum.com/u/mrashi12)\
**Replies:** 8\
**Last updated:** [September 15, 2010, 4:10pm UTC](https://www.ruby-forum.com/t/best-ruby-web-framework/195009 "2010-09-15T16:10:30Z")

</div>

As my subject line says the question is about ruby web framework Which is the best ruby web framework? Is it good in performance and speed to use ruby without any framework (running on Apache) ?

---

## [How to catch a request that has a given word in url?](https://www.ruby-forum.com/t/how-to-catch-a-request-that-has-a-given-word-in-url/192971)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 8\
**Last updated:** [August 20, 2010, 5:45am UTC](https://www.ruby-forum.com/t/how-to-catch-a-request-that-has-a-given-word-in-url/192971 "2010-08-20T05:45:21Z")

</div>

Hi, I am trying to catch any request that has WORD in the url, eg: catch: http://example.org/whatever/path/WORD/file.pdf don’t catch: http://example.org/some/other/path/anotherfile.jpg and if simple to do, don’t catc…

---

## [Hash in controller is nil after submitting form](https://www.ruby-forum.com/t/hash-in-controller-is-nil-after-submitting-form/185346)

<div class="topic-metadata">

**Author:** [@ESESES](https://www.ruby-forum.com/u/ESESES)\
**Replies:** 8\
**Last updated:** [March 18, 2010, 3:28pm UTC](https://www.ruby-forum.com/t/hash-in-controller-is-nil-after-submitting-form/185346 "2010-03-18T15:28:44Z")

</div>

I’m trying to create a data entry form but getting an error when it sumbmits. I am using an hash to get the names of the fields definied in the controller’s “new” function: def new @thing = thing.new @columns = Has…

---

## [Script/generate not working ! while rails do](https://www.ruby-forum.com/t/script-generate-not-working-while-rails-do/181485)

<div class="topic-metadata">

**Author:** [@fell](https://www.ruby-forum.com/u/fell)\
**Replies:** 8\
**Last updated:** [January 14, 2010, 2:27pm UTC](https://www.ruby-forum.com/t/script-generate-not-working-while-rails-do/181485 "2010-01-14T14:27:29Z")

</div>

Hi Strange thing happens when i run rails project it makes project but when i run script/generate or script/server it writes Missing the Rails 2.3.5 gem. Please gem install -v=2.3.5 rails, update your RAILS\_GEM\_VERSI…

---

## [New implementation for fusb\_linux without allocs/frees](https://www.ruby-forum.com/t/new-implementation-for-fusb-linux-without-allocs-frees/161075)

<div class="topic-metadata">

**Author:** [@Stefan\_Bruens](https://www.ruby-forum.com/u/Stefan_Bruens)\
**Replies:** 8\
**Last updated:** [February 24, 2009, 9:36pm UTC](https://www.ruby-forum.com/t/new-implementation-for-fusb-linux-without-allocs-frees/161075 "2009-02-24T21:36:09Z")

</div>

Hi, attached is a new version for fusb\_linux.cc. The current implementation uses three std::list lists for free, pending and completed urbs, so submitting a single urb causes three allocs and three frees (pushing a…

---

## [Mislav-will\_paginate and acts\_as\_taggable\_on\_steorids problem](https://www.ruby-forum.com/t/mislav-will-paginate-and-acts-as-taggable-on-steorids-problem/153884)

<div class="topic-metadata">

**Author:** [@jawosis](https://www.ruby-forum.com/u/jawosis)\
**Replies:** 8\
**Last updated:** [November 23, 2008, 4:00pm UTC](https://www.ruby-forum.com/t/mislav-will-paginate-and-acts-as-taggable-on-steorids-problem/153884 "2008-11-23T16:00:00Z")

</div>

I always get the following problem: Loading development environment (Rails 2.2.2) \>\> p = Frontpage.find 1 =\> #\<Frontpage id: 1, worker\_id: 1, description: “dsadsa”, show\_date: “2008-11-22 11:20:27”, hide\_date: “2008-1…

---

## [Balancer Algorithms](https://www.ruby-forum.com/t/balancer-algorithms/153711)

<div class="topic-metadata">

**Author:** [@Stephen\_Nelson-Smit](https://www.ruby-forum.com/u/Stephen_Nelson-Smit)\
**Replies:** 8\
**Last updated:** [November 20, 2008, 3:25pm UTC](https://www.ruby-forum.com/t/balancer-algorithms/153711 "2008-11-20T15:25:41Z")

</div>

Hello, I want to distribute traffic across backend servers based purely on availability. I don’t want to send some traffic to one which is less busy, or has less traffic, , or has fewer connections, I want to send tr…

---

## [Nested ressource path problem](https://www.ruby-forum.com/t/nested-ressource-path-problem/143484)

<div class="topic-metadata">

**Author:** [@Parity](https://www.ruby-forum.com/u/Parity)\
**Replies:** 8\
**Last updated:** [August 11, 2008, 1:55pm UTC](https://www.ruby-forum.com/t/nested-ressource-path-problem/143484 "2008-08-11T13:55:24Z")

</div>

Hello :-), I’ve started to figure out how nested ressources are working, but I get an exception in a (i think so) simple case. The exception is: “ActionController::MethodNotAllowed - Only get, put, and delete request…

---

## [Sharing a variable between methods?](https://www.ruby-forum.com/t/sharing-a-variable-between-methods/124259)

<div class="topic-metadata">

**Author:** [@Gedeon](https://www.ruby-forum.com/u/Gedeon)\
**Replies:** 8\
**Last updated:** [December 27, 2007, 6:28am UTC](https://www.ruby-forum.com/t/sharing-a-variable-between-methods/124259 "2007-12-27T06:28:49Z")

</div>

Hello! I need some help on something that seems very basic and ‘noobish’ to me but that I cant figure out… I’m going to try to make it as simple as possible… I have a method that initializes an array. Let’s call it "…

---

## [Enlazar formularios](https://www.ruby-forum.com/t/enlazar-formularios/117494)

<div class="topic-metadata">

**Author:** [@javiel](https://www.ruby-forum.com/u/javiel)\
**Replies:** 8\
**Last updated:** [October 17, 2007, 3:39pm UTC](https://www.ruby-forum.com/t/enlazar-formularios/117494 "2007-10-17T15:39:07Z")

</div>

hola! Soy otro principiante mas en esto del ruby y tengo una duda de esas que pareceran tontisimas pero que no consigo resolver. tengo dos modelos: dog y human dog has\_one :human human belongs\_to :dog Es una …

---

## [Pass paramter via form](https://www.ruby-forum.com/t/pass-paramter-via-form/93642)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 8\
**Last updated:** [April 5, 2006, 3:09pm UTC](https://www.ruby-forum.com/t/pass-paramter-via-form/93642 "2006-04-05T15:09:00Z")

</div>

Hi, I want to allow users ti search my blog. I have the following code below to initiate the form. \<%= start\_form\_tag :action =\> ‘search’, :search =\> search %\> \<%= text\_field 'search', 'search',"size" =\>"20" %\> \<…

---

## [Agile Rails book: depot problem 2](https://www.ruby-forum.com/t/agile-rails-book-depot-problem-2/101241)

<div class="topic-metadata">

**Author:** [@johan-vm](https://www.ruby-forum.com/u/johan-vm)\
**Replies:** 8\
**Last updated:** [February 5, 2006, 8:58pm UTC](https://www.ruby-forum.com/t/agile-rails-book-depot-problem-2/101241 "2006-02-05T20:58:19Z")

</div>

My second problem is: Listing users, and deleting them doesn’t work. If I try to list user, i just get this list: User Delete User Delete User Delete User Delete I’m using this code in the login\_controller: def l…

---

## [C-extension problem](https://www.ruby-forum.com/t/c-extension-problem/63798)

<div class="topic-metadata">

**Author:** [@hotjuneshen](https://www.ruby-forum.com/u/hotjuneshen)\
**Replies:** 8\
**Last updated:** [January 23, 2006, 12:31am UTC](https://www.ruby-forum.com/t/c-extension-problem/63798 "2006-01-23T00:31:57Z")

</div>

Dear list. After reading through this walkthrough (1) of compiling c-extensions on Windows I was finally able to build the pickaxe example on two different PC’s. One with Visual Studio 2003, the other with Visual C++ …

---

## [Repost: singleton methods vs. class instance vars](https://www.ruby-forum.com/t/repost-singleton-methods-vs-class-instance-vars/89481)

<div class="topic-metadata">

**Author:** [@Peter\_Lacey](https://www.ruby-forum.com/u/Peter_Lacey)\
**Replies:** 8\
**Last updated:** [January 4, 2006, 11:47pm UTC](https://www.ruby-forum.com/t/repost-singleton-methods-vs-class-instance-vars/89481 "2006-01-04T23:47:27Z")

</div>

Hi, Please excuse me if this message was already delivered. I’m sending it again as I suspect something went wrong with my original post because it didn’t get cross-posted to comp.lang.ruby and there were no replie…

---

## ["min" doesn't work](https://www.ruby-forum.com/t/min-doesnt-work/260527)

<div class="topic-metadata">

**Author:** [@frankbuss](https://www.ruby-forum.com/u/frankbuss)\
**Replies:** 3\
**Last updated:** [December 4, 2020, 12:51am UTC](https://www.ruby-forum.com/t/min-doesnt-work/260527 "2020-12-04T00:51:37Z")

</div>

When I execute this code: \[\[2,"foo"\],\[1,"bar"\]\].min{|x|x.first} I expected \[1,"bar"\] as a result, but I get the other entry. Why?

---

## [Announcing cgran.org: Re-launching the Comprehensive GNU Radio Archive Network](https://www.ruby-forum.com/t/announcing-cgran-org-re-launching-the-comprehensive-gnu-radio-archive-network/241406)

<div class="topic-metadata">

**Author:** [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Replies:** 3\
**Last updated:** [April 5, 2015, 7:17pm UTC](https://www.ruby-forum.com/t/announcing-cgran-org-re-launching-the-comprehensive-gnu-radio-archive-network/241406 "2015-04-05T19:17:55Z")

</div>

Hi all, I am happy to be able to announce that the Comprehensive GNU Radio Archive Network (CGRAN) is now live at http://cgran.org. It’s a bit different from the previous version. Some notes: The primary purpose…

---

## [Advice, examples, creating front-end for postgresql](https://www.ruby-forum.com/t/advice-examples-creating-front-end-for-postgresql/228912)

<div class="topic-metadata">

**Author:** [@spectergeek](https://www.ruby-forum.com/u/spectergeek)\
**Replies:** 3\
**Last updated:** [May 13, 2013, 8:14pm UTC](https://www.ruby-forum.com/t/advice-examples-creating-front-end-for-postgresql/228912 "2013-05-13T20:14:37Z")

</div>

Creating a production DB (not production as in rails terms but production as in from sales order to shipping) for a small business. I’m completely new to rails and fairly new to web development. I’m going through the …

---

## [Problems with php DOMDocument class (URGENT)](https://www.ruby-forum.com/t/problems-with-php-domdocument-class-urgent/224675)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 3\
**Last updated:** [November 21, 2012, 7:37pm UTC](https://www.ruby-forum.com/t/problems-with-php-domdocument-class-urgent/224675 "2012-11-21T19:37:12Z")

</div>

Hello to everyone, Unfortunately I have an urgent problem that I can not solve. I’m migrating a webapp that runs on nginx in a CentOS 6 server. The webapp use DOMDocument php class. The php-xml module is installed c…

---

## [Information about FPGA Flash process on N210](https://www.ruby-forum.com/t/information-about-fpga-flash-process-on-n210/205537)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [May 1, 2011, 8:18pm UTC](https://www.ruby-forum.com/t/information-about-fpga-flash-process-on-n210/205537 "2011-05-01T20:18:20Z")

</div>

Hi, I’m currently planning on buying some SDR Devices in order to implement and assess some sensing algorithms… Right now, i’m just comparing two SDR Devices : USRP N210 and RICE WARP. I found almost all the informat…

---

## [Stubbing directly vs using stub method](https://www.ruby-forum.com/t/stubbing-directly-vs-using-stub-method/205274)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 3\
**Last updated:** [April 2, 2011, 9:34pm UTC](https://www.ruby-forum.com/t/stubbing-directly-vs-using-stub-method/205274 "2011-04-02T21:34:56Z")

</div>

I use RSpec mock and stub like this: hit = mock(“hit”, :stored =\> 5) This works fine, but when using this instead: hit = mock(“hit”).stub(:stored) { 5 } then I get undefined method \`stored’ for #\<RSpec::Mocks::Messa…

---

## [Error when try to install ncurses gem on windows](https://www.ruby-forum.com/t/error-when-try-to-install-ncurses-gem-on-windows/193554)

<div class="topic-metadata">

**Author:** [@pshah](https://www.ruby-forum.com/u/pshah)\
**Replies:** 3\
**Last updated:** [December 6, 2010, 12:23pm UTC](https://www.ruby-forum.com/t/error-when-try-to-install-ncurses-gem-on-windows/193554 "2010-12-06T12:23:36Z")

</div>

I got following error when i try to install ncurses on windows. C:\>gem install ncurses Building native extensions. This could take a while… ERROR: Error installing ncurses: ERROR: Failed to build gem native extensi…

---

## [Large Mysql Database (Multiple Databases?)](https://www.ruby-forum.com/t/large-mysql-database-multiple-databases/165861)

<div class="topic-metadata">

**Author:** [@internetchris](https://www.ruby-forum.com/u/internetchris)\
**Replies:** 3\
**Last updated:** [April 19, 2009, 5:57am UTC](https://www.ruby-forum.com/t/large-mysql-database-multiple-databases/165861 "2009-04-19T05:57:05Z")

</div>

Hey Everyone, I’m looking for some advice. I am developing an application that will have several million transaction records. I’ve heard of people scaling Rails to connect to multiple databases. I have never done this…

---

## [Problem of using jruby and warbler to deploy my ruby on rails app to resin](https://www.ruby-forum.com/t/problem-of-using-jruby-and-warbler-to-deploy-my-ruby-on-rails-app-to-resin/157664)

<div class="topic-metadata">

**Author:** [@harry\_wang](https://www.ruby-forum.com/u/harry_wang)\
**Replies:** 3\
**Last updated:** [January 15, 2009, 4:02pm UTC](https://www.ruby-forum.com/t/problem-of-using-jruby-and-warbler-to-deploy-my-ruby-on-rails-app-to-resin/157664 "2009-01-15T16:02:46Z")

</div>

Hi, My ruby on rails application is a forum like system which needs people’s login to make a post. The login function is based on cookie and the authentication is from another web service. If a user’s login is vali…

---

## [Cannot get tlsmail working; Want Gmail as SMTP](https://www.ruby-forum.com/t/cannot-get-tlsmail-working-want-gmail-as-smtp/155083)

<div class="topic-metadata">

**Author:** [@yetanothergeek](https://www.ruby-forum.com/u/yetanothergeek)\
**Replies:** 3\
**Last updated:** [January 3, 2009, 6:04pm UTC](https://www.ruby-forum.com/t/cannot-get-tlsmail-working-want-gmail-as-smtp/155083 "2009-01-03T18:04:57Z")

</div>

This is killing me, folks. I have reviewed numerous examples and tried two different approaches to try and use Gmail (Google Apps account) as my application’s SMTP. Every time, both on my slicehost server and local de…

---

## [Profiles (confusion about :signup)](https://www.ruby-forum.com/t/profiles-confusion-about-signup/145457)

<div class="topic-metadata">

**Author:** [@timperrett](https://www.ruby-forum.com/u/timperrett)\
**Replies:** 3\
**Last updated:** [November 20, 2008, 1:17pm UTC](https://www.ruby-forum.com/t/profiles-confusion-about-signup/145457 "2008-11-20T13:17:27Z")

</div>

I’ve been scouring the code (Typo 5.1.2) and trying to find the intent for the accounts/signup feature (other that setting the first user as administrator). The default profile is set to “contributor” in user.rb mode…

---

## [Extending standard library by priority queue or search tree](https://www.ruby-forum.com/t/extending-standard-library-by-priority-queue-or-search-tree/148109)

<div class="topic-metadata">

**Author:** [@Artem\_V](https://www.ruby-forum.com/u/Artem_V)\
**Replies:** 3\
**Last updated:** [September 9, 2008, 10:42pm UTC](https://www.ruby-forum.com/t/extending-standard-library-by-priority-queue-or-search-tree/148109 "2008-09-09T22:42:02Z")

</div>

I’d like to have guide for C++ programmers who wants to learn Ruby. This guide should explain how to do things in Ruby they used to do in C++, STL. STL has container map which allows us to do the following insert(key…

---

## [Drop down list](https://www.ruby-forum.com/t/drop-down-list/123593)

<div class="topic-metadata">

**Author:** [@nuby2ruby](https://www.ruby-forum.com/u/nuby2ruby)\
**Replies:** 3\
**Last updated:** [December 19, 2007, 6:31pm UTC](https://www.ruby-forum.com/t/drop-down-list/123593 "2007-12-19T18:31:28Z")

</div>

In my application I have 2 objects. An Item object and SubItem object. What I would like to do is make a single drop down list that has all of the Items in it, then if the item has a SubItem attached to it, then it wi…

---

## [HowTo use mysql in cygwin?](https://www.ruby-forum.com/t/howto-use-mysql-in-cygwin/115934)

<div class="topic-metadata">

**Author:** [@nonocast](https://www.ruby-forum.com/u/nonocast)\
**Replies:** 3\
**Last updated:** [October 6, 2007, 2:43pm UTC](https://www.ruby-forum.com/t/howto-use-mysql-in-cygwin/115934 "2007-10-06T14:43:43Z")

</div>

the shell in windows is so … idiot so i use cygwin instead when I try to “rake db:migrate” in cygwin. No such file or dir. -/tmp/mysql.sock @Ubuntu, I use ‘link -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock’, it wo…

---

## [NIL trouble since upgrading Rails](https://www.ruby-forum.com/t/nil-trouble-since-upgrading-rails/73396)

<div class="topic-metadata">

**Author:** [@Bitmaster](https://www.ruby-forum.com/u/Bitmaster)\
**Replies:** 3\
**Last updated:** [November 7, 2006, 10:52am UTC](https://www.ruby-forum.com/t/nil-trouble-since-upgrading-rails/73396 "2006-11-07T10:52:21Z")

</div>

Hello, For a distribution system at work we created a webinterface in Rails. Last week we upgraded Rails from 1.0.0 to 1.1.6. I know, we should have done it earlier… :wink: Anyway. Since then, on most pages we get er…

---

## [Needle + Rails - IoC](https://www.ruby-forum.com/t/needle-rails-ioc/59867)

<div class="topic-metadata">

**Author:** [@nickfaraday](https://www.ruby-forum.com/u/nickfaraday)\
**Replies:** 3\
**Last updated:** [May 8, 2006, 12:33pm UTC](https://www.ruby-forum.com/t/needle-rails-ioc/59867 "2006-05-08T12:33:52Z")

</div>

Hi, I’m looking for past efforts to integrate Rails and Needle. I am thinking of doing it myself but would be interested in seeing what others have done before. If there are examples of other IoC frameworks being use…

---

## [RoR problems with Created\_At and PostgreSQL](https://www.ruby-forum.com/t/ror-problems-with-created-at-and-postgresql/55111)

<div class="topic-metadata">

**Author:** [@khaja](https://www.ruby-forum.com/u/khaja)\
**Replies:** 3\
**Last updated:** [March 17, 2006, 12:19pm UTC](https://www.ruby-forum.com/t/ror-problems-with-created-at-and-postgresql/55111 "2006-03-17T12:19:02Z")

</div>

So, I wrote some pages which essentially created some articles which are saved to a database, which also include both the “magic” rows ‘created\_at’ and ‘updated\_at’. Now, on my development machine I’m running the MySQ…

---

## [ActiveRecord transactions & thread safety](https://www.ruby-forum.com/t/activerecord-transactions-thread-safety/230166)

<div class="topic-metadata">

**Author:** [@jason\_sam](https://www.ruby-forum.com/u/jason_sam)\
**Replies:** 1\
**Last updated:** [June 3, 2014, 9:13am UTC](https://www.ruby-forum.com/t/activerecord-transactions-thread-safety/230166 "2014-06-03T09:13:14Z")

</div>

My question is about AR transactions feature. Is it thread safe? Is it safe to use both \*ActiveRecord::Base.transaction do ...\* and \*Account.transaction do ...\* statements? I plan to use Puma as web server, and Sideki…

---

## [Array#rand vs Array#sample](https://www.ruby-forum.com/t/array-rand-vs-array-sample/221315)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 1\
**Last updated:** [July 8, 2012, 8:21pm UTC](https://www.ruby-forum.com/t/array-rand-vs-array-sample/221315 "2012-07-08T20:21:47Z")

</div>

I was asking some people “Do you know if a #rand method exists on an array object”? Unanimously, I got a “yup” response back. Actually it’s called #sample. Seems like rand doesn’t exist on Array. I know there are w…

---

## [Setting up Rails with MS SQL](https://www.ruby-forum.com/t/setting-up-rails-with-ms-sql/169586)

<div class="topic-metadata">

**Author:** [@nnexican](https://www.ruby-forum.com/u/nnexican)\
**Replies:** 1\
**Last updated:** [September 10, 2009, 8:57pm UTC](https://www.ruby-forum.com/t/setting-up-rails-with-ms-sql/169586 "2009-09-10T20:57:16Z")

</div>

Hello everyone. I am trying to get Rails working with MS SQL. I have updated database.yml in my application, intalled the activerecord-sqlserver-adapter gem as well as the deprecated gem. I have also downloaded ADO.rb…

---

## [Some part of class in ActiveRecord](https://www.ruby-forum.com/t/some-part-of-class-in-activerecord/242749)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 4\
**Last updated:** [July 22, 2015, 1:19pm UTC](https://www.ruby-forum.com/t/some-part-of-class-in-activerecord/242749 "2015-07-22T13:19:52Z")

</div>

Hello ! I’ve a question regarding Rails and Active Record. I’ve a class, for instance “Host” witch is populated with data from a remote API. I call a specific address and create my object. My object has a specific a…

---

## [Ruby on Rails : a dynamic pick list for 1000+ candidates](https://www.ruby-forum.com/t/ruby-on-rails-a-dynamic-pick-list-for-1000-candidates/242476)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [June 26, 2015, 5:28pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-a-dynamic-pick-list-for-1000-candidates/242476 "2015-06-26T17:28:34Z")

</div>

I am working on a Ruby on Rails project where I need to associated 2 tables. A pick-list “f.select” is good for a short list (less than 20). If I have a very long list, let say picking a stock out of thousand stocks …

---

## [Strange nginx issue](https://www.ruby-forum.com/t/strange-nginx-issue/240301)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 4\
**Last updated:** [April 7, 2014, 5:46pm UTC](https://www.ruby-forum.com/t/strange-nginx-issue/240301 "2014-04-07T17:46:01Z")

</div>

We are facing a strange issue on our servers. We have servers with 1GB RAM and some drupal sites are running on it. Generally all sites are loading fine but sometimes we are unable to access any sites. After waiting…

---

## [Proxy\_read\_timeout for an apache location?](https://www.ruby-forum.com/t/proxy-read-timeout-for-an-apache-location/227239)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [March 8, 2013, 9:31pm UTC](https://www.ruby-forum.com/t/proxy-read-timeout-for-an-apache-location/227239 "2013-03-08T21:31:12Z")

</div>

Can I set proxy\_read\_timeout for only a particular location which is passed to apache? Grant

---

## [Could you please post a program to send mail without using Action Mailer](https://www.ruby-forum.com/t/could-you-please-post-a-program-to-send-mail-without-using-action-mailer/226759)

<div class="topic-metadata">

**Author:** [@chandan0707](https://www.ruby-forum.com/u/chandan0707)\
**Replies:** 4\
**Last updated:** [February 20, 2013, 5:55pm UTC](https://www.ruby-forum.com/t/could-you-please-post-a-program-to-send-mail-without-using-action-mailer/226759 "2013-02-20T17:55:17Z")

</div>

require ‘net/smtp’ def send\_email(to,opts={}) opts\[:server\] ||= ‘localhost’ opts\[:from\] ||= ‘removed\_email\_address@domain.invalid’ opts\[:from\_alias\] ||= ‘Example Emailer’ opts\[:subject\] ||= “You nee…

---

## [Nginx build with OpenSSL 1.0.1](https://www.ruby-forum.com/t/nginx-build-with-openssl-1-0-1/217854)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [March 15, 2012, 11:14am UTC](https://www.ruby-forum.com/t/nginx-build-with-openssl-1-0-1/217854 "2012-03-15T11:14:52Z")

</div>

Hello, community, I’m having trouble compiling nginx against OpenSSL 1.0.1. When I compile OpenSSL manually, I have no problems, everything is fine, but when trying to compile nginx with the --with-openssl option the …

---

## [How to save string to a file as UTF-8](https://www.ruby-forum.com/t/how-to-save-string-to-a-file-as-utf-8/172931)

<div class="topic-metadata">

**Author:** [@bali](https://www.ruby-forum.com/u/bali)\
**Replies:** 4\
**Last updated:** [July 30, 2009, 4:15pm UTC](https://www.ruby-forum.com/t/how-to-save-string-to-a-file-as-utf-8/172931 "2009-07-30T16:15:50Z")

</div>

Below code: s1 = “good” File.new(“test.xml”, “w+”) \<\< s1 It always give a file ANSI encoded. How can I get it UTF-8 encoded? Thanks.

---

## [Standard Libraries Support](https://www.ruby-forum.com/t/standard-libraries-support/169127)

<div class="topic-metadata">

**Author:** [@shayfriedman](https://www.ruby-forum.com/u/shayfriedman)\
**Replies:** 4\
**Last updated:** [May 30, 2009, 9:50pm UTC](https://www.ruby-forum.com/t/standard-libraries-support/169127 "2009-05-30T21:50:38Z")

</div>

Hi, I’m trying out the different standard libraries via IronRuby and some throw errors once I try to require or use them. The problematic ones are: RSS Finalize Open3 OpenSSL Shell WeakRef Also resolv and resol…

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

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