# Rails

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

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

---

## [What to do when capistrano/mongrel go off the rails](https://www.ruby-forum.com/t/what-to-do-when-capistrano-mongrel-go-off-the-rails/111016)

<div class="topic-metadata">

**Author:** [@blinking\_bear](https://www.ruby-forum.com/u/blinking_bear)\
**Replies:** 1\
**Last updated:** [August 2, 2007, 5:06pm UTC](https://www.ruby-forum.com/t/what-to-do-when-capistrano-mongrel-go-off-the-rails/111016 "2007-08-02T17:06:24Z")

</div>

What do do when capistrano/mongrel go off the rails: So capistrano is awesome right? Right. Mongrel? yeah thats awesome too. Things are great until it’s a peak hour of traffic and you want to cap deploy a ‘quick fi…

---

## [Large data set: paginating, sorting - application? database](https://www.ruby-forum.com/t/large-data-set-paginating-sorting-application-database/111098)

<div class="topic-metadata">

**Author:** [@sasha](https://www.ruby-forum.com/u/sasha)\
**Replies:** 0\
**Last updated:** [August 2, 2007, 4:55pm UTC](https://www.ruby-forum.com/t/large-data-set-paginating-sorting-application-database/111098 "2007-08-02T16:55:21Z")

</div>

My ultimate goal is to paginate a large data set (to have something that looks like a data grid) I am using paginating\_find (but am open to other suggestions) Being able to resort the data set by column is a mus…

---

## [Windows XP Tips](https://www.ruby-forum.com/t/windows-xp-tips/111097)

<div class="topic-metadata">

**Author:** [@John\_Travolta](https://www.ruby-forum.com/u/John_Travolta)\
**Replies:** 0\
**Last updated:** [August 2, 2007, 4:46pm UTC](https://www.ruby-forum.com/t/windows-xp-tips/111097 "2007-08-02T16:46:20Z")

</div>

Great Windows XP tips and tricks collected all over internet

---

## [Concept for foreign key](https://www.ruby-forum.com/t/concept-for-foreign-key/111017)

<div class="topic-metadata">

**Author:** [@Ajit](https://www.ruby-forum.com/u/Ajit)\
**Replies:** 3\
**Last updated:** [August 2, 2007, 4:27pm UTC](https://www.ruby-forum.com/t/concept-for-foreign-key/111017 "2007-08-02T16:27:15Z")

</div>

Hi I have a table named “appointments” and it has a field “patient\_id”. And i have “patients” table as well, with all the patient’s personal info now i want to display all the appointments for today with patients de…

---

## [A rather n00by question on rake, from "Build Your Own RoR Ap](https://www.ruby-forum.com/t/a-rather-n00by-question-on-rake-from-build-your-own-ror-ap/111072)

<div class="topic-metadata">

**Author:** [@dazuma](https://www.ruby-forum.com/u/dazuma)\
**Replies:** 4\
**Last updated:** [August 2, 2007, 4:00pm UTC](https://www.ruby-forum.com/t/a-rather-n00by-question-on-rake-from-build-your-own-ror-ap/111072 "2007-08-02T16:00:13Z")

</div>

Hi! I had a question on rake. I am going through Mr. Lenz’s book, and have been coasting through successfully until I hit the section in Ch. 6 on testing. At the command line, in my application root, I typed: $ ra…

---

## [Engines 1.2.1 released](https://www.ruby-forum.com/t/engines-1-2-1-released/111085)

<div class="topic-metadata">

**Author:** [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Replies:** 2\
**Last updated:** [August 2, 2007, 3:24pm UTC](https://www.ruby-forum.com/t/engines-1-2-1-released/111085 "2007-08-02T15:24:07Z")

</div>

FYI, I just updated the release version and created a new tag for the 1.2.1 release of the engines plugin. Only a couple of minor bugfixes in this one, notably for testing. If you spot any further issues, please do le…

---

## [Varaible Validations](https://www.ruby-forum.com/t/varaible-validations/110961)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 2\
**Last updated:** [August 2, 2007, 3:11pm UTC](https://www.ruby-forum.com/t/varaible-validations/110961 "2007-08-02T15:11:58Z")

</div>

Hi, I want to allow a user the ability to set certain values for validations via a table called settings. For example a model called loan can have a principal of between 2 values. In the settings table i have a fiel…

---

## [Record.attribute = nil](https://www.ruby-forum.com/t/record-attribute-nil/111034)

<div class="topic-metadata">

**Author:** [@ara.t.howard](https://www.ruby-forum.com/u/ara.t.howard)\
**Replies:** 1\
**Last updated:** [August 2, 2007, 3:05pm UTC](https://www.ruby-forum.com/t/record-attribute-nil/111034 "2007-08-02T15:05:35Z")

</div>

am i missing something obvious about ar, or is there no clear way to do this: record.attribute = nil or equivalent to set an attribute to ‘NULL’ ?? thanks. a @ http://drawohara.com/ we can deny everything, except …

---

## [How to: Rails with JRuby/Actice Record-JDBC and JDBC-ODBC](https://www.ruby-forum.com/t/how-to-rails-with-jruby-actice-record-jdbc-and-jdbc-odbc/111088)

<div class="topic-metadata">

**Author:** [@commander](https://www.ruby-forum.com/u/commander)\
**Replies:** 0\
**Last updated:** [August 2, 2007, 3:04pm UTC](https://www.ruby-forum.com/t/how-to-rails-with-jruby-actice-record-jdbc-and-jdbc-odbc/111088 "2007-08-02T15:04:07Z")

</div>

hi to all, it is posible to use activerecord-jdbc with the jdbc-odbc bridge? i have problems to use ajax\_scaffold. i get an error message, that the driver is unable to choose type for date from(list of datatypes) my …

---

## [Ruby focus group in San Francisco - $175](https://www.ruby-forum.com/t/ruby-focus-group-in-san-francisco-175/111027)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 1\
**Last updated:** [August 2, 2007, 2:27pm UTC](https://www.ruby-forum.com/t/ruby-focus-group-in-san-francisco-175/111027 "2007-08-02T14:27:59Z")

</div>

We need programmers who are using Ruby on Rails professionally to participate in a focus group at noon on Tuesday, August 7, 2007 in downtown San Francisco, California. This is not a sales presentation. We are an in…

---

## [Has\_many and class function](https://www.ruby-forum.com/t/has-many-and-class-function/111074)

<div class="topic-metadata">

**Author:** [@Fabien\_J](https://www.ruby-forum.com/u/Fabien_J)\
**Replies:** 7\
**Last updated:** [August 2, 2007, 2:21pm UTC](https://www.ruby-forum.com/t/has-many-and-class-function/111074 "2007-08-02T14:21:56Z")

</div>

Hello, i have two models : class Container \< ActiveRecord::Base has\_many :bottles end class Bottle \< ActiveRecord::Base belongs\_to :container def self.find\_all\_from\_container(container) container.bottles.find(:a…

---

## [Difficult RoR Project](https://www.ruby-forum.com/t/difficult-ror-project/111076)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 6\
**Last updated:** [August 2, 2007, 2:11pm UTC](https://www.ruby-forum.com/t/difficult-ror-project/111076 "2007-08-02T14:11:56Z")

</div>

Hi, I’m currently working on a data analysis project that involves analysing and then injecting to my main database data held on a number of different remote servers. My main RoR application is basically a web viewer…

---

## [Deserializing objects in the controller](https://www.ruby-forum.com/t/deserializing-objects-in-the-controller/111082)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [August 2, 2007, 1:21pm UTC](https://www.ruby-forum.com/t/deserializing-objects-in-the-controller/111082 "2007-08-02T13:21:45Z")

</div>

I’ve an AR model that serializes another object (A), which does not inherit from ActiveRecord::Base. The problem I’m facing is that while A can be deserialized properly in script/console, it deserializes as YAML::Obje…

---

## [Send Dedication to your belover](https://www.ruby-forum.com/t/send-dedication-to-your-belover/111079)

<div class="topic-metadata">

**Author:** [@Abdul\_Q](https://www.ruby-forum.com/u/Abdul_Q)\
**Replies:** 0\
**Last updated:** [August 2, 2007, 12:42pm UTC](https://www.ruby-forum.com/t/send-dedication-to-your-belover/111079 "2007-08-02T12:42:42Z")

</div>

\---------- Forwarded message ---------- From: Abdul Q. removed\_email\_address@domain.invalid Date: Aug 2, 2007 1:37 PM Subject: send Dedication to your belover… To: removed\_email\_address@domain.invalid, removed\_email\_…

---

## [\[Off-Topic\] Call for networking help](https://www.ruby-forum.com/t/off-topic-call-for-networking-help/111044)

<div class="topic-metadata">

**Author:** [@Prabhakar\_C](https://www.ruby-forum.com/u/Prabhakar_C)\
**Replies:** 2\
**Last updated:** [August 2, 2007, 12:24pm UTC](https://www.ruby-forum.com/t/off-topic-call-for-networking-help/111044 "2007-08-02T12:24:39Z")

</div>

All, I am the founder and CTO of a new Atlanta area start-up that is a technology incubator and consulting company. We are currently working on building a couple of software as a service apps on the Rails platform. …

---

## [Foreign Key Use](https://www.ruby-forum.com/t/foreign-key-use/111055)

<div class="topic-metadata">

**Author:** [@reshma\_gahin](https://www.ruby-forum.com/u/reshma_gahin)\
**Replies:** 1\
**Last updated:** [August 2, 2007, 12:12pm UTC](https://www.ruby-forum.com/t/foreign-key-use/111055 "2007-08-02T12:12:38Z")

</div>

Hi can any1 guide me ,How can i use foreign Key concept in rails, I m using Migrations to create tables, Also i want to know diffrent fields we can use while creating tables. I mean like String,Date time, timestamp,Pl…

---

## [Attachment\_fu db storage and undefined method full\_filename](https://www.ruby-forum.com/t/attachment-fu-db-storage-and-undefined-method-full-filename/111066)

<div class="topic-metadata">

**Author:** [@jawosis](https://www.ruby-forum.com/u/jawosis)\
**Replies:** 0\
**Last updated:** [August 2, 2007, 9:33am UTC](https://www.ruby-forum.com/t/attachment-fu-db-storage-and-undefined-method-full-filename/111066 "2007-08-02T09:33:15Z")

</div>

I use attachement\_fu and in\_place\_editor to inline edit a description field in my database. Esiting fails with: undefined local variable or method full\_filename I read about that full\_filename is only set when you us…

---

## [Activerecord limitation ? (advanced)](https://www.ruby-forum.com/t/activerecord-limitation-advanced/111060)

<div class="topic-metadata">

**Author:** [@nigel.bris](https://www.ruby-forum.com/u/nigel.bris)\
**Replies:** 0\
**Last updated:** [August 2, 2007, 8:50am UTC](https://www.ruby-forum.com/t/activerecord-limitation-advanced/111060 "2007-08-02T08:50:11Z")

</div>

Or is it ? Form FormType FormTypeItem | id | -\> | id | \<- | id |form\_type\_id | - | name | - | form\_type\_id | …

---

## [Google Maps Map Movement](https://www.ruby-forum.com/t/google-maps-map-movement/111047)

<div class="topic-metadata">

**Author:** [@freaknasty](https://www.ruby-forum.com/u/freaknasty)\
**Replies:** 1\
**Last updated:** [August 2, 2007, 6:59am UTC](https://www.ruby-forum.com/t/google-maps-map-movement/111047 "2007-08-02T06:59:02Z")

</div>

Hi everyone, I need help with RoR and Google Maps. Here is my dilemma. Say coordinates are being fed into a db. I would like to create a page that gets those coordinates say every 5 seconds and moves a marker on a G…

---

## [Working with an array of search parameters](https://www.ruby-forum.com/t/working-with-an-array-of-search-parameters/110979)

<div class="topic-metadata">

**Author:** [@ali](https://www.ruby-forum.com/u/ali)\
**Replies:** 1\
**Last updated:** [August 2, 2007, 4:25am UTC](https://www.ruby-forum.com/t/working-with-an-array-of-search-parameters/110979 "2007-08-02T04:25:53Z")

</div>

Hi! I have a search form where user may search by one or a combo of these items: Last Name First Name Alias Last Name Alias First Name Case Number First of all, how do I set up the fields in \_form to return an ar…

---

## [How to update a list of Models 'automatically' in 1 action](https://www.ruby-forum.com/t/how-to-update-a-list-of-models-automatically-in-1-action/110899)

<div class="topic-metadata">

**Author:** [@jeannibee](https://www.ruby-forum.com/u/jeannibee)\
**Replies:** 4\
**Last updated:** [August 2, 2007, 4:04am UTC](https://www.ruby-forum.com/t/how-to-update-a-list-of-models-automatically-in-1-action/110899 "2007-08-02T04:04:52Z")

</div>

If I have a User table and a form that displays all my users with a Rank. I want to be able to rank my users and then hit ‘update’ and all users will be parsed by my action into User model obects and then persisted wi…

---

## [\[ANN\] mogilefs-client 1.2.1 Released](https://www.ruby-forum.com/t/ann-mogilefs-client-1-2-1-released/111039)

<div class="topic-metadata">

**Author:** [@miracleofmagick](https://www.ruby-forum.com/u/miracleofmagick)\
**Replies:** 0\
**Last updated:** [August 2, 2007, 3:39am UTC](https://www.ruby-forum.com/t/ann-mogilefs-client-1-2-1-released/111039 "2007-08-02T03:39:49Z")

</div>

mogilefs-client version 1.2.1 has been released! http://seattlerb.org/mogilefs-client A Ruby MogileFS client. MogileFS is a distributed filesystem written by Danga Interactive. This client supports NFS and HTTP mod…

---

## [Prevent form\_for password\_field from auto filling](https://www.ruby-forum.com/t/prevent-form-for-password-field-from-auto-filling/110955)

<div class="topic-metadata">

**Author:** [@mindtonic](https://www.ruby-forum.com/u/mindtonic)\
**Replies:** 4\
**Last updated:** [August 2, 2007, 3:31am UTC](https://www.ruby-forum.com/t/prevent-form-for-password-field-from-auto-filling/110955 "2007-08-02T03:31:47Z")

</div>

How do you tell a form not to automatically include the database information? I do not want the password to appear. \<% form\_for :user, :url =\> user\_url(@user), :html =\> { :method =\> :put } do |f| -%\> Username: \<%=…

---

## [Howto express schema in model for one to many relationship](https://www.ruby-forum.com/t/howto-express-schema-in-model-for-one-to-many-relationship/110953)

<div class="topic-metadata">

**Author:** [@rrevo](https://www.ruby-forum.com/u/rrevo)\
**Replies:** 3\
**Last updated:** [August 2, 2007, 3:18am UTC](https://www.ruby-forum.com/t/howto-express-schema-in-model-for-one-to-many-relationship/110953 "2007-08-02T03:18:46Z")

</div>

Hi All, I’m new to Rails and was confused on how to express a model. I appreciate any help on this. The schema is as follows - CREATE TABLE ds ( id int(11) NOT NULL auto\_increment, some\_data int(11) NOT NULL, PRIM…

---

## [What the heck - corruped mongrel server?](https://www.ruby-forum.com/t/what-the-heck-corruped-mongrel-server/111013)

<div class="topic-metadata">

**Author:** [@dkitchel](https://www.ruby-forum.com/u/dkitchel)\
**Replies:** 1\
**Last updated:** [August 2, 2007, 3:06am UTC](https://www.ruby-forum.com/t/what-the-heck-corruped-mongrel-server/111013 "2007-08-02T03:06:45Z")

</div>

I’m running a new instillation of rails on osx With some minor headaches and some bizarre puzzles still unsolved like the “Stack level too deep” error when I run a ruby scrip within the rails environment, but works fi…

---

## [Difficult model.find](https://www.ruby-forum.com/t/difficult-model-find/110901)

<div class="topic-metadata">

**Author:** [@leonb](https://www.ruby-forum.com/u/leonb)\
**Replies:** 2\
**Last updated:** [August 2, 2007, 3:00am UTC](https://www.ruby-forum.com/t/difficult-model-find/110901 "2007-08-02T03:00:44Z")

</div>

Hi all! I have this declaration model: Parked at Loopia What I want to do: get all users that not belong to the declaration. I could do a loop. First get all the users. I know who belong to the declaration, so I als…

---

## [Re: Rails engine migration not loading Rails Engine?](https://www.ruby-forum.com/t/re-rails-engine-migration-not-loading-rails-engine/111036)

<div class="topic-metadata">

**Author:** [@Ron\_Evans](https://www.ruby-forum.com/u/Ron_Evans)\
**Replies:** 0\
**Last updated:** [August 2, 2007, 2:38am UTC](https://www.ruby-forum.com/t/re-rails-engine-migration-not-loading-rails-engine/111036 "2007-08-02T02:38:42Z")

</div>

It was indeed a problem with the Savage Beast plugin’s use of GetText. Removing those bits got my migration running quickly… thanks again for the suggestion! On 8/1/07, removed\_email\_address@domain.invalid \<

---

## [Learning how to use custom Form Builders](https://www.ruby-forum.com/t/learning-how-to-use-custom-form-builders/110580)

<div class="topic-metadata">

**Author:** [@Serengeti](https://www.ruby-forum.com/u/Serengeti)\
**Replies:** 4\
**Last updated:** [August 2, 2007, 2:12am UTC](https://www.ruby-forum.com/t/learning-how-to-use-custom-form-builders/110580 "2007-08-02T02:12:41Z")

</div>

I worked my way through the FormBuilder example in the Agile Web Development With Rails book, but I now have some questions about applying this idea to other situations. The example seems to work well for the case whe…

---

## [Busco Ruby on Rails developer (latinoamÃ©rica-desde casa)](https://www.ruby-forum.com/t/busco-ruby-on-rails-developer-latinoama-rica-desde-casa/111030)

<div class="topic-metadata">

**Author:** [@avity](https://www.ruby-forum.com/u/avity)\
**Replies:** 0\
**Last updated:** [August 2, 2007, 1:24am UTC](https://www.ruby-forum.com/t/busco-ruby-on-rails-developer-latinoama-rica-desde-casa/111030 "2007-08-02T01:24:41Z")

</div>

Super-Intelligent Ruby on Rails Developer - US Company - Immediate We are a rapidly growing American company with staff in Latin America and Europe. We would like to retain three or more developers immediately to sta…

---

## [Error with datetime\_select w/ Year \<1970 on MS Windows](https://www.ruby-forum.com/t/error-with-datetime-select-w-year-1970-on-ms-windows/110922)

<div class="topic-metadata">

**Author:** [@i\_am\_zigx](https://www.ruby-forum.com/u/i_am_zigx)\
**Replies:** 3\
**Last updated:** [August 2, 2007, 1:12am UTC](https://www.ruby-forum.com/t/error-with-datetime-select-w-year-1970-on-ms-windows/110922 "2007-08-02T01:12:37Z")

</div>

I am seeing something very strange that does not appear to happen on OSX. Can anyone confirm if this is a valid issue/bug? I have created a datetime\_select with the following code: \<%= datetime\_select(:album, :releas…

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

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