# Rails

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

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

---

## [Link\_to\_remote confirm dialog title](https://www.ruby-forum.com/t/link-to-remote-confirm-dialog-title/132501)

<div class="topic-metadata">

**Author:** [@rickf](https://www.ruby-forum.com/u/rickf)\
**Replies:** 2\
**Last updated:** [March 20, 2008, 7:55pm UTC](https://www.ruby-forum.com/t/link-to-remote-confirm-dialog-title/132501 "2008-03-20T19:55:24Z")

</div>

Is there any way to set the confirmation dialog title when using link\_to\_remote with the :confirm option? In Firefox the dialog works fine but the title is: “The page at http://localhost:3000 says:” It would be nice …

---

## [Reconstructing url with complex params](https://www.ruby-forum.com/t/reconstructing-url-with-complex-params/132498)

<div class="topic-metadata">

**Author:** [@vikram](https://www.ruby-forum.com/u/vikram)\
**Replies:** 2\
**Last updated:** [March 20, 2008, 7:30pm UTC](https://www.ruby-forum.com/t/reconstructing-url-with-complex-params/132498 "2008-03-20T19:30:01Z")

</div>

Hi, From my rails app, i need a way to reconstruct the current request url inside rhtml so that i can redirect to load the complete page in some other canvas. For that, i need all query string parameters. I managed t…

---

## [TM's Rails Bundle: 'Migrate To Current' fails w/in Editor](https://www.ruby-forum.com/t/tms-rails-bundle-migrate-to-current-fails-w-in-editor/132495)

<div class="topic-metadata">

**Author:** [@ric](https://www.ruby-forum.com/u/ric)\
**Replies:** 0\
**Last updated:** [March 20, 2008, 7:08pm UTC](https://www.ruby-forum.com/t/tms-rails-bundle-migrate-to-current-fails-w-in-editor/132495 "2008-03-20T19:08:10Z")

</div>

Scenario: I can migrate within my rails project from the command prompt; but not within TextMate. I tried the control-pipeline command (^-shift-|) and selected: '(3) Migrate to Current' from within a TM Rails project…

---

## [Running with and without mongrel cluster](https://www.ruby-forum.com/t/running-with-and-without-mongrel-cluster/132473)

<div class="topic-metadata">

**Author:** [@lena](https://www.ruby-forum.com/u/lena)\
**Replies:** 2\
**Last updated:** [March 20, 2008, 6:52pm UTC](https://www.ruby-forum.com/t/running-with-and-without-mongrel-cluster/132473 "2008-03-20T18:52:37Z")

</div>

Can anybody explain why running 7 users without a mongrel cluster gives better response than with a mongrel cluster and why for 25 -50 users the response was about the same? These are performance figures: without mong…

---

## ["Catch" mails using Rails (some sort of ticket software)?](https://www.ruby-forum.com/t/catch-mails-using-rails-some-sort-of-ticket-software/131633)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 2\
**Last updated:** [March 20, 2008, 5:30pm UTC](https://www.ruby-forum.com/t/catch-mails-using-rails-some-sort-of-ticket-software/131633 "2008-03-20T17:30:52Z")

</div>

Hi all I’m developing a website where DJ’s can be booked. To book a DJ, the user can fill out a booking request form, which is saved as a Booking model instance. Now I’d like to save all correspondence (which is done…

---

## [Undefined method \`generated\_methods'](https://www.ruby-forum.com/t/undefined-method-generated-methods/225998)

<div class="topic-metadata">

**Author:** [@manish](https://www.ruby-forum.com/u/manish)\
**Replies:** 10\
**Last updated:** [March 20, 2008, 5:09pm UTC](https://www.ruby-forum.com/t/undefined-method-generated-methods/225998 "2008-03-20T17:09:44Z")

</div>

i m getting this error… undefined method \`generated\_methods’ for “chop”:String c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active\_record/attribute\_methods.rb:188:in \`method\_missing’ app/controllers/chops\_co…

---

## [Documentation help](https://www.ruby-forum.com/t/documentation-help/132483)

<div class="topic-metadata">

**Author:** [@megax](https://www.ruby-forum.com/u/megax)\
**Replies:** 2\
**Last updated:** [March 20, 2008, 5:07pm UTC](https://www.ruby-forum.com/t/documentation-help/132483 "2008-03-20T17:07:58Z")

</div>

I’ve had rails create the documentation for my website but im not sure how to get it up in the browser, im using Webrick at the moment so I expect it to be dometing like http://localhost:3000/doc/index.rhtml but that …

---

## [Combo box value from another combo box](https://www.ruby-forum.com/t/combo-box-value-from-another-combo-box/132371)

<div class="topic-metadata">

**Author:** [@adrianod](https://www.ruby-forum.com/u/adrianod)\
**Replies:** 2\
**Last updated:** [March 20, 2008, 4:55pm UTC](https://www.ruby-forum.com/t/combo-box-value-from-another-combo-box/132371 "2008-03-20T16:55:34Z")

</div>

Hi, I would like to know how can I load the values of a second box based on the id of the first combo the first one is university and has id and name the second one is course and it depends of the unviersity since eac…

---

## [Sort the collection in the index.rhtml](https://www.ruby-forum.com/t/sort-the-collection-in-the-index-rhtml/132170)

<div class="topic-metadata">

**Author:** [@Kei\_Simone](https://www.ruby-forum.com/u/Kei_Simone)\
**Replies:** 2\
**Last updated:** [March 20, 2008, 4:38pm UTC](https://www.ruby-forum.com/t/sort-the-collection-in-the-index-rhtml/132170 "2008-03-20T16:38:58Z")

</div>

Hi, i am using rails 1.2.6 please forgive me as this application is live and i could not find the time to move it to rails 2.0 i have a index.rhtml for items item has 3 attributes other than id, they are name, catego…

---

## [Partial refresh not working, but no errors](https://www.ruby-forum.com/t/partial-refresh-not-working-but-no-errors/132469)

<div class="topic-metadata">

**Author:** [@newrubygirl](https://www.ruby-forum.com/u/newrubygirl)\
**Replies:** 2\
**Last updated:** [March 20, 2008, 3:41pm UTC](https://www.ruby-forum.com/t/partial-refresh-not-working-but-no-errors/132469 "2008-03-20T15:41:05Z")

</div>

I’ve got a partial that I’m trying to refresh, but I don’t get back any results, nor do I see any errors in Firebug. I’m guessing there’s a problem with the DOM, but I’m not sure. Can someone else take a look and le…

---

## [Problem that study rails on leopard](https://www.ruby-forum.com/t/problem-that-study-rails-on-leopard/130012)

<div class="topic-metadata">

**Author:** [@liwenqiu](https://www.ruby-forum.com/u/liwenqiu)\
**Replies:** 6\
**Last updated:** [March 20, 2008, 3:09pm UTC](https://www.ruby-forum.com/t/problem-that-study-rails-on-leopard/130012 "2008-03-20T15:09:31Z")

</div>

hi, guys: i'm Writing Depot app on Mac OS X(10.5.2 Leopard) using bash, when running a db migrate to create product table, and i get this error: rake aborted! Mysql::Error: Can’t create/write to file ‘/var/folders/G…

---

## [Migrations and schema.rb - where did I go wrong?](https://www.ruby-forum.com/t/migrations-and-schema-rb-where-did-i-go-wrong/132441)

<div class="topic-metadata">

**Author:** [@nahabed](https://www.ruby-forum.com/u/nahabed)\
**Replies:** 4\
**Last updated:** [March 20, 2008, 2:02pm UTC](https://www.ruby-forum.com/t/migrations-and-schema-rb-where-did-i-go-wrong/132441 "2008-03-20T14:02:29Z")

</div>

We’re a group of 3 developers and eager newcomers to Ruby collaborating on a project. I started a baseline implementation with a few migrations and models a few weeks ago. For the first time, we integrated some code……

---

## [Cannot call render :partial :collection with an Array of Hash?](https://www.ruby-forum.com/t/cannot-call-render-partial-collection-with-an-array-of-hash/132417)

<div class="topic-metadata">

**Author:** [@eric](https://www.ruby-forum.com/u/eric)\
**Replies:** 2\
**Last updated:** [March 20, 2008, 1:08pm UTC](https://www.ruby-forum.com/t/cannot-call-render-partial-collection-with-an-array-of-hash/132417 "2008-03-20T13:08:12Z")

</div>

I tried calling something like this in my view: \<%= render :partial =\> ‘foo’, :collection =\> \[{1=\>2}, 3\] %\> And the partial doesn’t seem to be getting the first Hash object in the array. Anyone else experienced this? …

---

## [Cleaning up Session (Cookie Based)](https://www.ruby-forum.com/t/cleaning-up-session-cookie-based/132328)

<div class="topic-metadata">

**Author:** [@sharkie](https://www.ruby-forum.com/u/sharkie)\
**Replies:** 4\
**Last updated:** [March 20, 2008, 11:09am UTC](https://www.ruby-forum.com/t/cleaning-up-session-cookie-based/132328 "2008-03-20T11:09:55Z")

</div>

I am using the default Cookie-Based Session in Rails 2.0. I have accumulated the bad practice of adding: session\[‘seen\_announcement\_’ + Date.today.to\_s\] = true over the years. No users have complained yet, but I am a…

---

## [Saving a new object n times to the DB](https://www.ruby-forum.com/t/saving-a-new-object-n-times-to-the-db/132404)

<div class="topic-metadata">

**Author:** [@ANSS](https://www.ruby-forum.com/u/ANSS)\
**Replies:** 3\
**Last updated:** [March 20, 2008, 10:59am UTC](https://www.ruby-forum.com/t/saving-a-new-object-n-times-to-the-db/132404 "2008-03-20T10:59:20Z")

</div>

Hello, I have a generate method that generate PIN codes and serial numbers n times, n comes from a user-submitted form, something like that: \<% form\_for :card, :url =\> {:action =\> “generate”} do |f| -%\> Number of …

---

## [Date\_select in a select query?](https://www.ruby-forum.com/t/date-select-in-a-select-query/132225)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 12\
**Last updated:** [March 20, 2008, 10:54am UTC](https://www.ruby-forum.com/t/date-select-in-a-select-query/132225 "2008-03-20T10:54:41Z")

</div>

hi, stuck with using the date\_select tag in a search screen. So in my search form i’ve got this… \<%=date\_select(:from, ‘’, :start\_year =\> 1950, :include\_blank =\> true)%\> which gives back this in the param… “select \* …

---

## [Hi ,all friends](https://www.ruby-forum.com/t/hi-all-friends/132456)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [March 20, 2008, 10:50am UTC](https://www.ruby-forum.com/t/hi-all-friends/132456 "2008-03-20T10:50:54Z")

</div>

I just to learn ror,take care me please

---

## [Rails Contract Developer Required](https://www.ruby-forum.com/t/rails-contract-developer-required/132452)

<div class="topic-metadata">

**Author:** [@Jattie](https://www.ruby-forum.com/u/Jattie)\
**Replies:** 0\
**Last updated:** [March 20, 2008, 10:23am UTC](https://www.ruby-forum.com/t/rails-contract-developer-required/132452 "2008-03-20T10:23:05Z")

</div>

I have an active public site running on rails that requires code changes and bug fixes. I have the same site up and running on instantrails that I use for development purposes. I require the services of a knowledgable…

---

## [N/w](https://www.ruby-forum.com/t/n-w/128620)

<div class="topic-metadata">

**Author:** [@sara231](https://www.ruby-forum.com/u/sara231)\
**Replies:** 2\
**Last updated:** [March 20, 2008, 9:05am UTC](https://www.ruby-forum.com/t/n-w/128620 "2008-03-20T09:05:45Z")

</div>

Hi all, my name is Sara. I just came across the forum and thought that it will be a nice idea to register. I here looking for great new friends who can solve my problems.I like listening to music, some kinds more than…

---

## [Problem to install install stream library](https://www.ruby-forum.com/t/problem-to-install-install-stream-library/132445)

<div class="topic-metadata">

**Author:** [@hemantaray](https://www.ruby-forum.com/u/hemantaray)\
**Replies:** 0\
**Last updated:** [March 20, 2008, 7:32am UTC](https://www.ruby-forum.com/t/problem-to-install-install-stream-library/132445 "2008-03-20T07:32:47Z")

</div>

when i execute … ruby install.rb in command promt,it shows ruby: No such file or directory – install.rb (LoadError) plz help how to install it

---

## [Graph Implementation in ruby](https://www.ruby-forum.com/t/graph-implementation-in-ruby/132443)

<div class="topic-metadata">

**Author:** [@hemantaray](https://www.ruby-forum.com/u/hemantaray)\
**Replies:** 0\
**Last updated:** [March 20, 2008, 7:28am UTC](https://www.ruby-forum.com/t/graph-implementation-in-ruby/132443 "2008-03-20T07:28:09Z")

</div>

ACtually i want to create a 2 dimensional graph want to show the relationship between the people of a city w.r.t year plz help me and send simple code

---

## [Date\_select javascript\_tag](https://www.ruby-forum.com/t/date-select-javascript-tag/132442)

<div class="topic-metadata">

**Author:** [@sij](https://www.ruby-forum.com/u/sij)\
**Replies:** 0\
**Last updated:** [March 20, 2008, 7:06am UTC](https://www.ruby-forum.com/t/date-select-javascript-tag/132442 "2008-03-20T07:06:13Z")

</div>

Hi this is ok Documento \<%= text\_field ‘entry’, ‘nr\_documento’ %\> \<%= javascript\_tag render(:update) { |page| page\[‘entry\_nr\_documento’\].focus } %\> this no Data \<%= date\_select ‘entry’, ‘data’, :order =\> \[:day, …

---

## [Mixing stored procedure call with RoR db calls in the same function gives errors](https://www.ruby-forum.com/t/mixing-stored-procedure-call-with-ror-db-calls-in-the-same-function-gives-errors/132444)

<div class="topic-metadata">

**Author:** [@skt](https://www.ruby-forum.com/u/skt)\
**Replies:** 0\
**Last updated:** [March 20, 2008, 6:29am UTC](https://www.ruby-forum.com/t/mixing-stored-procedure-call-with-ror-db-calls-in-the-same-function-gives-errors/132444 "2008-03-20T06:29:04Z")

</div>

Folks, I am using ruby 1.8.5 with rails 1.2.3 and have made changes to mysql\_adapter.rb based on recommendations made here http://wiki.rubyonrails.org/rails/pages/StoredProceduresInMySql to be able to use stored proc…

---

## [Will\_paginate and record count](https://www.ruby-forum.com/t/will-paginate-and-record-count/128839)

<div class="topic-metadata">

**Author:** [@giorgio](https://www.ruby-forum.com/u/giorgio)\
**Replies:** 4\
**Last updated:** [March 20, 2008, 4:31am UTC](https://www.ruby-forum.com/t/will-paginate-and-record-count/128839 "2008-03-20T04:31:13Z")

</div>

Hi, I have just installed will\_paginate plugin and got it working OK. Excuse me if this is a very obvious question but how do you get access to the total record count from all pages. ie I want to display “nnn matchin…

---

## [Application.rhtml.erb not being used](https://www.ruby-forum.com/t/application-rhtml-erb-not-being-used/132433)

<div class="topic-metadata">

**Author:** [@Davo](https://www.ruby-forum.com/u/Davo)\
**Replies:** 1\
**Last updated:** [March 20, 2008, 4:28am UTC](https://www.ruby-forum.com/t/application-rhtml-erb-not-being-used/132433 "2008-03-20T04:28:17Z")

</div>

Hi All, I’m working through the updated rolling with rails tutorial ( for Rails 2.0.2 ) via the screencast at rubyplus.org & I’ve got the point where the auto generated layouts have been replaced with a global applic…

---

## [Trying to extend Facebooker::User](https://www.ruby-forum.com/t/trying-to-extend-facebooker-user/132431)

<div class="topic-metadata">

**Author:** [@DaveInNYC](https://www.ruby-forum.com/u/DaveInNYC)\
**Replies:** 0\
**Last updated:** [March 20, 2008, 3:49am UTC](https://www.ruby-forum.com/t/trying-to-extend-facebooker-user/132431 "2008-03-20T03:49:37Z")

</div>

I have been playing around with the Facebooker plugin (and am brand bew to Rails to boot). I am trying to add methods to Facebooker::User, by making my own Facebooker:User model, i.e.: class Facebooker::User def list…

---

## [ActiveRecord::StatementInvalid in update method using Oracle](https://www.ruby-forum.com/t/activerecord-statementinvalid-in-update-method-using-oracle/116172)

<div class="topic-metadata">

**Author:** [@fotn](https://www.ruby-forum.com/u/fotn)\
**Replies:** 2\
**Last updated:** [March 20, 2008, 3:48am UTC](https://www.ruby-forum.com/t/activerecord-statementinvalid-in-update-method-using-oracle/116172 "2008-03-20T03:48:26Z")

</div>

Sorry about the length, but it includes what has already been tried and I’m at my wits end… I have in production a RoR app which utilises an existing Oracle database. The app has its own user which has views, which up…

---

## [Re: attachment\_fu :uploaded\_data](https://www.ruby-forum.com/t/re-attachment-fu-uploaded-data/132395)

<div class="topic-metadata">

**Author:** [@mslagell](https://www.ruby-forum.com/u/mslagell)\
**Replies:** 1\
**Last updated:** [March 20, 2008, 2:24am UTC](https://www.ruby-forum.com/t/re-attachment-fu-uploaded-data/132395 "2008-03-20T02:24:34Z")

</div>

I was having an issue with uploading issues Windows but you might want to check out ----- Original Message ---- From: Michael … removed\_email\_address@domain.invalid To: removed\_email\_address@domain.invalid Sent: We…

---

## [Multi-server deployment w/ a proxy balancer](https://www.ruby-forum.com/t/multi-server-deployment-w-a-proxy-balancer/132427)

<div class="topic-metadata">

**Author:** [@brianwisti](https://www.ruby-forum.com/u/brianwisti)\
**Replies:** 0\
**Last updated:** [March 20, 2008, 2:18am UTC](https://www.ruby-forum.com/t/multi-server-deployment-w-a-proxy-balancer/132427 "2008-03-20T02:18:16Z")

</div>

I’m trying to figure out the best way to setup a multi-server rails deployment as it relates to load balancing. I’d really like to use Nginx w/ the fair proxy module. Is there any way to do this without having to se…

---

## [Is anyone running Rails 2.x against a MS SQL Server DB?](https://www.ruby-forum.com/t/is-anyone-running-rails-2-x-against-a-ms-sql-server-db/131994)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 15\
**Last updated:** [March 20, 2008, 1:29am UTC](https://www.ruby-forum.com/t/is-anyone-running-rails-2-x-against-a-ms-sql-server-db/131994 "2008-03-20T01:29:13Z")

</div>

I am unable to get ActiveRecord session support to work under 2.x against a SQL Server database. I’m starting to wonder if anyone is running 2.x against SQL Server? Is anyone running under the following configuration…

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

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