# Rails

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

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

---

## [Monkey patches to a method that exists in a plugin](https://www.ruby-forum.com/t/monkey-patches-to-a-method-that-exists-in-a-plugin/157226)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [January 8, 2009, 6:08pm UTC](https://www.ruby-forum.com/t/monkey-patches-to-a-method-that-exists-in-a-plugin/157226 "2009-01-08T18:08:01Z")

</div>

Say I have a plugin like so: class Plugin def do\_something do\_thing :one do\_something\_else do\_thing :two end end If I want to wrap the call to do\_something\_else in a begin/rescue block, then it would seem that I…

---

## [Error message](https://www.ruby-forum.com/t/error-message/157151)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 2\
**Last updated:** [January 8, 2009, 5:47pm UTC](https://www.ruby-forum.com/t/error-message/157151 "2009-01-08T17:47:20Z")

</div>

I have this app where people can build a profile full of various kinds of data. The first page that they see when they create their profile is a page named ‘new’. If you add an id number for the company you work for o…

---

## [Which "acts\_as\_taggable" plugin is the best?](https://www.ruby-forum.com/t/which-acts-as-taggable-plugin-is-the-best/157194)

<div class="topic-metadata">

**Author:** [@difei](https://www.ruby-forum.com/u/difei)\
**Replies:** 1\
**Last updated:** [January 8, 2009, 5:37pm UTC](https://www.ruby-forum.com/t/which-acts-as-taggable-plugin-is-the-best/157194 "2009-01-08T17:37:25Z")

</div>

Hi all, I want to implement tagging for my resources, but I found lots “acts\_as\_taggable” available: “acts\_as\_tabble”, “acts\_as\_taggable\_on”, “acts\_as\_taggable\_on\_steroid”, etc. Some of them are not in active develop…

---

## [Gems:unpack dosn't deploy hpricot](https://www.ruby-forum.com/t/gems-unpack-dosnt-deploy-hpricot/156616)

<div class="topic-metadata">

**Author:** [@mikael1991](https://www.ruby-forum.com/u/mikael1991)\
**Replies:** 3\
**Last updated:** [January 8, 2009, 5:24pm UTC](https://www.ruby-forum.com/t/gems-unpack-dosnt-deploy-hpricot/156616 "2009-01-08T17:24:28Z")

</div>

Hi I’m trying to unpack hpricot to my vendor/gems direcotry. i have config.gem “hpricot” in my environment.rb file but when i run “rake gems:unpack” it dosn’t do anything. Is there any special mesures thats needs to …

---

## [Slightly Off Topic: Rails/SVN/Capistrano...plus Git?](https://www.ruby-forum.com/t/slightly-off-topic-rails-svn-capistrano-plus-git/157155)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 6\
**Last updated:** [January 8, 2009, 5:10pm UTC](https://www.ruby-forum.com/t/slightly-off-topic-rails-svn-capistrano-plus-git/157155 "2009-01-08T17:10:27Z")

</div>

Hi, I’ve been using SVN and Capistrano with rails for a long time now. I’m pretty happy with the setup, and svn works well with capistrano without the additional calisthenics that git’s non-centralized server approac…

---

## [Installing and using restful\_auth](https://www.ruby-forum.com/t/installing-and-using-restful-auth/157203)

<div class="topic-metadata">

**Author:** [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Replies:** 4\
**Last updated:** [January 8, 2009, 4:40pm UTC](https://www.ruby-forum.com/t/installing-and-using-restful-auth/157203 "2009-01-08T16:40:25Z")

</div>

Dear all, I’ve saw a plugin called restful\_auth several times in rails community, but I couldn’t find any resources on how to use it. Does anyone know how to install and use it? Help really appreciated. Best regards, …

---

## [Installation troubles](https://www.ruby-forum.com/t/installation-troubles/157205)

<div class="topic-metadata">

**Author:** [@vlatko](https://www.ruby-forum.com/u/vlatko)\
**Replies:** 3\
**Last updated:** [January 8, 2009, 2:27pm UTC](https://www.ruby-forum.com/t/installation-troubles/157205 "2009-01-08T14:27:10Z")

</div>

Hi! I’m new to Rails and I’d like to learn it. Tried to install rails on SuSE llinux 10.3 with gems but I’ve got this error: Bulk updating Gem source index for: http://gems.rubyforge.org ERROR: While executing gem ……

---

## [Installing RoR OS X Leopard](https://www.ruby-forum.com/t/installing-ror-os-x-leopard/157204)

<div class="topic-metadata">

**Author:** [@cormacm](https://www.ruby-forum.com/u/cormacm)\
**Replies:** 1\
**Last updated:** [January 8, 2009, 2:15pm UTC](https://www.ruby-forum.com/t/installing-ror-os-x-leopard/157204 "2009-01-08T14:15:20Z")

</div>

Hi guys, I have run into some problems with my RoR installation on Leopard. I’m wondering if there are any logical ways from the command line to uninstall everything I have installed in order to start fresh? I have i…

---

## [Rails and Merb: Itâ€™s All at Acts As Confer ence 2009](https://www.ruby-forum.com/t/rails-and-merb-ita-s-all-at-acts-as-confer-ence-2009/157207)

<div class="topic-metadata">

**Author:** [@flatekmonkey](https://www.ruby-forum.com/u/flatekmonkey)\
**Replies:** 0\
**Last updated:** [January 8, 2009, 2:11pm UTC](https://www.ruby-forum.com/t/rails-and-merb-ita-s-all-at-acts-as-confer-ence-2009/157207 "2009-01-08T14:11:10Z")

</div>

Hi everyone, Acts as Conference 2009 (http://www.actsasconference.com) is just around the corner, and things are heating up. I am sure that everyone has heard that Rails and Merb are coming together for Rails 3. We’re …

---

## [ARMailer](https://www.ruby-forum.com/t/armailer/157198)

<div class="topic-metadata">

**Author:** [@mikael](https://www.ruby-forum.com/u/mikael)\
**Replies:** 1\
**Last updated:** [January 8, 2009, 12:45pm UTC](https://www.ruby-forum.com/t/armailer/157198 "2009-01-08T12:45:42Z")

</div>

Hello! When i use armailer on my development machine i works perfectly. But when i tries to use it at my production server i get this error message dependencies.rb:442:in \`load\_missing\_constant’:NameError: uninitializ…

---

## [Preventing a form from submitting on ENTER](https://www.ruby-forum.com/t/preventing-a-form-from-submitting-on-enter/156517)

<div class="topic-metadata">

**Author:** [@sa125](https://www.ruby-forum.com/u/sa125)\
**Replies:** 11\
**Last updated:** [January 8, 2009, 11:32am UTC](https://www.ruby-forum.com/t/preventing-a-form-from-submitting-on-enter/156517 "2009-01-08T11:32:08Z")

</div>

Hi - I have the following problem: my app has a form that acts as a filter to a table on the page, so that the user can search any value in the table (via text box) or use select lists for more specific search. The fo…

---

## [Passing data from action of cntrlr 1 to action of cntrlr 2](https://www.ruby-forum.com/t/passing-data-from-action-of-cntrlr-1-to-action-of-cntrlr-2/157150)

<div class="topic-metadata">

**Author:** [@bhanub](https://www.ruby-forum.com/u/bhanub)\
**Replies:** 4\
**Last updated:** [January 8, 2009, 11:16am UTC](https://www.ruby-forum.com/t/passing-data-from-action-of-cntrlr-1-to-action-of-cntrlr-2/157150 "2009-01-08T11:16:00Z")

</div>

The question is about passing data from action of one controller to action of another controller. Inside the new\_patient\_controller i have the following code when the button “next” is clicked def create\_visit (create…

---

## [Debug rails code in radrails](https://www.ruby-forum.com/t/debug-rails-code-in-radrails/157193)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 1\
**Last updated:** [January 8, 2009, 10:48am UTC](https://www.ruby-forum.com/t/debug-rails-code-in-radrails/157193 "2009-01-08T10:48:19Z")

</div>

Hi I would like to know how to debug rails code. I am using radrail v0.7.2 Thanks in advance Sijo

---

## [Problems with EasyEclipse Ruby Rails 1.2.2.2](https://www.ruby-forum.com/t/problems-with-easyeclipse-ruby-rails-1-2-2-2/157133)

<div class="topic-metadata">

**Author:** [@kwaku](https://www.ruby-forum.com/u/kwaku)\
**Replies:** 1\
**Last updated:** [January 8, 2009, 10:43am UTC](https://www.ruby-forum.com/t/problems-with-easyeclipse-ruby-rails-1-2-2-2/157133 "2009-01-08T10:43:34Z")

</div>

Hi, I’m a real newbie both in Rails and Ubuntu but I’m going to learn Ruby on Rails for a schoolproject. I’ve tried to find out what IDE is best according to different tutorials and blogs and have chosen to download …

---

## [Hashed password, send reminder email...impossible?](https://www.ruby-forum.com/t/hashed-password-send-reminder-email-impossible/62442)

<div class="topic-metadata">

**Author:** [@daniel](https://www.ruby-forum.com/u/daniel)\
**Replies:** 8\
**Last updated:** [January 8, 2009, 10:26am UTC](https://www.ruby-forum.com/t/hashed-password-send-reminder-email-impossible/62442 "2009-01-08T10:26:21Z")

</div>

Is it possible to somehow send an email containing the user password if it is stored as a md5 hash in the database? Is it stupid to save the passwords as clear text strings in the db? Its a web shop. A workaround wou…

---

## [How to run a background task in rails](https://www.ruby-forum.com/t/how-to-run-a-background-task-in-rails/157181)

<div class="topic-metadata">

**Author:** [@youhaodeyi](https://www.ruby-forum.com/u/youhaodeyi)\
**Replies:** 5\
**Last updated:** [January 8, 2009, 10:25am UTC](https://www.ruby-forum.com/t/how-to-run-a-background-task-in-rails/157181 "2009-01-08T10:25:09Z")

</div>

I need to run a background task which should last several hours. How can I do this in rails?

---

## [\[Help\] With no persistence, instances share among actions failed](https://www.ruby-forum.com/t/help-with-no-persistence-instances-share-among-actions-failed/157192)

<div class="topic-metadata">

**Author:** [@J.CSZhu](https://www.ruby-forum.com/u/J.CSZhu)\
**Replies:** 1\
**Last updated:** [January 8, 2009, 10:24am UTC](https://www.ruby-forum.com/t/help-with-no-persistence-instances-share-among-actions-failed/157192 "2009-01-08T10:24:33Z")

</div>

Hi! My problem instance’s properties failed to share among the actions. e.g. In action ‘collect’, I created an “CD” instance with some "Album"s as its properties using one-many relationship provided by rails API. Be…

---

## [How to download a dynamically generated file](https://www.ruby-forum.com/t/how-to-download-a-dynamically-generated-file/157170)

<div class="topic-metadata">

**Author:** [@dorelal](https://www.ruby-forum.com/u/dorelal)\
**Replies:** 1\
**Last updated:** [January 8, 2009, 10:22am UTC](https://www.ruby-forum.com/t/how-to-download-a-dynamically-generated-file/157170 "2009-01-08T10:22:11Z")

</div>

I need to provide users a link to download an user\_guide.txt file. Currently the user\_guide.html.erb looks like this. Dear \<%=@user.name %\>, Please visit \<%=@unlocking\_webiste %\> site. … … the point is that the fi…

---

## [Rake db:migrate](https://www.ruby-forum.com/t/rake-db-migrate/157190)

<div class="topic-metadata">

**Author:** [@alamodey](https://www.ruby-forum.com/u/alamodey)\
**Replies:** 1\
**Last updated:** [January 8, 2009, 10:20am UTC](https://www.ruby-forum.com/t/rake-db-migrate/157190 "2009-01-08T10:20:25Z")

</div>

Hi, I’m new to Rails. Does rake db:migrate only process things under your /db/migrate/ folder? I made some changes in my /app/models/ files such as defining relationships between classes, but this doesn’t seem to be r…

---

## [ROR NEW IMPLEMENTATION - 11 RESOURCES NEEDED - IRVINE, CA - 3 to 6 MONTHS CONTRACT](https://www.ruby-forum.com/t/ror-new-implementation-11-resources-needed-irvine-ca-3-to-6-months-contract/157191)

<div class="topic-metadata">

**Author:** [@sriknr1](https://www.ruby-forum.com/u/sriknr1)\
**Replies:** 0\
**Last updated:** [January 8, 2009, 10:19am UTC](https://www.ruby-forum.com/t/ror-new-implementation-11-resources-needed-irvine-ca-3-to-6-months-contract/157191 "2009-01-08T10:19:50Z")

</div>

Any one interested please feel free to send an email to removed\_email\_address@domain.invalid We have a client that needs 11 people to start on a project next Wednesday the 14th of January. They just expanded and buil…

---

## [SMTP settings for action mailer](https://www.ruby-forum.com/t/smtp-settings-for-action-mailer/157184)

<div class="topic-metadata">

**Author:** [@tyanlion](https://www.ruby-forum.com/u/tyanlion)\
**Replies:** 4\
**Last updated:** [January 8, 2009, 10:18am UTC](https://www.ruby-forum.com/t/smtp-settings-for-action-mailer/157184 "2009-01-08T10:18:04Z")

</div>

with rails 2.2.2 action mailer requires a valid ssl certificate i have a question about routing my smtp settings for my postfix are now ActionMailer::Base.smtp\_settings = { :address =\> “smtp.mydomain.com”, :port =\> …

---

## [Code reviews: my dumb use of acts\_as\_commentable (newbie)](https://www.ruby-forum.com/t/code-reviews-my-dumb-use-of-acts-as-commentable-newbie/115327)

<div class="topic-metadata">

**Author:** [@tharrisx](https://www.ruby-forum.com/u/tharrisx)\
**Replies:** 9\
**Last updated:** [January 8, 2009, 10:08am UTC](https://www.ruby-forum.com/t/code-reviews-my-dumb-use-of-acts-as-commentable-newbie/115327 "2009-01-08T10:08:03Z")

</div>

With the help of several heroes here yesterday I beat my way into a working solution to adding comments to one or more models in my application using acts\_as\_comentable. Great plugin, but my implementation is lame. …

---

## [Setup a Rails machine with Capistrano and Ubuntu](https://www.ruby-forum.com/t/setup-a-rails-machine-with-capistrano-and-ubuntu/157188)

<div class="topic-metadata">

**Author:** [@tbaustert](https://www.ruby-forum.com/u/tbaustert)\
**Replies:** 0\
**Last updated:** [January 8, 2009, 9:45am UTC](https://www.ruby-forum.com/t/setup-a-rails-machine-with-capistrano-and-ubuntu/157188 "2009-01-08T09:45:37Z")

</div>

Ubuntu Machine is a set of Open Source Capistrano recipes - packaged as a gem - that allows you to automate the setup of a machine running Ubuntu Server 8.0.4. Those recipes allows you to easily install/setup : SSH, i…

---

## [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?

---

## [Add an editor on my application](https://www.ruby-forum.com/t/add-an-editor-on-my-application/156512)

<div class="topic-metadata">

**Author:** [@johny](https://www.ruby-forum.com/u/johny)\
**Replies:** 3\
**Last updated:** [January 8, 2009, 9:33am UTC](https://www.ruby-forum.com/t/add-an-editor-on-my-application/156512 "2009-01-08T09:33:20Z")

</div>

Does anyone have a good suggestion for the best editor that can I embed on my application…

---

## [Total Count Using "eval" in a single raw](https://www.ruby-forum.com/t/total-count-using-eval-in-a-single-raw/157187)

<div class="topic-metadata">

**Author:** [@rakenewuser](https://www.ruby-forum.com/u/rakenewuser)\
**Replies:** 0\
**Last updated:** [January 8, 2009, 9:23am UTC](https://www.ruby-forum.com/t/total-count-using-eval-in-a-single-raw/157187 "2009-01-08T09:23:33Z")

</div>

Hi, Can anyone help me to get the “namecount” using eval, see the data belows; namecount = eval(’:name=\>{1=\>{1=\>{“first\_name”=\>“leon”, “last\_name”=\>“may”}, 2=\>{“first\_name”=\>“lion”, “last\_name”=\>“king”}}}’) I wan…

---

## [Model Relation - has\_and\_belongs\_to\_many](https://www.ruby-forum.com/t/model-relation-has-and-belongs-to-many/157186)

<div class="topic-metadata">

**Author:** [@indu](https://www.ruby-forum.com/u/indu)\
**Replies:** 0\
**Last updated:** [January 8, 2009, 9:00am UTC](https://www.ruby-forum.com/t/model-relation-has-and-belongs-to-many/157186 "2009-01-08T09:00:14Z")

</div>

Hello everyone I am very much confused about specifying the relation in the following one. I had Item, Invoice, Invoicedetail model. Item table contains - id and name,unit\_price fields. Invoice table contains - id, i…

---

## [Fckeditor show problem](https://www.ruby-forum.com/t/fckeditor-show-problem/157093)

<div class="topic-metadata">

**Author:** [@johny](https://www.ruby-forum.com/u/johny)\
**Replies:** 1\
**Last updated:** [January 8, 2009, 8:51am UTC](https://www.ruby-forum.com/t/fckeditor-show-problem/157093 "2009-01-08T08:51:44Z")

</div>

i have fckeditor plugins installed on my application my problem is on the show.rhtml it display the source code instead on displaying an image or the content show.rhtml Name: \<%=h @user.name %\> Body: \<%=h…

---

## [Populating and maintaining an instance array of arrays of hashes over multiple Ajax calls](https://www.ruby-forum.com/t/populating-and-maintaining-an-instance-array-of-arrays-of-hashes-over-multiple-ajax-calls/157183)

<div class="topic-metadata">

**Author:** [@ram](https://www.ruby-forum.com/u/ram)\
**Replies:** 0\
**Last updated:** [January 8, 2009, 7:51am UTC](https://www.ruby-forum.com/t/populating-and-maintaining-an-instance-array-of-arrays-of-hashes-over-multiple-ajax-calls/157183 "2009-01-08T07:51:17Z")

</div>

Hi, I have a Currency model with id, name and exchange\_rate attributes. I have multiple select boxes for currencies in a form. These can be added dynamically through JS too. Im using an observe\_field to make an Ajax …

---

## [Stop updated\_at from auto updating?](https://www.ruby-forum.com/t/stop-updated-at-from-auto-updating/97919)

<div class="topic-metadata">

**Author:** [@daveverwer](https://www.ruby-forum.com/u/daveverwer)\
**Replies:** 8\
**Last updated:** [January 8, 2009, 7:35am UTC](https://www.ruby-forum.com/t/stop-updated-at-from-auto-updating/97919 "2009-01-08T07:35:28Z")

</div>

Hi Is there any way to temporarily stop the updated\_at field from being updated when a record is modified with ActiveRecord? I have a date field which is keeping track of when the record data was last checked by my a…

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

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