# Rails

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

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

---

## [Form\_for redirect to another controller](https://www.ruby-forum.com/t/form-for-redirect-to-another-controller/183896)

<div class="topic-metadata">

**Author:** [@coolboarderguy](https://www.ruby-forum.com/u/coolboarderguy)\
**Replies:** 1\
**Last updated:** [February 22, 2010, 12:36pm UTC](https://www.ruby-forum.com/t/form-for-redirect-to-another-controller/183896 "2010-02-22T12:36:15Z")

</div>

I have 2 controllers foo, bar and I’m using searchlogic gem to search products inside both controllers. All works great but I want to implement now custom form\_for from foo view to search products for bar controllers,…

---

## [Testing emailers](https://www.ruby-forum.com/t/testing-emailers/183877)

<div class="topic-metadata">

**Author:** [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Replies:** 2\
**Last updated:** [February 22, 2010, 12:12pm UTC](https://www.ruby-forum.com/t/testing-emailers/183877 "2010-02-22T12:12:08Z")

</div>

Hello people, I am testing the emailers. I am following this tutorial:- http://izumi.plan99.net/manuals/testing\_rails\_applications-c17d65ba.html But i have got a problem. I have written the test case as like:- def te…

---

## [Some fundamental architectural insights on the Ruby On Rails technology compared to Java](https://www.ruby-forum.com/t/some-fundamental-architectural-insights-on-the-ruby-on-rails-technology-compared-to-java/183749)

<div class="topic-metadata">

**Author:** [@Krum\_B](https://www.ruby-forum.com/u/Krum_B)\
**Replies:** 6\
**Last updated:** [February 22, 2010, 12:06pm UTC](https://www.ruby-forum.com/t/some-fundamental-architectural-insights-on-the-ruby-on-rails-technology-compared-to-java/183749 "2010-02-22T12:06:59Z")

</div>

Hi guys, It’s a pleasure for me to join your community mailing list. I am a keen software engineer and experimenter, and happen to investigate and dive into the Ruby language from a couple of weeks. So far i have bec…

---

## [Collection\_select not working for nested forms](https://www.ruby-forum.com/t/collection-select-not-working-for-nested-forms/183874)

<div class="topic-metadata">

**Author:** [@Aakash\_Dharmadhikar](https://www.ruby-forum.com/u/Aakash_Dharmadhikar)\
**Replies:** 5\
**Last updated:** [February 22, 2010, 11:18am UTC](https://www.ruby-forum.com/t/collection-select-not-working-for-nested-forms/183874 "2010-02-22T11:18:57Z")

</div>

hi guys, Ruby 1.8.7 Rails 2.3.5 I have a nested form in which a select drop down works fine for creating the model, but on edit form it does not show the current value. It gets set to the default option. The domai…

---

## [Unable to load file in testing](https://www.ruby-forum.com/t/unable-to-load-file-in-testing/183752)

<div class="topic-metadata">

**Author:** [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Replies:** 19\
**Last updated:** [February 22, 2010, 10:45am UTC](https://www.ruby-forum.com/t/unable-to-load-file-in-testing/183752 "2010-02-22T10:45:02Z")

</div>

Hello champs, I am in testing phase of an application. I have created a simple test case to add a holiday object like this:- def test\_should\_not\_add\_holiday\_without\_name holiday = Holiday.new assert !holiday.save, “…

---

## [Inconsistent noMethod error](https://www.ruby-forum.com/t/inconsistent-nomethod-error/183855)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 3\
**Last updated:** [February 22, 2010, 10:24am UTC](https://www.ruby-forum.com/t/inconsistent-nomethod-error/183855 "2010-02-22T10:24:33Z")

</div>

Hi There, I’m following a tutorial to introduce a search feature. It comprises of a series of boxes, (A-Z) which are links. These links when clicked, trigger the search code in index (in infocontroller.rb) Code below…

---

## [Re: Implementing a user activity log with STI. (?)](https://www.ruby-forum.com/t/re-implementing-a-user-activity-log-with-sti/183887)

<div class="topic-metadata">

**Author:** [@abhishek.parolkar](https://www.ruby-forum.com/u/abhishek.parolkar)\
**Replies:** 1\
**Last updated:** [February 22, 2010, 10:18am UTC](https://www.ruby-forum.com/t/re-implementing-a-user-activity-log-with-sti/183887 "2010-02-22T10:18:06Z")

</div>

You could also try GitHub - parolkar/pfeed: A rails plugin that allows you to create extensible log of activity Explanation here : http://www.travisdunn.com/activity-logs-and-friend-feeds-on-rails-pfeed

---

## [Rails environments](https://www.ruby-forum.com/t/rails-environments/183872)

<div class="topic-metadata">

**Author:** [@tom-mac](https://www.ruby-forum.com/u/tom-mac)\
**Replies:** 1\
**Last updated:** [February 22, 2010, 10:05am UTC](https://www.ruby-forum.com/t/rails-environments/183872 "2010-02-22T10:05:46Z")

</div>

Hi I have a very basic question to ask. ut I dont know how to handle it properly.Please help. I am working in a team. So I am strting the application in my machine in development mode. Now my manager asked me to give…

---

## [Make website based on ruby o.o](https://www.ruby-forum.com/t/make-website-based-on-ruby-o-o/183850)

<div class="topic-metadata">

**Author:** [@cryxpride](https://www.ruby-forum.com/u/cryxpride)\
**Replies:** 6\
**Last updated:** [February 22, 2010, 9:31am UTC](https://www.ruby-forum.com/t/make-website-based-on-ruby-o-o/183850 "2010-02-22T09:31:16Z")

</div>

hi guys. It’s not my first time on ruby, i mean, well I did get to page 40 of my 300 page guide book, but that’s not the point =S. thing is, I don’t really know what you gotta do to make a blog out of ruby. I’ve heard…

---

## [JOBS: Java Developer in Ruby on Rails](https://www.ruby-forum.com/t/jobs-java-developer-in-ruby-on-rails/183879)

<div class="topic-metadata">

**Author:** [@jane\_exeqserve](https://www.ruby-forum.com/u/jane_exeqserve)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 9:30am UTC](https://www.ruby-forum.com/t/jobs-java-developer-in-ruby-on-rails/183879 "2010-02-22T09:30:06Z")

</div>

Dear Sir Madam, We would like to invite you to explore this opportunity; MID-LEVEL and JUNIOR Java Developers (ORTIGAS /MAKATI /CEBU) This is a developer role working in an Agile development environment. As a member …

---

## [Deploying project](https://www.ruby-forum.com/t/deploying-project/183873)

<div class="topic-metadata">

**Author:** [@M\_I\_R](https://www.ruby-forum.com/u/M_I_R)\
**Replies:** 2\
**Last updated:** [February 22, 2010, 9:15am UTC](https://www.ruby-forum.com/t/deploying-project/183873 "2010-02-22T09:15:28Z")

</div>

Hi, Can i run ruby on rail application on Apache2 server if yes please someone guide me.

---

## [Is there any way to create a Pareto chart using ruby on rail](https://www.ruby-forum.com/t/is-there-any-way-to-create-a-pareto-chart-using-ruby-on-rail/183870)

<div class="topic-metadata">

**Author:** [@periyasamy](https://www.ruby-forum.com/u/periyasamy)\
**Replies:** 0\
**Last updated:** [February 22, 2010, 6:31am UTC](https://www.ruby-forum.com/t/is-there-any-way-to-create-a-pareto-chart-using-ruby-on-rail/183870 "2010-02-22T06:31:21Z")

</div>

Hi, Is there any way to create a Pareto chart in ruby on rails? Please help me. Thanks:) R.Periyasamy

---

## [Compress RailsBaseURI and controller into one path segment?](https://www.ruby-forum.com/t/compress-railsbaseuri-and-controller-into-one-path-segment/183856)

<div class="topic-metadata">

**Author:** [@Allan\_Wind](https://www.ruby-forum.com/u/Allan_Wind)\
**Replies:** 0\
**Last updated:** [February 21, 2010, 10:58pm UTC](https://www.ruby-forum.com/t/compress-railsbaseuri-and-controller-into-one-path-segment/183856 "2010-02-21T22:58:38Z")

</div>

I would like to deploy a simple rest application via mod\_passenger to a sub-directory (RailsBaseURI) called /mailing\_lists. The application is very simple mand has a single top-level resource called mailing\_lists and …

---

## [Adding files for autotest to monitor](https://www.ruby-forum.com/t/adding-files-for-autotest-to-monitor/183778)

<div class="topic-metadata">

**Author:** [@drewB](https://www.ruby-forum.com/u/drewB)\
**Replies:** 1\
**Last updated:** [February 21, 2010, 10:50pm UTC](https://www.ruby-forum.com/t/adding-files-for-autotest-to-monitor/183778 "2010-02-21T22:50:26Z")

</div>

I am using autotest with RSpec (autospec) and for some reason it doesn’t monitor files under the integration folder. Does anyone know how to config autotest to monitor additional paths? I tried playing with add\_mapp…

---

## [Update user input to another table without using html form](https://www.ruby-forum.com/t/update-user-input-to-another-table-without-using-html-form/183788)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 8\
**Last updated:** [February 21, 2010, 9:42pm UTC](https://www.ruby-forum.com/t/update-user-input-to-another-table-without-using-html-form/183788 "2010-02-21T21:42:33Z")

</div>

Hey all, Let’s say you are not going to use an html form. Rather the user will input data in a third-party application that will communicate with the rails controller through http requests, but serves as a replacement…

---

## [Rails 3: How to properly fetch layout name?](https://www.ruby-forum.com/t/rails-3-how-to-properly-fetch-layout-name/183854)

<div class="topic-metadata">

**Author:** [@g0nzo](https://www.ruby-forum.com/u/g0nzo)\
**Replies:** 0\
**Last updated:** [February 21, 2010, 9:38pm UTC](https://www.ruby-forum.com/t/rails-3-how-to-properly-fetch-layout-name/183854 "2010-02-21T21:38:27Z")

</div>

Hi, I’m trying to update shoulda gem to be Rails 3 compatible and got a problem with fetching layout name. There’s the following code in shoulda: @controller.response.layout which in Rails 2 returns i.e. ‘layouts/ap…

---

## [Akshay Nawale wants to chat](https://www.ruby-forum.com/t/akshay-nawale-wants-to-chat/183848)

<div class="topic-metadata">

**Author:** [@aksnavs](https://www.ruby-forum.com/u/aksnavs)\
**Replies:** 0\
**Last updated:** [February 21, 2010, 8:04pm UTC](https://www.ruby-forum.com/t/akshay-nawale-wants-to-chat/183848 "2010-02-21T20:04:12Z")

</div>

Akshay N. wants to stay in better touch using some of Google’s coolest new products. If you already have Gmail or Google Talk, visit: You’ll need to click this link to be able to chat with Akshay N… To get Gmail -…

---

## [Akshay Nawale wants to chat](https://www.ruby-forum.com/t/akshay-nawale-wants-to-chat/183847)

<div class="topic-metadata">

**Author:** [@aksnavs](https://www.ruby-forum.com/u/aksnavs)\
**Replies:** 0\
**Last updated:** [February 21, 2010, 8:01pm UTC](https://www.ruby-forum.com/t/akshay-nawale-wants-to-chat/183847 "2010-02-21T20:01:17Z")

</div>

Akshay N. wants to stay in better touch using some of Google’s coolest new products. If you already have Gmail or Google Talk, visit: You’ll need to click this link to be able to chat with Akshay N… To get Gmail -…

---

## [Cannot install ruby-postgres on Windows](https://www.ruby-forum.com/t/cannot-install-ruby-postgres-on-windows/183768)

<div class="topic-metadata">

**Author:** [@metaltree](https://www.ruby-forum.com/u/metaltree)\
**Replies:** 6\
**Last updated:** [February 21, 2010, 7:48pm UTC](https://www.ruby-forum.com/t/cannot-install-ruby-postgres-on-windows/183768 "2010-02-21T19:48:44Z")

</div>

My system is Windows Server 2008 SP2 Ruby and gem versions: C:\\Windows\\system32\>ruby -v ruby 1.9.1p378 (2010-01-10 revision 26273) \[i386-mingw32\] C:\\Windows\\system32\>gem -v 1.3.5 When I try to install the ruby-postg…

---

## [Console question](https://www.ruby-forum.com/t/console-question/183843)

<div class="topic-metadata">

**Author:** [@tharrisx](https://www.ruby-forum.com/u/tharrisx)\
**Replies:** 1\
**Last updated:** [February 21, 2010, 7:38pm UTC](https://www.ruby-forum.com/t/console-question/183843 "2010-02-21T19:38:43Z")

</div>

Hi there, how do I execute a method in the Rails console if the controller containing the method is not located directly in the folder “app” but in the folder “app/user”? MyController.mymethod …would only work i…

---

## [Routing question](https://www.ruby-forum.com/t/routing-question/183818)

<div class="topic-metadata">

**Author:** [@Dudebot](https://www.ruby-forum.com/u/Dudebot)\
**Replies:** 1\
**Last updated:** [February 21, 2010, 4:43pm UTC](https://www.ruby-forum.com/t/routing-question/183818 "2010-02-21T16:43:25Z")

</div>

I’m pushing my rails app to a server. My local development machine has localhost:3000/… as the working URL, but the server has it set up so that the URL points to a named directory, e.g. server.com/dir So when I push…

---

## [Hitting unknown error with "can't dup NilClass"](https://www.ruby-forum.com/t/hitting-unknown-error-with-cant-dup-nilclass/172400)

<div class="topic-metadata">

**Author:** [@tonymocha](https://www.ruby-forum.com/u/tonymocha)\
**Replies:** 3\
**Last updated:** [February 21, 2010, 3:52pm UTC](https://www.ruby-forum.com/t/hitting-unknown-error-with-cant-dup-nilclass/172400 "2010-02-21T15:52:56Z")

</div>

Hi, My system has been encounter this problem, and I couldn’t find solution after debugging. My scenario is stated below: class user has\_many :posts has\_many :comments end class post belongs\_to :user has\_many :c…

---

## [For Beginning... Rails 3.0 Beta or 2.3.5?](https://www.ruby-forum.com/t/for-beginning-rails-3-0-beta-or-2-3-5/183833)

<div class="topic-metadata">

**Author:** [@narizona](https://www.ruby-forum.com/u/narizona)\
**Replies:** 1\
**Last updated:** [February 21, 2010, 3:25pm UTC](https://www.ruby-forum.com/t/for-beginning-rails-3-0-beta-or-2-3-5/183833 "2010-02-21T15:25:00Z")

</div>

I just starting to learn rails and am wondering if I should start programing with rails 3.0 beta or go with 2.3.5?? Thanxs -Nathan

---

## [Activating Active\_Record\_Store session kills the app](https://www.ruby-forum.com/t/activating-active-record-store-session-kills-the-app/183835)

<div class="topic-metadata">

**Author:** [@djtal](https://www.ruby-forum.com/u/djtal)\
**Replies:** 3\
**Last updated:** [February 21, 2010, 3:10pm UTC](https://www.ruby-forum.com/t/activating-active-record-store-session-kills-the-app/183835 "2010-02-21T15:10:07Z")

</div>

Hi! I’m working on my first Rails (2.3.5) app and I’m experimenting with activating the Active Record Store after running into the 4K limit of the Cookie Store (I don’t really know how I ended up filling the cookie s…

---

## [Invitation to connect on LinkedIn](https://www.ruby-forum.com/t/invitation-to-connect-on-linkedin/183838)

<div class="topic-metadata">

**Author:** [@mufti\_ali](https://www.ruby-forum.com/u/mufti_ali)\
**Replies:** 0\
**Last updated:** [February 21, 2010, 2:59pm UTC](https://www.ruby-forum.com/t/invitation-to-connect-on-linkedin/183838 "2010-02-21T14:59:15Z")

</div>

LinkedIn ------------mufti ali requested to add you as a connection on LinkedIn: Mitin, I’d like to add you to my professional network on LinkedIn. mufti Accept invitation from mufti ali View invitation from muf…

---

## [Help Wanted! Willing to Pay](https://www.ruby-forum.com/t/help-wanted-willing-to-pay/183828)

<div class="topic-metadata">

**Author:** [@cbx](https://www.ruby-forum.com/u/cbx)\
**Replies:** 7\
**Last updated:** [February 21, 2010, 2:57pm UTC](https://www.ruby-forum.com/t/help-wanted-willing-to-pay/183828 "2010-02-21T14:57:29Z")

</div>

Hi, I am looking for Ruby on Rails coder to help me with a small project, and because I represent a company, I am able to pay. Now, what I’m wondering is, how can I effectively communicate my ideas to the developer? …

---

## [Rails Error: Unable to access log file](https://www.ruby-forum.com/t/rails-error-unable-to-access-log-file/144519)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [February 21, 2010, 2:12pm UTC](https://www.ruby-forum.com/t/rails-error-unable-to-access-log-file/144519 "2010-02-21T14:12:27Z")

</div>

I cannot get rails/passenger to write to my production log :frowning: On my production server in the apache error\_log I get: – Rails Error: Unable to access log file. Please ensure that /my/app/ log/ production.log …

---

## [Beginner question - MySQL db:migrate error](https://www.ruby-forum.com/t/beginner-question-mysql-db-migrate-error/183829)

<div class="topic-metadata">

**Author:** [@bbrails](https://www.ruby-forum.com/u/bbrails)\
**Replies:** 1\
**Last updated:** [February 21, 2010, 11:34am UTC](https://www.ruby-forum.com/t/beginner-question-mysql-db-migrate-error/183829 "2010-02-21T11:34:23Z")

</div>

Hi, I am pretty frustrated with my first attempts to create a simple ruby on rails project with mysql. I get a strange error when I run the rake db:migrate “NoMethodError: undefined method \`ord’ for 1:Fixnum: SHOW TA…

---

## [Captcha Trouble](https://www.ruby-forum.com/t/captcha-trouble/183805)

<div class="topic-metadata">

**Author:** [@karthikeyan](https://www.ruby-forum.com/u/karthikeyan)\
**Replies:** 6\
**Last updated:** [February 21, 2010, 11:12am UTC](https://www.ruby-forum.com/t/captcha-trouble/183805 "2010-02-21T11:12:08Z")

</div>

Hello Rails, I have a problem. I would like to use captcha in one of my project. When I did try to install, this is what I got $ sudo gem install captcha Building native extensions. This could take a while… ERROR: …

---

## [Self refrencing many to one implementation](https://www.ruby-forum.com/t/self-refrencing-many-to-one-implementation/183831)

<div class="topic-metadata">

**Author:** [@mac](https://www.ruby-forum.com/u/mac)\
**Replies:** 1\
**Last updated:** [February 21, 2010, 11:09am UTC](https://www.ruby-forum.com/t/self-refrencing-many-to-one-implementation/183831 "2010-02-21T11:09:13Z")

</div>

hello, i have database for dynamic website in which i need to store information about each menu and its relationship with other menu. it is obvious that each menu can have several submenu but each submenu must belong…

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

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