# Rails

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

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

---

## [Great gay teens](https://www.ruby-forum.com/t/great-gay-teens/129827)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [February 21, 2008, 10:52pm UTC](https://www.ruby-forum.com/t/great-gay-teens/129827 "2008-02-21T22:52:16Z")

</div>

Some subj’s you HAVE to look: http://inicolette.tripod.com/chat-for-gay-teens.html chat for gay teens http://inicolette.tripod.com/gay-teens-pictures.html gay teens pictures http://inicolette.tripod.com/gay-teens-ki…

---

## [Creating a MysqlAdapter connection](https://www.ruby-forum.com/t/creating-a-mysqladapter-connection/129816)

<div class="topic-metadata">

**Author:** [@Jon\_Wood](https://www.ruby-forum.com/u/Jon_Wood)\
**Replies:** 2\
**Last updated:** [February 21, 2008, 9:51pm UTC](https://www.ruby-forum.com/t/creating-a-mysqladapter-connection/129816 "2008-02-21T21:51:21Z")

</div>

Hi, I’m trying to connect to a Mysql database using MysqlAdapter, so I can migrate some data from a system that is being replaced by a Rails application. This requires having an open connection to two different datab…

---

## [Ruby and Rails Doc](https://www.ruby-forum.com/t/ruby-and-rails-doc/129746)

<div class="topic-metadata">

**Author:** [@bcurtu](https://www.ruby-forum.com/u/bcurtu)\
**Replies:** 3\
**Last updated:** [February 21, 2008, 9:23pm UTC](https://www.ruby-forum.com/t/ruby-and-rails-doc/129746 "2008-02-21T21:23:17Z")

</div>

Hi there, I come from java world, and used to javadoc APIs documentation. When I try to read the Ruby doc or the Rails doc I feel uncomfortable. How is it supposed the R\*doc be used? I mean there are 3 sections on th…

---

## [Ubuntu + MS SQL Server + Stored Procs](https://www.ruby-forum.com/t/ubuntu-ms-sql-server-stored-procs/129800)

<div class="topic-metadata">

**Author:** [@uncle](https://www.ruby-forum.com/u/uncle)\
**Replies:** 3\
**Last updated:** [February 21, 2008, 8:55pm UTC](https://www.ruby-forum.com/t/ubuntu-ms-sql-server-stored-procs/129800 "2008-02-21T20:55:23Z")

</div>

After searching and futzing for quite a while I have not found any consensus on the right/best way to have rails on Ubuntu (linux) talked to SQL Server. It seems like there is an ODBC path and an ADO path it is not …

---

## [Re: Opportunity to work on RoR project](https://www.ruby-forum.com/t/re-opportunity-to-work-on-ror-project/129823)

<div class="topic-metadata">

**Author:** [@kyle](https://www.ruby-forum.com/u/kyle)\
**Replies:** 0\
**Last updated:** [February 21, 2008, 8:52pm UTC](https://www.ruby-forum.com/t/re-opportunity-to-work-on-ror-project/129823 "2008-02-21T20:52:06Z")

</div>

Hey, if anyone is interested in working on a great RoR project (description below) please send me an email at removed\_email\_address@domain.invalid with your resume attached in Word doc. format, and/or call me at 650-2…

---

## [Strange error on server startup](https://www.ruby-forum.com/t/strange-error-on-server-startup/129817)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [February 21, 2008, 8:30pm UTC](https://www.ruby-forum.com/t/strange-error-on-server-startup/129817 "2008-02-21T20:30:45Z")

</div>

Hi, This line in my environment.rb file is causing a syntax error … require File.join(File.dirname(FILE), ‘boot’) Could someone tell me why? Here’s what happens when I try and start my server … \[me@mymachine\]~/w/dp…

---

## [Ajax will\_paginate and form\_remote\_tag search](https://www.ruby-forum.com/t/ajax-will-paginate-and-form-remote-tag-search/129618)

<div class="topic-metadata">

**Author:** [@grayson](https://www.ruby-forum.com/u/grayson)\
**Replies:** 2\
**Last updated:** [February 21, 2008, 8:18pm UTC](https://www.ruby-forum.com/t/ajax-will-paginate-and-form-remote-tag-search/129618 "2008-02-21T20:18:56Z")

</div>

I have a somewhat unusual set up of will\_paginate like this: http://www.railsontherun.com/2007/9/27/ajax-pagination-in-less-than-5-minutes also I have an ajax based form\_remote\_tag that submits a keyword to the index …

---

## [Sql query to fetch](https://www.ruby-forum.com/t/sql-query-to-fetch/129710)

<div class="topic-metadata">

**Author:** [@ankit2584](https://www.ruby-forum.com/u/ankit2584)\
**Replies:** 1\
**Last updated:** [February 21, 2008, 7:17pm UTC](https://www.ruby-forum.com/t/sql-query-to-fetch/129710 "2008-02-21T19:17:37Z")

</div>

Hello, I have has\_and\_belongs\_to\_many relationship between ‘people’ and ‘relations’ What i want to do is to select all people from the people\_relations table who has multiple relation\_ids. for example: What will be…

---

## [How to use ActiveRecord plugins outside of Rails framework?](https://www.ruby-forum.com/t/how-to-use-activerecord-plugins-outside-of-rails-framework/129728)

<div class="topic-metadata">

**Author:** [@soroe](https://www.ruby-forum.com/u/soroe)\
**Replies:** 4\
**Last updated:** [February 21, 2008, 6:52pm UTC](https://www.ruby-forum.com/t/how-to-use-activerecord-plugins-outside-of-rails-framework/129728 "2008-02-21T18:52:51Z")

</div>

Hey Guys, I’ve got an acts\_as\_list association in one of my models. When I attempt to load this file outside of Rails… ie: when I invoke my script via: ruby -S -I $RAILS\_ROOT/app/models myscript.rb I get the foll…

---

## [Don't reply to SPAM (was Re: \[Rails\] Re: Get Free...)](https://www.ruby-forum.com/t/dont-reply-to-spam-was-re-rails-re-get-free/129804)

<div class="topic-metadata">

**Author:** [@Lionel\_B](https://www.ruby-forum.com/u/Lionel_B)\
**Replies:** 1\
**Last updated:** [February 21, 2008, 6:40pm UTC](https://www.ruby-forum.com/t/dont-reply-to-spam-was-re-rails-re-get-free/129804 "2008-02-21T18:40:10Z")

</div>

Vishal wrote: Hello, spam message. Please don’t spam… Please don’t reply, there’s most likely nobody reading the replies and they won’t simply stop. I wasn’t even aware of this SPAM until this reply…

---

## [Fwd: \[rubygems\] how to integate paypal with https](https://www.ruby-forum.com/t/fwd-rubygems-how-to-integate-paypal-with-https/129748)

<div class="topic-metadata">

**Author:** [@pavanagrawal](https://www.ruby-forum.com/u/pavanagrawal)\
**Replies:** 2\
**Last updated:** [February 21, 2008, 6:22pm UTC](https://www.ruby-forum.com/t/fwd-rubygems-how-to-integate-paypal-with-https/129748 "2008-02-21T18:22:57Z")

</div>

\---------- Forwarded message ---------- From: amit removed\_email\_address@domain.invalid Date: Thu, Feb 21, 2008 at 12:46 PM Subject: \[rubygems\] how to integate paypal with https To: rubygems removed\_email\_address@dom…

---

## [Javascript is not working in render\_component](https://www.ruby-forum.com/t/javascript-is-not-working-in-render-component/129802)

<div class="topic-metadata">

**Author:** [@balavrscse](https://www.ruby-forum.com/u/balavrscse)\
**Replies:** 1\
**Last updated:** [February 21, 2008, 6:12pm UTC](https://www.ruby-forum.com/t/javascript-is-not-working-in-render-component/129802 "2008-02-21T18:12:58Z")

</div>

Hi, I am calling on action using render\_component,in that action i am again calling one javacritp function.when i am execute this code the script is not working,my code is here. my view goes here: rating : \<%=rende…

---

## [Restful controller and xml updates](https://www.ruby-forum.com/t/restful-controller-and-xml-updates/129798)

<div class="topic-metadata">

**Author:** [@gianluca\_t](https://www.ruby-forum.com/u/gianluca_t)\
**Replies:** 0\
**Last updated:** [February 21, 2008, 5:46pm UTC](https://www.ruby-forum.com/t/restful-controller-and-xml-updates/129798 "2008-02-21T17:46:58Z")

</div>

Hi to all the crew, I cannot figure out if is there a way to create/update an object and its associations with a single xml using a restful controller (put or post method) Does anyone know how to handle this task (or…

---

## [Template missing](https://www.ruby-forum.com/t/template-missing/109765)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 9\
**Last updated:** [February 21, 2008, 5:39pm UTC](https://www.ruby-forum.com/t/template-missing/109765 "2008-02-21T17:39:57Z")

</div>

I have been seeingthis problem lots and I guess I must always work around it without understand why it’s there, so maybe you all can help me. I have this form: \<%= form\_remote\_tag :update =\> “credit\_card\_table”, :url …

---

## [:allow\_nil only working in Console?](https://www.ruby-forum.com/t/allow-nil-only-working-in-console/129783)

<div class="topic-metadata">

**Author:** [@joergbattermann](https://www.ruby-forum.com/u/joergbattermann)\
**Replies:** 2\
**Last updated:** [February 21, 2008, 5:25pm UTC](https://www.ruby-forum.com/t/allow-nil-only-working-in-console/129783 "2008-02-21T17:25:05Z")

</div>

Hello there, I have the following Book model, where users can enter the Title of the book and optionally the format of the ISBN-code shall be validated, but only if the user filled the ISBN field: class Book \< Active…

---

## [Trouble freezing rails gems](https://www.ruby-forum.com/t/trouble-freezing-rails-gems/129796)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [February 21, 2008, 5:23pm UTC](https://www.ruby-forum.com/t/trouble-freezing-rails-gems/129796 "2008-02-21T17:23:19Z")

</div>

I’m trying to freeze gems to version 1.2.6. Where do I find this “initializer” file that is being complained about below? - Dave \[orderton@box347 dps\]$ rake rails:freeze:gems VERSION=1.2.6 --trace (in /home/orderton/…

---

## [Reload classes if they are new/changed in Production Mode](https://www.ruby-forum.com/t/reload-classes-if-they-are-new-changed-in-production-mode/129784)

<div class="topic-metadata">

**Author:** [@crenner](https://www.ruby-forum.com/u/crenner)\
**Replies:** 1\
**Last updated:** [February 21, 2008, 4:59pm UTC](https://www.ruby-forum.com/t/reload-classes-if-they-are-new-changed-in-production-mode/129784 "2008-02-21T16:59:43Z")

</div>

Is there a way to check if there are any new classes or any existing classes that have changed in the lib/ folder?, and if there are then to reload them into Rails? My application is a simply a parsing application tha…

---

## [Actionmailer.receive not creating TMail object](https://www.ruby-forum.com/t/actionmailer-receive-not-creating-tmail-object/129788)

<div class="topic-metadata">

**Author:** [@japj](https://www.ruby-forum.com/u/japj)\
**Replies:** 0\
**Last updated:** [February 21, 2008, 4:21pm UTC](https://www.ruby-forum.com/t/actionmailer-receive-not-creating-tmail-object/129788 "2008-02-21T16:21:17Z")

</div>

Hi, I am experimenting with receiving email with actionmailer via getmail (as described in the Rails Cookbook). The receiving part is working like a charm but when I check the class of the email object from inside th…

---

## [Can someone explain this to me](https://www.ruby-forum.com/t/can-someone-explain-this-to-me/129733)

<div class="topic-metadata">

**Author:** [@jeannibee](https://www.ruby-forum.com/u/jeannibee)\
**Replies:** 7\
**Last updated:** [February 21, 2008, 4:16pm UTC](https://www.ruby-forum.com/t/can-someone-explain-this-to-me/129733 "2008-02-21T16:16:24Z")

</div>

Hi I was reading some articles and I came across this one in how to manage the database.yml file when you have multiple developers. (To prevent passwords and such being in SVN etc…) login: &login username: defaultu…

---

## [News letter management](https://www.ruby-forum.com/t/news-letter-management/129742)

<div class="topic-metadata">

**Author:** [@Nishant\_Sinha](https://www.ruby-forum.com/u/Nishant_Sinha)\
**Replies:** 1\
**Last updated:** [February 21, 2008, 3:08pm UTC](https://www.ruby-forum.com/t/news-letter-management/129742 "2008-02-21T15:08:29Z")

</div>

Hi Everyone, I want to use newsletter management system on my Rails application. Can anybody help me ,how can I do this or refer appropriate documentation for this. Nishant

---

## [Text\_field\_tag - different parameter name](https://www.ruby-forum.com/t/text-field-tag-different-parameter-name/129712)

<div class="topic-metadata">

**Author:** [@edgy](https://www.ruby-forum.com/u/edgy)\
**Replies:** 1\
**Last updated:** [February 21, 2008, 2:37pm UTC](https://www.ruby-forum.com/t/text-field-tag-different-parameter-name/129712 "2008-02-21T14:37:37Z")

</div>

Hi, I have one problem with validation I am creating e-shop and I have products. This view look like this: \<% for product in @category.products %\> \<%= product.title %\>\<br /\> Price: \<br /\> \<div style="color:re…

---

## [Session with cookie](https://www.ruby-forum.com/t/session-with-cookie/129538)

<div class="topic-metadata">

**Author:** [@masch](https://www.ruby-forum.com/u/masch)\
**Replies:** 2\
**Last updated:** [February 21, 2008, 2:29pm UTC](https://www.ruby-forum.com/t/session-with-cookie/129538 "2008-02-21T14:29:55Z")

</div>

Hi!. I wonder if it’s possible to make a program in ruby that can log in some page that required a cookie. Once i’m login into the page i have to parse some html, but first i need to log in, Somebody know how to do t…

---

## [Barack Obama's techical team uses Ruby On Rails](https://www.ruby-forum.com/t/barack-obamas-techical-team-uses-ruby-on-rails/129695)

<div class="topic-metadata">

**Author:** [@cskidmore](https://www.ruby-forum.com/u/cskidmore)\
**Replies:** 1\
**Last updated:** [February 21, 2008, 2:25pm UTC](https://www.ruby-forum.com/t/barack-obamas-techical-team-uses-ruby-on-rails/129695 "2008-02-21T14:25:14Z")

</div>

I’m using one of their sites and found out through a small hick-up in the the system today. Rock on Barack! Rock on Rails! :slight\_smile:

---

## [Help with Gettext](https://www.ruby-forum.com/t/help-with-gettext/129367)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 1\
**Last updated:** [February 21, 2008, 2:01pm UTC](https://www.ruby-forum.com/t/help-with-gettext/129367 "2008-02-21T14:01:00Z")

</div>

I have .rhtml.erb files to use Gettext with them, but it doesn’t wok always with all the \<%= \_(’ ') %\> text. Why? My rakefile has that: desc “Update po/pot files” task :updatepo do MY\_APP\_DOMAIN = “prob” MY\_APP\_VER…

---

## [Multi-lang/non-english site using Ruby-GetText/problems](https://www.ruby-forum.com/t/multi-lang-non-english-site-using-ruby-gettext-problems/129468)

<div class="topic-metadata">

**Author:** [@benhiller](https://www.ruby-forum.com/u/benhiller)\
**Replies:** 1\
**Last updated:** [February 21, 2008, 1:57pm UTC](https://www.ruby-forum.com/t/multi-lang-non-english-site-using-ruby-gettext-problems/129468 "2008-02-21T13:57:25Z")

</div>

Hi All! I am developing a non-english app using Rails 2.0.2. I would like to use the Ruby-GetText package to handle I18n but for the life of me I can’t figure out/understand the documentation/how-to’s for installing…

---

## [Filters On Models](https://www.ruby-forum.com/t/filters-on-models/129696)

<div class="topic-metadata">

**Author:** [@johnk](https://www.ruby-forum.com/u/johnk)\
**Replies:** 1\
**Last updated:** [February 21, 2008, 1:55pm UTC](https://www.ruby-forum.com/t/filters-on-models/129696 "2008-02-21T13:55:39Z")

</div>

Can I put an after style filter on a method that is part of a model that is not a create, update, destroy? :slight\_smile: – John K. removed\_email\_address@domain.invalid Blog: http://www.kopanas.com Conference: htt…

---

## [Object.subclasses\_of(MyModel) not working in development environment](https://www.ruby-forum.com/t/object-subclasses-of-mymodel-not-working-in-development-environment/129775)

<div class="topic-metadata">

**Author:** [@Gareth\_A](https://www.ruby-forum.com/u/Gareth_A)\
**Replies:** 3\
**Last updated:** [February 21, 2008, 1:55pm UTC](https://www.ruby-forum.com/t/object-subclasses-of-mymodel-not-working-in-development-environment/129775 "2008-02-21T13:55:04Z")

</div>

I’m trying to use the subclasses\_of method but I’m getting strange results. The first request after I restart the server, everything works fine. Subsequent requests return an empty array. Can anyone shed any light o…

---

## [MAC address of a machine](https://www.ruby-forum.com/t/mac-address-of-a-machine/129769)

<div class="topic-metadata">

**Author:** [@shiva](https://www.ruby-forum.com/u/shiva)\
**Replies:** 3\
**Last updated:** [February 21, 2008, 1:10pm UTC](https://www.ruby-forum.com/t/mac-address-of-a-machine/129769 "2008-02-21T13:10:56Z")

</div>

Hi Any one knows how to get MAC address of a machine who is accessing your application.Help me.

---

## [How to connect through multiple databases's users/roles](https://www.ruby-forum.com/t/how-to-connect-through-multiple-databasess-users-roles/129774)

<div class="topic-metadata">

**Author:** [@eduludi](https://www.ruby-forum.com/u/eduludi)\
**Replies:** 0\
**Last updated:** [February 21, 2008, 12:39pm UTC](https://www.ruby-forum.com/t/how-to-connect-through-multiple-databasess-users-roles/129774 "2008-02-21T12:39:21Z")

</div>

Hi. I’m trying to authenticate users against the database’s user/roles in PostgreSql, instead to use in ‘database.yml’ an almighty user (like ‘root’). Can I use ‘ActiveRecord::Base.establish\_conection’ method to do th…

---

## [Undefined method \`save' for \[\]:Array](https://www.ruby-forum.com/t/undefined-method-save-for-array/129761)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 4\
**Last updated:** [February 21, 2008, 12:17pm UTC](https://www.ruby-forum.com/t/undefined-method-save-for-array/129761 "2008-02-21T12:17:48Z")

</div>

hi all when i m trying to save my tags.this error s cmng…cn anybody help me to how to save the array error depicting = undefined method \`save’ for \[\]:Array

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

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