# Rails

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

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

---

## [Problems installing mysql-gem](https://www.ruby-forum.com/t/problems-installing-mysql-gem/93269)

<div class="topic-metadata">

**Author:** [@emuen](https://www.ruby-forum.com/u/emuen)\
**Replies:** 5\
**Last updated:** [May 14, 2007, 1:23am UTC](https://www.ruby-forum.com/t/problems-installing-mysql-gem/93269 "2007-05-14T01:23:39Z")

</div>

Hi. I have been trying to install the mysql-gem with the inatllation instructions from hivelogic. After running the sudo gem install mysql – --with-mysql-dir=/usr/local/mysql I get the following error: jekyll:/usr/…

---

## [ActionMailer outside of Rails?](https://www.ruby-forum.com/t/actionmailer-outside-of-rails/104028)

<div class="topic-metadata">

**Author:** [@jasongarber](https://www.ruby-forum.com/u/jasongarber)\
**Replies:** 2\
**Last updated:** [May 14, 2007, 1:17am UTC](https://www.ruby-forum.com/t/actionmailer-outside-of-rails/104028 "2007-05-14T01:17:37Z")

</div>

Has anyone used ActionMailer outside of rails? I have a requirement for work that will not allow me to do this from within a rails app. I have successfully sent an email in the following manner: MyMailer.deliver\_cle…

---

## [Question about dynamic layout](https://www.ruby-forum.com/t/question-about-dynamic-layout/103972)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [May 13, 2007, 11:38pm UTC](https://www.ruby-forum.com/t/question-about-dynamic-layout/103972 "2007-05-13T23:38:33Z")

</div>

Hi, I have implemented a method where javascript would be found in an index file, and depending on the result, a session variable would be set to determine the layout the user is to use. Now heres the problem. Not on…

---

## [Bugs in official Rails blog weblog.rubyonrails.org](https://www.ruby-forum.com/t/bugs-in-official-rails-blog-weblog-rubyonrails-org/104066)

<div class="topic-metadata">

**Author:** [@ryantate](https://www.ruby-forum.com/u/ryantate)\
**Replies:** 0\
**Last updated:** [May 13, 2007, 11:21pm UTC](https://www.ruby-forum.com/t/bugs-in-official-rails-blog-weblog-rubyonrails-org/104066 "2007-05-13T23:21:32Z")

</div>

There are two significant bugs in the official Ruby on Rails blog at weblog.rubyonrails.org: There is no way to contact the webmaster of send site feedback so I have to clutter up the list with this message; Ther…

---

## [\[ANN\] ActiveWarehouse 0.3.0 Released](https://www.ruby-forum.com/t/ann-activewarehouse-0-3-0-released/104065)

<div class="topic-metadata">

**Author:** [@chovy](https://www.ruby-forum.com/u/chovy)\
**Replies:** 0\
**Last updated:** [May 13, 2007, 11:17pm UTC](https://www.ruby-forum.com/t/ann-activewarehouse-0-3-0-released/104065 "2007-05-13T23:17:32Z")

</div>

ActiveWarehouse 0.3.0 is now available as a Gem, Zip or Gzip file from RubyForge. You may also install directly from the subversion repository, as always. ActiveWarehouse is an open source plugin for Rails that extend…

---

## [May Headline: Ruby's growth comes to an end](https://www.ruby-forum.com/t/may-headline-rubys-growth-comes-to-an-end/104026)

<div class="topic-metadata">

**Author:** [@gino](https://www.ruby-forum.com/u/gino)\
**Replies:** 8\
**Last updated:** [May 13, 2007, 10:00pm UTC](https://www.ruby-forum.com/t/may-headline-rubys-growth-comes-to-an-end/104026 "2007-05-13T22:00:22Z")

</div>

TIOBE Programming Community Index for May 2007 May Headline: Ruby’s growth comes to an end Does that mean ruby is not going to compete with the big ones ? I thought it was gonig to pass php

---

## [Hello World with dummy database](https://www.ruby-forum.com/t/hello-world-with-dummy-database/104061)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 0\
**Last updated:** [May 13, 2007, 9:16pm UTC](https://www.ruby-forum.com/t/hello-world-with-dummy-database/104061 "2007-05-13T21:16:11Z")

</div>

I have a mysql database “dummy” which is a copy of the database I was using with php. Things are basically setup? \[thufir@localhost ~\]$ \[thufir@localhost ~\]$ cat /home/thufir/dummy/config/database.yml MySQL (defaul…

---

## [Failed to build gem native extension.(mysql)](https://www.ruby-forum.com/t/failed-to-build-gem-native-extension-mysql/104035)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 1\
**Last updated:** [May 13, 2007, 9:15pm UTC](https://www.ruby-forum.com/t/failed-to-build-gem-native-extension-mysql/104035 "2007-05-13T21:15:11Z")

</div>

I’m trying to install the mysql gem. I have mysql up and running, everything is up to date through yum. \[root@localhost ~\]# \[root@localhost ~\]# gem install mysql -y Select which gem to install for your platform (i38…

---

## [Fcgid.conf - Photo uploads](https://www.ruby-forum.com/t/fcgid-conf-photo-uploads/104057)

<div class="topic-metadata">

**Author:** [@Traci\_Reynolds](https://www.ruby-forum.com/u/Traci_Reynolds)\
**Replies:** 0\
**Last updated:** [May 13, 2007, 8:29pm UTC](https://www.ruby-forum.com/t/fcgid-conf-photo-uploads/104057 "2007-05-13T20:29:06Z")

</div>

My network guy is saying that fcgi is built for short lived processes. I’m running up against the limit of DefaultMaxClassProcessCount which is set to two, on the third picture upload it’s dying, and returns a 503. Th…

---

## [Seeking some advice](https://www.ruby-forum.com/t/seeking-some-advice/104037)

<div class="topic-metadata">

**Author:** [@kelleysislander](https://www.ruby-forum.com/u/kelleysislander)\
**Replies:** 2\
**Last updated:** [May 13, 2007, 6:26pm UTC](https://www.ruby-forum.com/t/seeking-some-advice/104037 "2007-05-13T18:26:54Z")

</div>

Sorry for the vague subject. I couldn’t think of a more descriptive one. I’m working on an app in which users are able to send one another messages. I’d like for each user to have a sent folder, as well as an inbox. A…

---

## [Has anybody used netfirms hosting ror?](https://www.ruby-forum.com/t/has-anybody-used-netfirms-hosting-ror/104052)

<div class="topic-metadata">

**Author:** [@gino](https://www.ruby-forum.com/u/gino)\
**Replies:** 0\
**Last updated:** [May 13, 2007, 6:02pm UTC](https://www.ruby-forum.com/t/has-anybody-used-netfirms-hosting-ror/104052 "2007-05-13T18:02:24Z")

</div>

I just wanted to know if somebody can have some tips about de setup configuration

---

## [Replace Carriage Return and New Line with Blank Space](https://www.ruby-forum.com/t/replace-carriage-return-and-new-line-with-blank-space/104050)

<div class="topic-metadata">

**Author:** [@johnk](https://www.ruby-forum.com/u/johnk)\
**Replies:** 1\
**Last updated:** [May 13, 2007, 5:41pm UTC](https://www.ruby-forum.com/t/replace-carriage-return-and-new-line-with-blank-space/104050 "2007-05-13T17:41:50Z")

</div>

How come something so simple is seemingly so hard this morning. How do I replace all carriage returns and new line characters with a blank space? Should be straight forward no? Your Friend, John – John K. removed…

---

## [Bausch & Lomb Opcon-A Sample and $1.00 Off Coupon](https://www.ruby-forum.com/t/bausch-lomb-opcon-a-sample-and-1-00-off-coupon/104049)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [May 13, 2007, 5:29pm UTC](https://www.ruby-forum.com/t/bausch-lomb-opcon-a-sample-and-1-00-off-coupon/104049 "2007-05-13T17:29:16Z")

</div>

http://www.bausch.see-life-clearly.com Bausch & Lomb Opcon-A: Get a $1.00 Savings Coupon Now!

---

## [How to make file upload](https://www.ruby-forum.com/t/how-to-make-file-upload/104044)

<div class="topic-metadata">

**Author:** [@ackiae86](https://www.ruby-forum.com/u/ackiae86)\
**Replies:** 2\
**Last updated:** [May 13, 2007, 5:17pm UTC](https://www.ruby-forum.com/t/how-to-make-file-upload/104044 "2007-05-13T17:17:46Z")

</div>

Hi, guys, I’m learning to use Rails. I want to add a file upload(.rar,.zip file only) funtion in my Web application. After upload, the file name will be renamed randomly and then store the URL of file in “file\_path” …

---

## [Using acts\_as\_ferret in non Latin languages](https://www.ruby-forum.com/t/using-acts-as-ferret-in-non-latin-languages/104047)

<div class="topic-metadata">

**Author:** [@mahmoodi](https://www.ruby-forum.com/u/mahmoodi)\
**Replies:** 0\
**Last updated:** [May 13, 2007, 4:21pm UTC](https://www.ruby-forum.com/t/using-acts-as-ferret-in-non-latin-languages/104047 "2007-05-13T16:21:43Z")

</div>

Hi all, I want to use acts\_as\_ferret in persian language, i have installed ferret and acts as ferret successfully and write model and controller code like the following but by all parameter there is no results. pleas…

---

## [Dispatch.fcgi + lighttpd upload files](https://www.ruby-forum.com/t/dispatch-fcgi-lighttpd-upload-files/119713)

<div class="topic-metadata">

**Author:** [@shai](https://www.ruby-forum.com/u/shai)\
**Replies:** 0\
**Last updated:** [May 13, 2007, 3:38pm UTC](https://www.ruby-forum.com/t/dispatch-fcgi-lighttpd-upload-files/119713 "2007-05-13T15:38:39Z")

</div>

Hi, as i’m aware that there are not too many out there still using dispatch.fcgi && lighttpd (rather moving to mongrels && nginx ) , i’ll try to make this simple: how do i limit a file upload size in lighttpd? am i s…

---

## [How to remove some data form REST xml output?](https://www.ruby-forum.com/t/how-to-remove-some-data-form-rest-xml-output/104031)

<div class="topic-metadata">

**Author:** [@Datou](https://www.ruby-forum.com/u/Datou)\
**Replies:** 2\
**Last updated:** [May 13, 2007, 2:26pm UTC](https://www.ruby-forum.com/t/how-to-remove-some-data-form-rest-xml-output/104031 "2007-05-13T14:26:30Z")

</div>

When user requsts a record, rails will put everything into xml output. How to remove some junk data? Thanks!

---

## [How to get RadRails to accpet .erb like .rhtml](https://www.ruby-forum.com/t/how-to-get-radrails-to-accpet-erb-like-rhtml/103994)

<div class="topic-metadata">

**Author:** [@adam](https://www.ruby-forum.com/u/adam)\
**Replies:** 2\
**Last updated:** [May 13, 2007, 1:31pm UTC](https://www.ruby-forum.com/t/how-to-get-radrails-to-accpet-erb-like-rhtml/103994 "2007-05-13T13:31:23Z")

</div>

Hi, This starting t drive me crazy now, Does anyone know of a way to get RadRails to support the new .erb file’s in the way it does for the old .rhtml files? thanks adam

---

## [Mixing in action view helper methods in a class](https://www.ruby-forum.com/t/mixing-in-action-view-helper-methods-in-a-class/104034)

<div class="topic-metadata">

**Author:** [@Myron\_M](https://www.ruby-forum.com/u/Myron_M)\
**Replies:** 0\
**Last updated:** [May 13, 2007, 9:01am UTC](https://www.ruby-forum.com/t/mixing-in-action-view-helper-methods-in-a-class/104034 "2007-05-13T09:01:58Z")

</div>

I’ve got a class where I would like to use the TextHelper truncate method. It’s not a M, V or C but is called by a controller. I figured I should be able to mixin the TextHelper in order to have access to the trunca…

---

## [Model methods when to use self](https://www.ruby-forum.com/t/model-methods-when-to-use-self/103898)

<div class="topic-metadata">

**Author:** [@bitterbal](https://www.ruby-forum.com/u/bitterbal)\
**Replies:** 5\
**Last updated:** [May 13, 2007, 8:39am UTC](https://www.ruby-forum.com/t/model-methods-when-to-use-self/103898 "2007-05-13T08:39:57Z")

</div>

I am extending my model with some methods. My question is when to and when not to define the method with self. example def sales\_value … all kinds of calculations end OR def self.sales\_value … all kinds of calcul…

---

## [Tmw](https://www.ruby-forum.com/t/tmw/104032)

<div class="topic-metadata">

**Author:** [@rmac217](https://www.ruby-forum.com/u/rmac217)\
**Replies:** 0\
**Last updated:** [May 13, 2007, 8:01am UTC](https://www.ruby-forum.com/t/tmw/104032 "2007-05-13T08:01:10Z")

</div>

---

## [Webbrick and/or Mongrels Dies Overnight](https://www.ruby-forum.com/t/webbrick-and-or-mongrels-dies-overnight/103716)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 7\
**Last updated:** [May 13, 2007, 5:19am UTC](https://www.ruby-forum.com/t/webbrick-and-or-mongrels-dies-overnight/103716 "2007-05-13T05:19:47Z")

</div>

I have a SuSE 10.0 server that was first running Webbrick, and now Mongrel. In both cases, I can have them running and used all day. However, either one of them will go unresponsive in the middle of the night for see…

---

## [Routing Problem](https://www.ruby-forum.com/t/routing-problem/104021)

<div class="topic-metadata">

**Author:** [@skade](https://www.ruby-forum.com/u/skade)\
**Replies:** 0\
**Last updated:** [May 13, 2007, 1:08am UTC](https://www.ruby-forum.com/t/routing-problem/104021 "2007-05-13T01:08:02Z")

</div>

Hi, I have the following route setup – map.auth ‘users/auth/:action/:id’, :controller =\> ‘users/auth’, :action =\> nil, :id =\> nil map.authadmin ‘users/authadmin/:action/:id’, :controller =\> ‘users/authadmin’, :actio…

---

## [Attachment\_fu with extra db fields?](https://www.ruby-forum.com/t/attachment-fu-with-extra-db-fields/103940)

<div class="topic-metadata">

**Author:** [@supaspoida](https://www.ruby-forum.com/u/supaspoida)\
**Replies:** 2\
**Last updated:** [May 12, 2007, 11:58pm UTC](https://www.ruby-forum.com/t/attachment-fu-with-extra-db-fields/103940 "2007-05-12T23:58:30Z")

</div>

I have been working on this problem for two days and can’t seem to make an progress on it. I am positive that I am just missing something obvious. I am using attachment\_fu, I have created an image model and images con…

---

## [IM API for ROR](https://www.ruby-forum.com/t/im-api-for-ror/103964)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 4\
**Last updated:** [May 12, 2007, 11:24pm UTC](https://www.ruby-forum.com/t/im-api-for-ror/103964 "2007-05-12T23:24:28Z")

</div>

is there any instant messenger api’s available for rubyonrails that anyone knows of? Thanks

---

## [Class can be many other..classes](https://www.ruby-forum.com/t/class-can-be-many-other-classes/104008)

<div class="topic-metadata">

**Author:** [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Replies:** 8\
**Last updated:** [May 12, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/class-can-be-many-other-classes/104008 "2007-05-12T23:10:27Z")

</div>

Hey All, Before I go off on a tangent, I thought it best to see if anyone has a pattern for this already. An example should explain all: Let’s say I have a Person class and a person can be both a Teacher and a Perfo…

---

## [Help, 1 error(s) on assignment of multiparameter attributes](https://www.ruby-forum.com/t/help-1-error-s-on-assignment-of-multiparameter-attributes/104015)

<div class="topic-metadata">

**Author:** [@Trukin](https://www.ruby-forum.com/u/Trukin)\
**Replies:** 4\
**Last updated:** [May 12, 2007, 10:59pm UTC](https://www.ruby-forum.com/t/help-1-error-s-on-assignment-of-multiparameter-attributes/104015 "2007-05-12T22:59:26Z")

</div>

Hi everyone! I just started learning Ruby on Rails about a week ago for a school project, and can’t seem to find a solution for something. I have this inside the form inside of edit\_albums.rhtml: \<%= start\_form\_tag :…

---

## [SQLite3 acting very strangely](https://www.ruby-forum.com/t/sqlite3-acting-very-strangely/103767)

<div class="topic-metadata">

**Author:** [@vh1](https://www.ruby-forum.com/u/vh1)\
**Replies:** 14\
**Last updated:** [May 12, 2007, 10:03pm UTC](https://www.ruby-forum.com/t/sqlite3-acting-very-strangely/103767 "2007-05-12T22:03:22Z")

</div>

good evening (and morning, also!) everyone. this is my first attempt at using sqlite3 for a rails app, and so far, not so good when I try to save a very basic record from the controller, it gives me back an ActiveReco…

---

## [Multiply and format with thousands separator](https://www.ruby-forum.com/t/multiply-and-format-with-thousands-separator/103968)

<div class="topic-metadata">

**Author:** [@itsnotvalid](https://www.ruby-forum.com/u/itsnotvalid)\
**Replies:** 4\
**Last updated:** [May 12, 2007, 9:43pm UTC](https://www.ruby-forum.com/t/multiply-and-format-with-thousands-separator/103968 "2007-05-12T21:43:57Z")

</div>

I have just started with Ruby and Rails and am still greatly confuse, finding the usual tutorials not much help. What I want to do is take two numbers from my database, multiply them together and display them in a lis…

---

## [WGETting from within rails](https://www.ruby-forum.com/t/wgetting-from-within-rails/104005)

<div class="topic-metadata">

**Author:** [@plewizard](https://www.ruby-forum.com/u/plewizard)\
**Replies:** 2\
**Last updated:** [May 12, 2007, 9:32pm UTC](https://www.ruby-forum.com/t/wgetting-from-within-rails/104005 "2007-05-12T21:32:20Z")

</div>

i’m writing an app that wants to fetch a URL from a remote server and return the html text file to the app. i’ve been told there are some xml parsers for perl that have request functionality built right in. is there …

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

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