# Rails

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

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

---

## [Extran \<html\> \</html\> tags when using Actionmailer](https://www.ruby-forum.com/t/extran-html-html-tags-when-using-actionmailer/88210)

<div class="topic-metadata">

**Author:** [@rordirectory](https://www.ruby-forum.com/u/rordirectory)\
**Replies:** 0\
**Last updated:** [March 8, 2007, 11:05pm UTC](https://www.ruby-forum.com/t/extran-html-html-tags-when-using-actionmailer/88210 "2007-03-08T23:05:21Z")

</div>

Hi I am using the action mailer as explained in the pragmatic book. When I send a text email to yahoo the html part comes as an attachment but in the yahoo mail body I see the following : and then the attachment ===…

---

## [Login Engine replacement or upgrade](https://www.ruby-forum.com/t/login-engine-replacement-or-upgrade/102702)

<div class="topic-metadata">

**Author:** [@Tiago\_F](https://www.ruby-forum.com/u/Tiago_F)\
**Replies:** 4\
**Last updated:** [March 8, 2007, 10:52pm UTC](https://www.ruby-forum.com/t/login-engine-replacement-or-upgrade/102702 "2007-03-08T22:52:07Z")

</div>

Hi, I have an app that uses login\_engine and the hosting company upgraded to Rails 1.2. Does anyone knows a good alternative, if possible to reuse the existing data in the database from the login\_engine? Thanks, Ti…

---

## [Ruby on Rails questions about maintenance and dsl's](https://www.ruby-forum.com/t/ruby-on-rails-questions-about-maintenance-and-dsls/88203)

<div class="topic-metadata">

**Author:** [@Arjen\_van\_Schie](https://www.ruby-forum.com/u/Arjen_van_Schie)\
**Replies:** 3\
**Last updated:** [March 8, 2007, 10:39pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-questions-about-maintenance-and-dsls/88203 "2007-03-08T22:39:18Z")

</div>

Hi, I’m trying to find answers to the following questions and maybe some of you can give me a clue or direction. Especially pointers to publications would be a pro! Is rails a true DSL? I think it is, by fowlers d…

---

## [Ruby, Rails and Google Summer of Code 2007](https://www.ruby-forum.com/t/ruby-rails-and-google-summer-of-code-2007/88206)

<div class="topic-metadata">

**Author:** [@mrkohrea](https://www.ruby-forum.com/u/mrkohrea)\
**Replies:** 0\
**Last updated:** [March 8, 2007, 10:18pm UTC](https://www.ruby-forum.com/t/ruby-rails-and-google-summer-of-code-2007/88206 "2007-03-08T22:18:16Z")

</div>

Hi there, Are there any ideas for Ruby or Rails related project ideas for GSoC 2007? I’m trying to find one of those with no luck… MK Skype: michaelklishin Programmer’s best friend: http://www.ruby-lang.org/

---

## [Win32 deployment](https://www.ruby-forum.com/t/win32-deployment/84546)

<div class="topic-metadata">

**Author:** [@Marlon\_M](https://www.ruby-forum.com/u/Marlon_M)\
**Replies:** 22\
**Last updated:** [March 8, 2007, 10:01pm UTC](https://www.ruby-forum.com/t/win32-deployment/84546 "2007-03-08T22:01:07Z")

</div>

Has anyone hacked their way through microsoft version of FastCGI for IIS? I’m trying to get it to work, but it’s giving me fits, keeps reporting error 0x80004005 – “Tradin’ my time for the pay I get, Livin’ on m…

---

## [IE CSS, where to put the .htc file?](https://www.ruby-forum.com/t/ie-css-where-to-put-the-htc-file/88187)

<div class="topic-metadata">

**Author:** [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Replies:** 6\
**Last updated:** [March 8, 2007, 9:37pm UTC](https://www.ruby-forum.com/t/ie-css-where-to-put-the-htc-file/88187 "2007-03-08T21:37:50Z")

</div>

HI, I try to create a very simple menu with CSS in IE (and I always use firefox) but I have to make the web application compatible with IE :frowning: … I realize the :hover is not working on and in IE, I have to …

---

## [Migration detection of database type (Oracle and SQLite)](https://www.ruby-forum.com/t/migration-detection-of-database-type-oracle-and-sqlite/88178)

<div class="topic-metadata">

**Author:** [@dmcclean](https://www.ruby-forum.com/u/dmcclean)\
**Replies:** 2\
**Last updated:** [March 8, 2007, 8:51pm UTC](https://www.ruby-forum.com/t/migration-detection-of-database-type-oracle-and-sqlite/88178 "2007-03-08T20:51:57Z")

</div>

We are writing a migration which will be used to create the initial version of the database. We want to use the same migration to populate both an Oracle and MySQL database. We would like to detect the database type …

---

## [Rendering a view from a model](https://www.ruby-forum.com/t/rendering-a-view-from-a-model/88175)

<div class="topic-metadata">

**Author:** [@dougal](https://www.ruby-forum.com/u/dougal)\
**Replies:** 2\
**Last updated:** [March 8, 2007, 8:50pm UTC](https://www.ruby-forum.com/t/rendering-a-view-from-a-model/88175 "2007-03-08T20:50:56Z")

</div>

Hi peoples. I have the following class method in a Rails model, in which I retrieve some objects from the DB… @bubbles = Bubble.find(:all, :limit =\> 30) # What is the limit? open( “public/xml\_data/main\_data\_feed.xml”…

---

## [How to define relationship for user-to-user friendship](https://www.ruby-forum.com/t/how-to-define-relationship-for-user-to-user-friendship/88132)

<div class="topic-metadata">

**Author:** [@jesse](https://www.ruby-forum.com/u/jesse)\
**Replies:** 2\
**Last updated:** [March 8, 2007, 8:16pm UTC](https://www.ruby-forum.com/t/how-to-define-relationship-for-user-to-user-friendship/88132 "2007-03-08T20:16:24Z")

</div>

Was wondering how I would define this relationship in my User model if: A friendship relationship consists of two users.

---

## [\[ANN\] Ruby Roundup Podcast](https://www.ruby-forum.com/t/ann-ruby-roundup-podcast/88188)

<div class="topic-metadata">

**Author:** [@sporb](https://www.ruby-forum.com/u/sporb)\
**Replies:** 0\
**Last updated:** [March 8, 2007, 8:15pm UTC](https://www.ruby-forum.com/t/ann-ruby-roundup-podcast/88188 "2007-03-08T20:15:53Z")

</div>

I am happy to announce the release of Episode 1 of the Ruby Roundup podcast. You can find it at http://rubyroundup.com This will be a weekly podcast covering the latest news and events in the world of Ruby. Have a li…

---

## [Stop WEBrick?](https://www.ruby-forum.com/t/stop-webrick/88177)

<div class="topic-metadata">

**Author:** [@robert](https://www.ruby-forum.com/u/robert)\
**Replies:** 1\
**Last updated:** [March 8, 2007, 8:03pm UTC](https://www.ruby-forum.com/t/stop-webrick/88177 "2007-03-08T20:03:51Z")

</div>

I’m launching a WEBrick daemon (linux) from a script. Think I can find enough in the documentation and rails code to do what I need. But, once started, I haven’t found any mention of how to stop it. Any clues? Robert …

---

## [How do i change the status message?](https://www.ruby-forum.com/t/how-do-i-change-the-status-message/87958)

<div class="topic-metadata">

**Author:** [@Tyler\_MacDonald](https://www.ruby-forum.com/u/Tyler_MacDonald)\
**Replies:** 2\
**Last updated:** [March 8, 2007, 8:00pm UTC](https://www.ruby-forum.com/t/how-do-i-change-the-status-message/87958 "2007-03-08T20:00:50Z")

</div>

Hi, I know how to change the status code in a response; render :status =\> 403, … But how do i change the message that goes with it? Eg; the default message for 403 is “Forbidden”, but I’d like to change it to somethi…

---

## [Fleximage syntax error](https://www.ruby-forum.com/t/fleximage-syntax-error/88179)

<div class="topic-metadata">

**Author:** [@akm](https://www.ruby-forum.com/u/akm)\
**Replies:** 0\
**Last updated:** [March 8, 2007, 7:12pm UTC](https://www.ruby-forum.com/t/fleximage-syntax-error/88179 "2007-03-08T19:12:45Z")

</div>

Hi, I am getting the following error message when using fleximage: undefined method data' for classStockimagestbl’ {RAILS\_ROOT}/vendor/plugins/flex\_image/lib/flex\_image/model.rb:71:in alias\_method' {RAILS\_ROOT}/vend…

---

## [HELP Save RadRails](https://www.ruby-forum.com/t/help-save-radrails/88067)

<div class="topic-metadata">

**Author:** [@patcito](https://www.ruby-forum.com/u/patcito)\
**Replies:** 6\
**Last updated:** [March 8, 2007, 7:02pm UTC](https://www.ruby-forum.com/t/help-save-radrails/88067 "2007-03-08T19:02:40Z")

</div>

RadRails is the best free IDE out there for RubyOnRails development and it’s easy for companies to integrate it into their development platforms as it it’s based on Eclipse. Please help save the RadRails development. …

---

## [RJS pain](https://www.ruby-forum.com/t/rjs-pain/88153)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [March 8, 2007, 6:12pm UTC](https://www.ruby-forum.com/t/rjs-pain/88153 "2007-03-08T18:12:36Z")

</div>

Hi, I have a text field with the id ‘list’ I am trying to add text to the field when a user clicks on a link with this code \<%= link\_to\_function “#{item.name}”, update\_page { |page| page\[:list\]\[:value\] += “#{item.n…

---

## [2 new Ruby on Rails opportunities in San Jose, CA](https://www.ruby-forum.com/t/2-new-ruby-on-rails-opportunities-in-san-jose-ca/88172)

<div class="topic-metadata">

**Author:** [@ESmay](https://www.ruby-forum.com/u/ESmay)\
**Replies:** 0\
**Last updated:** [March 8, 2007, 6:09pm UTC](https://www.ruby-forum.com/t/2-new-ruby-on-rails-opportunities-in-san-jose-ca/88172 "2007-03-08T18:09:34Z")

</div>

I have 2 new Ruby on Rails opportunities and wanted to let you know about them in case anyone might be interested in speaking with me about the opportunity. Senior Web Application Developer I am looking for someone …

---

## [Rails Day archives needed for research study](https://www.ruby-forum.com/t/rails-day-archives-needed-for-research-study/88167)

<div class="topic-metadata">

**Author:** [@BenjaminHeitmann](https://www.ruby-forum.com/u/BenjaminHeitmann)\
**Replies:** 0\
**Last updated:** [March 8, 2007, 5:08pm UTC](https://www.ruby-forum.com/t/rails-day-archives-needed-for-research-study/88167 "2007-03-08T17:08:26Z")

</div>

Hello there. The two previous Rails Day events were great for increasing Rails awareness. But they also represent a good snapshot of current practices in creating web applications with Ruby on Rails, considering the …

---

## [Need a Linux system Engineer RoR](https://www.ruby-forum.com/t/need-a-linux-system-engineer-ror/88164)

<div class="topic-metadata">

**Author:** [@nikhiljohn](https://www.ruby-forum.com/u/nikhiljohn)\
**Replies:** 0\
**Last updated:** [March 8, 2007, 5:05pm UTC](https://www.ruby-forum.com/t/need-a-linux-system-engineer-ror/88164 "2007-03-08T17:05:23Z")

</div>

Project Details: Location: Rockville, MD. Duration: 1yr Skills: Taking direction from the Senior System Architect / Engineer is responsible for the installation, set-up, configuration, administration, troubleshooti…

---

## [Disabling a form](https://www.ruby-forum.com/t/disabling-a-form/88147)

<div class="topic-metadata">

**Author:** [@Nicholas\_W](https://www.ruby-forum.com/u/Nicholas_W)\
**Replies:** 5\
**Last updated:** [March 8, 2007, 5:00pm UTC](https://www.ruby-forum.com/t/disabling-a-form/88147 "2007-03-08T17:00:25Z")

</div>

This is what I have: \<% remote\_form\_for :message, :url =\> { :action =\> ‘add\_followup’ }, :loading =\> “$(‘followup\_form’).disable();”, :complete =\> “$ (‘followup\_form’).enable;”, :html =\> { :id =\> ‘followup\_form’ } d…

---

## [Class/Subclass and has\_many belongs\_to](https://www.ruby-forum.com/t/class-subclass-and-has-many-belongs-to/87762)

<div class="topic-metadata">

**Author:** [@alberto](https://www.ruby-forum.com/u/alberto)\
**Replies:** 1\
**Last updated:** [March 8, 2007, 4:55pm UTC](https://www.ruby-forum.com/t/class-subclass-and-has-many-belongs-to/87762 "2007-03-08T16:55:24Z")

</div>

Hi: I would appreciate some hint. I can’t modify Class A1 but I can subclass it so I wonder how can I get access to its belongs\_to and has\_many i.e. Class A1 \< ActiveRecord::Base belongs\_to : B1 belongs\_to : C1 has…

---

## [Composite Primary Keys](https://www.ruby-forum.com/t/composite-primary-keys/88134)

<div class="topic-metadata">

**Author:** [@benemson](https://www.ruby-forum.com/u/benemson)\
**Replies:** 2\
**Last updated:** [March 8, 2007, 4:46pm UTC](https://www.ruby-forum.com/t/composite-primary-keys/88134 "2007-03-08T16:46:23Z")

</div>

Have been looking into using rails but am finding the “Composite Primary Keys are Bad” thing a tad disturbing (to put it mildly). I have been working with RDBMS systems for over fifteen years and this is the first ti…

---

## [Jdbc:postgresql://localhost/test?ssl=true](https://www.ruby-forum.com/t/jdbc-localhost-test-ssl-true/87498)

<div class="topic-metadata">

**Author:** [@akm](https://www.ruby-forum.com/u/akm)\
**Replies:** 1\
**Last updated:** [March 8, 2007, 4:43pm UTC](https://www.ruby-forum.com/t/jdbc-localhost-test-ssl-true/87498 "2007-03-08T16:43:21Z")

</div>

Hi, I seem to be hitting a brick wall with this rails \<== ssl ==\> psotgresql issue! My postgres dB is already setup to accept ssl over tcp (running windows xp here) and is doing so nicely with my Jboss/Cocoon applicat…

---

## [Noob: HOWTO Externalize Strings?](https://www.ruby-forum.com/t/noob-howto-externalize-strings/88122)

<div class="topic-metadata">

**Author:** [@Thogra](https://www.ruby-forum.com/u/Thogra)\
**Replies:** 3\
**Last updated:** [March 8, 2007, 4:42pm UTC](https://www.ruby-forum.com/t/noob-howto-externalize-strings/88122 "2007-03-08T16:42:21Z")

</div>

Hi all, I’m totally new to Rails and was wondering how to externalize message strings in a file so I can use them throughout my application. Is there something already provided with Rails ? Thanks Thogra

---

## [How to test for a correct header?](https://www.ruby-forum.com/t/how-to-test-for-a-correct-header/87729)

<div class="topic-metadata">

**Author:** [@threeeyedfish](https://www.ruby-forum.com/u/threeeyedfish)\
**Replies:** 4\
**Last updated:** [March 8, 2007, 4:42pm UTC](https://www.ruby-forum.com/t/how-to-test-for-a-correct-header/87729 "2007-03-08T16:42:21Z")

</div>

Hi, all! I’m writing a functional test and I would like to test if my controller gives out right content type for an AJAX Request. Firstly I do xhr :post, :my\_controller, my\_params, {‘Accept’ =\> ‘text/javascript’} t…

---

## [Passing checkbox value to next page](https://www.ruby-forum.com/t/passing-checkbox-value-to-next-page/88158)

<div class="topic-metadata">

**Author:** [@selva](https://www.ruby-forum.com/u/selva)\
**Replies:** 0\
**Last updated:** [March 8, 2007, 3:51pm UTC](https://www.ruby-forum.com/t/passing-checkbox-value-to-next-page/88158 "2007-03-08T15:51:17Z")

</div>

Hai I have one search page and am using pagination for navigate through all the result each page have 10 result .Each search result have one checkbox ,Now i am selecting some of the checkbox in first page and i am go…

---

## [Encoding problem - how to debug?](https://www.ruby-forum.com/t/encoding-problem-how-to-debug/88157)

<div class="topic-metadata">

**Author:** [@linus](https://www.ruby-forum.com/u/linus)\
**Replies:** 0\
**Last updated:** [March 8, 2007, 3:50pm UTC](https://www.ruby-forum.com/t/encoding-problem-how-to-debug/88157 "2007-03-08T15:50:29Z")

</div>

When I put character “Ä…” in the search input page, I get the falowing in the logs: Processing SearchController#index (for 127.0.0.1 at 2007-03-08 15:36:18) \[POST\] Session ID: f3e7710bce35c8ca7476b7829e8a801d Parame…

---

## [\[ANN\] AdapterExtensions 0.3.0 Released](https://www.ruby-forum.com/t/ann-adapterextensions-0-3-0-released/88154)

<div class="topic-metadata">

**Author:** [@chovy](https://www.ruby-forum.com/u/chovy)\
**Replies:** 0\
**Last updated:** [March 8, 2007, 3:15pm UTC](https://www.ruby-forum.com/t/ann-adapterextensions-0-3-0-released/88154 "2007-03-08T15:15:08Z")

</div>

As part of the ActiveWarehouse project we’ve broken out extensions to the ActiveRecord adapters into its own subproject called AdapterExtensions. This project is specifically for extensions to the adapters themselves …

---

## [Active\_rbac doesn't understand before\_filter](https://www.ruby-forum.com/t/active-rbac-doesnt-understand-before-filter/88149)

<div class="topic-metadata">

**Author:** [@milo](https://www.ruby-forum.com/u/milo)\
**Replies:** 0\
**Last updated:** [March 8, 2007, 3:12pm UTC](https://www.ruby-forum.com/t/active-rbac-doesnt-understand-before-filter/88149 "2007-03-08T15:12:54Z")

</div>

I’ve moved an application onto the production server, and found that when I run it under the production environment active\_rbac doesn’t work (it’s fine under the development environment). I find this in the logs when …

---

## [RubyRails ActiveRecord base64 encode/decode of binary data](https://www.ruby-forum.com/t/rubyrails-activerecord-base64-encode-decode-of-binary-data/88143)

<div class="topic-metadata">

**Author:** [@akm](https://www.ruby-forum.com/u/akm)\
**Replies:** 1\
**Last updated:** [March 8, 2007, 3:12pm UTC](https://www.ruby-forum.com/t/rubyrails-activerecord-base64-encode-decode-of-binary-data/88143 "2007-03-08T15:12:07Z")

</div>

Hi, I have binary images stored in a table which I wish to encode/decode with base64 before reading into html object: . How can I do this in RubyRails? – Regards Andrew

---

## [Models for simple messaging system](https://www.ruby-forum.com/t/models-for-simple-messaging-system/88144)

<div class="topic-metadata">

**Author:** [@starburger](https://www.ruby-forum.com/u/starburger)\
**Replies:** 0\
**Last updated:** [March 8, 2007, 2:54pm UTC](https://www.ruby-forum.com/t/models-for-simple-messaging-system/88144 "2007-03-08T14:54:46Z")

</div>

I’m currently developing a community website that is to includes a simple messaging system: Users can send email-like messages (sender, recipient, subject, body, read-date, etc.) to each other. They have an inbox and …

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

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