# Rails

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

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

---

## [How can I tell what actionmailer is actually doing?](https://www.ruby-forum.com/t/how-can-i-tell-what-actionmailer-is-actually-doing/190800)

<div class="topic-metadata">

**Author:** [@Rod\_P](https://www.ruby-forum.com/u/Rod_P)\
**Replies:** 1\
**Last updated:** [June 28, 2010, 7:14pm UTC](https://www.ruby-forum.com/t/how-can-i-tell-what-actionmailer-is-actually-doing/190800 "2010-06-28T19:14:55Z")

</div>

I believe I have my ActionMailer in environment.rb configured properly and have setup the proper classes. I am not receiving the e- mails I am sending. My configuration and classes are below. What I would like to kn…

---

## [Testing and migrations](https://www.ruby-forum.com/t/testing-and-migrations/190749)

<div class="topic-metadata">

**Author:** [@anywho](https://www.ruby-forum.com/u/anywho)\
**Replies:** 6\
**Last updated:** [June 28, 2010, 5:44pm UTC](https://www.ruby-forum.com/t/testing-and-migrations/190749 "2010-06-28T17:44:43Z")

</div>

does rails always need to update the development database before running the tests? It seems to insisit on running db:migrate before. Why can’t it just update the test database? This can be annoying if I’m in a produ…

---

## [Remove first part of path, if = a particular string?](https://www.ruby-forum.com/t/remove-first-part-of-path-if-a-particular-string/190805)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 5\
**Last updated:** [June 28, 2010, 5:31pm UTC](https://www.ruby-forum.com/t/remove-first-part-of-path-if-a-particular-string/190805 "2010-06-28T17:31:04Z")

</div>

Hi all. I’m moving our site from eg /staging/ to simply be /\<rest\_of\_path\>. I want to catch all the people who have bookmarked the “staging/” urls (or have them in their browser history) and redirect them to the eq…

---

## [JOBS: Rails developer, NYC](https://www.ruby-forum.com/t/jobs-rails-developer-nyc/190815)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [June 28, 2010, 5:10pm UTC](https://www.ruby-forum.com/t/jobs-rails-developer-nyc/190815 "2010-06-28T17:10:44Z")

</div>

Hi all, Looking for one Rails developer to join our team. We are working on a startup initiative and we have an initial iteration of the web app already deployed with over 200 uses and nearly 400 listings. We are ho…

---

## [Commenting in new.erb template file](https://www.ruby-forum.com/t/commenting-in-new-erb-template-file/190765)

<div class="topic-metadata">

**Author:** [@railsfan\_radha](https://www.ruby-forum.com/u/railsfan_radha)\
**Replies:** 14\
**Last updated:** [June 28, 2010, 4:30pm UTC](https://www.ruby-forum.com/t/commenting-in-new-erb-template-file/190765 "2010-06-28T16:30:05Z")

</div>

app/views/category/new.erb In this file , i have two line like this But, if these two lines are present , i get an error saying “you have an unexpected nil error” here is the full file: app/views/category# more n…

---

## [Relationship problems](https://www.ruby-forum.com/t/relationship-problems/190795)

<div class="topic-metadata">

**Author:** [@neilbain](https://www.ruby-forum.com/u/neilbain)\
**Replies:** 6\
**Last updated:** [June 28, 2010, 4:18pm UTC](https://www.ruby-forum.com/t/relationship-problems/190795 "2010-06-28T16:18:44Z")

</div>

I am trying to send an email using ActionMailer. I am having problems identifying the recipient in email.controller. I want it to be the owner of the current story. It won’t accept @story.user because I don’t know how…

---

## [JOBS - Ruby Developer](https://www.ruby-forum.com/t/jobs-ruby-developer/190813)

<div class="topic-metadata">

**Author:** [@Richard\_Marshall](https://www.ruby-forum.com/u/Richard_Marshall)\
**Replies:** 0\
**Last updated:** [June 28, 2010, 4:18pm UTC](https://www.ruby-forum.com/t/jobs-ruby-developer/190813 "2010-06-28T16:18:36Z")

</div>

Hi All Looking for a solid Ruby developer who is looking for contract work in London. working for a fantastic online client. Please contact me for this great position. • Ruby on Rails 2.3+ web application developmen…

---

## [I am looking for Ruby on Rails Projects](https://www.ruby-forum.com/t/i-am-looking-for-ruby-on-rails-projects/190798)

<div class="topic-metadata">

**Author:** [@sai\_ror](https://www.ruby-forum.com/u/sai_ror)\
**Replies:** 2\
**Last updated:** [June 28, 2010, 3:29pm UTC](https://www.ruby-forum.com/t/i-am-looking-for-ruby-on-rails-projects/190798 "2010-06-28T15:29:00Z")

</div>

Hi, I am a Sr.Ruby on Rails Developer from India.I am ready to work on projects. Cheers, Sai

---

## [Google ad Sense code implementation with Ruby on Rails](https://www.ruby-forum.com/t/google-ad-sense-code-implementation-with-ruby-on-rails/190799)

<div class="topic-metadata">

**Author:** [@palani](https://www.ruby-forum.com/u/palani)\
**Replies:** 1\
**Last updated:** [June 28, 2010, 1:04pm UTC](https://www.ruby-forum.com/t/google-ad-sense-code-implementation-with-ruby-on-rails/190799 "2010-06-28T13:04:09Z")

</div>

i want to integrate google ad in my existing webpages in ror .please help me . i found topic on my question in http://atservice.blogspot.com/2008/07/g … ation.html but when i tried this AdsController.rb file isnot…

---

## [Problem in Routing and associations](https://www.ruby-forum.com/t/problem-in-routing-and-associations/190801)

<div class="topic-metadata">

**Author:** [@Jatin](https://www.ruby-forum.com/u/Jatin)\
**Replies:** 0\
**Last updated:** [June 28, 2010, 12:25pm UTC](https://www.ruby-forum.com/t/problem-in-routing-and-associations/190801 "2010-06-28T12:25:30Z")

</div>

Hello, I am new to Ruby on Rails and i am stuck on this problem. I have two models products and categories. I have scaffolded both the models with the basic attributes and i am using has\_many through associations. Now…

---

## [Limiting Error Messages](https://www.ruby-forum.com/t/limiting-error-messages/190796)

<div class="topic-metadata">

**Author:** [@Ants\_P](https://www.ruby-forum.com/u/Ants_P)\
**Replies:** 0\
**Last updated:** [June 28, 2010, 12:10pm UTC](https://www.ruby-forum.com/t/limiting-error-messages/190796 "2010-06-28T12:10:16Z")

</div>

Hello, I’m using Authlogic and I don’t like the error messages it provides for acts\_as\_authentic and I was wondering how to go about cleaning them up. My point is, if a password/email are missing, then I get … Email …

---

## [Mongrel rails cluster problem](https://www.ruby-forum.com/t/mongrel-rails-cluster-problem/190707)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [June 28, 2010, 11:15am UTC](https://www.ruby-forum.com/t/mongrel-rails-cluster-problem/190707 "2010-06-28T11:15:48Z")

</div>

Hi All, I am new to RoR and I have issue accessing my app through mongrel cluster. When I start only mongrel\_rails, I can access my app at http://localhost:3000. However, when I start mongrel\_cluster, I cannot acces…

---

## [Library under lib/ is not loaded anymore with Rails 3 beta 4](https://www.ruby-forum.com/t/library-under-lib-is-not-loaded-anymore-with-rails-3-beta-4/190789)

<div class="topic-metadata">

**Author:** [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Replies:** 1\
**Last updated:** [June 28, 2010, 11:11am UTC](https://www.ruby-forum.com/t/library-under-lib-is-not-loaded-anymore-with-rails-3-beta-4/190789 "2010-06-28T11:11:43Z")

</div>

Hi all, Has there been changes in the way Rails 3 loading the libraries under lib/ Suddenly after the upgrade, all the library under the lib/ is not loaded anymore. Does anyone experience this issue as well? Or is i…

---

## [(JOBS) Junior Rails Developer, London, UK](https://www.ruby-forum.com/t/jobs-junior-rails-developer-london-uk/190712)

<div class="topic-metadata">

**Author:** [@f2andy](https://www.ruby-forum.com/u/f2andy)\
**Replies:** 2\
**Last updated:** [June 28, 2010, 9:48am UTC](https://www.ruby-forum.com/t/jobs-junior-rails-developer-london-uk/190712 "2010-06-28T09:48:33Z")

</div>

The company I’m contracting at is looking for: An enthusiastic, junior Ruby on Rails developer. Maybe you’ve been using PHP for a few years and have recently started playing with Rails or you’ve been using Rails fo…

---

## [Ajax Form with Multipart File Upload in Rails 3.0](https://www.ruby-forum.com/t/ajax-form-with-multipart-file-upload-in-rails-3-0/190756)

<div class="topic-metadata">

**Author:** [@sharkie](https://www.ruby-forum.com/u/sharkie)\
**Replies:** 1\
**Last updated:** [June 28, 2010, 9:06am UTC](https://www.ruby-forum.com/t/ajax-form-with-multipart-file-upload-in-rails-3-0/190756 "2010-06-28T09:06:24Z")

</div>

How would I achieve this? In Rails 2.x, I would use responds\_to\_parent, but it seems quite unsupported now. What plugins/gems do people use nowadays that would automate targeting form to iframe sending javascript to …

---

## [Send form validation errors through redirect?](https://www.ruby-forum.com/t/send-form-validation-errors-through-redirect/190791)

<div class="topic-metadata">

**Author:** [@victor123789](https://www.ruby-forum.com/u/victor123789)\
**Replies:** 0\
**Last updated:** [June 28, 2010, 8:04am UTC](https://www.ruby-forum.com/t/send-form-validation-errors-through-redirect/190791 "2010-06-28T08:04:20Z")

</div>

Hi, I’m new at this, how do I send the errors that one would get from a standard ruby scaffold generator on a form that is attempted to POST incorrectly? With all the beautiful formatting etc… Right now I have this: …

---

## [Gitignore](https://www.ruby-forum.com/t/gitignore/190435)

<div class="topic-metadata">

**Author:** [@giorgio](https://www.ruby-forum.com/u/giorgio)\
**Replies:** 4\
**Last updated:** [June 28, 2010, 4:17am UTC](https://www.ruby-forum.com/t/gitignore/190435 "2010-06-28T04:17:49Z")

</div>

I have just started using rad rails again after a long stint on netbeans. It seems to generate loads of files like: app/views/group/.tmp\_group\_summary.rhtml.99932 I want to make git ignore all these .tmp files but my…

---

## [Strange error when running rails 2.3 on ruby 1.9.1 on FreeBSD](https://www.ruby-forum.com/t/strange-error-when-running-rails-2-3-on-ruby-1-9-1-on-freebsd/161026)

<div class="topic-metadata">

**Author:** [@Grzesiu](https://www.ruby-forum.com/u/Grzesiu)\
**Replies:** 16\
**Last updated:** [June 28, 2010, 3:36am UTC](https://www.ruby-forum.com/t/strange-error-when-running-rails-2-3-on-ruby-1-9-1-on-freebsd/161026 "2010-06-28T03:36:17Z")

</div>

I am trying to run rails on FreeBSD 7.1. I’ve already installed Ruby 1.9.1 (from ports), apache, passenger (edge version from git), Rails 2.3 RC 1 (using gem --source like described on the weblog.rubyonrails.org). Eve…

---

## [Undefined method \`camelize' for "app":String](https://www.ruby-forum.com/t/undefined-method-camelize-for-app-string/183443)

<div class="topic-metadata">

**Author:** [@Ian\_Vaughan](https://www.ruby-forum.com/u/Ian_Vaughan)\
**Replies:** 1\
**Last updated:** [June 28, 2010, 3:13am UTC](https://www.ruby-forum.com/t/undefined-method-camelize-for-app-string/183443 "2010-06-28T03:13:32Z")

</div>

Hi, trying to use rails to create an app, and get the following error message :- $ rails testapp undefined method \`camelize' for "app":String I have the following setup/versions :- Windows 7 Cygwin - GNU bash, versi…

---

## [Remote Layout](https://www.ruby-forum.com/t/remote-layout/190779)

<div class="topic-metadata">

**Author:** [@djames](https://www.ruby-forum.com/u/djames)\
**Replies:** 5\
**Last updated:** [June 28, 2010, 1:21am UTC](https://www.ruby-forum.com/t/remote-layout/190779 "2010-06-28T01:21:39Z")

</div>

I have a wild idea that it might be nice to be able to host a layout on one or more foreign hosts. That way each host could then use their own layout to provide navigation and configure CSS stylings applicable to the…

---

## [Error: while uploading ruby project](https://www.ruby-forum.com/t/error-while-uploading-ruby-project/190781)

<div class="topic-metadata">

**Author:** [@aliibrahim](https://www.ruby-forum.com/u/aliibrahim)\
**Replies:** 1\
**Last updated:** [June 27, 2010, 8:17pm UTC](https://www.ruby-forum.com/t/error-while-uploading-ruby-project/190781 "2010-06-27T20:17:50Z")

</div>

Apache/2.2.15 (Unix) mod\_ssl/2.2.15 OpenSSL/0.9.8e-fips-rhel5 mod\_fcgid/2.3.5 Phusion\_Passenger/2.2.11 mod\_auth\_passthrough/2.1 mod\_bwlimited/1.4 FrontPage/5.0.2.2635 Server at mydomainname.com Port 80

---

## [Rails layout generator not doing what the documentation sais it should be doing?](https://www.ruby-forum.com/t/rails-layout-generator-not-doing-what-the-documentation-sais-it-should-be-doing/190778)

<div class="topic-metadata">

**Author:** [@victor123789](https://www.ruby-forum.com/u/victor123789)\
**Replies:** 0\
**Last updated:** [June 27, 2010, 6:45pm UTC](https://www.ruby-forum.com/t/rails-layout-generator-not-doing-what-the-documentation-sais-it-should-be-doing/190778 "2010-06-27T18:45:20Z")

</div>

Hello, I’ve just started playing around with the Rails 3.0.0.beta and I came across some seemingly strange behaviour, where I expected: “In previous versions of Rails, the rails generate scaffold command would automa…

---

## [Can't update one model from another model (polymorphic models)](https://www.ruby-forum.com/t/cant-update-one-model-from-another-model-polymorphic-models/190776)

<div class="topic-metadata">

**Author:** [@ali](https://www.ruby-forum.com/u/ali)\
**Replies:** 0\
**Last updated:** [June 27, 2010, 6:24pm UTC](https://www.ruby-forum.com/t/cant-update-one-model-from-another-model-polymorphic-models/190776 "2010-06-27T18:24:15Z")

</div>

Hi. I’m having a little trouble updating a model of mine. So I have a Dimension model which is polymorphic. The 2 derived classes are Fact and Opinion. In my Dimension model I have an after\_save callback function that…

---

## [Ruby Application installation](https://www.ruby-forum.com/t/ruby-application-installation/190744)

<div class="topic-metadata">

**Author:** [@blackbug](https://www.ruby-forum.com/u/blackbug)\
**Replies:** 3\
**Last updated:** [June 27, 2010, 3:56pm UTC](https://www.ruby-forum.com/t/ruby-application-installation/190744 "2010-06-27T15:56:08Z")

</div>

I have the following directory structure of the ruby application how am i supposed to install it and to make it work? bin doc etc LICENSE scripts src test Can anyone help me on this? thanks

---

## [My First Ruby App](https://www.ruby-forum.com/t/my-first-ruby-app/190694)

<div class="topic-metadata">

**Author:** [@railsfan\_radha](https://www.ruby-forum.com/u/railsfan_radha)\
**Replies:** 18\
**Last updated:** [June 27, 2010, 2:15pm UTC](https://www.ruby-forum.com/t/my-first-ruby-app/190694 "2010-06-27T14:15:47Z")

</div>

Hi All, Here is my roadmap for my first app in ruby: installed vbox and have ubuntu 10.04 lucid as guest os using apache, passenger , mysql and ruby on rails. Installed all of them separately. so this is the stack i’…

---

## [TrainerOnRails is back with Basic HTML and Ruby for Rail courses](https://www.ruby-forum.com/t/traineronrails-is-back-with-basic-html-and-ruby-for-rail-courses/190764)

<div class="topic-metadata">

**Author:** [@MarcRic](https://www.ruby-forum.com/u/MarcRic)\
**Replies:** 0\
**Last updated:** [June 27, 2010, 5:36am UTC](https://www.ruby-forum.com/t/traineronrails-is-back-with-basic-html-and-ruby-for-rail-courses/190764 "2010-06-27T05:36:54Z")

</div>

Hi Folks, Just want to share with you the new and improved Trainer On Rails site http://www.traineronrails.com/, and two of courses already available there. Here are the courses ideas: The HTML one was aimed for stu…

---

## [Rails3 help with query](https://www.ruby-forum.com/t/rails3-help-with-query/190763)

<div class="topic-metadata">

**Author:** [@AppleII717](https://www.ruby-forum.com/u/AppleII717)\
**Replies:** 0\
**Last updated:** [June 27, 2010, 4:40am UTC](https://www.ruby-forum.com/t/rails3-help-with-query/190763 "2010-06-27T04:40:08Z")

</div>

No response on another rails3 post (rails3 finders, rails3 gure’s and MVC police), but I’ll try another one. I added a preference to a golf group score system that is similar to a USGA golf handicap. Lets say I have a…

---

## [Default Render Action or Help Cleaning Up My View Folder](https://www.ruby-forum.com/t/default-render-action-or-help-cleaning-up-my-view-folder/190730)

<div class="topic-metadata">

**Author:** [@Chris\_Peters](https://www.ruby-forum.com/u/Chris_Peters)\
**Replies:** 3\
**Last updated:** [June 27, 2010, 1:22am UTC](https://www.ruby-forum.com/t/default-render-action-or-help-cleaning-up-my-view-folder/190730 "2010-06-27T01:22:54Z")

</div>

I have 30 actions which all render basically the same thing, basically their name and a message either indicating success or failure: \<%= "#{action\_name} Update Result" %\> \<%= message %\> The …

---

## [Mongrel cluster number of threads](https://www.ruby-forum.com/t/mongrel-cluster-number-of-threads/190759)

<div class="topic-metadata">

**Author:** [@steux](https://www.ruby-forum.com/u/steux)\
**Replies:** 0\
**Last updated:** [June 27, 2010, 1:20am UTC](https://www.ruby-forum.com/t/mongrel-cluster-number-of-threads/190759 "2010-06-27T01:20:42Z")

</div>

Hi, how can I configure mongrel (cluster) to use 2 mongrel server instances with 2 threads each? regards

---

## [Erase\_redirect\_results in Rails 3.0](https://www.ruby-forum.com/t/erase-redirect-results-in-rails-3-0/190755)

<div class="topic-metadata">

**Author:** [@sharkie](https://www.ruby-forum.com/u/sharkie)\
**Replies:** 0\
**Last updated:** [June 26, 2010, 8:16pm UTC](https://www.ruby-forum.com/t/erase-redirect-results-in-rails-3-0/190755 "2010-06-26T20:16:33Z")

</div>

This method is non-existent in Rails 3.0. It is required for responds\_to\_parent. I try commenting it out but would get AbstractController::DoubleRenderError Thank you, Sharkie

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

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