# Rails

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

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

---

## [Pls help me install this plugin (acts\_as\_activity\_logged)](https://www.ruby-forum.com/t/pls-help-me-install-this-plugin-acts-as-activity-logged/148358)

<div class="topic-metadata">

**Author:** [@rubynuby](https://www.ruby-forum.com/u/rubynuby)\
**Replies:** 0\
**Last updated:** [September 12, 2008, 2:17am UTC](https://www.ruby-forum.com/t/pls-help-me-install-this-plugin-acts-as-activity-logged/148358 "2008-09-12T02:17:42Z")

</div>

the plugin is here http://aaal.svn.fearoffish.com/browser I followed the install instruction in the README but nothing happened. The readme must be outdated. However, I can’t figure out how to grab it from the new …

---

## [Rails Architecture,big app or multiple small app](https://www.ruby-forum.com/t/rails-architecture-big-app-or-multiple-small-app/148316)

<div class="topic-metadata">

**Author:** [@di3go](https://www.ruby-forum.com/u/di3go)\
**Replies:** 3\
**Last updated:** [September 12, 2008, 2:12am UTC](https://www.ruby-forum.com/t/rails-architecture-big-app-or-multiple-small-app/148316 "2008-09-12T02:12:26Z")

</div>

Hi guys :slight\_smile: I have a question, i have a big program to code, its a issue tracking + time tracking + alot of others tracking that my client needs, the question: make a big rails application split the appli…

---

## [Ruby on Rails Developer - AVAILABLE](https://www.ruby-forum.com/t/ruby-on-rails-developer-available/148351)

<div class="topic-metadata">

**Author:** [@billchalam](https://www.ruby-forum.com/u/billchalam)\
**Replies:** 0\
**Last updated:** [September 11, 2008, 11:52pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-developer-available/148351 "2008-09-11T23:52:23Z")

</div>

Hi Partners, Resume of Ruby on Rails developer - B.R. Summary: „X Around 5 years of software development experience involving Object Oriented Programming, Web-based technologies. „X Full life cycle software develo…

---

## [Persistent\_disabled = true but still querying the DB](https://www.ruby-forum.com/t/persistent-disabled-true-but-still-querying-the-db/148343)

<div class="topic-metadata">

**Author:** [@apm](https://www.ruby-forum.com/u/apm)\
**Replies:** 1\
**Last updated:** [September 11, 2008, 10:00pm UTC](https://www.ruby-forum.com/t/persistent-disabled-true-but-still-querying-the-db/148343 "2008-09-11T22:00:22Z")

</div>

Hi, i have set this in my config file: :persistent\_disabled: true But backgrounDrb still queries the DB every few seconds. I have also tried setting the following: :persistent\_delay: 60 :persistent\_disabled: false …

---

## [Database Interaction Encoding Problem](https://www.ruby-forum.com/t/database-interaction-encoding-problem/148314)

<div class="topic-metadata">

**Author:** [@aawilson](https://www.ruby-forum.com/u/aawilson)\
**Replies:** 2\
**Last updated:** [September 11, 2008, 9:17pm UTC](https://www.ruby-forum.com/t/database-interaction-encoding-problem/148314 "2008-09-11T21:17:21Z")

</div>

This is cross-posted to railsforum.com, so if you frequent both you may see it in both places. So, my co-worker and I are working on this project, a Rails app using an MS SQL database with lots of legacy stuff built i…

---

## [Beginner Question: Formatted Text Data -\> Hash -\> Database](https://www.ruby-forum.com/t/beginner-question-formatted-text-data-hash-database/148333)

<div class="topic-metadata">

**Author:** [@Jisho](https://www.ruby-forum.com/u/Jisho)\
**Replies:** 1\
**Last updated:** [September 11, 2008, 8:59pm UTC](https://www.ruby-forum.com/t/beginner-question-formatted-text-data-hash-database/148333 "2008-09-11T20:59:55Z")

</div>

I have a text document that has formatted data in it, and I am attempted to determine the best way to parse the data to break it up into hashes that I can then write to my databases. I suppose my issue is determining …

---

## [Mongrel Cluster](https://www.ruby-forum.com/t/mongrel-cluster/148296)

<div class="topic-metadata">

**Author:** [@parki](https://www.ruby-forum.com/u/parki)\
**Replies:** 2\
**Last updated:** [September 11, 2008, 8:37pm UTC](https://www.ruby-forum.com/t/mongrel-cluster/148296 "2008-09-11T20:37:40Z")

</div>

What is the best way to verify all the instances in my Mongrel Cluster are being hit…I don’t see anywhere in the log that shows this. Thanks.

---

## [Using gmail smpt in production](https://www.ruby-forum.com/t/using-gmail-smpt-in-production/148335)

<div class="topic-metadata">

**Author:** [@blinking\_bear](https://www.ruby-forum.com/u/blinking_bear)\
**Replies:** 0\
**Last updated:** [September 11, 2008, 8:26pm UTC](https://www.ruby-forum.com/t/using-gmail-smpt-in-production/148335 "2008-09-11T20:26:48Z")

</div>

I have an app that will be handling a lot of incoming e-mail. For dev purposes we’ve just been using gmail. This seems like a bad idea in production. Anyone using gmail in production that handles a fair amount of …

---

## [Relationship in a Volunteers Project](https://www.ruby-forum.com/t/relationship-in-a-volunteers-project/147953)

<div class="topic-metadata">

**Author:** [@dazuma](https://www.ruby-forum.com/u/dazuma)\
**Replies:** 2\
**Last updated:** [September 11, 2008, 7:16pm UTC](https://www.ruby-forum.com/t/relationship-in-a-volunteers-project/147953 "2008-09-11T19:16:25Z")

</div>

Hi! I’m new in Rails and I’ve started my own project this week. I’m working with Rails 2.0 and REST. I want to define some relationships but I’m stuck with REST routes and some other things. My project aims to manage …

---

## [Session data is not saved in the session file although file created (using :p\_store)](https://www.ruby-forum.com/t/session-data-is-not-saved-in-the-session-file-although-file-created-using-p-store/148325)

<div class="topic-metadata">

**Author:** [@gabriel](https://www.ruby-forum.com/u/gabriel)\
**Replies:** 0\
**Last updated:** [September 11, 2008, 7:03pm UTC](https://www.ruby-forum.com/t/session-data-is-not-saved-in-the-session-file-although-file-created-using-p-store/148325 "2008-09-11T19:03:30Z")

</div>

Hi all, I am new to Rails. I want to test some things with sessions. But I simply cannot make them work. I am using this in the environment.rb file: config.action\_controller.session\_store = :p\_store config.action\_co…

---

## [Session/marshalling](https://www.ruby-forum.com/t/session-marshalling/148322)

<div class="topic-metadata">

**Author:** [@wurdalag](https://www.ruby-forum.com/u/wurdalag)\
**Replies:** 0\
**Last updated:** [September 11, 2008, 6:54pm UTC](https://www.ruby-forum.com/t/session-marshalling/148322 "2008-09-11T18:54:56Z")

</div>

I have the following problem with marshalling/saving a model to session. I have 4 models: User, Profile, Customer, Membership. Membership belongs to the other three models, and User, Profile and Customer all have a ha…

---

## [Corrupted Pound (Â£) character with ActionMailer](https://www.ruby-forum.com/t/corrupted-pound-a-character-with-actionmailer/148317)

<div class="topic-metadata">

**Author:** [@vanight](https://www.ruby-forum.com/u/vanight)\
**Replies:** 0\
**Last updated:** [September 11, 2008, 6:21pm UTC](https://www.ruby-forum.com/t/corrupted-pound-a-character-with-actionmailer/148317 "2008-09-11T18:21:30Z")

</div>

When sending a plain text email with ActionMailer, the Â£ symbol is corrupted to “Ã‚Â£”. This doesn’t happen in development, only production The charset in the email header is utf-8, I’ve also tried sending as ISO-88…

---

## [(no subject)](https://www.ruby-forum.com/t/no-subject/148315)

<div class="topic-metadata">

**Author:** [@gilbertsavier](https://www.ruby-forum.com/u/gilbertsavier)\
**Replies:** 1\
**Last updated:** [September 11, 2008, 6:02pm UTC](https://www.ruby-forum.com/t/no-subject/148315 "2008-09-11T18:02:20Z")

</div>

I do not seem to understad what this error is about. Some body help. wrong number of arguments (1 for 2) RAILS\_ROOT: C:/INSTAN~1/rails\_apps/project/config/… Application Trace | Framework Trace | Full Trace #{RAILS\_RO…

---

## [Using the collect method to collect to a 2 dimensional array](https://www.ruby-forum.com/t/using-the-collect-method-to-collect-to-a-2-dimensional-array/148188)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 5\
**Last updated:** [September 11, 2008, 5:17pm UTC](https://www.ruby-forum.com/t/using-the-collect-method-to-collect-to-a-2-dimensional-array/148188 "2008-09-11T17:17:35Z")

</div>

Hi I am trying to collect name and email of a person to an array (Or hash?) like \[\[name1,emailid\],\[name2,emailid\]…\] But I dont know how to do that. I tried like email\_array = Contact.get\_email\_id\_and\_name\_of\_contac…

---

## [Session data not saved in the session file although file created (using :p\_store)](https://www.ruby-forum.com/t/session-data-not-saved-in-the-session-file-although-file-created-using-p-store/148309)

<div class="topic-metadata">

**Author:** [@gabriel](https://www.ruby-forum.com/u/gabriel)\
**Replies:** 0\
**Last updated:** [September 11, 2008, 5:10pm UTC](https://www.ruby-forum.com/t/session-data-not-saved-in-the-session-file-although-file-created-using-p-store/148309 "2008-09-11T17:10:30Z")

</div>

Hi all, I am new to Rails. I want to test some things with sessions. But I simply cannot make them work. I am using this in the environment.rb file: config.action\_controller.session\_store = :p\_store config.action\_co…

---

## [Rating method or plugin](https://www.ruby-forum.com/t/rating-method-or-plugin/148308)

<div class="topic-metadata">

**Author:** [@tyliong](https://www.ruby-forum.com/u/tyliong)\
**Replies:** 1\
**Last updated:** [September 11, 2008, 5:09pm UTC](https://www.ruby-forum.com/t/rating-method-or-plugin/148308 "2008-09-11T17:09:55Z")

</div>

Hi, I would like to know what is the main rating method/plugin that u use. i have been googling but a lot of the sites are outdated. Is the acts\_as\_rateable plugin compatible with rails 2.1?

---

## [Roo gem installation fail](https://www.ruby-forum.com/t/roo-gem-installation-fail/148001)

<div class="topic-metadata">

**Author:** [@shaily903](https://www.ruby-forum.com/u/shaily903)\
**Replies:** 1\
**Last updated:** [September 11, 2008, 4:33pm UTC](https://www.ruby-forum.com/t/roo-gem-installation-fail/148001 "2008-09-11T16:33:26Z")

</div>

hi I am tried to install roo gem 1.2.0 but it gives me following error. It seems it require stdio.h which is not present. Can you please help me how to install roo gem checking for stdio.h… no \*\*\* extconf.rb failed …

---

## [(Gem::RemoteFetcher::FetchError) can't get connected to the net!](https://www.ruby-forum.com/t/gem-fetcherror-cant-get-connected-to-the-net/148277)

<div class="topic-metadata">

**Author:** [@Nathan\_Haskins](https://www.ruby-forum.com/u/Nathan_Haskins)\
**Replies:** 1\
**Last updated:** [September 11, 2008, 4:27pm UTC](https://www.ruby-forum.com/t/gem-fetcherror-cant-get-connected-to-the-net/148277 "2008-09-11T16:27:27Z")

</div>

Hello everyone, I recently picked up the Agile web dev with Rail book and followed the installation instructions for Windows using InstantRails… well it works up until the point i try to… ‘gem update rails --include-d…

---

## [Enconding decoding? what to do](https://www.ruby-forum.com/t/enconding-decoding-what-to-do/148299)

<div class="topic-metadata">

**Author:** [@drlelon](https://www.ruby-forum.com/u/drlelon)\
**Replies:** 1\
**Last updated:** [September 11, 2008, 4:24pm UTC](https://www.ruby-forum.com/t/enconding-decoding-what-to-do/148299 "2008-09-11T16:24:42Z")

</div>

I have this output: Using \<%= string%\> or \<%=h string%\> Velkommen+til+Personalebasen%2E%0D%0A%0D%0ADu+har+f%E5et+tildelt+et +brugerID%3A+4531711982… And this output: Using \<%=u string%\> Velkommen%2Btil%2BPersonaleb…

---

## [ActiveRecord - schema and relations between](https://www.ruby-forum.com/t/activerecord-schema-and-relations-between/148116)

<div class="topic-metadata">

**Author:** [@Zirael](https://www.ruby-forum.com/u/Zirael)\
**Replies:** 4\
**Last updated:** [September 11, 2008, 4:00pm UTC](https://www.ruby-forum.com/t/activerecord-schema-and-relations-between/148116 "2008-09-11T16:00:35Z")

</div>

Hi, I have quite complex db schema created by ActiveRecord and every constraints/relations are defined only in ActiveRecord objects. I am going to create db schema diagram like ERD etc. Do you have any idea how to do…

---

## [Common models code - where to put it?](https://www.ruby-forum.com/t/common-models-code-where-to-put-it/148267)

<div class="topic-metadata">

**Author:** [@pepe](https://www.ruby-forum.com/u/pepe)\
**Replies:** 9\
**Last updated:** [September 11, 2008, 3:55pm UTC](https://www.ruby-forum.com/t/common-models-code-where-to-put-it/148267 "2008-09-11T15:55:52Z")

</div>

Hello. I have some code that I want to share between my models (i.e.: text formatting routines). Where would be the correct place to put it? Thanks in advance. Pepe

---

## [Respond\_to and format](https://www.ruby-forum.com/t/respond-to-and-format/148293)

<div class="topic-metadata">

**Author:** [@konstantin](https://www.ruby-forum.com/u/konstantin)\
**Replies:** 2\
**Last updated:** [September 11, 2008, 3:51pm UTC](https://www.ruby-forum.com/t/respond-to-and-format/148293 "2008-09-11T15:51:45Z")

</div>

Hello! I use a “format” parameter in my application for internal calculations. But Rails catches it and uses for view name. I mean, if I go to url: Rails tries to show me index.xml.erb view, but I don’t want this! I…

---

## [Inheritance fail](https://www.ruby-forum.com/t/inheritance-fail/148302)

<div class="topic-metadata">

**Author:** [@flamingflamingo](https://www.ruby-forum.com/u/flamingflamingo)\
**Replies:** 0\
**Last updated:** [September 11, 2008, 3:22pm UTC](https://www.ruby-forum.com/t/inheritance-fail/148302 "2008-09-11T15:22:51Z")

</div>

Hi guys, I’m building a class that handles functions for both IE and FF. The trubble is that when I pass a class (e.g. for IE), I can’t use normal functionality. A wee example below. the browser.goto(“http://www.nu.n…

---

## [Namespaced layouts?](https://www.ruby-forum.com/t/namespaced-layouts/148224)

<div class="topic-metadata">

**Author:** [@Danimal](https://www.ruby-forum.com/u/Danimal)\
**Replies:** 3\
**Last updated:** [September 11, 2008, 3:17pm UTC](https://www.ruby-forum.com/t/namespaced-layouts/148224 "2008-09-11T15:17:35Z")

</div>

Hello! Is it just me or are layouts not namespaced automatically? For example, using the typical namespaced admin section, I have: apps/controllers/admin/users\_controller.rb # for example apps/views/admin/users/inde…

---

## [Specify length / decimal places in a migration?](https://www.ruby-forum.com/t/specify-length-decimal-places-in-a-migration/148261)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 2\
**Last updated:** [September 11, 2008, 3:10pm UTC](https://www.ruby-forum.com/t/specify-length-decimal-places-in-a-migration/148261 "2008-09-11T15:10:32Z")

</div>

Is it possible to specify the length and number of decimal places for a float in a migration? I using MySQL and can do it through the GUI client, but can’t Google up anything on doing it in a migration. Thanks, Bill …

---

## [Rails 1.2.6 errors on Oracle 8i DB](https://www.ruby-forum.com/t/rails-1-2-6-errors-on-oracle-8i-db/144734)

<div class="topic-metadata">

**Author:** [@miclab](https://www.ruby-forum.com/u/miclab)\
**Replies:** 2\
**Last updated:** [September 11, 2008, 2:39pm UTC](https://www.ruby-forum.com/t/rails-1-2-6-errors-on-oracle-8i-db/144734 "2008-09-11T14:39:13Z")

</div>

Hi all, I’m getting some OCI8 driver errorsd when migrating my Rails app from PostgreSQL and MySQL to Oracle 8i DB. My application’s environment: Rails 1.2.6 Oracle 8i Windows XP PRO The errors occurs in two areas…

---

## [Routing problem in Rails 2.x](https://www.ruby-forum.com/t/routing-problem-in-rails-2-x/148115)

<div class="topic-metadata">

**Author:** [@countbrass](https://www.ruby-forum.com/u/countbrass)\
**Replies:** 6\
**Last updated:** [September 11, 2008, 1:41pm UTC](https://www.ruby-forum.com/t/routing-problem-in-rails-2-x/148115 "2008-09-11T13:41:16Z")

</div>

Hi I get this error: Showing workouts/show.html.erb where line #14 raised: undefined method \`activities\_path’ for #ActionView::Base:0x720828 Extracted source (around line #14): 11: 12: Add an exercise to this Wo…

---

## [Custom field name for error messages?](https://www.ruby-forum.com/t/custom-field-name-for-error-messages/148185)

<div class="topic-metadata">

**Author:** [@tim](https://www.ruby-forum.com/u/tim)\
**Replies:** 1\
**Last updated:** [September 11, 2008, 1:26pm UTC](https://www.ruby-forum.com/t/custom-field-name-for-error-messages/148185 "2008-09-11T13:26:35Z")

</div>

I know this may be nit-picky, but I’d like to show a more friendly field name when displaying error messages. For example, I’ve got a form field labeled “E-Mail Address” but the error message looks like this: Email …

---

## [Update\_attributes not updating](https://www.ruby-forum.com/t/update-attributes-not-updating/130817)

<div class="topic-metadata">

**Author:** [@jimmypalmer](https://www.ruby-forum.com/u/jimmypalmer)\
**Replies:** 16\
**Last updated:** [September 11, 2008, 1:07pm UTC](https://www.ruby-forum.com/t/update-attributes-not-updating/130817 "2008-09-11T13:07:53Z")

</div>

For some strange reason I can’t get update\_attributes to work. Any reason why that might be? here is my code: controller: def update @user = User.find(params\[:id\]) respond\_to do |format| if @user.update\_attribut…

---

## [Can't I call a private method from a self.method](https://www.ruby-forum.com/t/cant-i-call-a-private-method-from-a-self-method/148287)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 5\
**Last updated:** [September 11, 2008, 1:02pm UTC](https://www.ruby-forum.com/t/cant-i-call-a-private-method-from-a-self-method/148287 "2008-09-11T13:02:58Z")

</div>

Hi I have in MailSending class def self.send\_mail\_to\_all\_contacts(problem) description=split\_name\_and\_email\_array(joined\_array,problem) end private def split\_name\_and\_email\_array(name\_email\_array,pb) code… split\_…

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

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