# Rails

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

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

---

## [Possible Net::LDAP Vulnerability](https://www.ruby-forum.com/t/possible-net-ldap-vulnerability/112547)

<div class="topic-metadata">

**Author:** [@supasta](https://www.ruby-forum.com/u/supasta)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 8:10pm UTC](https://www.ruby-forum.com/t/possible-net-ldap-vulnerability/112547 "2007-08-20T20:10:48Z")

</div>

Note: this may not be a Net::LDAP vulnerability, but it may be a general usage vulnerability for authenticating against ADS. Using Net::LDAP to authenticate users in a Rails application against Active Directory will …

---

## [ActiveRecord and SQL SUBSTR](https://www.ruby-forum.com/t/activerecord-and-sql-substr/112514)

<div class="topic-metadata">

**Author:** [@reacher](https://www.ruby-forum.com/u/reacher)\
**Replies:** 1\
**Last updated:** [August 20, 2007, 7:58pm UTC](https://www.ruby-forum.com/t/activerecord-and-sql-substr/112514 "2007-08-20T19:58:58Z")

</div>

In one of my tables, I have a column that holds a 13 digit number that comprises several pieces of information. digits 2-6 contain a date (2 digits for year without century, and 3 digits for julian date). Using stra…

---

## [Layout not being inherited](https://www.ruby-forum.com/t/layout-not-being-inherited/112543)

<div class="topic-metadata">

**Author:** [@pedz](https://www.ruby-forum.com/u/pedz)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 7:57pm UTC](https://www.ruby-forum.com/t/layout-not-being-inherited/112543 "2007-08-20T19:57:58Z")

</div>

I’m trying to figure out why layout is not inherited. I have: app/controllers/parent\_controller.rb class ParentController \< ApplicationController layout “parent” end app/controllers/samples\_controller.rb class Sam…

---

## [How to insert multiple rows into a join, with one sql statem](https://www.ruby-forum.com/t/how-to-insert-multiple-rows-into-a-join-with-one-sql-statem/112482)

<div class="topic-metadata">

**Author:** [@charlie\_caroff](https://www.ruby-forum.com/u/charlie_caroff)\
**Replies:** 3\
**Last updated:** [August 20, 2007, 7:31pm UTC](https://www.ruby-forum.com/t/how-to-insert-multiple-rows-into-a-join-with-one-sql-statem/112482 "2007-08-20T19:31:54Z")

</div>

Hi, I’ve figured out how to import multiple rows into one table with one sql statement, using the syntax Table.import columns, values I make a list of column names, and I make a list of lists of data to import into …

---

## [FormBuilder in rjs](https://www.ruby-forum.com/t/formbuilder-in-rjs/112538)

<div class="topic-metadata">

**Author:** [@developer810](https://www.ruby-forum.com/u/developer810)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 7:02pm UTC](https://www.ruby-forum.com/t/formbuilder-in-rjs/112538 "2007-08-20T19:02:49Z")

</div>

I have a page, which renders a partial that contains a ‘State’ drop down list. Upon change, it re-renders the ‘City’ drop down, re- populating it based on selected state\_id: Page: /customer/new.rhtml \<% form\_for :cus…

---

## [Medication list and doses](https://www.ruby-forum.com/t/medication-list-and-doses/112535)

<div class="topic-metadata">

**Author:** [@Tim\_Graham](https://www.ruby-forum.com/u/Tim_Graham)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 6:54pm UTC](https://www.ruby-forum.com/t/medication-list-and-doses/112535 "2007-08-20T18:54:48Z")

</div>

Hi, We are building an application that generates dynamic forms for ordering various tests in a medical application. We want to have the ability to also choose medications and appropriate doses from the thousands of …

---

## [Initialize static data from database in application](https://www.ruby-forum.com/t/initialize-static-data-from-database-in-application/112532)

<div class="topic-metadata">

**Author:** [@procrastinx](https://www.ruby-forum.com/u/procrastinx)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 6:40pm UTC](https://www.ruby-forum.com/t/initialize-static-data-from-database-in-application/112532 "2007-08-20T18:40:47Z")

</div>

Hi Group , I have a table messages which has some application data which has to be used not so frequently. Also the data to - be returned depends on the context. The current strategy that i use is something like retu…

---

## [Fixtures with Erb \_not\_ interpreted by loader?](https://www.ruby-forum.com/t/fixtures-with-erb-not-interpreted-by-loader/112531)

<div class="topic-metadata">

**Author:** [@AndyV](https://www.ruby-forum.com/u/AndyV)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 6:36pm UTC](https://www.ruby-forum.com/t/fixtures-with-erb-not-interpreted-by-loader/112531 "2007-08-20T18:36:47Z")

</div>

I’ve got an area of my application that is going to vary from customer to customer so I’ve decided to put the view into the DB and render it using render :inline. That part is working fine. My challege is in loading …

---

## [How can I use mssqlclient in ruby without rails](https://www.ruby-forum.com/t/how-can-i-use-mssqlclient-in-ruby-without-rails/112525)

<div class="topic-metadata">

**Author:** [@mickey](https://www.ruby-forum.com/u/mickey)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 5:31pm UTC](https://www.ruby-forum.com/t/how-can-i-use-mssqlclient-in-ruby-without-rails/112525 "2007-08-20T17:31:27Z")

</div>

Anyone have experience in using mssqlclient without rails? Oh, and I’m new so I need the simplified version. Thanks

---

## [Administration section advice](https://www.ruby-forum.com/t/administration-section-advice/112518)

<div class="topic-metadata">

**Author:** [@pallan](https://www.ruby-forum.com/u/pallan)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 3:26pm UTC](https://www.ruby-forum.com/t/administration-section-advice/112518 "2007-08-20T15:26:31Z")

</div>

Hi all, I am looking for some advice on where to put the administrative interfaces for an ecommerce site we are planning for. The debate right now is with the idea of having the administrative portion as part of the …

---

## [Time expiration code](https://www.ruby-forum.com/t/time-expiration-code/112513)

<div class="topic-metadata">

**Author:** [@taro](https://www.ruby-forum.com/u/taro)\
**Replies:** 2\
**Last updated:** [August 20, 2007, 2:51pm UTC](https://www.ruby-forum.com/t/time-expiration-code/112513 "2007-08-20T14:51:06Z")

</div>

I want to create a simple one-line function (to be used by a before\_filter) that expires the session\[:updated\_at\] data after twenty minutes. To be honest, if I knew Ruby a little more I wouldn’t be asking this questi…

---

## [Upload performance](https://www.ruby-forum.com/t/upload-performance/112112)

<div class="topic-metadata">

**Author:** [@Pier\_Luigi\_R](https://www.ruby-forum.com/u/Pier_Luigi_R)\
**Replies:** 4\
**Last updated:** [August 20, 2007, 2:10pm UTC](https://www.ruby-forum.com/t/upload-performance/112112 "2007-08-20T14:10:44Z")

</div>

Hello, I’ve been doing some tests for uploading large files (say \> 50MB) from a form using ruby on rails, has anyone experienced poor performance during this operation ? I’ve tried every method described in wikis, tu…

---

## [Find\_by\_ always uses sql?](https://www.ruby-forum.com/t/find-by-always-uses-sql/112161)

<div class="topic-metadata">

**Author:** [@ldk2005](https://www.ruby-forum.com/u/ldk2005)\
**Replies:** 4\
**Last updated:** [August 20, 2007, 2:05pm UTC](https://www.ruby-forum.com/t/find-by-always-uses-sql/112161 "2007-08-20T14:05:44Z")

</div>

Hi, If I eagerly load a collection during the initial find, do scoped find\_by\_ calls later always use sql? What is the best pattern to use to not do another db trip? Is there some specialized rails method to handle t…

---

## [Using ' - ' in controler names](https://www.ruby-forum.com/t/using-in-controler-names/112509)

<div class="topic-metadata">

**Author:** [@pgega](https://www.ruby-forum.com/u/pgega)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 1:42pm UTC](https://www.ruby-forum.com/t/using-in-controler-names/112509 "2007-08-20T13:42:41Z")

</div>

Hello there, I just started migrating my wensite to ruby on rails and I would like to ask is there any way to use " - " in controler and action names ? Like: www.domain.com/hello-there/tokyo-love-hello ?

---

## [Raising errors in plugin-files or UploadColumn Validation](https://www.ruby-forum.com/t/raising-errors-in-plugin-files-or-uploadcolumn-validation/112507)

<div class="topic-metadata">

**Author:** [@bluescript](https://www.ruby-forum.com/u/bluescript)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 12:37pm UTC](https://www.ruby-forum.com/t/raising-errors-in-plugin-files-or-uploadcolumn-validation/112507 "2007-08-20T12:37:31Z")

</div>

Hi all! I have a problem with the validation of uploaded images, or, to be more specific, with raising errors from plug-in files. I am using UploadColumn to upload pictures. Problem is that it won’t raise errors whe…

---

## [Migrations and legacy database](https://www.ruby-forum.com/t/migrations-and-legacy-database/112506)

<div class="topic-metadata">

**Author:** [@mf\_groups](https://www.ruby-forum.com/u/mf_groups)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 12:08pm UTC](https://www.ruby-forum.com/t/migrations-and-legacy-database/112506 "2007-08-20T12:08:18Z")

</div>

I’m developing a first rails application whith a legacy oracle database. I only have access to the datbase at work, but I would still like to work from home too. I need to maintain 2 different “migration environments”…

---

## [Google Web Toolkit](https://www.ruby-forum.com/t/google-web-toolkit/112497)

<div class="topic-metadata">

**Author:** [@chamnap](https://www.ruby-forum.com/u/chamnap)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 10:49am UTC](https://www.ruby-forum.com/t/google-web-toolkit/112497 "2007-08-20T10:49:02Z")

</div>

Anyone already have a look with gwt(Google Web Toolkit)? How to integrate it with RoR? It has very good feature that can implement a ajax/dynamic web application such as history management.

---

## [Datetime\_select 12 hour display? (Am/PM)?](https://www.ruby-forum.com/t/datetime-select-12-hour-display-am-pm/112486)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 1\
**Last updated:** [August 20, 2007, 9:13am UTC](https://www.ruby-forum.com/t/datetime-select-12-hour-display-am-pm/112486 "2007-08-20T09:13:52Z")

</div>

I have been looking all through the documentation and can’t find anything to display the time in 12 hours format with an AM/PM option. Is there an option for datetime\_select to do this? Or a plugin? Thanks!

---

## [Fastcgi issue on production](https://www.ruby-forum.com/t/fastcgi-issue-on-production/112473)

<div class="topic-metadata">

**Author:** [@Brien](https://www.ruby-forum.com/u/Brien)\
**Replies:** 3\
**Last updated:** [August 20, 2007, 8:18am UTC](https://www.ruby-forum.com/t/fastcgi-issue-on-production/112473 "2007-08-20T08:18:48Z")

</div>

I just deployed my rails app to my production server. It’s all working locally, but when I switched it over to the production server (at dreamhost) I get this error: Logfile created on Sun Aug 19 15:22:48 -0700 2007 b…

---

## [Use continuation in rails](https://www.ruby-forum.com/t/use-continuation-in-rails/112494)

<div class="topic-metadata">

**Author:** [@jack\_archer](https://www.ruby-forum.com/u/jack_archer)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 8:14am UTC](https://www.ruby-forum.com/t/use-continuation-in-rails/112494 "2007-08-20T08:14:33Z")

</div>

Hello anyone with some experience to use continuation across different http request? I try to implement a web service method like below: def getallnotes(userid) $contHash = Hash.new unless $contHash $contHash\[useri…

---

## [Tweaks for Windows XP](https://www.ruby-forum.com/t/tweaks-for-windows-xp/112496)

<div class="topic-metadata">

**Author:** [@Porsche\_Fan](https://www.ruby-forum.com/u/Porsche_Fan)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 8:02am UTC](https://www.ruby-forum.com/t/tweaks-for-windows-xp/112496 "2007-08-20T08:02:46Z")

</div>

Tweak your system and make it more smoother and faster

---

## [Web Developers - Ruby On Rails - Effigent](https://www.ruby-forum.com/t/web-developers-ruby-on-rails-effigent/112495)

<div class="topic-metadata">

**Author:** [@deepak](https://www.ruby-forum.com/u/deepak)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 7:28am UTC](https://www.ruby-forum.com/t/web-developers-ruby-on-rails-effigent/112495 "2007-08-20T07:28:44Z")

</div>

Hi ROR Groups, We are looking for Web D.s with 2+ years experience of which at least a year in Ruby on Rails. Description: HTML, JavaScripts, CSS, AJAX Java/J2EE RoR preferred Will be trained, if required in web t…

---

## [Why does every update fires a select first?](https://www.ruby-forum.com/t/why-does-every-update-fires-a-select-first/112464)

<div class="topic-metadata">

**Author:** [@cujigar](https://www.ruby-forum.com/u/cujigar)\
**Replies:** 5\
**Last updated:** [August 20, 2007, 6:34am UTC](https://www.ruby-forum.com/t/why-does-every-update-fires-a-select-first/112464 "2007-08-20T06:34:36Z")

</div>

In console: List.update(1, :updated\_at=\>Time.now) In log file: SELECT \* FROM lists WHERE (lists.id = 1) SQL (0.000000) BEGIN List Update (0.000000) UPDATE lists SET created\_at = ‘2007-08-10 23:15:36’, desc = NULL, p…

---

## [Before\_invocation by block or method](https://www.ruby-forum.com/t/before-invocation-by-block-or-method/112489)

<div class="topic-metadata">

**Author:** [@jack\_archer](https://www.ruby-forum.com/u/jack_archer)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 4:26am UTC](https://www.ruby-forum.com/t/before-invocation-by-block-or-method/112489 "2007-08-20T04:26:54Z")

</div>

Anyone can tell me the difference of using before\_invocation’s block format and method format? I remember I see it somewhere but I can not find it now Thanks! Jack

---

## [Problem Multiple upload with iframe](https://www.ruby-forum.com/t/problem-multiple-upload-with-iframe/112487)

<div class="topic-metadata">

**Author:** [@chamnap](https://www.ruby-forum.com/u/chamnap)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 3:46am UTC](https://www.ruby-forum.com/t/problem-multiple-upload-with-iframe/112487 "2007-08-20T03:46:27Z")

</div>

I implement multiple upload with only iframe. Each upload occur only the previous upload is finished or no current upload is taken place. Each file upload has its own form. All form has “target” attribute reference to…

---

## [Www.6vips.com](https://www.ruby-forum.com/t/www-6vips-com/112476)

<div class="topic-metadata">

**Author:** [@fanis\_maria](https://www.ruby-forum.com/u/fanis_maria)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 12:49am UTC](https://www.ruby-forum.com/t/www-6vips-com/112476 "2007-08-20T00:49:19Z")

</div>

\*Xarokopou 76 Kallithea Athens Attica tel: 211 7107156 kin: 6945 42 90 42 e-mails: \*\*removed\_email\_address@domain.invalid removed\_email\_address@domain.invalid\*removed\_email\_address@domain.invalid removed\_email…

---

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

<div class="topic-metadata">

**Author:** [@fanis\_maria](https://www.ruby-forum.com/u/fanis_maria)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 12:42am UTC](https://www.ruby-forum.com/t/no-subject/112477 "2007-08-20T00:42:18Z")

</div>

\*Xarokopou 76 Kallithea Athens Attica tel: 211 7107156 kin: 6945 42 90 42 e-mails: \*\*removed\_email\_address@domain.invalid removed\_email\_address@domain.invalid\*removed\_email\_address@domain.invalid removed\_email…

---

## [Search Engine Optimization ( SEO ) and Web Marketing Service](https://www.ruby-forum.com/t/search-engine-optimization-seo-and-web-marketing-service/112471)

<div class="topic-metadata">

**Author:** [@koom2052](https://www.ruby-forum.com/u/koom2052)\
**Replies:** 0\
**Last updated:** [August 19, 2007, 11:09pm UTC](https://www.ruby-forum.com/t/search-engine-optimization-seo-and-web-marketing-service/112471 "2007-08-19T23:09:11Z")

</div>

I am Only Search Engine Optimization(SEO) Expert/Specialist at Karachi in Pakistan that put your Business Profile with your Website link(URL) and/or Business Ad on TOP-10 Ranking/Position in Google, Yahoo and/or MSN i…

---

## [Repairing Windows XP](https://www.ruby-forum.com/t/repairing-windows-xp/112470)

<div class="topic-metadata">

**Author:** [@John\_Travolta](https://www.ruby-forum.com/u/John_Travolta)\
**Replies:** 0\
**Last updated:** [August 19, 2007, 10:38pm UTC](https://www.ruby-forum.com/t/repairing-windows-xp/112470 "2007-08-19T22:38:07Z")

</div>

---

## [Windows XP optimization tips](https://www.ruby-forum.com/t/windows-xp-optimization-tips/112463)

<div class="topic-metadata">

**Author:** [@John\_Travolta](https://www.ruby-forum.com/u/John_Travolta)\
**Replies:** 0\
**Last updated:** [August 19, 2007, 5:58pm UTC](https://www.ruby-forum.com/t/windows-xp-optimization-tips/112463 "2007-08-19T17:58:36Z")

</div>

Optimize your system

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

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