# Rails

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

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

---

## [UnixODBC/FreeTDS -- dead in the water](https://www.ruby-forum.com/t/unixodbc-freetds-dead-in-the-water/128852)

<div class="topic-metadata">

**Author:** [@student](https://www.ruby-forum.com/u/student)\
**Replies:** 2\
**Last updated:** [February 12, 2008, 3:14pm UTC](https://www.ruby-forum.com/t/unixodbc-freetds-dead-in-the-water/128852 "2008-02-12T15:14:35Z")

</div>

I’ve been developing on a legacy (SQLServer DB) using one-click. The client is excited. In fact, the boss is requiring daily updates as to how I’m doing on deployment. Not so good. I’ve followed http://wiki.rubyon…

---

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

<div class="topic-metadata">

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

</div>

I have this code: \<tr\> \<th\>\<%= \_('Client') %\>\</th\> \<th\>\<%= \_('Product') %\>\</th\> \<th\>\<%= \_('Serial Number') %\>\</th\> \<th\>\<%= \_('State') %\>\</th\> \</tr\> Serial Number is never in my .po file, but the others are th…

---

## [Background processes, on a per request basis](https://www.ruby-forum.com/t/background-processes-on-a-per-request-basis/128832)

<div class="topic-metadata">

**Author:** [@carpeliam](https://www.ruby-forum.com/u/carpeliam)\
**Replies:** 2\
**Last updated:** [February 12, 2008, 2:40pm UTC](https://www.ruby-forum.com/t/background-processes-on-a-per-request-basis/128832 "2008-02-12T14:40:44Z")

</div>

Every time a particular model object is created on the server, I want to perform an additional operation that’s slightly more expensive, the results of which aren’t necessary to show to the user. I was looking at thin…

---

## [Ð›ÐµÐ¹ÐºÐ¾Ð¿Ð»Ð°ÑÑ‚Ñ‹Ñ€ÑŒ ÐŸÐ»Ð¾ÑÐºÐ¸Ð¹ Ð–Ð¸Ð²Ð¾Ñ‚Ð¸Ðº Ð´Ð»Ñ Ð¿Ð¾Ñ…ÑƒÐ´Ð°Ð½Ð¸Ñ Lusero](https://www.ruby-forum.com/t/d-d-d-d-d-d-d-d-n-n-n-n-noe-dyd-d-n-d-d-d-d-d-d-d-n-d-d-d-d-n-d-d-n-n-d-d-d-d-n-lusero/128895)

<div class="topic-metadata">

**Author:** [@ShopBody.ru](https://www.ruby-forum.com/u/ShopBody.ru)\
**Replies:** 0\
**Last updated:** [February 12, 2008, 1:50pm UTC](https://www.ruby-forum.com/t/d-d-d-d-d-d-d-d-n-n-n-n-noe-dyd-d-n-d-d-d-d-d-d-d-n-d-d-d-d-n-d-d-n-n-d-d-d-d-n-lusero/128895 "2008-02-12T13:50:28Z")

</div>

ðÌÁÓÔÙÒØ ÄÌÑ ÐÏÈÕÄÁÎÉÑ LUSERO \<\<ðÌÏÓËÉÊ ÖÉ×ÏÔÉË\>\> õÓÔÒÁÎÑÅÔ ÉÚÂÙÔÏË ÖÉÒÁ × ÏÂÌÁÓÔÉ ÖÉ×ÏÔÁ http://shopbody.ru/lusero-zhivotik.htm –~–~---------~–~----~------------~-------~–~----~ You received this message because you…

---

## [Urgent Ruby on Rails Vacancies!](https://www.ruby-forum.com/t/urgent-ruby-on-rails-vacancies/128887)

<div class="topic-metadata">

**Author:** [@sgware](https://www.ruby-forum.com/u/sgware)\
**Replies:** 1\
**Last updated:** [February 12, 2008, 1:14pm UTC](https://www.ruby-forum.com/t/urgent-ruby-on-rails-vacancies/128887 "2008-02-12T13:14:20Z")

</div>

Hi there! I am currently looking for 3 Ruby on Rails developers with experience in Java development. If you or anyone you know is interested in working in London and wants a salary of between Â£40-55k, then please sen…

---

## [Interracial Asian Lesbian Indian Latina Swingers Mature](https://www.ruby-forum.com/t/interracial-asian-lesbian-indian-latina-swingers-mature/128885)

<div class="topic-metadata">

**Author:** [@Verona\_dsm](https://www.ruby-forum.com/u/Verona_dsm)\
**Replies:** 0\
**Last updated:** [February 12, 2008, 12:40pm UTC](https://www.ruby-forum.com/t/interracial-asian-lesbian-indian-latina-swingers-mature/128885 "2008-02-12T12:40:24Z")

</div>

Latina Swingers Mature http://adultfinder.servik.com/supra.htm Interracial Asian Lesbian Indian

---

## [Nginx errors](https://www.ruby-forum.com/t/nginx-errors/128881)

<div class="topic-metadata">

**Author:** [@phil](https://www.ruby-forum.com/u/phil)\
**Replies:** 0\
**Last updated:** [February 12, 2008, 12:03pm UTC](https://www.ruby-forum.com/t/nginx-errors/128881 "2008-02-12T12:03:39Z")

</div>

We are using nginx in front of out mongrel clusters and finding that the logs are growing out of control. For every requrest we get 4 errors! Basically, for each rails request it is first going off to see if an index.…

---

## [Rails 2.0 turn on mass assignment](https://www.ruby-forum.com/t/rails-2-0-turn-on-mass-assignment/128768)

<div class="topic-metadata">

**Author:** [@Nuwan\_Chaturanga](https://www.ruby-forum.com/u/Nuwan_Chaturanga)\
**Replies:** 6\
**Last updated:** [February 12, 2008, 11:47am UTC](https://www.ruby-forum.com/t/rails-2-0-turn-on-mass-assignment/128768 "2008-02-12T11:47:01Z")

</div>

Can anyone tell me how to turn on mass assignment in rails 2.0. I am facing a problem accessing a value of an attr\_protected value sat by a plugin I am using. I need this value to be assigned to a modle object but it …

---

## [$:.unshift File.join(File.dirname(\_\_FILE\_\_),'..','lib')?](https://www.ruby-forum.com/t/unshift-file-join-file-dirname-file-lib/128878)

<div class="topic-metadata">

**Author:** [@MohsinHijazee](https://www.ruby-forum.com/u/MohsinHijazee)\
**Replies:** 1\
**Last updated:** [February 12, 2008, 11:32am UTC](https://www.ruby-forum.com/t/unshift-file-join-file-dirname-file-lib/128878 "2008-02-12T11:32:13Z")

</div>

What this code lines mean? Especially $:. before the unshift? $:.unshift File.join(File.dirname(FILE),’…’,‘lib’) Regards, Mohsin

---

## [Ruby](https://www.ruby-forum.com/t/ruby/128879)

<div class="topic-metadata">

**Author:** [@pravin](https://www.ruby-forum.com/u/pravin)\
**Replies:** 1\
**Last updated:** [February 12, 2008, 11:18am UTC](https://www.ruby-forum.com/t/ruby/128879 "2008-02-12T11:18:27Z")

</div>

Hi, this is my first time work on ruby on rails. i am trying to setup one application using ruby on rails. I use Geo-Ruby as plug in.when i run server it gives following error undefined method \`password’ for #Accoun…

---

## [Is threading the right option? Or changing my Apache setup?](https://www.ruby-forum.com/t/is-threading-the-right-option-or-changing-my-apache-setup/128837)

<div class="topic-metadata">

**Author:** [@Mikel\_L](https://www.ruby-forum.com/u/Mikel_L)\
**Replies:** 7\
**Last updated:** [February 12, 2008, 10:46am UTC](https://www.ruby-forum.com/t/is-threading-the-right-option-or-changing-my-apache-setup/128837 "2008-02-12T10:46:41Z")

</div>

I have a Rails App that is hitting a fairly big database (several million rows of data). The app runs really well as I have enough ram on the servers to have enough mongrels running and enough fully primed instances o…

---

## [Validate all model fields with validates\_numericality\_of](https://www.ruby-forum.com/t/validate-all-model-fields-with-validates-numericality-of/128875)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 0\
**Last updated:** [February 12, 2008, 10:43am UTC](https://www.ruby-forum.com/t/validate-all-model-fields-with-validates-numericality-of/128875 "2008-02-12T10:43:10Z")

</div>

hi, I have a rather big table and i need to validate every decimal field in the table to make sure its numeric. Can anyone think of the best way to do this or is it even possible? I dont want to write validates\_nume…

---

## [Freezing rails applications](https://www.ruby-forum.com/t/freezing-rails-applications/128874)

<div class="topic-metadata">

**Author:** [@pavanagrawal](https://www.ruby-forum.com/u/pavanagrawal)\
**Replies:** 0\
**Last updated:** [February 12, 2008, 10:32am UTC](https://www.ruby-forum.com/t/freezing-rails-applications/128874 "2008-02-12T10:32:33Z")

</div>

Hi, I have installed RAILS 2.0 in my machine. When I was freezing my rails application for rails 1.2.3. it is giving me the following error. (in D:/ruby/reference\_code/ublic\_database/ublic\_database/ ublip\_project) …

---

## [How I changed my mobile into cash?](https://www.ruby-forum.com/t/how-i-changed-my-mobile-into-cash/128870)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [February 12, 2008, 10:04am UTC](https://www.ruby-forum.com/t/how-i-changed-my-mobile-into-cash/128870 "2008-02-12T10:04:55Z")

</div>

Join US and get, Latest offerings on your fingertips. Information of the latest product in tune with your interest. Up-to-date news on upcoming gizmos and gadgets. Check them at your leisure. On top of it all, effor…

---

## [\[ANN\] BrainBuster 0.8.0 released (logic captcha awesomeness)](https://www.ruby-forum.com/t/ann-brainbuster-0-8-0-released-logic-captcha-awesomeness/128866)

<div class="topic-metadata">

**Author:** [@rsanheim](https://www.ruby-forum.com/u/rsanheim)\
**Replies:** 0\
**Last updated:** [February 12, 2008, 9:27am UTC](https://www.ruby-forum.com/t/ann-brainbuster-0-8-0-released-logic-captcha-awesomeness/128866 "2008-02-12T09:27:05Z")

</div>

I’m happy to release version 0.8.0 of BrainBuster. This is a long overdue release. I’ve removed all deprecated code, updated for Rails 2.0, improved specs considerably, and cleaned up the api and views. Because of th…

---

## [Hosting company allowing Juggernaut](https://www.ruby-forum.com/t/hosting-company-allowing-juggernaut/128847)

<div class="topic-metadata">

**Author:** [@SySySy](https://www.ruby-forum.com/u/SySySy)\
**Replies:** 1\
**Last updated:** [February 12, 2008, 9:24am UTC](https://www.ruby-forum.com/t/hosting-company-allowing-juggernaut/128847 "2008-02-12T09:24:09Z")

</div>

Hello, I like to hear from those of you using Juggernaut plugin in their apps. Which hosting companies allow and support Juggernaut powered app? Would you share your experience? I am currently using DreamHost, but it …

---

## [SQL Server, is ODBC driver better than ADO?](https://www.ruby-forum.com/t/sql-server-is-odbc-driver-better-than-ado/119083)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [February 12, 2008, 7:14am UTC](https://www.ruby-forum.com/t/sql-server-is-odbc-driver-better-than-ado/119083 "2008-02-12T07:14:18Z")

</div>

I am using SQL Server on a legacy database. I had to write my own pagination using find\_by\_sql. Then I had to switch from ADO to ODBC because when I tried to update records I was getting weird transaction errors from…

---

## [Crazy AS question](https://www.ruby-forum.com/t/crazy-as-question/128860)

<div class="topic-metadata">

**Author:** [@agilehack](https://www.ruby-forum.com/u/agilehack)\
**Replies:** 0\
**Last updated:** [February 12, 2008, 7:01am UTC](https://www.ruby-forum.com/t/crazy-as-question/128860 "2008-02-12T07:01:24Z")

</div>

ok so I have activescaffold working in my project. now what I would like to do is after a search is executed, if there is more than one result show the list of results as it does now by default BUT if there is only o…

---

## [Restful\_authentication falling tests, allowing blank passwords](https://www.ruby-forum.com/t/restful-authentication-falling-tests-allowing-blank-passwords/128859)

<div class="topic-metadata">

**Author:** [@mindel](https://www.ruby-forum.com/u/mindel)\
**Replies:** 1\
**Last updated:** [February 12, 2008, 6:58am UTC](https://www.ruby-forum.com/t/restful-authentication-falling-tests-allowing-blank-passwords/128859 "2008-02-12T06:58:28Z")

</div>

All, I’m a bit of a journeyman when it comes to RoR, and I’ve been having one issue setting up restful\_authentication that’s making me batty. I got most of my direction from the README and Ryan B.’ railscast1, but eve…

---

## [Variable scope](https://www.ruby-forum.com/t/variable-scope/128855)

<div class="topic-metadata">

**Author:** [@spashokkumar](https://www.ruby-forum.com/u/spashokkumar)\
**Replies:** 1\
**Last updated:** [February 12, 2008, 6:49am UTC](https://www.ruby-forum.com/t/variable-scope/128855 "2008-02-12T06:49:41Z")

</div>

Can any one please tell me, what is the exact scope of the following variable types variable @variable @@variable Thanks

---

## [Adding a default to link\_to](https://www.ruby-forum.com/t/adding-a-default-to-link-to/128853)

<div class="topic-metadata">

**Author:** [@galeal](https://www.ruby-forum.com/u/galeal)\
**Replies:** 0\
**Last updated:** [February 12, 2008, 5:18am UTC](https://www.ruby-forum.com/t/adding-a-default-to-link-to/128853 "2008-02-12T05:18:19Z")

</div>

I have urls like /:service/:controller/:action/:id is it possible for link\_to to preserve the current :service from the query string when using a link\_to, I don’t really want to troll through my code manually replaci…

---

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

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 0\
**Last updated:** [February 12, 2008, 5:00am UTC](https://www.ruby-forum.com/t/has-many-through/128851 "2008-02-12T05:00:57Z")

</div>

Hi The following is one solution I got to my problem class KnowledgeBase \< ActiveRecord::Base has\_many :sd\_knowledge\_bases has\_many :sds, :through =\> :sd\_knowledge\_bases # (...) end app/models/sd.rb class Sd \< A…

---

## [\[ANN\] assert{ 2.0 }](https://www.ruby-forum.com/t/ann-assert-2-0/128850)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 0\
**Last updated:** [February 12, 2008, 4:45am UTC](https://www.ruby-forum.com/t/ann-assert-2-0/128850 "2008-02-12T04:45:25Z")

</div>

Railsers: The following RubyUnit assertions are now obsolete: assert assert\_block assert\_equal assert\_instance\_of assert\_kind\_of assert\_operator assert\_match assert\_nil assert\_no\_match assert\_not\_equal assert…

---

## [Introducing mysself](https://www.ruby-forum.com/t/introducing-mysself/128849)

<div class="topic-metadata">

**Author:** [@jfricci](https://www.ruby-forum.com/u/jfricci)\
**Replies:** 0\
**Last updated:** [February 12, 2008, 4:40am UTC](https://www.ruby-forum.com/t/introducing-mysself/128849 "2008-02-12T04:40:08Z")

</div>

I run a startup networking organization in Silicon Valley (basnorg). and an investor group (usangelinvestorscom, where we screen look monthly at more than 30 startups. I am always interested in looking at new deals (p…

---

## [Rebecca: Ruby on Rails Server Launcher](https://www.ruby-forum.com/t/rebecca-ruby-on-rails-server-launcher/128456)

<div class="topic-metadata">

**Author:** [@tkw722](https://www.ruby-forum.com/u/tkw722)\
**Replies:** 1\
**Last updated:** [February 12, 2008, 3:52am UTC](https://www.ruby-forum.com/t/rebecca-ruby-on-rails-server-launcher/128456 "2008-02-12T03:52:50Z")

</div>

Hey everyone, I’m putting together a GUI application to simplify launching and managing ruby on rails web servers. I’m making this freeware so anyone can download and take advantage of it. It is still extremely young …

---

## [Making a simple quiz](https://www.ruby-forum.com/t/making-a-simple-quiz/128845)

<div class="topic-metadata">

**Author:** [@wing](https://www.ruby-forum.com/u/wing)\
**Replies:** 0\
**Last updated:** [February 12, 2008, 3:26am UTC](https://www.ruby-forum.com/t/making-a-simple-quiz/128845 "2008-02-12T03:26:02Z")

</div>

Hi, I’m new to Rails, and I’m not sure how to approach this. All I want is a simple quiz with multiple choice questions on my website. After the visitior submits the quiz, it just needs to return the number correct. …

---

## [Visualize rails api](https://www.ruby-forum.com/t/visualize-rails-api/128844)

<div class="topic-metadata">

**Author:** [@jh100000](https://www.ruby-forum.com/u/jh100000)\
**Replies:** 0\
**Last updated:** [February 12, 2008, 3:16am UTC](https://www.ruby-forum.com/t/visualize-rails-api/128844 "2008-02-12T03:16:56Z")

</div>

I am looking for ways to better understand the rails api. I found a tool used by Drupal that visualizes the drupal api in a graph that demonstrates the relationship between methods calling one another. See a screencas…

---

## [Should I Test My Fixtures?](https://www.ruby-forum.com/t/should-i-test-my-fixtures/128740)

<div class="topic-metadata">

**Author:** [@dean](https://www.ruby-forum.com/u/dean)\
**Replies:** 6\
**Last updated:** [February 12, 2008, 2:26am UTC](https://www.ruby-forum.com/t/should-i-test-my-fixtures/128740 "2008-02-12T02:26:52Z")

</div>

I have a number of fixtures in my test suite. For example, with acts\_as\_authenticated and acts\_as\_state\_machine, I created a number of users in different account states for use in functional testing. (Suspended users…

---

## [Acts\_as\_paranoid: has\_one\_paranoid](https://www.ruby-forum.com/t/acts-as-paranoid-has-one-paranoid/128841)

<div class="topic-metadata">

**Author:** [@ISESSmith-Heister](https://www.ruby-forum.com/u/ISESSmith-Heister)\
**Replies:** 0\
**Last updated:** [February 12, 2008, 2:09am UTC](https://www.ruby-forum.com/t/acts-as-paranoid-has-one-paranoid/128841 "2008-02-12T02:09:16Z")

</div>

Hi all, Ran in to a problem with AR::B#find(:include) and acts\_as\_paranoid, well described here: http://www.ruby-forum.com/topic/57945 So I whipped up this thing, which seems to work for me: module ActiveRecord cla…

---

## [Major Scaffolding Extensions Release](https://www.ruby-forum.com/t/major-scaffolding-extensions-release/128838)

<div class="topic-metadata">

**Author:** [@nerdmaster](https://www.ruby-forum.com/u/nerdmaster)\
**Replies:** 0\
**Last updated:** [February 12, 2008, 1:40am UTC](https://www.ruby-forum.com/t/major-scaffolding-extensions-release/128838 "2008-02-12T01:40:57Z")

</div>

This is just a heads up to Scaffolding Extensions plugin users that the latest revision (r90, which I just released) breaks backwards compatibility, so you’ll want to read the doc/conversion.txt file in the plugin bef…

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

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