# Rails

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

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

---

## [How do you use rails with (triggers and Oracle)?](https://www.ruby-forum.com/t/how-do-you-use-rails-with-triggers-and-oracle/85537)

<div class="topic-metadata">

**Author:** [@crenner](https://www.ruby-forum.com/u/crenner)\
**Replies:** 1\
**Last updated:** [May 3, 2010, 3:50pm UTC](https://www.ruby-forum.com/t/how-do-you-use-rails-with-triggers-and-oracle/85537 "2010-05-03T15:50:26Z")

</div>

I have an existing database in Oracle. All the tables have triggers that insert the next value from the table sequence into the id column. I have told rails about the sequence using set\_sequence\_name. The problem occ…

---

## [Local Ruby on rails events in Gurgaon,Delhi India...?](https://www.ruby-forum.com/t/local-ruby-on-rails-events-in-gurgaon-delhi-india/187966)

<div class="topic-metadata">

**Author:** [@shyam\_mohan](https://www.ruby-forum.com/u/shyam_mohan)\
**Replies:** 0\
**Last updated:** [May 3, 2010, 12:52pm UTC](https://www.ruby-forum.com/t/local-ruby-on-rails-events-in-gurgaon-delhi-india/187966 "2010-05-03T12:52:36Z")

</div>

Hi All…! Is there any Local Group … or events on ruby on rails …Meets etc… I want to join that … Please tell me abt that… -Shyam

---

## [Need Some Help in Configuring Webrick Server](https://www.ruby-forum.com/t/need-some-help-in-configuring-webrick-server/187960)

<div class="topic-metadata">

**Author:** [@Sajith\_V](https://www.ruby-forum.com/u/Sajith_V)\
**Replies:** 2\
**Last updated:** [May 3, 2010, 12:40pm UTC](https://www.ruby-forum.com/t/need-some-help-in-configuring-webrick-server/187960 "2010-05-03T12:40:54Z")

</div>

Hi, I am very new to ruby and I have encountered some problem in starting up the webrick server. I used the command ruby script/server webrick -e production and I encounter with the following error. C:\\Redmine\\redm…

---

## [Scriptaculous Problems](https://www.ruby-forum.com/t/scriptaculous-problems/187959)

<div class="topic-metadata">

**Author:** [@ahmompoint](https://www.ruby-forum.com/u/ahmompoint)\
**Replies:** 0\
**Last updated:** [May 3, 2010, 11:34am UTC](https://www.ruby-forum.com/t/scriptaculous-problems/187959 "2010-05-03T11:34:09Z")

</div>

Hello community, I am a fairly new RoR programmer and I need some help with Scriptaculous Drag and Drop: So I have \<%= draggable\_element(@div\_id, :revert =\> “failure”, :snap =\> 5) -%\> and a droppable: \<%= drop\_rece…

---

## [Sessions](https://www.ruby-forum.com/t/sessions/187953)

<div class="topic-metadata">

**Author:** [@mailtorajuit](https://www.ruby-forum.com/u/mailtorajuit)\
**Replies:** 0\
**Last updated:** [May 3, 2010, 8:10am UTC](https://www.ruby-forum.com/t/sessions/187953 "2010-05-03T08:10:32Z")

</div>

hi all, in my application i have to maintain the user information in session and updates the table flag when the user logins and while loggingout i change the flag to zero. i want to delete the stale sessions and whi…

---

## [Deprecating {{}} and welcoming %{}](https://www.ruby-forum.com/t/deprecating-and-welcoming/187874)

<div class="topic-metadata">

**Author:** [@josevalim](https://www.ruby-forum.com/u/josevalim)\
**Replies:** 4\
**Last updated:** [May 3, 2010, 8:00am UTC](https://www.ruby-forum.com/t/deprecating-and-welcoming/187874 "2010-05-03T08:00:29Z")

</div>

Hey guys, I did a couple benchmarks related with using {{}} or %{} as interpolation option in message and got the following results. Using Ruby 1.9.1 {{}} 525.48 ms %{} 320.03 ms Using REE {{}} 813.61 ms %…

---

## [Select inside a hidden div](https://www.ruby-forum.com/t/select-inside-a-hidden-div/187285)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 2\
**Last updated:** [May 3, 2010, 7:58am UTC](https://www.ruby-forum.com/t/select-inside-a-hidden-div/187285 "2010-05-03T07:58:44Z")

</div>

Is there any way to use select inside a hidden div block with a model object for the select items ? I have the block showing and hiding OK with observe\_field, but the variable I’m using to see whether to show/ hide se…

---

## [Sluggish Webrick?](https://www.ruby-forum.com/t/sluggish-webrick/187947)

<div class="topic-metadata">

**Author:** [@karthikeyan](https://www.ruby-forum.com/u/karthikeyan)\
**Replies:** 0\
**Last updated:** [May 3, 2010, 4:02am UTC](https://www.ruby-forum.com/t/sluggish-webrick/187947 "2010-05-03T04:02:52Z")

</div>

Hi, I noticed recently that style sheets and javascrips in my rails app under development does not loads properly, when I tried to access it this is what I got: Internal Server Error Internal Server Error …

---

## [Scriptaculous, snap draggable to droppable or revert](https://www.ruby-forum.com/t/scriptaculous-snap-draggable-to-droppable-or-revert/187946)

<div class="topic-metadata">

**Author:** [@inertia](https://www.ruby-forum.com/u/inertia)\
**Replies:** 0\
**Last updated:** [May 3, 2010, 3:28am UTC](https://www.ruby-forum.com/t/scriptaculous-snap-draggable-to-droppable-or-revert/187946 "2010-05-03T03:28:20Z")

</div>

Hello community, I am a fairly new RoR programmer and I need some help with Scriptaculous Drag and Drop: So I have \<%= draggable\_element(@div\_id, :revert =\> “failure”, :snap =\> 5) -%\> and a droppable: \<%= drop\_rece…

---

## [Mephisto status?](https://www.ruby-forum.com/t/mephisto-status/187944)

<div class="topic-metadata">

**Author:** [@avramd](https://www.ruby-forum.com/u/avramd)\
**Replies:** 1\
**Last updated:** [May 3, 2010, 12:17am UTC](https://www.ruby-forum.com/t/mephisto-status/187944 "2010-05-03T00:17:38Z")

</div>

Can anyone tell me the status of Mephisto w/rt current rails? Is it still being developed? From all of my googling, the site for it seems like it was mephistoblog.com, and it doesn’t appear to exist any more.

---

## [Rail's App structure in Gem?](https://www.ruby-forum.com/t/rails-app-structure-in-gem/187943)

<div class="topic-metadata">

**Author:** [@elliottg](https://www.ruby-forum.com/u/elliottg)\
**Replies:** 0\
**Last updated:** [May 2, 2010, 11:47pm UTC](https://www.ruby-forum.com/t/rails-app-structure-in-gem/187943 "2010-05-02T23:47:12Z")

</div>

I have been looking at the source of some Gems… Within some, I see an App structure that emulates part of Rail’s App structure, i.e, Controller, Helpers, Models, Views etc… How do Gem centric paths work when a Rails s…

---

## [DB structure of a translation Web service](https://www.ruby-forum.com/t/db-structure-of-a-translation-web-service/187922)

<div class="topic-metadata">

**Author:** [@oreng](https://www.ruby-forum.com/u/oreng)\
**Replies:** 4\
**Last updated:** [May 2, 2010, 9:03pm UTC](https://www.ruby-forum.com/t/db-structure-of-a-translation-web-service/187922 "2010-05-02T21:03:55Z")

</div>

I am building a Web service that will provide content for different client via Rest API. currently I have: content has\_many :keys (since many keys can reference the same content) content table has only one field - t…

---

## [Drop down menu and ajax calls](https://www.ruby-forum.com/t/drop-down-menu-and-ajax-calls/187923)

<div class="topic-metadata">

**Author:** [@amabdelsalam](https://www.ruby-forum.com/u/amabdelsalam)\
**Replies:** 1\
**Last updated:** [May 2, 2010, 2:24pm UTC](https://www.ruby-forum.com/t/drop-down-menu-and-ajax-calls/187923 "2010-05-02T14:24:43Z")

</div>

Hi, I have a drop down menu that contains a set of menu items. Each menu item is planned to make ajax call to change the content of the page when it’s clicked. I used link\_to\_remote successfully to make the ajax call …

---

## [Passenger Processes Users](https://www.ruby-forum.com/t/passenger-processes-users/187929)

<div class="topic-metadata">

**Author:** [@maz](https://www.ruby-forum.com/u/maz)\
**Replies:** 1\
**Last updated:** [May 2, 2010, 12:11pm UTC](https://www.ruby-forum.com/t/passenger-processes-users/187929 "2010-05-02T12:11:51Z")

</div>

Hi all, I was wondering if it is possible to have passenger spawn each of its rails processes on a different user account. Thanks, Maz

---

## [Problems with \_path and \_url helpers using namespaced controller](https://www.ruby-forum.com/t/problems-with-path-and-url-helpers-using-namespaced-controller/187928)

<div class="topic-metadata">

**Author:** [@re5et](https://www.ruby-forum.com/u/re5et)\
**Replies:** 0\
**Last updated:** [May 2, 2010, 12:05pm UTC](https://www.ruby-forum.com/t/problems-with-path-and-url-helpers-using-namespaced-controller/187928 "2010-05-02T12:05:25Z")

</div>

I am using a namespaced controller as described here When using: map.with\_options(:namespace =\> “admin”) do |admin| admin.resources :photos, :videos end and then attempting to use the path/url helper new\_photo\_path…

---

## [Cannot grok form\_for](https://www.ruby-forum.com/t/cannot-grok-form-for/187916)

<div class="topic-metadata">

**Author:** [@fearless\_fool](https://www.ruby-forum.com/u/fearless_fool)\
**Replies:** 1\
**Last updated:** [May 2, 2010, 3:55am UTC](https://www.ruby-forum.com/t/cannot-grok-form-for/187916 "2010-05-02T03:55:58Z")

</div>

I’m stumped with form\_for(). I’ve RTFM’d until my eyeballs have bled. I’ve looked over examples. I still don’t get it, and each thing I try leads to some other error. If someone can lead me to form\_for enlightenmen…

---

## [Users Uploading Files To An asset\_host](https://www.ruby-forum.com/t/users-uploading-files-to-an-asset-host/187914)

<div class="topic-metadata">

**Author:** [@MaggotChild](https://www.ruby-forum.com/u/MaggotChild)\
**Replies:** 0\
**Last updated:** [May 2, 2010, 1:10am UTC](https://www.ruby-forum.com/t/users-uploading-files-to-an-asset-host/187914 "2010-05-02T01:10:35Z")

</div>

I’m curious how people put static files uploaded by users to their asset host. I’d think (for non S3, CloudFiles, etc…) that the files would be submitted to the app server which would save them to a shared drive on …

---

## [Fields\_for: how many objects can it handle - max string size?](https://www.ruby-forum.com/t/fields-for-how-many-objects-can-it-handle-max-string-size/187879)

<div class="topic-metadata">

**Author:** [@Kurt](https://www.ruby-forum.com/u/Kurt)\
**Replies:** 1\
**Last updated:** [May 1, 2010, 3:44pm UTC](https://www.ruby-forum.com/t/fields-for-how-many-objects-can-it-handle-max-string-size/187879 "2010-05-01T15:44:42Z")

</div>

Our app is getting a “string sizes too big” error in an .erb file that is trying to render a large block of checkboxes that represent color attributes that belong\_to the product being edited in this view. The code wo…

---

## [Getting an error while running activerecord test suite](https://www.ruby-forum.com/t/getting-an-error-while-running-activerecord-test-suite/187905)

<div class="topic-metadata">

**Author:** [@Neeraj\_Singh](https://www.ruby-forum.com/u/Neeraj_Singh)\
**Replies:** 1\
**Last updated:** [May 1, 2010, 2:56pm UTC](https://www.ruby-forum.com/t/getting-an-error-while-running-activerecord-test-suite/187905 "2010-05-01T14:56:06Z")

</div>

I downloaded the rails edge cd activerecord rake test\_mysql I am getting an exception at line 165 block. Line 169 ( http://github.com/rails/rails/blob/master/activerecord/test/cases/validations/uniqueness\_validat…

---

## [How many connection pool should we have for internet facing apps?](https://www.ruby-forum.com/t/how-many-connection-pool-should-we-have-for-internet-facing-apps/187775)

<div class="topic-metadata">

**Author:** [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Replies:** 3\
**Last updated:** [May 1, 2010, 1:08pm UTC](https://www.ruby-forum.com/t/how-many-connection-pool-should-we-have-for-internet-facing-apps/187775 "2010-05-01T13:08:25Z")

</div>

Hi all, This is a rather basic question about connection pooling in ruby on rails. In rails we can define the connection pool in database.yml. I assume it is quite safe to hardcode this value for intranet application…

---

## [Sh: irb: command not found error](https://www.ruby-forum.com/t/sh-irb-command-not-found-error/187904)

<div class="topic-metadata">

**Author:** [@toulon](https://www.ruby-forum.com/u/toulon)\
**Replies:** 0\
**Last updated:** [May 1, 2010, 1:04pm UTC](https://www.ruby-forum.com/t/sh-irb-command-not-found-error/187904 "2010-05-01T13:04:54Z")

</div>

I am running ruby 1.8.6 and rails 2.3.5 and just started learning rails When following the tutorial on I tried to run the command script/console and it failed. After some research I found the following solution. I…

---

## [Rails 3's rails.js should offer Ajax.Updater](https://www.ruby-forum.com/t/rails-3s-rails-js-should-offer-ajax-updater/187903)

<div class="topic-metadata">

**Author:** [@funkensturm](https://www.ruby-forum.com/u/funkensturm)\
**Replies:** 0\
**Last updated:** [May 1, 2010, 1:04pm UTC](https://www.ruby-forum.com/t/rails-3s-rails-js-should-offer-ajax-updater/187903 "2010-05-01T13:04:54Z")

</div>

Hey, I have a form on a website that I would like to be submitted remotely to not have to reload the whole page. Only the form should update, so that e.g. error messages can be displayed. Makes sense :slight\_smile: …

---

## [Tamil unicode support rails with mysql](https://www.ruby-forum.com/t/tamil-unicode-support-rails-with-mysql/187899)

<div class="topic-metadata">

**Author:** [@nirosh](https://www.ruby-forum.com/u/nirosh)\
**Replies:** 1\
**Last updated:** [May 1, 2010, 10:03am UTC](https://www.ruby-forum.com/t/tamil-unicode-support-rails-with-mysql/187899 "2010-05-01T10:03:31Z")

</div>

i have a problem with mysql. i have developed an app witch is works on unicode based. everything worked so far. now i migrate the db sqlite3 to mysql then my Unicode characters appear as ???. any idea to solve this …

---

## [Can i access global cookies from rails?](https://www.ruby-forum.com/t/can-i-access-global-cookies-from-rails/187887)

<div class="topic-metadata">

**Author:** [@dino\_d](https://www.ruby-forum.com/u/dino_d)\
**Replies:** 2\
**Last updated:** [May 1, 2010, 12:54am UTC](https://www.ruby-forum.com/t/can-i-access-global-cookies-from-rails/187887 "2010-05-01T00:54:36Z")

</div>

hi - i’m trying to integrate facebook authentication into my app. facebook sets a cookie called fbs\_xxxx where xxxx is your app id. but, i can’t figure out how to get my hands on that that cookie inside rails, cooki…

---

## [Using in\_groups\_of to get data to display horizontally](https://www.ruby-forum.com/t/using-in-groups-of-to-get-data-to-display-horizontally/187892)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 0\
**Last updated:** [May 1, 2010, 12:19am UTC](https://www.ruby-forum.com/t/using-in-groups-of-to-get-data-to-display-horizontally/187892 "2010-05-01T00:19:15Z")

</div>

Hey all, The following has two columns. Each column has a head with a name and then a data cell with a time directly below it. I’m wondering how I can get the time to display next to the name, not below it. @clock.…

---

## [Â£ sign not printing](https://www.ruby-forum.com/t/a-sign-not-printing/187889)

<div class="topic-metadata">

**Author:** [@dmcclean](https://www.ruby-forum.com/u/dmcclean)\
**Replies:** 0\
**Last updated:** [May 1, 2010, 12:13am UTC](https://www.ruby-forum.com/t/a-sign-not-printing/187889 "2010-05-01T00:13:02Z")

</div>

Over a year ago I posted a question about why my £sign was printing in one of my page and not in another although the code was the same. I went through checking database type, collation etc and changing from Unicode t…

---

## [Controller methods and how I learned to love 'rake routes'](https://www.ruby-forum.com/t/controller-methods-and-how-i-learned-to-love-rake-routes/187885)

<div class="topic-metadata">

**Author:** [@fearless\_fool](https://www.ruby-forum.com/u/fearless_fool)\
**Replies:** 0\
**Last updated:** [April 30, 2010, 9:57pm UTC](https://www.ruby-forum.com/t/controller-methods-and-how-i-learned-to-love-rake-routes/187885 "2010-04-30T21:57:04Z")

</div>

Face it: to the newcomer, Rails routing is strange and mysterious. It took me a while get the hang of it, so I thought I’d share some info (and a couple of handy techniques) for those who are new to Rails. Here, assu…

---

## [Does any one knows how to setup ror on hostmonster](https://www.ruby-forum.com/t/does-any-one-knows-how-to-setup-ror-on-hostmonster/187781)

<div class="topic-metadata">

**Author:** [@nirosh](https://www.ruby-forum.com/u/nirosh)\
**Replies:** 8\
**Last updated:** [April 30, 2010, 9:30pm UTC](https://www.ruby-forum.com/t/does-any-one-knows-how-to-setup-ror-on-hostmonster/187781 "2010-04-30T21:30:54Z")

</div>

does any one knows how to setup ror on hostmonster. i’m new to the hosting. so i dono how to set it up. the technical people told me that they don’t give any idean abut the ror hosting via live chat. So i need to do t…

---

## [Dumping 12,000+ records into seeds.rb?](https://www.ruby-forum.com/t/dumping-12-000-records-into-seeds-rb/187834)

<div class="topic-metadata">

**Author:** [@Phoenix\_R](https://www.ruby-forum.com/u/Phoenix_R)\
**Replies:** 1\
**Last updated:** [April 30, 2010, 8:01pm UTC](https://www.ruby-forum.com/t/dumping-12-000-records-into-seeds-rb/187834 "2010-04-30T20:01:09Z")

</div>

I have a legacy e-commerce app that’s got about 12,000 inventory items in it, including pairings between items in one model to items in another. There’s no way we’ll have the manpower to manually add all those items …

---

## [Cache logic in js\_include\_tag and stylesheet\_link\_tag?](https://www.ruby-forum.com/t/cache-logic-in-js-include-tag-and-stylesheet-link-tag/187690)

<div class="topic-metadata">

**Author:** [@jrochkind](https://www.ruby-forum.com/u/jrochkind)\
**Replies:** 3\
**Last updated:** [April 30, 2010, 7:54pm UTC](https://www.ruby-forum.com/t/cache-logic-in-js-include-tag-and-stylesheet-link-tag/187690 "2010-04-30T19:54:48Z")

</div>

So using the magic :cache argument to combine multiple CSS or JS files into one cached file, using stylesheet\_link\_tag or javascript\_include\_tag respectively… I sort of figured that if the arguments to the function ch…

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

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