# Rails

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

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

---

## [Development Environment Workstations](https://www.ruby-forum.com/t/development-environment-workstations/92347)

<div class="topic-metadata">

**Author:** [@keith](https://www.ruby-forum.com/u/keith)\
**Replies:** 2\
**Last updated:** [April 20, 2007, 4:29am UTC](https://www.ruby-forum.com/t/development-environment-workstations/92347 "2007-04-20T04:29:28Z")

</div>

We are in the process of hiring new developer’s, and our current strategy is to allow developer’s to choose whatever computer and operating system they want. So far we have 1 guy using a mac, 1 guy on Vista, 1 guy on…

---

## [Rails 1.2 doesn't send POST parameters](https://www.ruby-forum.com/t/rails-1-2-doesnt-send-post-parameters/92373)

<div class="topic-metadata">

**Author:** [@Michael\_Meckler](https://www.ruby-forum.com/u/Michael_Meckler)\
**Replies:** 6\
**Last updated:** [April 20, 2007, 3:05am UTC](https://www.ruby-forum.com/t/rails-1-2-doesnt-send-post-parameters/92373 "2007-04-20T03:05:22Z")

</div>

I have a strange problem with my Rails app that I haven’t seen anyone else mention. I upgraded to rails 1.2 today (1.2.3 actually, and yes, I’ve been putting it off). When I did so all of my controllers that accept a …

---

## [Adding to a struct](https://www.ruby-forum.com/t/adding-to-a-struct/92502)

<div class="topic-metadata">

**Author:** [@mick](https://www.ruby-forum.com/u/mick)\
**Replies:** 1\
**Last updated:** [April 20, 2007, 3:04am UTC](https://www.ruby-forum.com/t/adding-to-a-struct/92502 "2007-04-20T03:04:54Z")

</div>

Hi guys, A little struct question: @events = Event.get\_filtered\_events(@search\_term) returns a struct, but I want to call another query within a loop: for event\_type in @event\_types get\_filtered\_events\_by\_type(event…

---

## [\[ANN\] acts\_as\_solr v.0.7 released](https://www.ruby-forum.com/t/ann-acts-as-solr-v-0-7-released/85852)

<div class="topic-metadata">

**Author:** [@Thiago\_J](https://www.ruby-forum.com/u/Thiago_J)\
**Replies:** 1\
**Last updated:** [April 20, 2007, 2:26am UTC](https://www.ruby-forum.com/t/ann-acts-as-solr-v-0-7-released/85852 "2007-04-20T02:26:20Z")

</div>

acts\_as\_solr v.0.7 has been released, and the changes are: NEW: You can now specify the field types when indexing and searching if youâ€™d like to preserve its original type. Important: Make sure you update your schem…

---

## [Controller class variables not available to method partials?](https://www.ruby-forum.com/t/controller-class-variables-not-available-to-method-partials/92473)

<div class="topic-metadata">

**Author:** [@wintermute](https://www.ruby-forum.com/u/wintermute)\
**Replies:** 1\
**Last updated:** [April 20, 2007, 1:52am UTC](https://www.ruby-forum.com/t/controller-class-variables-not-available-to-method-partials/92473 "2007-04-20T01:52:17Z")

</div>

Hi all, I hope I got the title right. Here is my noob problem. I have one controller ‘user’ and a layout for it (also ‘user’). This layout displays 3 columns side by side: a search box on the left that shows results…

---

## [Automatic diagram generation with HTML output](https://www.ruby-forum.com/t/automatic-diagram-generation-with-html-output/92257)

<div class="topic-metadata">

**Author:** [@isbof](https://www.ruby-forum.com/u/isbof)\
**Replies:** 3\
**Last updated:** [April 20, 2007, 1:45am UTC](https://www.ruby-forum.com/t/automatic-diagram-generation-with-html-output/92257 "2007-04-20T01:45:19Z")

</div>

Does any one know of a good, open source, diagram package/library that generates html pages? I need to show a complex relationship between web pages, a normal tree structure would not be enough. IsBOF

---

## [.columns refresh](https://www.ruby-forum.com/t/columns-refresh/92499)

<div class="topic-metadata">

**Author:** [@ryan](https://www.ruby-forum.com/u/ryan)\
**Replies:** 0\
**Last updated:** [April 20, 2007, 1:42am UTC](https://www.ruby-forum.com/t/columns-refresh/92499 "2007-04-20T01:42:56Z")

</div>

I’m trying to iterate through all tables and fields in a mySQL database. \<% for i in Model.connection.tables %\> Table Name: \<%= i %\> \<% Model.set\_table\_name i %\> \<% for j in Model.columns %\> Field Name: \<%= j.n…

---

## [From zero to dogfood widgets in one day with Ruby on rails](https://www.ruby-forum.com/t/from-zero-to-dogfood-widgets-in-one-day-with-ruby-on-rails/92494)

<div class="topic-metadata">

**Author:** [@salma](https://www.ruby-forum.com/u/salma)\
**Replies:** 0\
**Last updated:** [April 20, 2007, 12:54am UTC](https://www.ruby-forum.com/t/from-zero-to-dogfood-widgets-in-one-day-with-ruby-on-rails/92494 "2007-04-20T00:54:16Z")

</div>

From zero to dogfood widgets in one day with Ruby on rails HugeDomains.com

---

## [Undefine a route?](https://www.ruby-forum.com/t/undefine-a-route/92488)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 0\
**Last updated:** [April 20, 2007, 12:40am UTC](https://www.ruby-forum.com/t/undefine-a-route/92488 "2007-04-20T00:40:53Z")

</div>

I am building routes dynamically. Is it possible to do something like: map.some\_name “/whatever” map.unconnect :some\_name I basically want to make it like that route was never created. Thanks!

---

## [Undefined method 'authenticate' for User:Class](https://www.ruby-forum.com/t/undefined-method-authenticate-for-user-class/92469)

<div class="topic-metadata">

**Author:** [@juantar](https://www.ruby-forum.com/u/juantar)\
**Replies:** 5\
**Last updated:** [April 20, 2007, 12:24am UTC](https://www.ruby-forum.com/t/undefined-method-authenticate-for-user-class/92469 "2007-04-20T00:24:15Z")

</div>

I am getting “undefined method ‘authenticate’ for User:Class” even tho I do have it defined in my User class. I put some puts to see how far the code in user.rb was being executed when declaring the class and it seems …

---

## [Check\_box\_tag not passing 0 when unchecked?](https://www.ruby-forum.com/t/check-box-tag-not-passing-0-when-unchecked/90612)

<div class="topic-metadata">

**Author:** [@taylorstrait](https://www.ruby-forum.com/u/taylorstrait)\
**Replies:** 10\
**Last updated:** [April 19, 2007, 11:23pm UTC](https://www.ruby-forum.com/t/check-box-tag-not-passing-0-when-unchecked/90612 "2007-04-19T23:23:54Z")

</div>

Code: \<%= check\_box\_tag(“person\[#{person.id}\]\[is\_approved\]”, 1, true) %\> Rendered output: Problem: The value of “1” is always passed, even if the box is UNCHECKED. Suggestions? Thanks!

---

## [Creating and saving multiple instances to subclass of Active](https://www.ruby-forum.com/t/creating-and-saving-multiple-instances-to-subclass-of-active/92393)

<div class="topic-metadata">

**Author:** [@gberz3](https://www.ruby-forum.com/u/gberz3)\
**Replies:** 5\
**Last updated:** [April 19, 2007, 11:10pm UTC](https://www.ruby-forum.com/t/creating-and-saving-multiple-instances-to-subclass-of-active/92393 "2007-04-19T23:10:06Z")

</div>

Perhaps I’m missing something, but. . .Is it not possible to create and save multiple instances of an ActiveRecord subclass in a single control loop? For instance: require ‘net/pop’ require ‘md5’ def check\_mail #D…

---

## [Destroying very large object](https://www.ruby-forum.com/t/destroying-very-large-object/92476)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 2\
**Last updated:** [April 19, 2007, 11:07pm UTC](https://www.ruby-forum.com/t/destroying-very-large-object/92476 "2007-04-19T23:07:06Z")

</div>

The situation is: Workout has\_many WorkoutFiles, :dependant =\> :destroy WorkoutFile has\_many WorkoutData, :dependant =\> :destroy There’s a lot of workout data – several thousand records per file Workout#destroy takes…

---

## [ActiveResource and Links](https://www.ruby-forum.com/t/activeresource-and-links/92485)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [April 19, 2007, 11:06pm UTC](https://www.ruby-forum.com/t/activeresource-and-links/92485 "2007-04-19T23:06:05Z")

</div>

Is there a way to get ActiveResource to intelligently handle resource documents that contain links to other resources? For example lets say we have a tree hierarchy, where a child resource belongs to a parent resourc…

---

## [Tips to speed up Rails app (thesis)?](https://www.ruby-forum.com/t/tips-to-speed-up-rails-app-thesis/92478)

<div class="topic-metadata">

**Author:** [@Joram](https://www.ruby-forum.com/u/Joram)\
**Replies:** 4\
**Last updated:** [April 19, 2007, 10:34pm UTC](https://www.ruby-forum.com/t/tips-to-speed-up-rails-app-thesis/92478 "2007-04-19T22:34:59Z")

</div>

Hi List, For my thesis I’m currently investing how a Rails can be sped up. I’ve already done : caching transactions slow Ruby helpers manual written include when doing a find I’ve also tried to use Mongrel, but comp…

---

## [Rails developer needed](https://www.ruby-forum.com/t/rails-developer-needed/92479)

<div class="topic-metadata">

**Author:** [@Wills](https://www.ruby-forum.com/u/Wills)\
**Replies:** 0\
**Last updated:** [April 19, 2007, 9:34pm UTC](https://www.ruby-forum.com/t/rails-developer-needed/92479 "2007-04-19T21:34:48Z")

</div>

One of Europe’s largest video game developers, Rebellion.co.uk, has an exciting opportunity for a Ruby on Rails programmer. As the lead developer on clickwheel.net, a site dedicated to distributing comics to handheld …

---

## [Invalid geometry string in change\_geometry](https://www.ruby-forum.com/t/invalid-geometry-string-in-change-geometry/92468)

<div class="topic-metadata">

**Author:** [@joanie\_abalone](https://www.ruby-forum.com/u/joanie_abalone)\
**Replies:** 2\
**Last updated:** [April 19, 2007, 9:28pm UTC](https://www.ruby-forum.com/t/invalid-geometry-string-in-change-geometry/92468 "2007-04-19T21:28:47Z")

</div>

I get the following error at the browser: ArgumentError in ImagesController#upload invalid geometry string \`110×’ … for the call to change\_geometry with an explicit size (‘110x’) as the geometry string: def make\_thu…

---

## [Download Weather Toolbar](https://www.ruby-forum.com/t/download-weather-toolbar/92474)

<div class="topic-metadata">

**Author:** [@dev456](https://www.ruby-forum.com/u/dev456)\
**Replies:** 0\
**Last updated:** [April 19, 2007, 9:12pm UTC](https://www.ruby-forum.com/t/download-weather-toolbar/92474 "2007-04-19T21:12:43Z")

</div>

Download Weather Toolbar - Instant weather reports, forecasts, and radar images anytime for FREE! - offr.biz

---

## [Access and MDB file from Linux](https://www.ruby-forum.com/t/access-and-mdb-file-from-linux/69481)

<div class="topic-metadata">

**Author:** [@badger](https://www.ruby-forum.com/u/badger)\
**Replies:** 4\
**Last updated:** [April 19, 2007, 9:11pm UTC](https://www.ruby-forum.com/t/access-and-mdb-file-from-linux/69481 "2007-04-19T21:11:13Z")

</div>

I need to get read only access to a MDB database accessed from a Linux box using samba, anyone had any luck with this and know how to set it up? Please resist from posting your reasons why and MDB should not be used, …

---

## [Activemdb](https://www.ruby-forum.com/t/activemdb/89270)

<div class="topic-metadata">

**Author:** [@spashokkumar](https://www.ruby-forum.com/u/spashokkumar)\
**Replies:** 1\
**Last updated:** [April 19, 2007, 9:04pm UTC](https://www.ruby-forum.com/t/activemdb/89270 "2007-04-19T21:04:43Z")

</div>

Hi, please have a look at the following url. From the rubyforge project page: activemdb (http://rubyforge.org/projects/activemdb). anyone have idea about this, how to use it in rails? Ashok

---

## [Find question](https://www.ruby-forum.com/t/find-question/92467)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 0\
**Last updated:** [April 19, 2007, 8:31pm UTC](https://www.ruby-forum.com/t/find-question/92467 "2007-04-19T20:31:49Z")

</div>

Hello All, Quick find question for you, I have a comments, users and a friends table. The user model has\_many :friends, :through =\> :friendships How can I include the friends comments in a find? (I know the below doe…

---

## [Iterating through all members of a variable?](https://www.ruby-forum.com/t/iterating-through-all-members-of-a-variable/92463)

<div class="topic-metadata">

**Author:** [@ehudros](https://www.ruby-forum.com/u/ehudros)\
**Replies:** 1\
**Last updated:** [April 19, 2007, 8:30pm UTC](https://www.ruby-forum.com/t/iterating-through-all-members-of-a-variable/92463 "2007-04-19T20:30:41Z")

</div>

Hi everyone, I’m looking for a way to run a white\_list helper on all fields returned from a form. I want to do it in the controller (and not in the view), and do not want to specify the field names but to it dynamical…

---

## [Noob help - creating a tests for a plugin](https://www.ruby-forum.com/t/noob-help-creating-a-tests-for-a-plugin/92466)

<div class="topic-metadata">

**Author:** [@john\_old](https://www.ruby-forum.com/u/john_old)\
**Replies:** 0\
**Last updated:** [April 19, 2007, 8:22pm UTC](https://www.ruby-forum.com/t/noob-help-creating-a-tests-for-a-plugin/92466 "2007-04-19T20:22:32Z")

</div>

Hi, I have just created my first ever plugin and would like to write some test’s for it, any suggestions on where to start would be great. I have this code in my site\_test.rb file require ‘test/unit’ require File.di…

---

## [Nested tags with contents in RXML](https://www.ruby-forum.com/t/nested-tags-with-contents-in-rxml/92428)

<div class="topic-metadata">

**Author:** [@Jean-Christophe\_M](https://www.ruby-forum.com/u/Jean-Christophe_M)\
**Replies:** 1\
**Last updated:** [April 19, 2007, 8:16pm UTC](https://www.ruby-forum.com/t/nested-tags-with-contents-in-rxml/92428 "2007-04-19T20:16:41Z")

</div>

Hi, I’m trying to get foo bar with RXML. xml.a(‘foo’) { xml.b(‘bar’) } complains about contents and blocks not being usable together. I think my XML is valid though. Is there a way to do this, or to trick …

---

## [Segfault city](https://www.ruby-forum.com/t/segfault-city/92465)

<div class="topic-metadata">

**Author:** [@blakeage](https://www.ruby-forum.com/u/blakeage)\
**Replies:** 0\
**Last updated:** [April 19, 2007, 8:16pm UTC](https://www.ruby-forum.com/t/segfault-city/92465 "2007-04-19T20:16:22Z")

</div>

I get the following after refreshing a page several times (like maybe 40). The page is simple - no db access, just a controller method + rhtml that does nothing other than print a textfield. This is on OS X (Webrick…

---

## [Subversion on windows and capistrano](https://www.ruby-forum.com/t/subversion-on-windows-and-capistrano/92464)

<div class="topic-metadata">

**Author:** [@blinking\_bear](https://www.ruby-forum.com/u/blinking_bear)\
**Replies:** 1\
**Last updated:** [April 19, 2007, 8:05pm UTC](https://www.ruby-forum.com/t/subversion-on-windows-and-capistrano/92464 "2007-04-19T20:05:37Z")

</div>

Our setup currently has subversion on windows but we’re developing on, and deploying to, \*nix machines. Is there any snafus with capistrano accessing a windows box to get files? thanks

---

## [Account\_location plugin](https://www.ruby-forum.com/t/account-location-plugin/92460)

<div class="topic-metadata">

**Author:** [@joep](https://www.ruby-forum.com/u/joep)\
**Replies:** 1\
**Last updated:** [April 19, 2007, 6:53pm UTC](https://www.ruby-forum.com/t/account-location-plugin/92460 "2007-04-19T18:53:02Z")

</div>

Anyone have experience using this? I’ve been trying to find some examples, but haven’t found much.

---

## [RoR developer needed](https://www.ruby-forum.com/t/ror-developer-needed/92459)

<div class="topic-metadata">

**Author:** [@Wills](https://www.ruby-forum.com/u/Wills)\
**Replies:** 0\
**Last updated:** [April 19, 2007, 6:19pm UTC](https://www.ruby-forum.com/t/ror-developer-needed/92459 "2007-04-19T18:19:20Z")

</div>

We’re looking for an RoR developer for a UK video games company. Where’s the best place/message board to advertise?

---

## [Has\_many self references](https://www.ruby-forum.com/t/has-many-self-references/92456)

<div class="topic-metadata">

**Author:** [@fozbaca](https://www.ruby-forum.com/u/fozbaca)\
**Replies:** 0\
**Last updated:** [April 19, 2007, 5:59pm UTC](https://www.ruby-forum.com/t/has-many-self-references/92456 "2007-04-19T17:59:56Z")

</div>

I am trying to model families in a database for tax and other purposes, and am probably trying to hard. I setup a people table and a base class person with name, address, date of birth,etc. Then I create classes of …

---

## [Ajax.Request not working in Prototype 1.5.0 and Rails 1.2.3?](https://www.ruby-forum.com/t/ajax-request-not-working-in-prototype-1-5-0-and-rails-1-2-3/92351)

<div class="topic-metadata">

**Author:** [@franee](https://www.ruby-forum.com/u/franee)\
**Replies:** 3\
**Last updated:** [April 19, 2007, 5:48pm UTC](https://www.ruby-forum.com/t/ajax-request-not-working-in-prototype-1-5-0-and-rails-1-2-3/92351 "2007-04-19T17:48:38Z")

</div>

Hi guys, I just upgraded to Prototype 1.5.0 from 1.5.0\_rc0. Problem was all Ajax calls were not functioning( link\_to\_remote, etc) after the upgrade. Anybody has an idea about this one?

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

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