# Rails

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

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

---

## [Background process for mail delivery](https://www.ruby-forum.com/t/background-process-for-mail-delivery/147833)

<div class="topic-metadata">

**Author:** [@snaggy](https://www.ruby-forum.com/u/snaggy)\
**Replies:** 9\
**Last updated:** [November 3, 2008, 9:43pm UTC](https://www.ruby-forum.com/t/background-process-for-mail-delivery/147833 "2008-11-03T21:43:40Z")

</div>

here’s my problem: I have a table with lots of emails to be sent at specified dates, and I want a process that checks, let’s say every hour or so, that table for mails to be sent, sends them and delete the records… A…

---

## [Integrating forums(rails/php/any) into rails application](https://www.ruby-forum.com/t/integrating-forums-rails-php-any-into-rails-application/151332)

<div class="topic-metadata">

**Author:** [@ravikanth](https://www.ruby-forum.com/u/ravikanth)\
**Replies:** 1\
**Last updated:** [November 3, 2008, 9:18pm UTC](https://www.ruby-forum.com/t/integrating-forums-rails-php-any-into-rails-application/151332 "2008-11-03T21:18:59Z")

</div>

integrating forums(rails/php/any) into rails application Hi, How to integrate forums into rails appications. please hep me. thanks, Ravi.

---

## [Integrating my site with eldorado forum](https://www.ruby-forum.com/t/integrating-my-site-with-eldorado-forum/148544)

<div class="topic-metadata">

**Author:** [@skirkpatrick](https://www.ruby-forum.com/u/skirkpatrick)\
**Replies:** 1\
**Last updated:** [November 3, 2008, 9:17pm UTC](https://www.ruby-forum.com/t/integrating-my-site-with-eldorado-forum/148544 "2008-11-03T21:17:17Z")

</div>

Hi, I’m trying to how I should integrate eldorado forum with my site. What do you think is the best way to go about this? I have a 2 fully functional separate rails instances of eldorado and my site and not sure how …

---

## [DateTime in Linux](https://www.ruby-forum.com/t/datetime-in-linux/152264)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 4\
**Last updated:** [November 3, 2008, 8:47pm UTC](https://www.ruby-forum.com/t/datetime-in-linux/152264 "2008-11-03T20:47:18Z")

</div>

I’m new to Ruby and have been pulling my hair out trying to figure out an issue with displaying DateTime fields. I have programmed a very simple app in Windows with a MySQL 5 database. The DateTime fields appear to be…

---

## [File upload Routing problem](https://www.ruby-forum.com/t/file-upload-routing-problem/152183)

<div class="topic-metadata">

**Author:** [@hangingclowns](https://www.ruby-forum.com/u/hangingclowns)\
**Replies:** 1\
**Last updated:** [November 3, 2008, 8:11pm UTC](https://www.ruby-forum.com/t/file-upload-routing-problem/152183 "2008-11-03T20:11:03Z")

</div>

I have the following upload form: \<% form\_for @product\_datum, :url =\> { :action =\> :create }, :html =\> { :multipart =\> true } do |form| %\> … \<%= form.file\_field :uploaded\_data%\> \<%= form.submit “Upload” %\> In my c…

---

## [Updating children in a has\_many relationship](https://www.ruby-forum.com/t/updating-children-in-a-has-many-relationship/152139)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [November 3, 2008, 8:10pm UTC](https://www.ruby-forum.com/t/updating-children-in-a-has-many-relationship/152139 "2008-11-03T20:10:51Z")

</div>

If a parent has\_many children, The children can be set using parent.children\_ids = \[\] which is very cool. If the parent is a new record, nothing will happen until the parent is saved. If the parent is an existing r…

---

## [RJS Files, Conditions and REST](https://www.ruby-forum.com/t/rjs-files-conditions-and-rest/152150)

<div class="topic-metadata">

**Author:** [@sw0rdfish](https://www.ruby-forum.com/u/sw0rdfish)\
**Replies:** 4\
**Last updated:** [November 3, 2008, 8:06pm UTC](https://www.ruby-forum.com/t/rjs-files-conditions-and-rest/152150 "2008-11-03T20:06:44Z")

</div>

Hey all, I’m working on a project right now, and one of the models is Company… simple regular company. Now I’ve created some AJAX type searches in my project that rely on searching on companies, which I use the INDE…

---

## [Content distrubution in Rails](https://www.ruby-forum.com/t/content-distrubution-in-rails/152404)

<div class="topic-metadata">

**Author:** [@remco](https://www.ruby-forum.com/u/remco)\
**Replies:** 1\
**Last updated:** [November 3, 2008, 8:06pm UTC](https://www.ruby-forum.com/t/content-distrubution-in-rails/152404 "2008-11-03T20:06:22Z")

</div>

Hi, I hope someone can suggest me some tips in case of content distrubution in Rails. We have some great content in our database. The content are city-guides of 20 destionations (sports, culture, beaches ect)world-wi…

---

## [Extracting the text content of a MS-word document](https://www.ruby-forum.com/t/extracting-the-text-content-of-a-ms-word-document/152415)

<div class="topic-metadata">

**Author:** [@Alexis\_P](https://www.ruby-forum.com/u/Alexis_P)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 6:31pm UTC](https://www.ruby-forum.com/t/extracting-the-text-content-of-a-ms-word-document/152415 "2008-11-03T18:31:02Z")

</div>

Hi I need to be able to extract the text content of a MS-WORD file. I have used antiword in the past but was wondering of there was anything new to do that. The application deals with uploaded MS word documents. Resu…

---

## [Datetime vs timestamp](https://www.ruby-forum.com/t/datetime-vs-timestamp/152203)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 10\
**Last updated:** [November 3, 2008, 6:28pm UTC](https://www.ruby-forum.com/t/datetime-vs-timestamp/152203 "2008-11-03T18:28:45Z")

</div>

ROR always converts :timestamp to :datetime. I’ve been googling and still havent found out why this is the case. The mysql data type DATETIME takes up twice the amount of space as TIMESTAMP. What will break in my app …

---

## [Mephisto 0.8 + RMagick 2 doesn't resize images?](https://www.ruby-forum.com/t/mephisto-0-8-rmagick-2-doesnt-resize-images/152413)

<div class="topic-metadata">

**Author:** [@LpLpLp](https://www.ruby-forum.com/u/LpLpLp)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 6:28pm UTC](https://www.ruby-forum.com/t/mephisto-0-8-rmagick-2-doesnt-resize-images/152413 "2008-11-03T18:28:40Z")

</div>

Hey, I installed mephisto and RMagick2. Everything works fine and the thumbnail and tiny-image becomes copied - but not resized? I don’t understand - no errors anywhere… Can somebody help me? I’m using Debian last s…

---

## [Downloading a CSV file](https://www.ruby-forum.com/t/downloading-a-csv-file/152408)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 3\
**Last updated:** [November 3, 2008, 6:08pm UTC](https://www.ruby-forum.com/t/downloading-a-csv-file/152408 "2008-11-03T18:08:01Z")

</div>

I have this app where users can look-up certain information and then save it into a CSV file. My problem is that when a user using IE7 tries to save this file I get an error saying something to the effect that “unable…

---

## [Questions about changes to Restful Authentication](https://www.ruby-forum.com/t/questions-about-changes-to-restful-authentication/152365)

<div class="topic-metadata">

**Author:** [@rubyfreak](https://www.ruby-forum.com/u/rubyfreak)\
**Replies:** 1\
**Last updated:** [November 3, 2008, 5:34pm UTC](https://www.ruby-forum.com/t/questions-about-changes-to-restful-authentication/152365 "2008-11-03T17:34:51Z")

</div>

I have a couple of projects with Restful Authentication The first snippet is from the Git repo today and is supposed to be the newer code. # Store the given user id in the session. def current\_user=(new\_user) sessio…

---

## [Handling SOAP XML request and Response](https://www.ruby-forum.com/t/handling-soap-xml-request-and-response/152360)

<div class="topic-metadata">

**Author:** [@Shripad](https://www.ruby-forum.com/u/Shripad)\
**Replies:** 3\
**Last updated:** [November 3, 2008, 5:23pm UTC](https://www.ruby-forum.com/t/handling-soap-xml-request-and-response/152360 "2008-11-03T17:23:51Z")

</div>

Hi all, I have a SOAP XML request coming from a VB6.0 application, which I have to handle in my ROR application. After the request is handled, i have to parse the request and check the extracted values in the databas…

---

## [Unable to install sqlite3](https://www.ruby-forum.com/t/unable-to-install-sqlite3/152368)

<div class="topic-metadata">

**Author:** [@up1notch](https://www.ruby-forum.com/u/up1notch)\
**Replies:** 2\
**Last updated:** [November 3, 2008, 5:20pm UTC](https://www.ruby-forum.com/t/unable-to-install-sqlite3/152368 "2008-11-03T17:20:52Z")

</div>

I am new to Ruby. Try out a web application, but when I tried to access the page, it has the following error (see ERROR 1 below). So I thought I may have not installed “sqlite3” and tried downloading “sqlite\_3-6-4.zip…

---

## [Getting started with ROR when you come from the desktop world with no experience in developing web](https://www.ruby-forum.com/t/getting-started-with-ror-when-you-come-from-the-desktop-world-with-no-experience-in-developing-web/152307)

<div class="topic-metadata">

**Author:** [@Tarek\_D](https://www.ruby-forum.com/u/Tarek_D)\
**Replies:** 8\
**Last updated:** [November 3, 2008, 5:06pm UTC](https://www.ruby-forum.com/t/getting-started-with-ror-when-you-come-from-the-desktop-world-with-no-experience-in-developing-web/152307 "2008-11-03T17:06:09Z")

</div>

I’m very interested in starting with ROR, however I do not know where to start, I’ve a background as a developer of desktop application, the web is new to me, there seems to be a lot of things to master in order to be…

---

## [Reading value from .yml file in controller](https://www.ruby-forum.com/t/reading-value-from-yml-file-in-controller/152367)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 7\
**Last updated:** [November 3, 2008, 4:52pm UTC](https://www.ruby-forum.com/t/reading-value-from-yml-file-in-controller/152367 "2008-11-03T16:52:34Z")

</div>

Hi I have a controller open\_service\_desk and create action .Inside the action when create a ticket I need to get default values of some fields from a yml file say get\_value.yml In that file I am storing values like…

---

## [Ajax updater + lightbox](https://www.ruby-forum.com/t/ajax-updater-lightbox/152392)

<div class="topic-metadata">

**Author:** [@Abhishek\_shukla](https://www.ruby-forum.com/u/Abhishek_shukla)\
**Replies:** 1\
**Last updated:** [November 3, 2008, 4:39pm UTC](https://www.ruby-forum.com/t/ajax-updater-lightbox/152392 "2008-11-03T16:39:38Z")

</div>

Hello Friends, I am calling lightbox helper in my view and its working fine. but once i call a Ajax.updater it stoping working. Please Help me in this situation. Regards Abhishek S…

---

## [Ruby and/or Rails Community in Argentina](https://www.ruby-forum.com/t/ruby-and-or-rails-community-in-argentina/152357)

<div class="topic-metadata">

**Author:** [@bartolome](https://www.ruby-forum.com/u/bartolome)\
**Replies:** 3\
**Last updated:** [November 3, 2008, 4:05pm UTC](https://www.ruby-forum.com/t/ruby-and-or-rails-community-in-argentina/152357 "2008-11-03T16:05:33Z")

</div>

Hola a Todos, ¿Hay alguna comunidad de usuarios Ruby/Rails en Argentina, de la que ustedes sepan? Hello All, Is there any Ruby/Rails community in Argentina, that you know/heard of? Thanks in advance, – Rodrigo F. …

---

## [Test](https://www.ruby-forum.com/t/test/152395)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 2:46pm UTC](https://www.ruby-forum.com/t/test/152395 "2008-11-03T14:46:48Z")

</div>

sorry for the noise. checking to see if my isp has removed the block. Bill

---

## [Make a STI-compatible finder for a polymorphic column?](https://www.ruby-forum.com/t/make-a-sti-compatible-finder-for-a-polymorphic-column/152394)

<div class="topic-metadata">

**Author:** [@budu](https://www.ruby-forum.com/u/budu)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 2:45pm UTC](https://www.ruby-forum.com/t/make-a-sti-compatible-finder-for-a-polymorphic-column/152394 "2008-11-03T14:45:29Z")

</div>

Hi, I’ve got a model with a polymorphic column and STI models. I’ve added a finder to search for specific types. How can I search for a specific model that is STI because Rails stores the mother class name ? class A…

---

## [Accessing routes from tests](https://www.ruby-forum.com/t/accessing-routes-from-tests/152393)

<div class="topic-metadata">

**Author:** [@davidtl](https://www.ruby-forum.com/u/davidtl)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 2:15pm UTC](https://www.ruby-forum.com/t/accessing-routes-from-tests/152393 "2008-11-03T14:15:19Z")

</div>

Inspired by Railscasts #124 “Beta Invitations” (#124 Beta Invitations - RailsCasts) I created a small invitation system. The episode doesn’t cover testing, so I’ve made some tests for the Mailer responsible for sendin…

---

## [Add css to a text area](https://www.ruby-forum.com/t/add-css-to-a-text-area/152387)

<div class="topic-metadata">

**Author:** [@Ishara\_G](https://www.ruby-forum.com/u/Ishara_G)\
**Replies:** 2\
**Last updated:** [November 3, 2008, 2:11pm UTC](https://www.ruby-forum.com/t/add-css-to-a-text-area/152387 "2008-11-03T14:11:03Z")

</div>

i want to add a css tag to a text field \<%= form.text\_field :title %\> i wanna make blue this text field,please can anyone send me the code

---

## [Validate a form](https://www.ruby-forum.com/t/validate-a-form/152386)

<div class="topic-metadata">

**Author:** [@Ishara\_G](https://www.ruby-forum.com/u/Ishara_G)\
**Replies:** 3\
**Last updated:** [November 3, 2008, 1:49pm UTC](https://www.ruby-forum.com/t/validate-a-form/152386 "2008-11-03T13:49:18Z")

</div>

i have a form which includes html tags for text field, such as rather than \<%form.text\_field :title %\> i want to show error messages for these text fields when the user doesn’t fill the text field,but when i use h…

---

## [Acts\_as\_rateable in rails 2.2.0](https://www.ruby-forum.com/t/acts-as-rateable-in-rails-2-2-0/152390)

<div class="topic-metadata">

**Author:** [@vmvipin](https://www.ruby-forum.com/u/vmvipin)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 1:32pm UTC](https://www.ruby-forum.com/t/acts-as-rateable-in-rails-2-2-0/152390 "2008-11-03T13:32:14Z")

</div>

Hi all, I have a problem with acts\_as\_rateable in rails 2.2.0. \[code=\]ActionView::TemplateError (uninitialized constant \<#object\>::Rating) on line #10 of app/views/blah/blah.html.erb: /Library/Ruby/Gems/1.8/gems/acti…

---

## [How to create index using btree](https://www.ruby-forum.com/t/how-to-create-index-using-btree/152379)

<div class="topic-metadata">

**Author:** [@Geekforaday-Learner](https://www.ruby-forum.com/u/Geekforaday-Learner)\
**Replies:** 1\
**Last updated:** [November 3, 2008, 1:28pm UTC](https://www.ruby-forum.com/t/how-to-create-index-using-btree/152379 "2008-11-03T13:28:11Z")

</div>

Hi, I want to add a migration to create an index using btree , googled a little but couldn’t find anything thats relevant. is this possible in rails ? or is there a work around ? appreciate your help , thanks -CG

---

## [Do I require a polymorphic link?](https://www.ruby-forum.com/t/do-i-require-a-polymorphic-link/152328)

<div class="topic-metadata">

**Author:** [@nytrex](https://www.ruby-forum.com/u/nytrex)\
**Replies:** 1\
**Last updated:** [November 3, 2008, 12:21pm UTC](https://www.ruby-forum.com/t/do-i-require-a-polymorphic-link/152328 "2008-11-03T12:21:13Z")

</div>

Hi there. I’m very new to RoR, and I’m writing my first ‘web app’ and already I think I need a one-to-many polymorphic join. The reason I’m writing this is because it is causing me a real headache. After sitting at my …

---

## [Css tag to ruby code](https://www.ruby-forum.com/t/css-tag-to-ruby-code/152376)

<div class="topic-metadata">

**Author:** [@Ishara\_G](https://www.ruby-forum.com/u/Ishara_G)\
**Replies:** 1\
**Last updated:** [November 3, 2008, 11:22am UTC](https://www.ruby-forum.com/t/css-tag-to-ruby-code/152376 "2008-11-03T11:22:21Z")

</div>

can anyone tell me how can i apply css tag to ruby codes

---

## [Display the form text at page itself](https://www.ruby-forum.com/t/display-the-form-text-at-page-itself/152372)

<div class="topic-metadata">

**Author:** [@Ishara\_G](https://www.ruby-forum.com/u/Ishara_G)\
**Replies:** 3\
**Last updated:** [November 3, 2008, 10:31am UTC](https://www.ruby-forum.com/t/display-the-form-text-at-page-itself/152372 "2008-11-03T10:31:55Z")

</div>

hi, i have a view called forum which is a form and i want to show the data below the form when user fill the form. i have this code in Blog controller def forum if request.post? and params\[:blog} @blog = Blog.new(pa…

---

## [Set Message-ID header in ActionMailer?](https://www.ruby-forum.com/t/set-message-id-header-in-actionmailer/152361)

<div class="topic-metadata">

**Author:** [@jemminger](https://www.ruby-forum.com/u/jemminger)\
**Replies:** 0\
**Last updated:** [November 3, 2008, 5:31am UTC](https://www.ruby-forum.com/t/set-message-id-header-in-actionmailer/152361 "2008-11-03T05:31:51Z")

</div>

I’m trying to set my own Message-ID when sending mail… not having any luck. It seems that my ID header is overwritten. i’ve tried both message\_id and headers below, nothing seems to work: def setup\_email(message, pe…

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

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