# Rails

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

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

---

## [How do I change character encoding from UTF-8 to ISO-8859-1?](https://www.ruby-forum.com/t/how-do-i-change-character-encoding-from-utf-8-to-iso-8859-1/106597)

<div class="topic-metadata">

**Author:** [@hannes](https://www.ruby-forum.com/u/hannes)\
**Replies:** 2\
**Last updated:** [June 12, 2007, 12:30pm UTC](https://www.ruby-forum.com/t/how-do-i-change-character-encoding-from-utf-8-to-iso-8859-1/106597 "2007-06-12T12:30:31Z")

</div>

Hi! I have a Rails application that is using a MSSQL server/database. I need to change the character set encoding to ISO-8859-1. How do I do this??? I have added the defult\_cahrset to the environment.rb like: ActionC…

---

## [Destroy\_all and has\_and\_belongs\_to\_many](https://www.ruby-forum.com/t/destroy-all-and-has-and-belongs-to-many/106579)

<div class="topic-metadata">

**Author:** [@sp00nyg](https://www.ruby-forum.com/u/sp00nyg)\
**Replies:** 3\
**Last updated:** [June 12, 2007, 12:23pm UTC](https://www.ruby-forum.com/t/destroy-all-and-has-and-belongs-to-many/106579 "2007-06-12T12:23:06Z")

</div>

I have a single class with a many-to-many relationship to itself. class Connection has\_and\_belongs\_to\_many :matches, :class\_name =\> “Connection”, :join\_table =\> “matched\_connections”, :foreign\_key =\> “connection\_id”…

---

## [Do I have to create the join tables?](https://www.ruby-forum.com/t/do-i-have-to-create-the-join-tables/106605)

<div class="topic-metadata">

**Author:** [@psimoes](https://www.ruby-forum.com/u/psimoes)\
**Replies:** 1\
**Last updated:** [June 12, 2007, 11:40am UTC](https://www.ruby-forum.com/t/do-i-have-to-create-the-join-tables/106605 "2007-06-12T11:40:25Z")

</div>

Hello, Suppose I have the following tables: table X ( id name ) table Y ( id name ) And I have a many to many relation between them. So, I put in each of the tables the “has\_and\_belongs\_to\_many”. In the real d…

---

## [Group in ROR](https://www.ruby-forum.com/t/group-in-ror/106604)

<div class="topic-metadata">

**Author:** [@dhaval](https://www.ruby-forum.com/u/dhaval)\
**Replies:** 0\
**Last updated:** [June 12, 2007, 11:06am UTC](https://www.ruby-forum.com/t/group-in-ror/106604 "2007-06-12T11:06:01Z")

</div>

How to create group in ROR? IS there ne plugin available… pls let me know thanks. Dhaval P.

---

## [Captcha, account verification in RoR](https://www.ruby-forum.com/t/captcha-account-verification-in-ror/106572)

<div class="topic-metadata">

**Author:** [@randall](https://www.ruby-forum.com/u/randall)\
**Replies:** 1\
**Last updated:** [June 12, 2007, 10:13am UTC](https://www.ruby-forum.com/t/captcha-account-verification-in-ror/106572 "2007-06-12T10:13:00Z")

</div>

I am creating a Ruby on Rails site and am curious about the best way to stop spam on the site. For account creation there is: a) Captcha b) email verification For messages, forums I am sure you could try to check th…

---

## [Error 500, socket does not match the pid](https://www.ruby-forum.com/t/error-500-socket-does-not-match-the-pid/106596)

<div class="topic-metadata">

**Author:** [@pduch](https://www.ruby-forum.com/u/pduch)\
**Replies:** 0\
**Last updated:** [June 12, 2007, 10:04am UTC](https://www.ruby-forum.com/t/error-500-socket-does-not-match-the-pid/106596 "2007-06-12T10:04:00Z")

</div>

This is the error that is repeating itself in my log: 2007-06-12 02:32:38: (mod\_fastcgi.c.1739) connect failed: Connection refused on unix:/home/devspace/space/rails/current/tmp/space-0.socket 2007-06-12 02:32:38: (mo…

---

## [Log level to debug in production?](https://www.ruby-forum.com/t/log-level-to-debug-in-production/106594)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [June 12, 2007, 9:42am UTC](https://www.ruby-forum.com/t/log-level-to-debug-in-production/106594 "2007-06-12T09:42:55Z")

</div>

I wanted to check how the sql queries looked like in production mode. Launched the app in prod mode with script/server after I set config.log\_level = :debug in connfig/environments/production.rb. For some reason, the …

---

## [Submit form on other sites](https://www.ruby-forum.com/t/submit-form-on-other-sites/106593)

<div class="topic-metadata">

**Author:** [@raghu](https://www.ruby-forum.com/u/raghu)\
**Replies:** 0\
**Last updated:** [June 12, 2007, 8:58am UTC](https://www.ruby-forum.com/t/submit-form-on-other-sites/106593 "2007-06-12T08:58:07Z")

</div>

Hi All, I have to submit a form with is on other site and get results from it. How can I do it, I am struct with… pls help me out.

---

## [How to show the trace log on the front page](https://www.ruby-forum.com/t/how-to-show-the-trace-log-on-the-front-page/106591)

<div class="topic-metadata">

**Author:** [@rainchen](https://www.ruby-forum.com/u/rainchen)\
**Replies:** 0\
**Last updated:** [June 12, 2007, 8:51am UTC](https://www.ruby-forum.com/t/how-to-show-the-trace-log-on-the-front-page/106591 "2007-06-12T08:51:45Z")

</div>

I want to show the trace log such as “Processing PatternController#list (for 127.0.0.1 at 2007-06-12 13:36:04) \[GET\]…” of development.log. Then I could checkout the autocreate sql per page in order to optimize the c…

---

## [Appication in ror](https://www.ruby-forum.com/t/appication-in-ror/106588)

<div class="topic-metadata">

**Author:** [@katthi](https://www.ruby-forum.com/u/katthi)\
**Replies:** 0\
**Last updated:** [June 12, 2007, 8:36am UTC](https://www.ruby-forum.com/t/appication-in-ror/106588 "2007-06-12T08:36:43Z")

</div>

HI, my previous post was not clear to many of them.sorry for that. Here goes clear description of the problem statement First consider these examples.suppose I am opening a bank account.What i will do is I will fill …

---

## [UK Rails hosting](https://www.ruby-forum.com/t/uk-rails-hosting/106415)

<div class="topic-metadata">

**Author:** [@beaon](https://www.ruby-forum.com/u/beaon)\
**Replies:** 14\
**Last updated:** [June 12, 2007, 8:16am UTC](https://www.ruby-forum.com/t/uk-rails-hosting/106415 "2007-06-12T08:16:26Z")

</div>

Hi folks, I wonder if someone could offer me some advice for hosting Rails applications in the UK. I’ve been looking around and I’ve found a good selection of hosts, but as Rails is a (relatively) new technology on t…

---

## [LoadError](https://www.ruby-forum.com/t/loaderror/106361)

<div class="topic-metadata">

**Author:** [@anrake](https://www.ruby-forum.com/u/anrake)\
**Replies:** 4\
**Last updated:** [June 12, 2007, 8:04am UTC](https://www.ruby-forum.com/t/loaderror/106361 "2007-06-12T08:04:39Z")

</div>

Hi, for the past few days, my site goes down a couplle times a day and when it does I get an error like that below in my prod.log. If I reload the main index page a few times the app eventually recovers and loads prop…

---

## [Another newbue question on install!](https://www.ruby-forum.com/t/another-newbue-question-on-install/106587)

<div class="topic-metadata">

**Author:** [@DBC\_User](https://www.ruby-forum.com/u/DBC_User)\
**Replies:** 0\
**Last updated:** [June 12, 2007, 7:57am UTC](https://www.ruby-forum.com/t/another-newbue-question-on-install/106587 "2007-06-12T07:57:38Z")

</div>

Hi, We have Windows 2003 servers with IIS6 and we have lot ASP and ASP.Net hosting in our production server. I would like to know what are all the things required for me to start running rails app on the same server?…

---

## [Unable to log in as for Depot Application](https://www.ruby-forum.com/t/unable-to-log-in-as-for-depot-application/106584)

<div class="topic-metadata">

**Author:** [@pacochin](https://www.ruby-forum.com/u/pacochin)\
**Replies:** 0\
**Last updated:** [June 12, 2007, 7:00am UTC](https://www.ruby-forum.com/t/unable-to-log-in-as-for-depot-application/106584 "2007-06-12T07:00:34Z")

</div>

Hi, Sorry, I am not sure where to ask the question. I was following the book Agile Web D. tutorial about creating Admin users login for to manage the products. I have successfully created new user, but when i try to …

---

## [Only displaying selected columns from table](https://www.ruby-forum.com/t/only-displaying-selected-columns-from-table/106538)

<div class="topic-metadata">

**Author:** [@liberte](https://www.ruby-forum.com/u/liberte)\
**Replies:** 9\
**Last updated:** [June 12, 2007, 6:12am UTC](https://www.ruby-forum.com/t/only-displaying-selected-columns-from-table/106538 "2007-06-12T06:12:29Z")

</div>

My table has a number of columns that are for record keeping, and I don’t want to display these column names back to the user when I display data. Is there a way to tell RoR to only display column names that I tell i…

---

## [Trouble with Plugins: file\_column](https://www.ruby-forum.com/t/trouble-with-plugins-file-column/106573)

<div class="topic-metadata">

**Author:** [@revanche](https://www.ruby-forum.com/u/revanche)\
**Replies:** 1\
**Last updated:** [June 12, 2007, 5:31am UTC](https://www.ruby-forum.com/t/trouble-with-plugins-file-column/106573 "2007-06-12T05:31:15Z")

</div>

I’ve been trying to install the plugin file\_column as per the instructions provided on the website. In short: ruby script/plugin install http://opensvn.csie.org/rails\_file\_column/plugins/file\_column/trunk Unfortunate…

---

## [REST nested resources and resource design](https://www.ruby-forum.com/t/rest-nested-resources-and-resource-design/106578)

<div class="topic-metadata">

**Author:** [@cjharrelson](https://www.ruby-forum.com/u/cjharrelson)\
**Replies:** 0\
**Last updated:** [June 12, 2007, 5:27am UTC](https://www.ruby-forum.com/t/rest-nested-resources-and-resource-design/106578 "2007-06-12T05:27:26Z")

</div>

I have a situation where an account belongs\_to account\_type and account\_type has\_many accounts. Obviously, I also have an AccountTypeController and an AccountController. I am trying to get a list of all accounts that…

---

## [\[ANN\] Lone Star Rubyconf 2007 - Registration Now Open!](https://www.ruby-forum.com/t/ann-lone-star-rubyconf-2007-registration-now-open/106577)

<div class="topic-metadata">

**Author:** [@sauy7](https://www.ruby-forum.com/u/sauy7)\
**Replies:** 0\
**Last updated:** [June 12, 2007, 5:12am UTC](https://www.ruby-forum.com/t/ann-lone-star-rubyconf-2007-registration-now-open/106577 "2007-06-12T05:12:25Z")

</div>

We are happy to announce that registration for Lone Star Rubyconf 2007 is Now Open. We have an exciting line-up of speakers, that will be posted this week, along with notable keynotes. Don’t miss out on this exciting…

---

## [\[ANN\] Textile Editor Helper v0.2](https://www.ruby-forum.com/t/ann-textile-editor-helper-v0-2/106574)

<div class="topic-metadata">

**Author:** [@Dave\_O](https://www.ruby-forum.com/u/Dave_O)\
**Replies:** 0\
**Last updated:** [June 12, 2007, 4:06am UTC](https://www.ruby-forum.com/t/ann-textile-editor-helper-v0-2/106574 "2007-06-12T04:06:21Z")

</div>

The Textile Editor Helper (TEH) is a Javascript-based text formatting toolbar that will be added to all of your text areas that utilize the TEH feature. TEH was developed to provide a more WYSIWYG-ish option for users…

---

## [Mongrel PID Issues](https://www.ruby-forum.com/t/mongrel-pid-issues/106569)

<div class="topic-metadata">

**Author:** [@kwest](https://www.ruby-forum.com/u/kwest)\
**Replies:** 2\
**Last updated:** [June 12, 2007, 3:07am UTC](https://www.ruby-forum.com/t/mongrel-pid-issues/106569 "2007-06-12T03:07:09Z")

</div>

I finally got my app to deploy using Capistrano, but now I cannot get Mongrel to run on the server this is the error I keep getting: !! PID file log/mongrel.8000.pid does not exist

---

## [How to determine a location from IP address](https://www.ruby-forum.com/t/how-to-determine-a-location-from-ip-address/106308)

<div class="topic-metadata">

**Author:** [@chamnap](https://www.ruby-forum.com/u/chamnap)\
**Replies:** 3\
**Last updated:** [June 12, 2007, 2:52am UTC](https://www.ruby-forum.com/t/how-to-determine-a-location-from-ip-address/106308 "2007-06-12T02:52:08Z")

</div>

Hello, I want to know how to determine a location from IP address in Rails. For example, 124.108.48.2 is from which country, using which ISP, Time Zone, lat and lng. Appreciate if have any ideas? Thanks Chamnap

---

## [Possible AJAX approach to nested data problem?](https://www.ruby-forum.com/t/possible-ajax-approach-to-nested-data-problem/106462)

<div class="topic-metadata">

**Author:** [@DavidB](https://www.ruby-forum.com/u/DavidB)\
**Replies:** 2\
**Last updated:** [June 12, 2007, 1:52am UTC](https://www.ruby-forum.com/t/possible-ajax-approach-to-nested-data-problem/106462 "2007-06-12T01:52:04Z")

</div>

Greetings, I am curious to see if anyone can suggest an efficient approach to a problem I am having with nested AJAX forms which I am trying to avoid. For example, let’s say we have 3 models: Problem (has\_many :ques…

---

## [Bush Family Nazi Connections](https://www.ruby-forum.com/t/bush-family-nazi-connections/106567)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [June 12, 2007, 1:27am UTC](https://www.ruby-forum.com/t/bush-family-nazi-connections/106567 "2007-06-12T01:27:02Z")

</div>

Bush Family Nazi Connections http://video.google.com/videoplay?docid=3961840602642450187 Matthew 24 End Time Disaters!!! http://video.google.com/videoplay?docid=303204416536528381

---

## [Another noob question](https://www.ruby-forum.com/t/another-noob-question/106564)

<div class="topic-metadata">

**Author:** [@Davi](https://www.ruby-forum.com/u/Davi)\
**Replies:** 1\
**Last updated:** [June 12, 2007, 1:14am UTC](https://www.ruby-forum.com/t/another-noob-question/106564 "2007-06-12T01:14:01Z")

</div>

I upgraded my Rails version from 1.1.6 to 1.2.3. How can I upgrade my app? Only editing the source? Thanks – Davi V. removed\_email\_address@domain.invalid removed\_email\_address@domain.invalid "Religion, ideology, re…

---

## [Attachment\_fu - more then one attachment in model?](https://www.ruby-forum.com/t/attachment-fu-more-then-one-attachment-in-model/88074)

<div class="topic-metadata">

**Author:** [@bmihelac](https://www.ruby-forum.com/u/bmihelac)\
**Replies:** 18\
**Last updated:** [June 12, 2007, 12:40am UTC](https://www.ruby-forum.com/t/attachment-fu-more-then-one-attachment-in-model/88074 "2007-06-12T00:40:04Z")

</div>

Is it possible to have more than one attachment in model using attachment\_fu? thanks, Bojan Bojan M. → Ruby on Rails and Web D. Blog : http://source.mihelac.org

---

## [List of Controllers?](https://www.ruby-forum.com/t/list-of-controllers/106551)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 4\
**Last updated:** [June 12, 2007, 12:36am UTC](https://www.ruby-forum.com/t/list-of-controllers/106551 "2007-06-12T00:36:59Z")

</div>

How can I get a list of controllers from within rails? I cant see any documentation on this anywhere. Thanks, Matt

---

## [How to get parameters value](https://www.ruby-forum.com/t/how-to-get-parameters-value/106562)

<div class="topic-metadata">

**Author:** [@Wiwi](https://www.ruby-forum.com/u/Wiwi)\
**Replies:** 0\
**Last updated:** [June 12, 2007, 12:20am UTC](https://www.ruby-forum.com/t/how-to-get-parameters-value/106562 "2007-06-12T00:20:57Z")

</div>

I like to get a parameters value, and I like to print it on the console. I tried the following expressions: puts params\[:FIRST\_NAME\] puts @params\[‘FIRST\_NAME’\] puts @params\[‘person\[FIRST\_NAME\]’\] None of them is work…

---

## [Load new databases dynamically](https://www.ruby-forum.com/t/load-new-databases-dynamically/106556)

<div class="topic-metadata">

**Author:** [@Alex\_MacCaw](https://www.ruby-forum.com/u/Alex_MacCaw)\
**Replies:** 1\
**Last updated:** [June 11, 2007, 11:03pm UTC](https://www.ruby-forum.com/t/load-new-databases-dynamically/106556 "2007-06-11T23:03:52Z")

</div>

I’m using Rails client side, and planning to load different databases for different users, during runtime. Is this possible in Rails?

---

## [Looking for a job](https://www.ruby-forum.com/t/looking-for-a-job/106553)

<div class="topic-metadata">

**Author:** [@Vivian\_Aranha](https://www.ruby-forum.com/u/Vivian_Aranha)\
**Replies:** 4\
**Last updated:** [June 11, 2007, 10:35pm UTC](https://www.ruby-forum.com/t/looking-for-a-job/106553 "2007-06-11T22:35:46Z")

</div>

Hi All, This is Vivian Aranha, currently looking for a job. I have a masters degree in Computer Science from The George Washington University, Washington DC and have 4 years working experience on server side applica…

---

## [Classic\_pagination plugin?](https://www.ruby-forum.com/t/classic-pagination-plugin/106550)

<div class="topic-metadata">

**Author:** [@mark](https://www.ruby-forum.com/u/mark)\
**Replies:** 2\
**Last updated:** [June 11, 2007, 10:33pm UTC](https://www.ruby-forum.com/t/classic-pagination-plugin/106550 "2007-06-11T22:33:45Z")

</div>

Hi, I have noticed that pagination got removed from edge today, does anyone know where I can get hold of the replacement plugin? Cheers

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

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