# Rails

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

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

---

## [Grabbing form data using link\_to](https://www.ruby-forum.com/t/grabbing-form-data-using-link-to/91848)

<div class="topic-metadata">

**Author:** [@aditya](https://www.ruby-forum.com/u/aditya)\
**Replies:** 1\
**Last updated:** [April 13, 2007, 10:00am UTC](https://www.ruby-forum.com/t/grabbing-form-data-using-link-to/91848 "2007-04-13T10:00:24Z")

</div>

Is there a way I can grab the form data using javascript (onclick) combined with link\_to For example: link\_to “link\_name”, {:action =\> “myAction”}, :onclick =\> … Appreciate your help. Aditya

---

## [How to change the content of text\_area\_tag on client side](https://www.ruby-forum.com/t/how-to-change-the-content-of-text-area-tag-on-client-side/91905)

<div class="topic-metadata">

**Author:** [@feng](https://www.ruby-forum.com/u/feng)\
**Replies:** 0\
**Last updated:** [April 13, 2007, 9:31am UTC](https://www.ruby-forum.com/t/how-to-change-the-content-of-text-area-tag-on-client-side/91905 "2007-04-13T09:31:54Z")

</div>

dear all, I have a text\_area\_tag. And I want to provide a link. When user click on it. It will change the content of this text\_area\_tag. And I would like the change is done on client side. It May using such as Java…

---

## [Type cast after attributes=](https://www.ruby-forum.com/t/type-cast-after-attributes/91903)

<div class="topic-metadata">

**Author:** [@dweinand](https://www.ruby-forum.com/u/dweinand)\
**Replies:** 0\
**Last updated:** [April 13, 2007, 8:41am UTC](https://www.ruby-forum.com/t/type-cast-after-attributes/91903 "2007-04-13T08:41:55Z")

</div>

Hello, i have a problem with setting attributes. Read from the DB. This attribut exists, fieldtype in DB is timestamp (PostgreSQL): “uebergabe\_datum”=\>“2007-04-03 10:32:00” setting the attributes in controller with …

---

## [Rails, Resources and Permalinks](https://www.ruby-forum.com/t/rails-resources-and-permalinks/91902)

<div class="topic-metadata">

**Author:** [@ariejan](https://www.ruby-forum.com/u/ariejan)\
**Replies:** 0\
**Last updated:** [April 13, 2007, 8:33am UTC](https://www.ruby-forum.com/t/rails-resources-and-permalinks/91902 "2007-04-13T08:33:55Z")

</div>

There has been quite a bit of discussion about creating permalinks with a rails resource. I’ve written a short article that explains how to go about this without using the (IMHO ugly ID-permalink structure): Feel fr…

---

## ['thesitepeople'?](https://www.ruby-forum.com/t/thesitepeople/91899)

<div class="topic-metadata">

**Author:** [@Rutenis](https://www.ruby-forum.com/u/Rutenis)\
**Replies:** 0\
**Last updated:** [April 13, 2007, 8:28am UTC](https://www.ruby-forum.com/t/thesitepeople/91899 "2007-04-13T08:28:50Z")

</div>

Can I trust this company: ‘thesitepeople.com’ ?

---

## [RSpec](https://www.ruby-forum.com/t/rspec/91898)

<div class="topic-metadata">

**Author:** [@murfhy](https://www.ruby-forum.com/u/murfhy)\
**Replies:** 0\
**Last updated:** [April 13, 2007, 8:21am UTC](https://www.ruby-forum.com/t/rspec/91898 "2007-04-13T08:21:50Z")

</div>

Is anyone using RSpec with an engine? I’m wondering how you got it to pick the appropriate SpecContext for various types of specs

---

## [How can I use aggregation objects in form\_for?](https://www.ruby-forum.com/t/how-can-i-use-aggregation-objects-in-form-for/91896)

<div class="topic-metadata">

**Author:** [@allen](https://www.ruby-forum.com/u/allen)\
**Replies:** 1\
**Last updated:** [April 13, 2007, 8:19am UTC](https://www.ruby-forum.com/t/how-can-i-use-aggregation-objects-in-form-for/91896 "2007-04-13T08:19:12Z")

</div>

Say I have a person object which has a aggregation object call address. The the code to manipulate a form for create a new person should be: new.rhtml \<% form\_for :person, :url =\> {:action =\> ‘create’} do |f| %\> \<%= …

---

## [ActiveRbac Problem](https://www.ruby-forum.com/t/activerbac-problem/91780)

<div class="topic-metadata">

**Author:** [@lumao66](https://www.ruby-forum.com/u/lumao66)\
**Replies:** 4\
**Last updated:** [April 13, 2007, 8:17am UTC](https://www.ruby-forum.com/t/activerbac-problem/91780 "2007-04-13T08:17:53Z")

</div>

Does there anybody installs the ActiveRbac successfully on windows? and could you share your experience with me? Thanks.

---

## [Mongrel\_Cluster will not Initialise on Reboot](https://www.ruby-forum.com/t/mongrel-cluster-will-not-initialise-on-reboot/91791)

<div class="topic-metadata">

**Author:** [@glenatron](https://www.ruby-forum.com/u/glenatron)\
**Replies:** 5\
**Last updated:** [April 13, 2007, 7:59am UTC](https://www.ruby-forum.com/t/mongrel-cluster-will-not-initialise-on-reboot/91791 "2007-04-13T07:59:02Z")

</div>

Hi All, Running Ubuntu Edgy Eft with Apache 2.2.4, mongrel (1.0.1) and mongrel\_cluster (1.0.1.1). Apache works fine, both manual execute and reboot via /etc/init.d unfortunately Mongrel\_Cluster does not. If I execute…

---

## [Application working very slow](https://www.ruby-forum.com/t/application-working-very-slow/91894)

<div class="topic-metadata">

**Author:** [@aveo](https://www.ruby-forum.com/u/aveo)\
**Replies:** 0\
**Last updated:** [April 13, 2007, 7:03am UTC](https://www.ruby-forum.com/t/application-working-very-slow/91894 "2007-04-13T07:03:15Z")

</div>

Hi all, I’ve developed a web application using InstantRuby and Apache HTTP server with SCGI. Problem is, it is working very slowly while accessing pages, also CPU usage goes to 100%. Ruby.exe is utilizing CPU 100%. I …

---

## [Database stops returning results after a period of time](https://www.ruby-forum.com/t/database-stops-returning-results-after-a-period-of-time/91895)

<div class="topic-metadata">

**Author:** [@ntran](https://www.ruby-forum.com/u/ntran)\
**Replies:** 0\
**Last updated:** [April 13, 2007, 6:41am UTC](https://www.ruby-forum.com/t/database-stops-returning-results-after-a-period-of-time/91895 "2007-04-13T06:41:45Z")

</div>

Hello all I’m seeing strange behaviour from an internal application running with the following general setup: app is served by a single mongrel instance running on Windows Server 2003 the same server hosts an SQL Se…

---

## [Legacy Join](https://www.ruby-forum.com/t/legacy-join/91881)

<div class="topic-metadata">

**Author:** [@ryan](https://www.ruby-forum.com/u/ryan)\
**Replies:** 1\
**Last updated:** [April 13, 2007, 6:31am UTC](https://www.ruby-forum.com/t/legacy-join/91881 "2007-04-13T06:31:45Z")

</div>

Hello, I have 2 legacy tables I want to join: DB TABLES Transaction\_Details Accounts I want to join Transaction\_Detail.Account with Accounts.Account. I also want to be able to select Transaction\_Details based on a …

---

## [Model.find(:all) - return a list of ids](https://www.ruby-forum.com/t/model-find-all-return-a-list-of-ids/91858)

<div class="topic-metadata">

**Author:** [@giantcranes](https://www.ruby-forum.com/u/giantcranes)\
**Replies:** 6\
**Last updated:** [April 13, 2007, 6:12am UTC](https://www.ruby-forum.com/t/model-find-all-return-a-list-of-ids/91858 "2007-04-13T06:12:43Z")

</div>

Hi, I currently call find(:all, …) on one of my models and it return a page of models. I am now looking at adding a memcached server and want the find(:all…) to only return model ids, the models will be individually …

---

## [NoMethodError](https://www.ruby-forum.com/t/nomethoderror/91886)

<div class="topic-metadata">

**Author:** [@Zkidd](https://www.ruby-forum.com/u/Zkidd)\
**Replies:** 2\
**Last updated:** [April 13, 2007, 5:50am UTC](https://www.ruby-forum.com/t/nomethoderror/91886 "2007-04-13T05:50:42Z")

</div>

I am receiving this error messagek NoMethodError in Story#index Showing app/views/story/index.rhtml where line #2 raised: You have a nil object when you didn’t expect it! You might have expected an instance of Array. …

---

## [Loading a database schema in the InstantRails MySQL](https://www.ruby-forum.com/t/loading-a-database-schema-in-the-instantrails-mysql/91790)

<div class="topic-metadata">

**Author:** [@pappa-gottis](https://www.ruby-forum.com/u/pappa-gottis)\
**Replies:** 2\
**Last updated:** [April 13, 2007, 5:03am UTC](https://www.ruby-forum.com/t/loading-a-database-schema-in-the-instantrails-mysql/91790 "2007-04-13T05:03:55Z")

</div>

Hi! Im not only a complete newbie to this forum, I am also unsuccessfully trying to get a ruby on rails application started. The application is working until you try to access the database. The problem is that there …

---

## [Subscribe](https://www.ruby-forum.com/t/subscribe/91893)

<div class="topic-metadata">

**Author:** [@yang\_cao](https://www.ruby-forum.com/u/yang_cao)\
**Replies:** 0\
**Last updated:** [April 13, 2007, 4:58am UTC](https://www.ruby-forum.com/t/subscribe/91893 "2007-04-13T04:58:40Z")

</div>

subscribe

---

## [Hello everyone,this is a test mail](https://www.ruby-forum.com/t/hello-everyone-this-is-a-test-mail/91890)

<div class="topic-metadata">

**Author:** [@yang\_cao](https://www.ruby-forum.com/u/yang_cao)\
**Replies:** 0\
**Last updated:** [April 13, 2007, 4:56am UTC](https://www.ruby-forum.com/t/hello-everyone-this-is-a-test-mail/91890 "2007-04-13T04:56:40Z")

</div>

sorry to trouble you

---

## [Mixin behavior](https://www.ruby-forum.com/t/mixin-behavior/91891)

<div class="topic-metadata">

**Author:** [@bjhess](https://www.ruby-forum.com/u/bjhess)\
**Replies:** 0\
**Last updated:** [April 13, 2007, 4:43am UTC](https://www.ruby-forum.com/t/mixin-behavior/91891 "2007-04-13T04:43:40Z")

</div>

Hi, all, I need to DRY up some code in a few models. My first inclination, having come from the Java world, was to go with an abstract class. After a bit of reading, I then decided to follow the mixin route instead.…

---

## [Active Record: dynamic updates possible?](https://www.ruby-forum.com/t/active-record-dynamic-updates-possible/87061)

<div class="topic-metadata">

**Author:** [@oliver-peng](https://www.ruby-forum.com/u/oliver-peng)\
**Replies:** 12\
**Last updated:** [April 13, 2007, 3:58am UTC](https://www.ruby-forum.com/t/active-record-dynamic-updates-possible/87061 "2007-04-13T03:58:37Z")

</div>

Hello, I have seen that Active Record is making a full update (with all columns) if I change the position of an item in a has\_many, acts\_as\_list configuration. e.g.: UPDATE pages SET “name” = ‘asdasdasd’, “content” =…

---

## [Appt. Calendaring](https://www.ruby-forum.com/t/appt-calendaring/91726)

<div class="topic-metadata">

**Author:** [@cwd](https://www.ruby-forum.com/u/cwd)\
**Replies:** 8\
**Last updated:** [April 13, 2007, 3:40am UTC](https://www.ruby-forum.com/t/appt-calendaring/91726 "2007-04-13T03:40:36Z")

</div>

I need to incorporate appointment calendaring into my app, including recurring events (like “every other Thursday” or “annually on July 17th”). Before I get into this, I want to make sure I’m not reinventing the whee…

---

## [Programming Careers](https://www.ruby-forum.com/t/programming-careers/91887)

<div class="topic-metadata">

**Author:** [@jack](https://www.ruby-forum.com/u/jack)\
**Replies:** 0\
**Last updated:** [April 13, 2007, 2:58am UTC](https://www.ruby-forum.com/t/programming-careers/91887 "2007-04-13T02:58:31Z")

</div>

Find Your Programming Job Vacancy and resources here → http://www.jobbankdata.com/job-programming.htm

---

## [Has\_one performance](https://www.ruby-forum.com/t/has-one-performance/91878)

<div class="topic-metadata">

**Author:** [@pix](https://www.ruby-forum.com/u/pix)\
**Replies:** 2\
**Last updated:** [April 13, 2007, 2:30am UTC](https://www.ruby-forum.com/t/has-one-performance/91878 "2007-04-13T02:30:56Z")

</div>

Hi! I’m designing the data model of an application. I have a table “people” who have a lot of attributes. Some of them are: “phone number”, “AOL Nickname”, “Yahoo Nickname”, “MSN Nickname”, “e-mail 1” and “e-mail 2” …

---

## [Help with the acts\_as\_attachment plugin](https://www.ruby-forum.com/t/help-with-the-acts-as-attachment-plugin/91879)

<div class="topic-metadata">

**Author:** [@prayingmantis](https://www.ruby-forum.com/u/prayingmantis)\
**Replies:** 0\
**Last updated:** [April 13, 2007, 1:19am UTC](https://www.ruby-forum.com/t/help-with-the-acts-as-attachment-plugin/91879 "2007-04-13T01:19:26Z")

</div>

I’ve got a the plugin installed and everything works just fine, however there is one little quirk that I can’t seem to get worked out when I save my photos it puts them each in different folders inside of another fold…

---

## [Double has\_many :through](https://www.ruby-forum.com/t/double-has-many-through/91820)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 1\
**Last updated:** [April 13, 2007, 1:06am UTC](https://www.ruby-forum.com/t/double-has-many-through/91820 "2007-04-13T01:06:26Z")

</div>

Is it possible to have a has\_many :through on top of another has\_many :through? So, A has\_many B through =\> C. Can I then use that has\_many relationship to create another has\_many :through? A has\_many D through =\> B?…

---

## [RadRails doesen't show a database!](https://www.ruby-forum.com/t/radrails-doesent-show-a-database/90981)

<div class="topic-metadata">

**Author:** [@xain](https://www.ruby-forum.com/u/xain)\
**Replies:** 1\
**Last updated:** [April 13, 2007, 12:15am UTC](https://www.ruby-forum.com/t/radrails-doesent-show-a-database/90981 "2007-04-13T00:15:20Z")

</div>

I have three rails projects. the first two works fine and I can view database details from Data Navigator of RadRails. But the third one, which is newly imported into RadRails, a typo4.1, has a problem. I can’t see it…

---

## [Multiple sessions created per request](https://www.ruby-forum.com/t/multiple-sessions-created-per-request/91857)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 2\
**Last updated:** [April 12, 2007, 11:58pm UTC](https://www.ruby-forum.com/t/multiple-sessions-created-per-request/91857 "2007-04-12T23:58:19Z")

</div>

Hi all- I recently deployed my Rails app to a Windows server (running Apache + Mongrel) and am finding that multiple sessions are being created per request (we use ActiveRecordStore). This is only a problem in IE6, …

---

## [Periods in :id causing Apache routing error](https://www.ruby-forum.com/t/periods-in-id-causing-apache-routing-error/91850)

<div class="topic-metadata">

**Author:** [@ianzabel](https://www.ruby-forum.com/u/ianzabel)\
**Replies:** 2\
**Last updated:** [April 12, 2007, 11:53pm UTC](https://www.ruby-forum.com/t/periods-in-id-causing-apache-routing-error/91850 "2007-04-12T23:53:18Z")

</div>

Using Rails 1.2 and FastCGI on Apache 1.3. I’m trying to figure out why a request like this isn’t making it into my Rails app: http://www.domain.com/users/show/a.b.c The user id is “a.b.c”, and because of the periods …

---

## [Determining width of viewing window](https://www.ruby-forum.com/t/determining-width-of-viewing-window/91842)

<div class="topic-metadata">

**Author:** [@doug](https://www.ruby-forum.com/u/doug)\
**Replies:** 3\
**Last updated:** [April 12, 2007, 11:40pm UTC](https://www.ruby-forum.com/t/determining-width-of-viewing-window/91842 "2007-04-12T23:40:18Z")

</div>

Does Rails provide a means for determining the width of the viewing area? What I’d like to do is to be able to say something like, ‘style=“width: 100%-140px”’. Thanks. ... doug

---

## [Wikipedia Parser](https://www.ruby-forum.com/t/wikipedia-parser/91845)

<div class="topic-metadata">

**Author:** [@david](https://www.ruby-forum.com/u/david)\
**Replies:** 6\
**Last updated:** [April 12, 2007, 11:21pm UTC](https://www.ruby-forum.com/t/wikipedia-parser/91845 "2007-04-12T23:21:16Z")

</div>

I need to parse and redisplay in html wikipedia articles (formatted with the wikipedia style). Has anyone encountered such a library in ruby ? Any libraries that are good at that? Thanks

---

## [I can't seem to make the jump from 1.1.6 to 1.2.3](https://www.ruby-forum.com/t/i-cant-seem-to-make-the-jump-from-1-1-6-to-1-2-3/91739)

<div class="topic-metadata">

**Author:** [@craigrails](https://www.ruby-forum.com/u/craigrails)\
**Replies:** 2\
**Last updated:** [April 12, 2007, 10:57pm UTC](https://www.ruby-forum.com/t/i-cant-seem-to-make-the-jump-from-1-1-6-to-1-2-3/91739 "2007-04-12T22:57:13Z")

</div>

Not much in the way of errors except for this one which doesn’t make sense to me… Message undefined method \`password’ for # Location http://localhost:3000/ Action login Controller login Query Method GET SSL …

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

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