# Rails

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

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

---

## [Volunteer looking for ROR project](https://www.ruby-forum.com/t/volunteer-looking-for-ror-project/135758)

<div class="topic-metadata">

**Author:** [@albert](https://www.ruby-forum.com/u/albert)\
**Replies:** 0\
**Last updated:** [April 24, 2008, 6:12pm UTC](https://www.ruby-forum.com/t/volunteer-looking-for-ror-project/135758 "2008-04-24T18:12:18Z")

</div>

I am newcomer to ROR, had read throuhg the Agile Development with Ruby On Rails. If any project need junoir ROR developer, please kindly give me an opportunity. Thanks albertbing at gmail dot com

---

## [LDAP Issues](https://www.ruby-forum.com/t/ldap-issues/135603)

<div class="topic-metadata">

**Author:** [@Rory\_McKinley](https://www.ruby-forum.com/u/Rory_McKinley)\
**Replies:** 6\
**Last updated:** [April 24, 2008, 6:06pm UTC](https://www.ruby-forum.com/t/ldap-issues/135603 "2008-04-24T18:06:17Z")

</div>

Hi All I am at wits end trying to get LDAP to work in Rails running on ubuntu (yes, I’m a noob!). I have version 0.9.7 of ruby-ldap installed. Every thing seems fine, until I test in the console: require ‘ldap’ =\> …

---

## [Create dynamic controller?](https://www.ruby-forum.com/t/create-dynamic-controller/135747)

<div class="topic-metadata">

**Author:** [@varunkumargoel](https://www.ruby-forum.com/u/varunkumargoel)\
**Replies:** 2\
**Last updated:** [April 24, 2008, 5:48pm UTC](https://www.ruby-forum.com/t/create-dynamic-controller/135747 "2008-04-24T17:48:08Z")

</div>

Hi All, I wanna create controller dynamically through my ruby code. Please help me out. Suppose i have one controller if i call a function of this controller so i wanna create another controller dynamically.That can …

---

## [Help using ARMailer](https://www.ruby-forum.com/t/help-using-armailer/132499)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 2\
**Last updated:** [April 24, 2008, 5:14pm UTC](https://www.ruby-forum.com/t/help-using-armailer/132499 "2008-04-24T17:14:24Z")

</div>

I get this error after trying to send an email: can’t convert nil into String I only have one model to send emails: class MyMailer \< ActionMailer::ARMailer I have put this in config/development.rb: config.action\_mai…

---

## [Has\_many\_polymorphs + has\_many\_through joins?](https://www.ruby-forum.com/t/has-many-polymorphs-has-many-through-joins/135753)

<div class="topic-metadata">

**Author:** [@joergbattermann](https://www.ruby-forum.com/u/joergbattermann)\
**Replies:** 0\
**Last updated:** [April 24, 2008, 5:12pm UTC](https://www.ruby-forum.com/t/has-many-polymorphs-has-many-through-joins/135753 "2008-04-24T17:12:03Z")

</div>

Hello there, I have a user model, which has man relationships to other users via a hmt association. Then there is a hmp association (user.items) from each user to lots of different other models (e.g. images, videos, …

---

## [You have a nil object](https://www.ruby-forum.com/t/you-have-a-nil-object/135723)

<div class="topic-metadata">

**Author:** [@simonh](https://www.ruby-forum.com/u/simonh)\
**Replies:** 7\
**Last updated:** [April 24, 2008, 4:30pm UTC](https://www.ruby-forum.com/t/you-have-a-nil-object/135723 "2008-04-24T16:30:39Z")

</div>

Hi People I have just started using rails and am running into a few problems, the basic setup I have is two tables, one called weburls and the other called jobs, and the relationship between them is one weburl can hav…

---

## [Help with Apache and Production](https://www.ruby-forum.com/t/help-with-apache-and-production/135598)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 3\
**Last updated:** [April 24, 2008, 4:07pm UTC](https://www.ruby-forum.com/t/help-with-apache-and-production/135598 "2008-04-24T16:07:59Z")

</div>

I have my Rails app in an Apache server. If i don’t use this app for a while it goes very slow the first clic. After this first clic, it goes very fast. I want the first response to be fast too. My production.rb file …

---

## [Can i pass parameters to has\_one manually?](https://www.ruby-forum.com/t/can-i-pass-parameters-to-has-one-manually/135742)

<div class="topic-metadata">

**Author:** [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Replies:** 0\
**Last updated:** [April 24, 2008, 4:02pm UTC](https://www.ruby-forum.com/t/can-i-pass-parameters-to-has-one-manually/135742 "2008-04-24T16:02:01Z")

</div>

i have an internal app being used for tracking internal jobs inside the shop. the company has multiple divisions, and transfers jobs back and forth between divisions. each division has their own job numbering scheme a…

---

## [Search multi dimensional arrays](https://www.ruby-forum.com/t/search-multi-dimensional-arrays/135225)

<div class="topic-metadata">

**Author:** [@rushnosh](https://www.ruby-forum.com/u/rushnosh)\
**Replies:** 9\
**Last updated:** [April 24, 2008, 4:01pm UTC](https://www.ruby-forum.com/t/search-multi-dimensional-arrays/135225 "2008-04-24T16:01:25Z")

</div>

my\_array = \[ 5, 3, 4, \[ “abc”, 3, 5 \], \[ “x”, 5 \] \] i want to search for “x” do you have to loop thru the array to search this item or is there some easier way to do this. i would like to delete x from the array to…

---

## [If statement not working as intended?](https://www.ruby-forum.com/t/if-statement-not-working-as-intended/135738)

<div class="topic-metadata">

**Author:** [@rushnosh](https://www.ruby-forum.com/u/rushnosh)\
**Replies:** 0\
**Last updated:** [April 24, 2008, 3:58pm UTC](https://www.ruby-forum.com/t/if-statement-not-working-as-intended/135738 "2008-04-24T15:58:16Z")

</div>

for some reason i can not get toss\_won and toss\_won to be saved properly. during testing i replaced toss\_won = 34, toss\_lost = 45 and everything worked but i have also tested the values generated by: toss\_lost =…

---

## [Really Complex Forums](https://www.ruby-forum.com/t/really-complex-forums/135690)

<div class="topic-metadata">

**Author:** [@arshak](https://www.ruby-forum.com/u/arshak)\
**Replies:** 1\
**Last updated:** [April 24, 2008, 3:54pm UTC](https://www.ruby-forum.com/t/really-complex-forums/135690 "2008-04-24T15:54:42Z")

</div>

Following this example of virtual attributes I’d like to go down another level In other words create a form that lets a user create a project which has multiple tasks (tasks have names) which in tern have multiple s…

---

## [RJS conditional element replacement](https://www.ruby-forum.com/t/rjs-conditional-element-replacement/135613)

<div class="topic-metadata">

**Author:** [@adam](https://www.ruby-forum.com/u/adam)\
**Replies:** 4\
**Last updated:** [April 24, 2008, 3:51pm UTC](https://www.ruby-forum.com/t/rjs-conditional-element-replacement/135613 "2008-04-24T15:51:42Z")

</div>

Hi all, I have an RJS problem. I’m trying to write a helper method that replaces a given div element with a given partial, if and only if that div exists. I can do this with something like: page \<\< “if($(‘my\_div’)){” …

---

## [Ajax.InPlaceEditor is not a constructor error?](https://www.ruby-forum.com/t/ajax-inplaceeditor-is-not-a-constructor-error/99296)

<div class="topic-metadata">

**Author:** [@s04015](https://www.ruby-forum.com/u/s04015)\
**Replies:** 1\
**Last updated:** [April 24, 2008, 2:18pm UTC](https://www.ruby-forum.com/t/ajax-inplaceeditor-is-not-a-constructor-error/99296 "2008-04-24T14:18:49Z")

</div>

Hey I’m getting a Ajax.InPlaceEditor is not a constructor error on some of my pages. I’ve included the following .js’s: :defaults scriptaculous Any ideas? Thanks guys! Gustav removed\_email\_address@domain.invalid …

---

## [Newb Gem Install Help!](https://www.ruby-forum.com/t/newb-gem-install-help/58767)

<div class="topic-metadata">

**Author:** [@d723](https://www.ruby-forum.com/u/d723)\
**Replies:** 12\
**Last updated:** [April 24, 2008, 1:35pm UTC](https://www.ruby-forum.com/t/newb-gem-install-help/58767 "2008-04-24T13:35:37Z")

</div>

This seems newbish, but I can’t seem to get this gem to install no matter what I do. The gem in question is login\_generator, and no matter what folder I put the .gem file in, it can’t read locally - am I missing somet…

---

## [Simple file upload](https://www.ruby-forum.com/t/simple-file-upload/135362)

<div class="topic-metadata">

**Author:** [@Bruno\_GuimarSSSSes\_S](https://www.ruby-forum.com/u/Bruno_GuimarSSSSes_S)\
**Replies:** 4\
**Last updated:** [April 24, 2008, 11:38am UTC](https://www.ruby-forum.com/t/simple-file-upload/135362 "2008-04-24T11:38:03Z")

</div>

Hi people, I’ve tried many ways to upload files in rails 2.0. None of them with success. I want to do it the simplest way. Any suggestions? Any tutorial on the web? Best regards, Bruno GuimarÃ£es Sousa CiÃªncia da …

---

## [ActiveRecord - INSERT options for MySQL](https://www.ruby-forum.com/t/activerecord-insert-options-for-mysql/135706)

<div class="topic-metadata">

**Author:** [@James\_H.on](https://www.ruby-forum.com/u/James_H.on)\
**Replies:** 0\
**Last updated:** [April 24, 2008, 11:38am UTC](https://www.ruby-forum.com/t/activerecord-insert-options-for-mysql/135706 "2008-04-24T11:38:03Z")

</div>

Hi, Excuse any mistakes I make in advance- this is my first post to the RoR list, and it’s going right in at the deep end… I’ve been working with Rails for quite a bit now (8ish months or so) and I’ve worked on two p…

---

## [Doubt in crud statement](https://www.ruby-forum.com/t/doubt-in-crud-statement/135689)

<div class="topic-metadata">

**Author:** [@karthikragu](https://www.ruby-forum.com/u/karthikragu)\
**Replies:** 1\
**Last updated:** [April 24, 2008, 11:30am UTC](https://www.ruby-forum.com/t/doubt-in-crud-statement/135689 "2008-04-24T11:30:12Z")

</div>

hi all, while goign thro a projects code i saw a line like: @projects = User.find(params\[:id\]).projects.find(:all) what this line means and what it w’ll return.how to see the content in @projects object.

---

## [Passing params with render](https://www.ruby-forum.com/t/passing-params-with-render/135692)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 2\
**Last updated:** [April 24, 2008, 11:29am UTC](https://www.ruby-forum.com/t/passing-params-with-render/135692 "2008-04-24T11:29:21Z")

</div>

Hi I have to pass a param to \<%= render :partial=\> /popup/search\_contact\_ui’ %\> I tried like below but not working \<%= render :partial=\> ‘/popup/search\_contact\_ui’, :params=\>{:content=\>‘searchsdprimaryassignee’}%\> C…

---

## [Encapsulating multiple model logic and checking returns](https://www.ruby-forum.com/t/encapsulating-multiple-model-logic-and-checking-returns/135704)

<div class="topic-metadata">

**Author:** [@jordelver](https://www.ruby-forum.com/u/jordelver)\
**Replies:** 0\
**Last updated:** [April 24, 2008, 11:29am UTC](https://www.ruby-forum.com/t/encapsulating-multiple-model-logic-and-checking-returns/135704 "2008-04-24T11:29:01Z")

</div>

Hi, I posted the other day, but I don’t think I was clear enough, this post tries to break down the essence of the problem :slight\_smile: What is the best way to check what happened within a method call whilst still …

---

## [Rake doesn't know how to build 'db\_schema\_dump'](https://www.ruby-forum.com/t/rake-doesnt-know-how-to-build-db-schema-dump/135696)

<div class="topic-metadata">

**Author:** [@codemonkey](https://www.ruby-forum.com/u/codemonkey)\
**Replies:** 1\
**Last updated:** [April 24, 2008, 11:24am UTC](https://www.ruby-forum.com/t/rake-doesnt-know-how-to-build-db-schema-dump/135696 "2008-04-24T11:24:55Z")

</div>

Alright, I’m a complete newbie at rails. I have over 4 years experience and php and figured I would try my hand at rails. So I’m following the ‘Migration tutorial’ from the RoR homepage. I’m trying to build a Sqlite3 …

---

## [Affordable ruby on rails classes](https://www.ruby-forum.com/t/affordable-ruby-on-rails-classes/135695)

<div class="topic-metadata">

**Author:** [@tool4asn](https://www.ruby-forum.com/u/tool4asn)\
**Replies:** 0\
**Last updated:** [April 24, 2008, 9:51am UTC](https://www.ruby-forum.com/t/affordable-ruby-on-rails-classes/135695 "2008-04-24T09:51:41Z")

</div>

Where can I go in the San Leandro Hayward Oakland areas? Thanks removed\_email\_address@domain.invalid

---

## [Why the class variable doesn't work correctly?](https://www.ruby-forum.com/t/why-the-class-variable-doesnt-work-correctly/135618)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [April 24, 2008, 6:32am UTC](https://www.ruby-forum.com/t/why-the-class-variable-doesnt-work-correctly/135618 "2008-04-24T06:32:44Z")

</div>

Hi there, I am new in Ruby. I got a question, maybe it’s stupid. There is controller named ‘home’, and a action named ‘test’ existed. And I defined a class variable named ‘@@total’ looks like this: class HomeControl…

---

## [Accessing the join association model](https://www.ruby-forum.com/t/accessing-the-join-association-model/135669)

<div class="topic-metadata">

**Author:** [@mr\_tibs](https://www.ruby-forum.com/u/mr_tibs)\
**Replies:** 4\
**Last updated:** [April 24, 2008, 6:30am UTC](https://www.ruby-forum.com/t/accessing-the-join-association-model/135669 "2008-04-24T06:30:59Z")

</div>

Hi, I have a many-to-many association implementing using association join models: class Source has\_many :source\_users has\_many :users, :through =\> :source\_users end class SourceUser belongs\_to :source belongs\_to…

---

## [App move to apache causing error](https://www.ruby-forum.com/t/app-move-to-apache-causing-error/135680)

<div class="topic-metadata">

**Author:** [@kschu](https://www.ruby-forum.com/u/kschu)\
**Replies:** 0\
**Last updated:** [April 24, 2008, 6:07am UTC](https://www.ruby-forum.com/t/app-move-to-apache-causing-error/135680 "2008-04-24T06:07:01Z")

</div>

I just setup rails with apache. Reinstalled ruby and rails. I moved my app that I had running with mongrel and mysql to a new folder for apache to access. Now I get this error MissingSourceFile in MainController#ind…

---

## [Web Developer Career Opportunity at Rosetta Stone in Arlington](https://www.ruby-forum.com/t/web-developer-career-opportunity-at-rosetta-stone-in-arlington/135636)

<div class="topic-metadata">

**Author:** [@Lauren](https://www.ruby-forum.com/u/Lauren)\
**Replies:** 2\
**Last updated:** [April 24, 2008, 6:05am UTC](https://www.ruby-forum.com/t/web-developer-career-opportunity-at-rosetta-stone-in-arlington/135636 "2008-04-24T06:05:51Z")

</div>

Rosetta Stone is seeking several highly-skilled Web D.s to work in our Arlington, VA, office. Our operationally focused website is about to undergo a transformation, expanding into diverse international markets, optim…

---

## [Why the multiple web servers?](https://www.ruby-forum.com/t/why-the-multiple-web-servers/135679)

<div class="topic-metadata">

**Author:** [@rpardee](https://www.ruby-forum.com/u/rpardee)\
**Replies:** 2\
**Last updated:** [April 24, 2008, 5:42am UTC](https://www.ruby-forum.com/t/why-the-multiple-web-servers/135679 "2008-04-24T05:42:27Z")

</div>

I’m trying to understand how the multiple web servers interact w/one another in a rails deployment. If I’ve got thin or mongrel or what have you serving my app, what’s apache doing for me? What can I read to clear t…

---

## [Mysql port = rails port? localhost 3000](https://www.ruby-forum.com/t/mysql-port-rails-port-localhost-3000/135638)

<div class="topic-metadata">

**Author:** [@globalrev](https://www.ruby-forum.com/u/globalrev)\
**Replies:** 3\
**Last updated:** [April 24, 2008, 5:26am UTC](https://www.ruby-forum.com/t/mysql-port-rails-port-localhost-3000/135638 "2008-04-24T05:26:50Z")

</div>

i get mysql.dll error something. the port i use in mysql, does it have to be the same as in Ruby? in Ruby the standard is 3000. what is better to change if i need to change something? other programing languages use p…

---

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

<div class="topic-metadata">

**Author:** [@casid](https://www.ruby-forum.com/u/casid)\
**Replies:** 0\
**Last updated:** [April 24, 2008, 3:58am UTC](https://www.ruby-forum.com/t/another-newbea-question/135672 "2008-04-24T03:58:15Z")

</div>

Hello RoR Developers, I want to show content of csv output in new window something like; WO.openWindow(Csv.content, { width: 760, height: 650 }) when I click to button, new window will be opened with csv content. no…

---

## [ROR+PHP+shopping cart](https://www.ruby-forum.com/t/ror-php-shopping-cart/134309)

<div class="topic-metadata">

**Author:** [@drorchung](https://www.ruby-forum.com/u/drorchung)\
**Replies:** 8\
**Last updated:** [April 24, 2008, 3:12am UTC](https://www.ruby-forum.com/t/ror-php-shopping-cart/134309 "2008-04-24T03:12:04Z")

</div>

Dear comrades, I tried the act\_as\_tree template of ROR. I found it clumsy, slow… for a drag and drop workable solution of a shopping cart. I have a ready made shopping cart written in PHP and a ROR web page with rest…

---

## [Downloadable XML Files, Named Routes and RESTful ability](https://www.ruby-forum.com/t/downloadable-xml-files-named-routes-and-restful-ability/135553)

<div class="topic-metadata">

**Author:** [@rgtorre](https://www.ruby-forum.com/u/rgtorre)\
**Replies:** 1\
**Last updated:** [April 24, 2008, 2:43am UTC](https://www.ruby-forum.com/t/downloadable-xml-files-named-routes-and-restful-ability/135553 "2008-04-24T02:43:25Z")

</div>

I have named routes like these: GET /products {:controller=\>“products”, :action=\>“index”} GET /products.:format {:controller=\>“products”, :action=\>“index”} product GET /products/:id {:contro…

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

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