# Rails

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

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

---

## [Oops forgot the link](https://www.ruby-forum.com/t/oops-forgot-the-link/88083)

<div class="topic-metadata">

**Author:** [@Vivian\_Aranha](https://www.ruby-forum.com/u/Vivian_Aranha)\
**Replies:** 0\
**Last updated:** [March 7, 2007, 11:54pm UTC](https://www.ruby-forum.com/t/oops-forgot-the-link/88083 "2007-03-07T23:54:22Z")

</div>

www.rorug.us

---

## [Map :join query into model objects](https://www.ruby-forum.com/t/map-join-query-into-model-objects/88081)

<div class="topic-metadata">

**Author:** [@akm](https://www.ruby-forum.com/u/akm)\
**Replies:** 0\
**Last updated:** [March 7, 2007, 11:26pm UTC](https://www.ruby-forum.com/t/map-join-query-into-model-objects/88081 "2007-03-07T23:26:18Z")

</div>

Hi, how can I map: :joins =\> “LEFT OUTER JOIN stocktbl ON stocktbl.stock\_id = artisttbl.stock\_id” into a stocktbl model object? – Regards Andrew

---

## [Selecting datetime values from SQL Server (year \< 1970)](https://www.ruby-forum.com/t/selecting-datetime-values-from-sql-server-year-1970/72830)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 3\
**Last updated:** [March 7, 2007, 11:12pm UTC](https://www.ruby-forum.com/t/selecting-datetime-values-from-sql-server-year-1970/72830 "2007-03-07T23:12:58Z")

</div>

All, Rails 1.1.6. Any AR find() call that generates a SELECT \* type query against a table with a DATETIME column in SQL Server whose value occurs before 1970 will fail, because of the coercion of SQL Server datetime …

---

## [Rails 1.2.1 twice as slow as Rails 1.1.6?](https://www.ruby-forum.com/t/rails-1-2-1-twice-as-slow-as-rails-1-1-6/87961)

<div class="topic-metadata">

**Author:** [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Replies:** 1\
**Last updated:** [March 7, 2007, 10:54pm UTC](https://www.ruby-forum.com/t/rails-1-2-1-twice-as-slow-as-rails-1-1-6/87961 "2007-03-07T22:54:14Z")

</div>

If anyone else has done similar benchmarks, please do tell :). rob

---

## [WEBrick killed by Apple Security Update?](https://www.ruby-forum.com/t/webrick-killed-by-apple-security-update/75319)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 3\
**Last updated:** [March 7, 2007, 10:41pm UTC](https://www.ruby-forum.com/t/webrick-killed-by-apple-security-update/75319 "2007-03-07T22:41:09Z")

</div>

Hey everybody - just checking in to see if anybody has the same issue; I just installed Apple’s latest Security Update this morning, and oddly, when I run ./script/server to start WEBrick, it poops out and returns me …

---

## [Ferret](https://www.ruby-forum.com/t/ferret/88046)

<div class="topic-metadata">

**Author:** [@stemey](https://www.ruby-forum.com/u/stemey)\
**Replies:** 1\
**Last updated:** [March 7, 2007, 10:29pm UTC](https://www.ruby-forum.com/t/ferret/88046 "2007-03-07T22:29:10Z")

</div>

Hi, i have problems building ferret on my win box. 0.10.10 and above won’t compile. Is there a pre compiled version available? Thanks a lot, Stefan

---

## [\[Long\] Problem with Ajax.Updater](https://www.ruby-forum.com/t/long-problem-with-ajax-updater/88072)

<div class="topic-metadata">

**Author:** [@madiba](https://www.ruby-forum.com/u/madiba)\
**Replies:** 0\
**Last updated:** [March 7, 2007, 10:13pm UTC](https://www.ruby-forum.com/t/long-problem-with-ajax-updater/88072 "2007-03-07T22:13:01Z")

</div>

app/views/layouts/application.rhtml: \<?xml version="1.0"?\> \<%= title %\> \<%= javascript\_include\_tag "prototype" %\> \<%= stylesheet\_link\_tag "application.css" %\> \<%= stylesheet\_link\_tag "#{contr…

---

## [Apache 2.0 \<=\> Pen \<=\> Mongrel problems](https://www.ruby-forum.com/t/apache-2-0-pen-mongrel-problems/88057)

<div class="topic-metadata">

**Author:** [@tilthouse](https://www.ruby-forum.com/u/tilthouse)\
**Replies:** 1\
**Last updated:** [March 7, 2007, 9:59pm UTC](https://www.ruby-forum.com/t/apache-2-0-pen-mongrel-problems/88057 "2007-03-07T21:59:58Z")

</div>

I have a Centos server that I would rather not upgrade to Apache 2.2 due to other sites in production (and the PITA that the upgrade appears to be). So, I’m using Apache 2.0 \<=\> Pen \<=\> 3 Mongrels 3 Mongrels on 11100…

---

## [Radio button help](https://www.ruby-forum.com/t/radio-button-help/88064)

<div class="topic-metadata">

**Author:** [@scott](https://www.ruby-forum.com/u/scott)\
**Replies:** 0\
**Last updated:** [March 7, 2007, 9:44pm UTC](https://www.ruby-forum.com/t/radio-button-help/88064 "2007-03-07T21:44:57Z")

</div>

I might be having a brain fart here but I am having a hell of a time trying to get a simple radio button working. I have a list of products, each with 2 radio buttons, one to select pickup and one to select delivery. …

---

## [Error while initializng temporary session directories in edg](https://www.ruby-forum.com/t/error-while-initializng-temporary-session-directories-in-edg/88061)

<div class="topic-metadata">

**Author:** [@timetrap](https://www.ruby-forum.com/u/timetrap)\
**Replies:** 0\
**Last updated:** [March 7, 2007, 9:39pm UTC](https://www.ruby-forum.com/t/error-while-initializng-temporary-session-directories-in-edg/88061 "2007-03-07T21:39:56Z")

</div>

I’m encountering an odd error when starting up apps running Edge on my production server (or in the console). The same app works fine in deployment mode on a different machine. Note, this seems to be only a problem wi…

---

## [Apache 2.0 \<=\> Pen \<=\> Mongrel problems](https://www.ruby-forum.com/t/apache-2-0-pen-mongrel-problems/102706)

<div class="topic-metadata">

**Author:** [@tilthouse](https://www.ruby-forum.com/u/tilthouse)\
**Replies:** 0\
**Last updated:** [March 7, 2007, 9:03pm UTC](https://www.ruby-forum.com/t/apache-2-0-pen-mongrel-problems/102706 "2007-03-07T21:03:50Z")

</div>

I have a Centos server that I would rather not upgrade to Apache 2.2 due to other sites in production (and the PITA that the upgrade appears to be). So, I’m using Apache 2.0 \<=\> Pen \<=\> 3 Mongrels 3 Mongrels on 11100…

---

## [Mongrel shutdown function](https://www.ruby-forum.com/t/mongrel-shutdown-function/88060)

<div class="topic-metadata">

**Author:** [@SHiBuMi](https://www.ruby-forum.com/u/SHiBuMi)\
**Replies:** 0\
**Last updated:** [March 7, 2007, 9:00pm UTC](https://www.ruby-forum.com/t/mongrel-shutdown-function/88060 "2007-03-07T21:00:49Z")

</div>

Hello, I have a rails application which is running on mongrel. When mongrel server is stopped (terminated by user or by application), I want to run an independent ruby script. Is there any way to do this? My operatin…

---

## [Agile Rails - How long does the Depot application hold onto](https://www.ruby-forum.com/t/agile-rails-how-long-does-the-depot-application-hold-onto/88051)

<div class="topic-metadata">

**Author:** [@bravedave](https://www.ruby-forum.com/u/bravedave)\
**Replies:** 1\
**Last updated:** [March 7, 2007, 8:06pm UTC](https://www.ruby-forum.com/t/agile-rails-how-long-does-the-depot-application-hold-onto/88051 "2007-03-07T20:06:42Z")

</div>

I’m walking through the wonderful “Agile Web D. for Rails” and in Chapter 8 on page 95 they build a Session model that has a physical table in the database and a “Cart” array that’s linked to the unique Session id. S…

---

## [Rails, REST, and Routes](https://www.ruby-forum.com/t/rails-rest-and-routes/88045)

<div class="topic-metadata">

**Author:** [@claycle](https://www.ruby-forum.com/u/claycle)\
**Replies:** 1\
**Last updated:** [March 7, 2007, 7:48pm UTC](https://www.ruby-forum.com/t/rails-rest-and-routes/88045 "2007-03-07T19:48:28Z")

</div>

I am trying to figure out how to write a “slightly nested” RESTful route to represent the following. I have the concept of a Box. A Box may contain another Box. Here are the URI’s and methods I wish to model – the fir…

---

## [Cache\_classes problem after update to 1.2.2](https://www.ruby-forum.com/t/cache-classes-problem-after-update-to-1-2-2/88053)

<div class="topic-metadata">

**Author:** [@Nathan\_Woodhull](https://www.ruby-forum.com/u/Nathan_Woodhull)\
**Replies:** 0\
**Last updated:** [March 7, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/cache-classes-problem-after-update-to-1-2-2/88053 "2007-03-07T19:30:31Z")

</div>

Hey Everyone, We recently updated our rails application from 1.1.2 to 1.2.2. While running in development mode prior to the update, class reloading in development mode worked properly. However, after the update we now …

---

## [Google Summer of Code](https://www.ruby-forum.com/t/google-summer-of-code/88052)

<div class="topic-metadata">

**Author:** [@pat\_eyler](https://www.ruby-forum.com/u/pat_eyler)\
**Replies:** 0\
**Last updated:** [March 7, 2007, 7:30pm UTC](https://www.ruby-forum.com/t/google-summer-of-code/88052 "2007-03-07T19:30:30Z")

</div>

Google’s Summer of Code is almost upon us. Ruby Central is once again planning to act as the mentoring organization for Ruby. For Ruby to be represented again this year, we need mentors. If you’re interested in help…

---

## [How do I get a session id?](https://www.ruby-forum.com/t/how-do-i-get-a-session-id/87911)

<div class="topic-metadata">

**Author:** [@Alex\_MacCaw](https://www.ruby-forum.com/u/Alex_MacCaw)\
**Replies:** 8\
**Last updated:** [March 7, 2007, 7:25pm UTC](https://www.ruby-forum.com/t/how-do-i-get-a-session-id/87911 "2007-03-07T19:25:30Z")

</div>

I’m trying to work out how to get a user’s session id. I can’t use: cookies\[’\_session\_id’\] since it won’t be in the user’s cookie cache at the time of the first request. Any help would be appreciated.

---

## [ImageMagick as plugin?](https://www.ruby-forum.com/t/imagemagick-as-plugin/87945)

<div class="topic-metadata">

**Author:** [@dkanders](https://www.ruby-forum.com/u/dkanders)\
**Replies:** 4\
**Last updated:** [March 7, 2007, 7:09pm UTC](https://www.ruby-forum.com/t/imagemagick-as-plugin/87945 "2007-03-07T19:09:11Z")

</div>

Hi All, I’m wondering if there is a way to check and make sure I have Imagemagick/RMagick/DarwinPorts installed properly… I’m pretty sure I have it installed, but when I go to use imagemagic\_tag in my application, it…

---

## [High ActiveRecord CPU Utilization](https://www.ruby-forum.com/t/high-activerecord-cpu-utilization/88043)

<div class="topic-metadata">

**Author:** [@zakifataya](https://www.ruby-forum.com/u/zakifataya)\
**Replies:** 0\
**Last updated:** [March 7, 2007, 6:32pm UTC](https://www.ruby-forum.com/t/high-activerecord-cpu-utilization/88043 "2007-03-07T18:32:50Z")

</div>

I originally posted this on comp.lang.ruby, but in case someone has a different perspective here who doesn’t read that newsgroup, here it is: Brian When running a test that primarily involves loading up a few MySQL …

---

## [Restful Authentication routes](https://www.ruby-forum.com/t/restful-authentication-routes/87981)

<div class="topic-metadata">

**Author:** [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Replies:** 8\
**Last updated:** [March 7, 2007, 6:23pm UTC](https://www.ruby-forum.com/t/restful-authentication-routes/87981 "2007-03-07T18:23:19Z")

</div>

Hi all, I’ve been messing with Restful Authentication on Rails 1.2.2. I’m having trouble setting up the routes. In routes.rb I have: map.resources :users map.resources :sessions As per the documentation. However, I…

---

## [Trouble inserting large objects into memcached](https://www.ruby-forum.com/t/trouble-inserting-large-objects-into-memcached/87900)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 5\
**Last updated:** [March 7, 2007, 6:21pm UTC](https://www.ruby-forum.com/t/trouble-inserting-large-objects-into-memcached/87900 "2007-03-07T18:21:13Z")

</div>

All, Platform: Mandriva Linux release 2006.0 (Official) for i586 Kernel 2.6.12-27mdksmp on a 4-processor i686 / \\l Background: I’ve got an install of memcached that I’m attempting to use to store data across reques…

---

## [Exclude database adapters from loading in Rails 1.2?](https://www.ruby-forum.com/t/exclude-database-adapters-from-loading-in-rails-1-2/88039)

<div class="topic-metadata">

**Author:** [@dmcclean](https://www.ruby-forum.com/u/dmcclean)\
**Replies:** 0\
**Last updated:** [March 7, 2007, 6:05pm UTC](https://www.ruby-forum.com/t/exclude-database-adapters-from-loading-in-rails-1-2/88039 "2007-03-07T18:05:11Z")

</div>

I would like to not load adapters for databases I never use (such as Oracle). I believe there is a way to do that in Rails 1.2 , but I cannot find it. Can anyone help? Thanks in advance, Don Mc

---

## [New release of FdAjax for Mac](https://www.ruby-forum.com/t/new-release-of-fdajax-for-mac/88035)

<div class="topic-metadata">

**Author:** [@gregd](https://www.ruby-forum.com/u/gregd)\
**Replies:** 0\
**Last updated:** [March 7, 2007, 5:42pm UTC](https://www.ruby-forum.com/t/new-release-of-fdajax-for-mac/88035 "2007-03-07T17:42:35Z")

</div>

There is the new release of FdAjax module for Lighttpd server. Now it compiles under Mac. http://www.refwell.com/blog/ BTW it is possible the setup Lighttpd near Apache and use cross-site scripting to have all live c…

---

## [Help: Wiki engine to handle structuded datas](https://www.ruby-forum.com/t/help-wiki-engine-to-handle-structuded-datas/88029)

<div class="topic-metadata">

**Author:** [@seuck](https://www.ruby-forum.com/u/seuck)\
**Replies:** 0\
**Last updated:** [March 7, 2007, 5:20pm UTC](https://www.ruby-forum.com/t/help-wiki-engine-to-handle-structuded-datas/88029 "2007-03-07T17:20:25Z")

</div>

I’m looking for a wiki engine or API to handle structured data, not text pages. It should implement common features like non destructive editing, versioning, spam detection… Thanks to everyone

---

## [Undefined method \`\[\]' for :stocktbl:Symbol](https://www.ruby-forum.com/t/undefined-method-for-symbol/88000)

<div class="topic-metadata">

**Author:** [@akm](https://www.ruby-forum.com/u/akm)\
**Replies:** 2\
**Last updated:** [March 7, 2007, 4:49pm UTC](https://www.ruby-forum.com/t/undefined-method-for-symbol/88000 "2007-03-07T16:49:01Z")

</div>

Hi, I have a user class as so: class Artisttbl \< ActiveRecord::Base set\_primary\_key “artist\_id” has\_one :artistbiogtbl, :foreign\_key =\> “artist\_id”, :dependent =\> :delete has\_many :artistimagestbl, :foreign\_key =\> …

---

## [How to remove a plugin installed with script/plugin install](https://www.ruby-forum.com/t/how-to-remove-a-plugin-installed-with-script-plugin-install/87956)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 3\
**Last updated:** [March 7, 2007, 4:47pm UTC](https://www.ruby-forum.com/t/how-to-remove-a-plugin-installed-with-script-plugin-install/87956 "2007-03-07T16:47:59Z")

</div>

Railsters: The -x option sets your plugin up as an svn:external, to track updates automatically. I tried to remove a plugin, and got this: $ svn rm naugty-plugin/ --force D naughty-plugin/… … svn: ‘naughty…

---

## [SQLite and migrations](https://www.ruby-forum.com/t/sqlite-and-migrations/88016)

<div class="topic-metadata">

**Author:** [@AurSSSSlien\_Malisar](https://www.ruby-forum.com/u/AurSSSSlien_Malisar)\
**Replies:** 2\
**Last updated:** [March 7, 2007, 4:39pm UTC](https://www.ruby-forum.com/t/sqlite-and-migrations/88016 "2007-03-07T16:39:54Z")

</div>

Hello everybody. Something intriguing me for a while: is sqlite full compatible with the Rails’s migrations system? I ask that because I know sqlite doesn’t implement fully the SQL “standard” (e.g. see ALTER TABLE to …

---

## [Ajax and IE6 - is there some sort of "trick"?](https://www.ruby-forum.com/t/ajax-and-ie6-is-there-some-sort-of-trick/87953)

<div class="topic-metadata">

**Author:** [@jeffpritchard](https://www.ruby-forum.com/u/jeffpritchard)\
**Replies:** 4\
**Last updated:** [March 7, 2007, 4:38pm UTC](https://www.ruby-forum.com/t/ajax-and-ie6-is-there-some-sort-of-trick/87953 "2007-03-07T16:38:24Z")

</div>

Hi, I’ve got some Ajax stuff that shows more or less of a complex form based on a radio button selection. A “radio\_handler” controller action is the action for a form handler. Some seemingly simple “replace\_html” fi…

---

## [How to exclude field from edit](https://www.ruby-forum.com/t/how-to-exclude-field-from-edit/88008)

<div class="topic-metadata">

**Author:** [@ned.c.amazotz](https://www.ruby-forum.com/u/ned.c.amazotz)\
**Replies:** 2\
**Last updated:** [March 7, 2007, 4:35pm UTC](https://www.ruby-forum.com/t/how-to-exclude-field-from-edit/88008 "2007-03-07T16:35:54Z")

</div>

I’d like to exclude certain fields from rails’ edit view. I want the value of these fields to be calculated by the database. I’d like the value visible in rails, but I’d like to hide the field when in edit mode. Ca…

---

## [Self Referential question in RoR compared to Java Hibernate](https://www.ruby-forum.com/t/self-referential-question-in-ror-compared-to-java-hibernate/87939)

<div class="topic-metadata">

**Author:** [@dougd1101](https://www.ruby-forum.com/u/dougd1101)\
**Replies:** 3\
**Last updated:** [March 7, 2007, 4:28pm UTC](https://www.ruby-forum.com/t/self-referential-question-in-ror-compared-to-java-hibernate/87939 "2007-03-07T16:28:53Z")

</div>

I have a MySQL table. Its light schema as follows Comments id int not null, auto-inc. unsigned comment text, not null comment\_id, int, ##This is the parent\_id of the comment if it exis…

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

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