# Rails

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

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

---

## [Openssl not installed](https://www.ruby-forum.com/t/openssl-not-installed/88320)

<div class="topic-metadata">

**Author:** [@stemey](https://www.ruby-forum.com/u/stemey)\
**Replies:** 0\
**Last updated:** [March 9, 2007, 5:57pm UTC](https://www.ruby-forum.com/t/openssl-not-installed/88320 "2007-03-09T17:57:09Z")

</div>

Hi, ruby and ruby on rails were installed (probably from source) on a suse distribution. The openssl.rb and the subfolder are missing. Where do i get them? Can I just copy them or do i have to install something like …

---

## [Cannot run rails application](https://www.ruby-forum.com/t/cannot-run-rails-application/88319)

<div class="topic-metadata">

**Author:** [@Ronny\_Yabar\_Aizcorb](https://www.ruby-forum.com/u/Ronny_Yabar_Aizcorb)\
**Replies:** 1\
**Last updated:** [March 9, 2007, 5:50pm UTC](https://www.ruby-forum.com/t/cannot-run-rails-application/88319 "2007-03-09T17:50:08Z")

</div>

Hi list, i got a problem, i want to start my rails aplication, but i can’t because i got this message in the browserWe’re sorry, but something went wrong. We’ve been notified about this issue and we’ll take a look at…

---

## [Is globalize rails 1.2 ready?](https://www.ruby-forum.com/t/is-globalize-rails-1-2-ready/85711)

<div class="topic-metadata">

**Author:** [@patcito](https://www.ruby-forum.com/u/patcito)\
**Replies:** 1\
**Last updated:** [March 9, 2007, 5:39pm UTC](https://www.ruby-forum.com/t/is-globalize-rails-1-2-ready/85711 "2007-03-09T17:39:48Z")

</div>

does anyone know if globalize works with rails 1.2? thanx in advance Pat

---

## [Alternative to STI with eager loading](https://www.ruby-forum.com/t/alternative-to-sti-with-eager-loading/88310)

<div class="topic-metadata">

**Author:** [@jkahn](https://www.ruby-forum.com/u/jkahn)\
**Replies:** 1\
**Last updated:** [March 9, 2007, 5:38pm UTC](https://www.ruby-forum.com/t/alternative-to-sti-with-eager-loading/88310 "2007-03-09T17:38:01Z")

</div>

In order to implement inheritance (STI was not ideal), I have implemented a solution similar to what is described in this post: Any good alternative to single-table-inheritance? - Rails - Ruby-Forum. I have one model …

---

## [Self-referential symmetrical relation problem](https://www.ruby-forum.com/t/self-referential-symmetrical-relation-problem/88290)

<div class="topic-metadata">

**Author:** [@Trochalakis\_C](https://www.ruby-forum.com/u/Trochalakis_C)\
**Replies:** 4\
**Last updated:** [March 9, 2007, 5:35pm UTC](https://www.ruby-forum.com/t/self-referential-symmetrical-relation-problem/88290 "2007-03-09T17:35:00Z")

</div>

I found the following code here: I 'm trying to add an additional “has\_many :teamates” on the player model but i cant figure out how to do it… Any ideas? Thanks in advance! Chris The Code: class Player \< ActiveR…

---

## [Couldn't find any pid ... matching 'dispatch.\[0-9\]\*.pid'](https://www.ruby-forum.com/t/couldnt-find-any-pid-matching-dispatch-0-9-pid/68147)

<div class="topic-metadata">

**Author:** [@yankees26](https://www.ruby-forum.com/u/yankees26)\
**Replies:** 4\
**Last updated:** [March 9, 2007, 5:23pm UTC](https://www.ruby-forum.com/t/couldnt-find-any-pid-matching-dispatch-0-9-pid/68147 "2007-03-09T17:23:54Z")

</div>

I have Capistrano working great on about 6 projects, but for a couple I end up getting a message like this at the end: Couldn’t find any pid file in ‘/u/apps/project/current/tmp/pids’ matching ‘dispatch.\[0-9\]\*.pid’ I…

---

## [Hello RoR](https://www.ruby-forum.com/t/hello-ror/88309)

<div class="topic-metadata">

**Author:** [@Leonardoalmeidabast](https://www.ruby-forum.com/u/Leonardoalmeidabast)\
**Replies:** 6\
**Last updated:** [March 9, 2007, 5:13pm UTC](https://www.ruby-forum.com/t/hello-ror/88309 "2007-03-09T17:13:51Z")

</div>

Hello all, I am a Java programmer and I started today with Ruby and also RoR. I am using the RadRails IDE (is that the best?) and I would like to know if there is a auto-completation feature like in Eclipse for JAVA (…

---

## [Finding the deployed revision with Capistrano](https://www.ruby-forum.com/t/finding-the-deployed-revision-with-capistrano/88299)

<div class="topic-metadata">

**Author:** [@bjhess](https://www.ruby-forum.com/u/bjhess)\
**Replies:** 2\
**Last updated:** [March 9, 2007, 5:11pm UTC](https://www.ruby-forum.com/t/finding-the-deployed-revision-with-capistrano/88299 "2007-03-09T17:11:51Z")

</div>

Silly question. Is there a cap command that tells me which revision of a code base is deployed to the target? Something like: cap revision I’d definitely like to check my code base revision in production before dep…

---

## [Help: production vs qa env](https://www.ruby-forum.com/t/help-production-vs-qa-env/88303)

<div class="topic-metadata">

**Author:** [@starmaerker](https://www.ruby-forum.com/u/starmaerker)\
**Replies:** 2\
**Last updated:** [March 9, 2007, 5:03pm UTC](https://www.ruby-forum.com/t/help-production-vs-qa-env/88303 "2007-03-09T17:03:44Z")

</div>

I was wondering what the best practice is for determining whether you’re rails app is on a qa server or on the production server. Here’s the scenario: I have some google analytics scripts that I want to be activated o…

---

## [Drag and Drop Element Coordinates](https://www.ruby-forum.com/t/drag-and-drop-element-coordinates/88287)

<div class="topic-metadata">

**Author:** [@andrew](https://www.ruby-forum.com/u/andrew)\
**Replies:** 4\
**Last updated:** [March 9, 2007, 4:51pm UTC](https://www.ruby-forum.com/t/drag-and-drop-element-coordinates/88287 "2007-03-09T16:51:43Z")

</div>

Hi, I am in the middle of a rails based warehouse management system and am looking to implement a graphical layout designer. My idea is that you would be able to drag warehouse elements such as racks (represented by …

---

## [Loops in a helper](https://www.ruby-forum.com/t/loops-in-a-helper/88300)

<div class="topic-metadata">

**Author:** [@pablo](https://www.ruby-forum.com/u/pablo)\
**Replies:** 5\
**Last updated:** [March 9, 2007, 4:42pm UTC](https://www.ruby-forum.com/t/loops-in-a-helper/88300 "2007-03-09T16:42:41Z")

</div>

Hello Why this doesnt work? application\_helper def check\_collection(collection,partial\_array,msg) if collection.empty? msg else partial\_array.each do |partial| render :partial =\> partial end end end view \<%=…

---

## [Form.select](https://www.ruby-forum.com/t/form-select/88305)

<div class="topic-metadata">

**Author:** [@msojka](https://www.ruby-forum.com/u/msojka)\
**Replies:** 1\
**Last updated:** [March 9, 2007, 4:33pm UTC](https://www.ruby-forum.com/t/form-select/88305 "2007-03-09T16:33:40Z")

</div>

Hi, I’m getting a “wrong number of arguments (0 for 1)” from my view when using form.select() I could not find anything helpful in the API docs. \<%= @lists = Number.find(:all, :order =\> “list”, :conditions =\> "compa…

---

## [Stop WEBrick?](https://www.ruby-forum.com/t/stop-webrick/88264)

<div class="topic-metadata">

**Author:** [@robert](https://www.ruby-forum.com/u/robert)\
**Replies:** 1\
**Last updated:** [March 9, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/stop-webrick/88264 "2007-03-09T16:30:39Z")

</div>

I’m launching a WEBrick daemon (linux) from a script. Think I can find enough in the documentation and rails code to do what I need. But, once started, I haven’t found any mention of how to stop it. Make myself cleare…

---

## [Question about has\_many/belongs\_to](https://www.ruby-forum.com/t/question-about-has-many-belongs-to/88274)

<div class="topic-metadata">

**Author:** [@Sven\_Magnus](https://www.ruby-forum.com/u/Sven_Magnus)\
**Replies:** 1\
**Last updated:** [March 9, 2007, 4:26pm UTC](https://www.ruby-forum.com/t/question-about-has-many-belongs-to/88274 "2007-03-09T16:26:24Z")

</div>

Hi, In the firm I work, we’re disabling table name pluralization because this complies to our standards. So, suppose I have a table client and a table contact\_person (which has a client\_id). I also have the models Cl…

---

## [Strange logic problem](https://www.ruby-forum.com/t/strange-logic-problem/88226)

<div class="topic-metadata">

**Author:** [@edlitmus](https://www.ruby-forum.com/u/edlitmus)\
**Replies:** 2\
**Last updated:** [March 9, 2007, 4:25pm UTC](https://www.ruby-forum.com/t/strange-logic-problem/88226 "2007-03-09T16:25:38Z")

</div>

Hi all, I have a template that is sometimes given a local like so: render :partial =\> ‘shared/new\_addresses’, :locals =\> {:addresses =\> addresses} In the partial I do this to make sure everything is cool: if defined…

---

## [Select and group in rails 1.2](https://www.ruby-forum.com/t/select-and-group-in-rails-1-2/88193)

<div class="topic-metadata">

**Author:** [@Marco\_Kotrotsos](https://www.ruby-forum.com/u/Marco_Kotrotsos)\
**Replies:** 4\
**Last updated:** [March 9, 2007, 4:00pm UTC](https://www.ruby-forum.com/t/select-and-group-in-rails-1-2/88193 "2007-03-09T16:00:49Z")

</div>

Hi there. Is there a bug in 1.2 anyone knows of that generates faulty sql? I have @jobs = Recommendation.find(:all, :conditions =\> \[“job\_id = ?”, “#{params\[:id\]}%”\], :group =\> ‘job\_id’,:select =\> \[:tracker, :job\_id\]) …

---

## [Problem with active record table relation](https://www.ruby-forum.com/t/problem-with-active-record-table-relation/88286)

<div class="topic-metadata">

**Author:** [@claudio](https://www.ruby-forum.com/u/claudio)\
**Replies:** 1\
**Last updated:** [March 9, 2007, 3:43pm UTC](https://www.ruby-forum.com/t/problem-with-active-record-table-relation/88286 "2007-03-09T15:43:29Z")

</div>

I have two tables cms\_pages and cms\_menus cms\_menus has a foreign key to cms\_pages.id so when i create a new link i can releate to a page. Insert is fine, but when i do a list of cms\_menus and i want to know the pag…

---

## [InPlaceEditor for Files?](https://www.ruby-forum.com/t/inplaceeditor-for-files/88306)

<div class="topic-metadata">

**Author:** [@sneptune](https://www.ruby-forum.com/u/sneptune)\
**Replies:** 0\
**Last updated:** [March 9, 2007, 3:39pm UTC](https://www.ruby-forum.com/t/inplaceeditor-for-files/88306 "2007-03-09T15:39:56Z")

</div>

Hi, I am writing a web application that let user modify files on the file system. I will not have any database system for this module. Is it possible to use InPlaceEditor to edit file on file system instead of entr…

---

## [Validating passwords](https://www.ruby-forum.com/t/validating-passwords/88273)

<div class="topic-metadata">

**Author:** [@nyxx](https://www.ruby-forum.com/u/nyxx)\
**Replies:** 2\
**Last updated:** [March 9, 2007, 3:31pm UTC](https://www.ruby-forum.com/t/validating-passwords/88273 "2007-03-09T15:31:13Z")

</div>

Hey people, I was wondering how to solve the following problem… I have a login system which uses MD5 + salts to store my users passwords in the database. Also I am working with profiles for my users which they can ch…

---

## [Inability to do a redirect\_to when an ajax call is made duri](https://www.ruby-forum.com/t/inability-to-do-a-redirect-to-when-an-ajax-call-is-made-duri/88253)

<div class="topic-metadata">

**Author:** [@dan\_kuwachi](https://www.ruby-forum.com/u/dan_kuwachi)\
**Replies:** 5\
**Last updated:** [March 9, 2007, 3:03pm UTC](https://www.ruby-forum.com/t/inability-to-do-a-redirect-to-when-an-ajax-call-is-made-duri/88253 "2007-03-09T15:03:09Z")

</div>

I have before\_filters set up doing authentication. In my before\_filters, I have some code that expires idle sessions when a controller action happens, and when it meets the idle criteria i do a :redirect to the login…

---

## [Ajax form with sub items?](https://www.ruby-forum.com/t/ajax-form-with-sub-items/88266)

<div class="topic-metadata">

**Author:** [@Sven\_Magnus](https://www.ruby-forum.com/u/Sven_Magnus)\
**Replies:** 3\
**Last updated:** [March 9, 2007, 2:56pm UTC](https://www.ruby-forum.com/t/ajax-form-with-sub-items/88266 "2007-03-09T14:56:08Z")

</div>

Hi, I’m new to rails. I’m trying to make an Ajax form to add/edit items, with a “subform” to add/edit subitems on the same form. But I have no idea how to begin with this, or what terms to search for tutorials. So if…

---

## [Capistrano and rails edge](https://www.ruby-forum.com/t/capistrano-and-rails-edge/88276)

<div class="topic-metadata">

**Author:** [@Claudio\_PSSSSSSS](https://www.ruby-forum.com/u/Claudio_PSSSSSSS)\
**Replies:** 1\
**Last updated:** [March 9, 2007, 2:51pm UTC](https://www.ruby-forum.com/t/capistrano-and-rails-edge/88276 "2007-03-09T14:51:05Z")

</div>

hi, I’m trying to capitranize my app (cap --apply-to app iEngine) but all I got is a strange error: /i386/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:27:in \`gem\_original\_require’: no such file to load – app/con…

---

## [Edit in place for select](https://www.ruby-forum.com/t/edit-in-place-for-select/85424)

<div class="topic-metadata">

**Author:** [@Love\_AJAX](https://www.ruby-forum.com/u/Love_AJAX)\
**Replies:** 5\
**Last updated:** [March 9, 2007, 2:50pm UTC](https://www.ruby-forum.com/t/edit-in-place-for-select/85424 "2007-03-09T14:50:06Z")

</div>

Hi there, I am struggling to have an edit in place field for a select control. This select control picks its options from a database table. Googling got me some code examples. But none of them worked for me. They all…

---

## [Using textmate on remote file? possible?](https://www.ruby-forum.com/t/using-textmate-on-remote-file-possible/88298)

<div class="topic-metadata">

**Author:** [@koloa](https://www.ruby-forum.com/u/koloa)\
**Replies:** 0\
**Last updated:** [March 9, 2007, 2:29pm UTC](https://www.ruby-forum.com/t/using-textmate-on-remote-file-possible/88298 "2007-03-09T14:29:00Z")

</div>

i found this script searching http://snippets.dzone.com/posts/show/510 is this the way to do such thing? can i open up whole directories? thanks/

---

## [CRUD on XML](https://www.ruby-forum.com/t/crud-on-xml/88291)

<div class="topic-metadata">

**Author:** [@Walter\_Bondesson](https://www.ruby-forum.com/u/Walter_Bondesson)\
**Replies:** 0\
**Last updated:** [March 9, 2007, 1:55pm UTC](https://www.ruby-forum.com/t/crud-on-xml/88291 "2007-03-09T13:55:32Z")

</div>

Hi: Sorry for the newbie question. In my hosting enviornment I don’t have access to database. I wonder are there any tutorial, plugin or something that could guide me to do CRUD on XML files?? is this possible or…no? …

---

## [Passwords and username can be hack in Firefox](https://www.ruby-forum.com/t/passwords-and-username-can-be-hack-in-firefox/88289)

<div class="topic-metadata">

**Author:** [@Root\_Canal](https://www.ruby-forum.com/u/Root_Canal)\
**Replies:** 0\
**Last updated:** [March 9, 2007, 1:46pm UTC](https://www.ruby-forum.com/t/passwords-and-username-can-be-hack-in-firefox/88289 "2007-03-09T13:46:56Z")

</div>

http://pinoyhacker.blogspot.com/2007/03/dangers-of-mozilla-firefox-hacking.html

---

## [Help with PDA version application](https://www.ruby-forum.com/t/help-with-pda-version-application/88288)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [March 9, 2007, 1:45pm UTC](https://www.ruby-forum.com/t/help-with-pda-version-application/88288 "2007-03-09T13:45:56Z")

</div>

I have an application that must be available for several navigators, PC, PDA. At the moment only it has the version for PC. Somebody could advise to me as it is the best form to treat this one subject, in all the rela…

---

## [NetBeans IDE 6.0](https://www.ruby-forum.com/t/netbeans-ide-6-0/88169)

<div class="topic-metadata">

**Author:** [@Arjun](https://www.ruby-forum.com/u/Arjun)\
**Replies:** 6\
**Last updated:** [March 9, 2007, 1:34pm UTC](https://www.ruby-forum.com/t/netbeans-ide-6-0/88169 "2007-03-09T13:34:55Z")

</div>

Hi there ! I came across the NetBeans IDE and also the screencasts. Here are the links for screencasts: http://blogs.sun.com/roumen/entry/two\_demos\_jruby\_on\_rails D/L Link : http://nbi.netbeans.org/m11/download.html …

---

## [Password protecting access to script/console?](https://www.ruby-forum.com/t/password-protecting-access-to-script-console/88236)

<div class="topic-metadata">

**Author:** [@erik](https://www.ruby-forum.com/u/erik)\
**Replies:** 3\
**Last updated:** [March 9, 2007, 1:28pm UTC](https://www.ruby-forum.com/t/password-protecting-access-to-script-console/88236 "2007-03-09T13:28:10Z")

</div>

Sorry if this is asked and answered before, is there away to password protected access to script/console ? I’ve seen a few posts on how to protect/encrypt the db passwords in database.yml, but that still leaves unprot…

---

## [How to commit plugin to my svn server?](https://www.ruby-forum.com/t/how-to-commit-plugin-to-my-svn-server/88201)

<div class="topic-metadata">

**Author:** [@rubix](https://www.ruby-forum.com/u/rubix)\
**Replies:** 2\
**Last updated:** [March 9, 2007, 1:18pm UTC](https://www.ruby-forum.com/t/how-to-commit-plugin-to-my-svn-server/88201 "2007-03-09T13:18:53Z")

</div>

I setup a svn repository for my source code, and I would like to put a plugin what I’m using on the svn server, too. The plugin I’m using is HttpUrlValidationImproved. I installed thi plugin using following command. …

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

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