# Rails

**URL:** https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1589

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

---

## [Capistrano (Errno::ECONNREFUSED: Connection refused - connec](https://www.ruby-forum.com/t/capistrano-errno-connection-refused-connec/117978)

<div class="topic-metadata">

**Author:** [@xbelanch](https://www.ruby-forum.com/u/xbelanch)\
**Replies:** 3\
**Last updated:** [December 11, 2007, 5:57pm UTC](https://www.ruby-forum.com/t/capistrano-errno-connection-refused-connec/117978 "2007-12-11T17:57:15Z")

</div>

Hi folks, I’m trying to setup with Capistrano 2 and I received this error: $ cap deploy:setup executing \`deploy:setup’ executing “umask 02 && mkdir -p /var/www/apps/twitter /var/www/apps/twitter/releases /var/www/ap…

---

## [Broken pipe and send mail](https://www.ruby-forum.com/t/broken-pipe-and-send-mail/121823)

<div class="topic-metadata">

**Author:** [@macario](https://www.ruby-forum.com/u/macario)\
**Replies:** 1\
**Last updated:** [December 11, 2007, 5:32pm UTC](https://www.ruby-forum.com/t/broken-pipe-and-send-mail/121823 "2007-12-11T17:32:22Z")

</div>

I’ve problems sending mail from my rails app In the app config/enviroment.rb file I have this settings: ActionMailer::Base.delivery\_method = :sendmail ActionMailer::Base.sendmail\_settings = { :location =\> ‘/usr…

---

## [Help with encryption](https://www.ruby-forum.com/t/help-with-encryption/122696)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 2\
**Last updated:** [December 11, 2007, 5:13pm UTC](https://www.ruby-forum.com/t/help-with-encryption/122696 "2007-12-11T17:13:00Z")

</div>

So I have this key information that I got by generating a private and public key in VB, but it gave it to me in the form of a modulus and exponent in an XML file. Now, I need to encrypt some stuff in ruby using that i…

---

## [RoR Error When Doing: rake db:schema:load](https://www.ruby-forum.com/t/ror-error-when-doing-rake-dbload/122740)

<div class="topic-metadata">

**Author:** [@chriscole](https://www.ruby-forum.com/u/chriscole)\
**Replies:** 2\
**Last updated:** [December 11, 2007, 4:21pm UTC](https://www.ruby-forum.com/t/ror-error-when-doing-rake-dbload/122740 "2007-12-11T16:21:47Z")

</div>

Hey, I am new to this and I thought I had finally set up everything perfectly after three days of trying to configure it. However I run this command: rake db:schema:load and I get an error “syntax error on line 23, c…

---

## [Acts\_as\_ferret extra (polymorphic) fields](https://www.ruby-forum.com/t/acts-as-ferret-extra-polymorphic-fields/122741)

<div class="topic-metadata">

**Author:** [@brunopreis](https://www.ruby-forum.com/u/brunopreis)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 4:04pm UTC](https://www.ruby-forum.com/t/acts-as-ferret-extra-polymorphic-fields/122741 "2007-12-11T16:04:32Z")

</div>

Hi, I have a class with some polymorphic associations to it. I want to use acts\_as\_ferret to index my objects and its associations. I want to do it in a way I can define the fields from the associations to be indexed…

---

## [The best screencast ever](https://www.ruby-forum.com/t/the-best-screencast-ever/122738)

<div class="topic-metadata">

**Author:** [@barraorion](https://www.ruby-forum.com/u/barraorion)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 3:23pm UTC](https://www.ruby-forum.com/t/the-best-screencast-ever/122738 "2007-12-11T15:23:09Z")

</div>

Hi: We are a group of scholars from the UPM in Madrid and we have participated in the Conferencia Rails Hispana 2006 and 2007. In a contest about screencast. You can see them both in: http://youtube.com/watch?v=5kFd…

---

## [\[Video\] Screencast Rails 2.0](https://www.ruby-forum.com/t/video-screencast-rails-2-0/122732)

<div class="topic-metadata">

**Author:** [@mix](https://www.ruby-forum.com/u/mix)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 2:33pm UTC](https://www.ruby-forum.com/t/video-screencast-rails-2-0/122732 "2007-12-11T14:33:35Z")

</div>

I’ve just found on the RoR 2.0 announce a post to the first screencast using rails 2.0: (I haven’t seen it completely yet, but i’ll do it soon :slight\_smile: )

---

## [Serious Geek RoR newbie: wishes to know EXACTLY what/where all is installed by packages. Tnx!](https://www.ruby-forum.com/t/serious-geek-ror-newbie-wishes-to-know-exactly-what-where-all-is-installed-by-packages-tnx/122711)

<div class="topic-metadata">

**Author:** [@yvonney](https://www.ruby-forum.com/u/yvonney)\
**Replies:** 7\
**Last updated:** [December 11, 2007, 1:45pm UTC](https://www.ruby-forum.com/t/serious-geek-ror-newbie-wishes-to-know-exactly-what-where-all-is-installed-by-packages-tnx/122711 "2007-12-11T13:45:46Z")

</div>

\[TOP lINE: is there a linux program that will tell me where all the installed files went?\] Hi all…great to be here… i’m pretty relentless yet very new to RoR and fairly new to Linux \[went with ubuntu 7.10 for the time…

---

## [Mongrel - "Status: 500" appears in HTTP response body, not headers](https://www.ruby-forum.com/t/mongrel-status-500-appears-in-http-response-body-not-headers/122731)

<div class="topic-metadata">

**Author:** [@Matt\_Westcott](https://www.ruby-forum.com/u/Matt_Westcott)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 1:38pm UTC](https://www.ruby-forum.com/t/mongrel-status-500-appears-in-http-response-body-not-headers/122731 "2007-12-11T13:38:08Z")

</div>

Hi, On Rails 1.2.5 (and also edge Rails) with Mongrel 1.1.1, the 500 Internal Server Error status code for the 500.html failsafe page isn’t being served correctly. It appears at the top of the HTTP response body, but…

---

## [How to translate ruby date functions with gettext?](https://www.ruby-forum.com/t/how-to-translate-ruby-date-functions-with-gettext/86586)

<div class="topic-metadata">

**Author:** [@patcito](https://www.ruby-forum.com/u/patcito)\
**Replies:** 1\
**Last updated:** [December 11, 2007, 1:24pm UTC](https://www.ruby-forum.com/t/how-to-translate-ruby-date-functions-with-gettext/86586 "2007-12-11T13:24:49Z")

</div>

any idea how to translate Time::now or 2.days.ago with gettext to french or Spanish? thanx in advance Pat

---

## [TypeError: Effect\[effect\_class\] when using block form of link\_to helper](https://www.ruby-forum.com/t/typeerror-effect-effect-class-when-using-block-form-of-link-to-helper/122714)

<div class="topic-metadata">

**Author:** [@acampos](https://www.ruby-forum.com/u/acampos)\
**Replies:** 8\
**Last updated:** [December 11, 2007, 1:17pm UTC](https://www.ruby-forum.com/t/typeerror-effect-effect-class-when-using-block-form-of-link-to-helper/122714 "2007-12-11T13:17:03Z")

</div>

Anyone have any idea why I’m getting this error when using the block form of the link\_to helper in Rails 2.0.1? I’m essentially using the exact same code as in the Rails doc example, but no luck. Any help would be a…

---

## [Recurring Billing](https://www.ruby-forum.com/t/recurring-billing/122691)

<div class="topic-metadata">

**Author:** [@Neal\_L](https://www.ruby-forum.com/u/Neal_L)\
**Replies:** 3\
**Last updated:** [December 11, 2007, 1:14pm UTC](https://www.ruby-forum.com/t/recurring-billing/122691 "2007-12-11T13:14:42Z")

</div>

Hi all, I’m working on an invoicing program and need a bit of help working with dates. Given a start date, end date, and frequency (i.e., weekly, monthly, quarterly), I need to be able to figure out the “window” tha…

---

## [Remove file\_column image in a form?](https://www.ruby-forum.com/t/remove-file-column-image-in-a-form/122695)

<div class="topic-metadata">

**Author:** [@xguardiola](https://www.ruby-forum.com/u/xguardiola)\
**Replies:** 2\
**Last updated:** [December 11, 2007, 11:07am UTC](https://www.ruby-forum.com/t/remove-file-column-image-in-a-form/122695 "2007-12-11T11:07:33Z")

</div>

Hi all, I’ve got the following problem. I’ve got a form for a Project object. Three of the fields are images that are attributes of the Projecte object. I use the file\_column plugin to upload them. \<% form\_tag ({acti…

---

## [Net::ldap no bind result](https://www.ruby-forum.com/t/net-ldap-no-bind-result/122726)

<div class="topic-metadata">

**Author:** [@davox](https://www.ruby-forum.com/u/davox)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 10:42am UTC](https://www.ruby-forum.com/t/net-ldap-no-bind-result/122726 "2007-12-11T10:42:10Z")

</div>

Hi, im having some trouble using net::ldap. bind doesnt return anything (not even false) i basically use this code: user,psw = ‘test’, ‘test’ ldap = Net::LDAP.new(:host =\> ‘myldapserverip’, :port =\> 636, :base =\>‘d…

---

## [Using join query in find\_by\_contents or in multi\_search](https://www.ruby-forum.com/t/using-join-query-in-find-by-contents-or-in-multi-search/122727)

<div class="topic-metadata">

**Author:** [@santoshat20007](https://www.ruby-forum.com/u/santoshat20007)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 10:35am UTC](https://www.ruby-forum.com/t/using-join-query-in-find-by-contents-or-in-multi-search/122727 "2007-12-11T10:35:11Z")

</div>

Hi every one, I am using act\_as\_ferret gim for searching. Is it possible to use join query in find\_by\_contents or in multi\_search

---

## [:include =\> :all](https://www.ruby-forum.com/t/include-all/122720)

<div class="topic-metadata">

**Author:** [@ayyanar](https://www.ruby-forum.com/u/ayyanar)\
**Replies:** 1\
**Last updated:** [December 11, 2007, 10:32am UTC](https://www.ruby-forum.com/t/include-all/122720 "2007-12-11T10:32:59Z")

</div>

Is there any way to include all the associations in the find method like below :include =\> :all

---

## [Find\_by\_sql without a table](https://www.ruby-forum.com/t/find-by-sql-without-a-table/122685)

<div class="topic-metadata">

**Author:** [@raimon](https://www.ruby-forum.com/u/raimon)\
**Replies:** 8\
**Last updated:** [December 11, 2007, 9:37am UTC](https://www.ruby-forum.com/t/find-by-sql-without-a-table/122685 "2007-12-11T09:37:43Z")

</div>

hello, I’m trying to implement an experimental sql command. I have a page, with a text field inside a form, and a button that sends this via AJAX to a controller. In this controller, I send this string inside a find…

---

## [How to do the batch insert?](https://www.ruby-forum.com/t/how-to-do-the-batch-insert/122718)

<div class="topic-metadata">

**Author:** [@ayyanar](https://www.ruby-forum.com/u/ayyanar)\
**Replies:** 1\
**Last updated:** [December 11, 2007, 9:36am UTC](https://www.ruby-forum.com/t/how-to-do-the-batch-insert/122718 "2007-12-11T09:36:28Z")

</div>

The below code deletes all the task users and inserts the new task users by getting the ids from the UI. I have two questions: Is there any way to delete all the records in a single statement. If we put task\_users …

---

## [Ror tipis - 1](https://www.ruby-forum.com/t/ror-tipis-1/122722)

<div class="topic-metadata">

**Author:** [@ayyanar](https://www.ruby-forum.com/u/ayyanar)\
**Replies:** 1\
**Last updated:** [December 11, 2007, 9:24am UTC](https://www.ruby-forum.com/t/ror-tipis-1/122722 "2007-12-11T09:24:21Z")

</div>

@workflow\_task = WorkflowTask.find(params\[:id\]) @workflow = @workflow\_task.workflow Is there any issue in the above code? Yes. There are two DB hits in the above statement. First one is WorkflowTask.find(params\[:id\]). …

---

## [Help for hash.to\_json](https://www.ruby-forum.com/t/help-for-hash-to-json/122719)

<div class="topic-metadata">

**Author:** [@ao\_tianlong](https://www.ruby-forum.com/u/ao_tianlong)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 9:20am UTC](https://www.ruby-forum.com/t/help-for-hash-to-json/122719 "2007-12-11T09:20:56Z")

</div>

hi , all under rails 2.0 aotianlong@aotianlong:~/workspace/killer$ ruby script/console Loading development environment (Rails 2.0.1) {:user=\>“aotianlong”}.to\_json =\> “{“user”: “aotianlong”}” user = User.find :f…

---

## [Advices for production deployment?](https://www.ruby-forum.com/t/advices-for-production-deployment/122574)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 3\
**Last updated:** [December 11, 2007, 8:59am UTC](https://www.ruby-forum.com/t/advices-for-production-deployment/122574 "2007-12-11T08:59:28Z")

</div>

Hi, So far I’ve been working on development mode on my computer using RadRails, dev database and that. I have now something I want to start using in real life but I must continue to develop as well. I have the server…

---

## [Webrick flaging](https://www.ruby-forum.com/t/webrick-flaging/122717)

<div class="topic-metadata">

**Author:** [@sealedsun](https://www.ruby-forum.com/u/sealedsun)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 8:45am UTC](https://www.ruby-forum.com/t/webrick-flaging/122717 "2007-12-11T08:45:23Z")

</div>

Hey I’m running a ruby application and a webrick server in a seperate process. I need to check the webrick process periodically for flags (e.g. to tell the server to restart or similar things). How do i do that? webr…

---

## [Ruby on start page?](https://www.ruby-forum.com/t/ruby-on-start-page/122712)

<div class="topic-metadata">

**Author:** [@mike](https://www.ruby-forum.com/u/mike)\
**Replies:** 3\
**Last updated:** [December 11, 2007, 8:21am UTC](https://www.ruby-forum.com/t/ruby-on-start-page/122712 "2007-12-11T08:21:12Z")

</div>

As stated, I am new to rails, and Runy for that matter. I am working on a simple project to get acquainted and wanted to use ruby code in index.html, I changed the name to .rhtml and added the following simple code: …

---

## [Displaying an image from the database](https://www.ruby-forum.com/t/displaying-an-image-from-the-database/122705)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [December 11, 2007, 8:11am UTC](https://www.ruby-forum.com/t/displaying-an-image-from-the-database/122705 "2007-12-11T08:11:13Z")

</div>

Can someone help me display an image from a database? I am trying to create an image tag for an image located in a database. The following action is located in the show\_photo\_controller. def database\_data @photo = …

---

## [\[ANN\] multi\_rails 0.0.3 Released](https://www.ruby-forum.com/t/ann-multi-rails-0-0-3-released/122716)

<div class="topic-metadata">

**Author:** [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 7:57am UTC](https://www.ruby-forum.com/t/ann-multi-rails-0-0-3-released/122716 "2007-12-11T07:57:44Z")

</div>

MultiRails by Relevance, http://thinkrelevance.com Rob S. - MultiRails lead MultiRails lets you test your Rails plugin or app against many versions of Rails in one sweep. == URLs: rubyforge: http://rubyforge.org…

---

## [Informix adapter gem missing](https://www.ruby-forum.com/t/informix-adapter-gem-missing/122715)

<div class="topic-metadata">

**Author:** [@Gerardo\_S](https://www.ruby-forum.com/u/Gerardo_S)\
**Replies:** 0\
**Last updated:** [December 11, 2007, 7:16am UTC](https://www.ruby-forum.com/t/informix-adapter-gem-missing/122715 "2007-12-11T07:16:46Z")

</div>

I can’t find activerecord-informix-adapter in gems.rubyonrails.org. Is there any chance it can be uploaded? Thanks in advance.

---

## [First Rails 2.0 Screencast](https://www.ruby-forum.com/t/first-rails-2-0-screencast/122708)

<div class="topic-metadata">

**Author:** [@akitaonrails](https://www.ruby-forum.com/u/akitaonrails)\
**Replies:** 3\
**Last updated:** [December 11, 2007, 7:12am UTC](https://www.ruby-forum.com/t/first-rails-2-0-screencast/122708 "2007-12-11T07:12:05Z")

</div>

Hello guys, sorry to advertise a website in the group but I thought that maybe this content would interest some of you: I invite everybody to take a look at a screencast I’ve compiled yesterday. This is the classic Bl…

---

## [Need help with RMagick for attachment\_fu](https://www.ruby-forum.com/t/need-help-with-rmagick-for-attachment-fu/122704)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 3\
**Last updated:** [December 11, 2007, 6:41am UTC](https://www.ruby-forum.com/t/need-help-with-rmagick-for-attachment-fu/122704 "2007-12-11T06:41:35Z")

</div>

I can’t get attachment\_fu to save the images. I have rmagic and imagemagick installed and if I run some of the scripts on this page ( http://rmagick.rubyforge.org/portfolio.html ) it works as expected. When I try to …

---

## [WebDav/CalDav in Rails](https://www.ruby-forum.com/t/webdav-caldav-in-rails/122274)

<div class="topic-metadata">

**Author:** [@Mozmonkey](https://www.ruby-forum.com/u/Mozmonkey)\
**Replies:** 2\
**Last updated:** [December 11, 2007, 6:07am UTC](https://www.ruby-forum.com/t/webdav-caldav-in-rails/122274 "2007-12-11T06:07:45Z")

</div>

Has anybody done anything with WebDev, or for that matter CalDav, in Rails? I’m looking to do stuff with CalDav and the spec seems pretty simple. I’m just wondering if the HTTP methods, like REPORT, natualy work or …

---

## [Just starting out](https://www.ruby-forum.com/t/just-starting-out/122620)

<div class="topic-metadata">

**Author:** [@milpool](https://www.ruby-forum.com/u/milpool)\
**Replies:** 3\
**Last updated:** [December 11, 2007, 4:35am UTC](https://www.ruby-forum.com/t/just-starting-out/122620 "2007-12-11T04:35:54Z")

</div>

Hi, I am just starting out in my Rails adventure, and I am already having some problems. I am using rails 2.0. I am trying to make a really basic blog engine with articles and comments. I have been able to make the a…

[Previous page](https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1588)

[Next page](https://www.ruby-forum.com/c/ruby-on-rails/6.md?page=1590)
