# Rails

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

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

---

## [Select Multiple - does it work? Help!](https://www.ruby-forum.com/t/select-multiple-does-it-work-help/123449)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [December 17, 2007, 11:36pm UTC](https://www.ruby-forum.com/t/select-multiple-does-it-work-help/123449 "2007-12-17T23:36:00Z")

</div>

I realize that doing a select with multiple must work, yet despite so many attempts following dozens of examples I have yet to get any success. I have the following (example) code: \<%= select\_tag ‘test\[\]’, options\_fo…

---

## [Model Coordination, A design problem](https://www.ruby-forum.com/t/model-coordination-a-design-problem/123293)

<div class="topic-metadata">

**Author:** [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Replies:** 4\
**Last updated:** [December 17, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/model-coordination-a-design-problem/123293 "2007-12-17T23:04:55Z")

</div>

Greating All, I have had to solve the following problem enough in the last month that I’m sure it has a name and a body of research behind it but I’m having trouble finding it. The general problem is this: I have a …

---

## [Rake rails:update:configs question](https://www.ruby-forum.com/t/rake-railsconfigs-question/123455)

<div class="topic-metadata">

**Author:** [@jawosis](https://www.ruby-forum.com/u/jawosis)\
**Replies:** 0\
**Last updated:** [December 17, 2007, 10:57pm UTC](https://www.ruby-forum.com/t/rake-railsconfigs-question/123455 "2007-12-17T22:57:17Z")

</div>

I have an 2.0.1 application and just updated rails to 2.0.2. Then i cd’ed to an applications directory and edited config/ environment and changed RAILS\_GEM\_VERSION = ‘2.0.1’ unless defined? RAILS\_GEM\_VERSION to RAIL…

---

## [Mysql::Error in SayController#hello](https://www.ruby-forum.com/t/mysql-error-in-saycontroller-hello/123451)

<div class="topic-metadata">

**Author:** [@supasta](https://www.ruby-forum.com/u/supasta)\
**Replies:** 5\
**Last updated:** [December 17, 2007, 10:04pm UTC](https://www.ruby-forum.com/t/mysql-error-in-saycontroller-hello/123451 "2007-12-17T22:04:24Z")

</div>

Hey guys i’ve just started working through adgile web development with rails. The first thing that it has guided me to do it to make the simple “Hello World!” app. But i’ve come across a problem. Here is the error cod…

---

## [Script/console connection works, but Rails app fails with SQL Server](https://www.ruby-forum.com/t/script-console-connection-works-but-rails-app-fails-with-sql-server/123435)

<div class="topic-metadata">

**Author:** [@rubylover](https://www.ruby-forum.com/u/rubylover)\
**Replies:** 1\
**Last updated:** [December 17, 2007, 10:01pm UTC](https://www.ruby-forum.com/t/script-console-connection-works-but-rails-app-fails-with-sql-server/123435 "2007-12-17T22:01:00Z")

</div>

Greetings, I have an application that connects to a remote SQL Server database using DBI/ODBC. If I run the application via the Rails console, I am able to retrieve data and work with the database just fine. If, ho…

---

## [Getting actionailer-2.0.2.gem error Rails 2.0.2](https://www.ruby-forum.com/t/getting-actionailer-2-0-2-gem-error-rails-2-0-2/123442)

<div class="topic-metadata">

**Author:** [@devaulw](https://www.ruby-forum.com/u/devaulw)\
**Replies:** 3\
**Last updated:** [December 17, 2007, 9:19pm UTC](https://www.ruby-forum.com/t/getting-actionailer-2-0-2-gem-error-rails-2-0-2/123442 "2007-12-17T21:19:55Z")

</div>

I noticed that while trying to update Rails 2.0.2 and I cannot update my gems. Ubuntu system: gem -v 0.9.5 rails -v 2.0.2 ruby -v 1.8.6 Leopard System: gem 0.9.5 rails 2.0.1 ruby 1.8.5 I GET THE SAME ERROR ON …

---

## [Help Regarding Uploading a Image and Use it in two places](https://www.ruby-forum.com/t/help-regarding-uploading-a-image-and-use-it-in-two-places/123238)

<div class="topic-metadata">

**Author:** [@jagan](https://www.ruby-forum.com/u/jagan)\
**Replies:** 1\
**Last updated:** [December 17, 2007, 8:42pm UTC](https://www.ruby-forum.com/t/help-regarding-uploading-a-image-and-use-it-in-two-places/123238 "2007-12-17T20:42:15Z")

</div>

Hello All, We are having two applications which use the same Database.What my requirement is if i upload an image in application1 i want the image to get reflected in application 2 .By Default all images uploaed in a…

---

## [Using the rfacebook gem? Tell us about your Facebook app - rfacebook Sightings Series](https://www.ruby-forum.com/t/using-the-rfacebook-gem-tell-us-about-your-facebook-app-rfacebook-sightings-series/123445)

<div class="topic-metadata">

**Author:** [@gerald\_b](https://www.ruby-forum.com/u/gerald_b)\
**Replies:** 0\
**Last updated:** [December 17, 2007, 8:38pm UTC](https://www.ruby-forum.com/t/using-the-rfacebook-gem-tell-us-about-your-facebook-app-rfacebook-sightings-series/123445 "2007-12-17T20:38:09Z")

</div>

Hello, If you’re using the rfacebook gem I invite you to let us know about your Facebook app on the rfacebook questions & answers mailing list/ forum @ http://groups.google.com/group/rfacebook I will spotlight your F…

---

## [Script/server hangs webrick and mongrel](https://www.ruby-forum.com/t/script-server-hangs-webrick-and-mongrel/123245)

<div class="topic-metadata">

**Author:** [@gavin](https://www.ruby-forum.com/u/gavin)\
**Replies:** 1\
**Last updated:** [December 17, 2007, 8:32pm UTC](https://www.ruby-forum.com/t/script-server-hangs-webrick-and-mongrel/123245 "2007-12-17T20:32:53Z")

</div>

When I script/server, both webrick and mongrel hang until I ctrl-c. If I’m using webrick, it will start normally, but if I’m using mongrel it will appear to start and then hang again. Any idea why this behavior?

---

## [Faild setup rails 2.0](https://www.ruby-forum.com/t/faild-setup-rails-2-0/123250)

<div class="topic-metadata">

**Author:** [@liyu](https://www.ruby-forum.com/u/liyu)\
**Replies:** 1\
**Last updated:** [December 17, 2007, 8:30pm UTC](https://www.ruby-forum.com/t/faild-setup-rails-2-0/123250 "2007-12-17T20:30:32Z")

</div>

\#gem i rails Updating metadata for 9 gems from http://gems.rubyforge.org … complete ERROR: While executing gem … (Gem::Exception) SSL is not installed on this system /ruby/ext/openssl# ruby extconf.rb === OpenSSL…

---

## [Is the session hash available to tests or the rails console?](https://www.ruby-forum.com/t/is-the-session-hash-available-to-tests-or-the-rails-console/123440)

<div class="topic-metadata">

**Author:** [@eggman2001](https://www.ruby-forum.com/u/eggman2001)\
**Replies:** 1\
**Last updated:** [December 17, 2007, 8:05pm UTC](https://www.ruby-forum.com/t/is-the-session-hash-available-to-tests-or-the-rails-console/123440 "2007-12-17T20:05:12Z")

</div>

My guess is that the answer is no because the session hash is available only if you’re storing a cookie, and you can’t store a cookie if you’re using the rails console or using the built-in testing functionality. Can …

---

## [Global dateformat and number formatting](https://www.ruby-forum.com/t/global-dateformat-and-number-formatting/123438)

<div class="topic-metadata">

**Author:** [@Peter\_De\_Berdt](https://www.ruby-forum.com/u/Peter_De_Berdt)\
**Replies:** 0\
**Last updated:** [December 17, 2007, 7:59pm UTC](https://www.ruby-forum.com/t/global-dateformat-and-number-formatting/123438 "2007-12-17T19:59:22Z")

</div>

What would be the best way to globally handle all input fields showing and rails processing european number and date formatting. I’ve looked into a couple solutions, including virtual accessors and looking into how gl…

---

## [Page caching](https://www.ruby-forum.com/t/page-caching/123264)

<div class="topic-metadata">

**Author:** [@ketan](https://www.ruby-forum.com/u/ketan)\
**Replies:** 1\
**Last updated:** [December 17, 2007, 7:40pm UTC](https://www.ruby-forum.com/t/page-caching/123264 "2007-12-17T19:40:35Z")

</div>

i have write in my environment.rb config.action\_controller.perform\_caching = true and i have write in My CategoryController caches\_page :list but page caching is not working properly. please help me.

---

## [Mongrel very slow on Vista](https://www.ruby-forum.com/t/mongrel-very-slow-on-vista/117093)

<div class="topic-metadata">

**Author:** [@weepy](https://www.ruby-forum.com/u/weepy)\
**Replies:** 31\
**Last updated:** [December 17, 2007, 6:53pm UTC](https://www.ruby-forum.com/t/mongrel-very-slow-on-vista/117093 "2007-12-17T18:53:34Z")

</div>

Hi I have a problem where mongrel on vista is veeeery slow. I’ve confirmed in with two different computers running Vista. Same code has no problem on XP or Linux. Basically on both of my Vista instals, looking at “ne…

---

## [Rails 2.0.2 available](https://www.ruby-forum.com/t/rails-2-0-2-available/123416)

<div class="topic-metadata">

**Author:** [@Jean-FranSSSSois\_Tr](https://www.ruby-forum.com/u/Jean-FranSSSSois_Tr)\
**Replies:** 4\
**Last updated:** [December 17, 2007, 6:07pm UTC](https://www.ruby-forum.com/t/rails-2-0-2-available/123416 "2007-12-17T18:07:56Z")

</div>

Hi, Rails 2.0.2 was tagged on changeset 8430. Gems are available on http://gems.rubyonrails.org but not yet on RubyForge (but files are there). -- Jean-François.

---

## [Having trouble installing rails - SSL issues](https://www.ruby-forum.com/t/having-trouble-installing-rails-ssl-issues/120966)

<div class="topic-metadata">

**Author:** [@smc7000](https://www.ruby-forum.com/u/smc7000)\
**Replies:** 5\
**Last updated:** [December 17, 2007, 5:06pm UTC](https://www.ruby-forum.com/t/having-trouble-installing-rails-ssl-issues/120966 "2007-12-17T17:06:55Z")

</div>

I’m trying to install rails on a Debian Etch box. When I run gem install rails --include-dependencies, however, I get this: ERROR: While executing gem … (Gem::Exception) SSL is not installed on this system The probl…

---

## [Pb upload in Rails](https://www.ruby-forum.com/t/pb-upload-in-rails/123427)

<div class="topic-metadata">

**Author:** [@bardachrails](https://www.ruby-forum.com/u/bardachrails)\
**Replies:** 0\
**Last updated:** [December 17, 2007, 4:49pm UTC](https://www.ruby-forum.com/t/pb-upload-in-rails/123427 "2007-12-17T16:49:20Z")

</div>

Hello everybody, I develope my own application with RoR. I use the code after to upload the files to a directory in the public folder of my app, and store the URI of the file in the database as a string,. But in my …

---

## [Date entry without date\_select](https://www.ruby-forum.com/t/date-entry-without-date-select/123171)

<div class="topic-metadata">

**Author:** [@ian](https://www.ruby-forum.com/u/ian)\
**Replies:** 3\
**Last updated:** [December 17, 2007, 4:34pm UTC](https://www.ruby-forum.com/t/date-entry-without-date-select/123171 "2007-12-17T16:34:05Z")

</div>

I’m trying to display and edit dates without using select boxes (which we don’t like from a UI perspective) and without displaying the date values in MySQL date format (i.e., YYYY-MM-DD). My preference would be to hav…

---

## [Single signon / openbar type of app](https://www.ruby-forum.com/t/single-signon-openbar-type-of-app/123422)

<div class="topic-metadata">

**Author:** [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Replies:** 0\
**Last updated:** [December 17, 2007, 4:20pm UTC](https://www.ruby-forum.com/t/single-signon-openbar-type-of-app/123422 "2007-12-17T16:20:01Z")

</div>

I recently stumbled onto the OpenBar (http://www.37signals.com/ openbar) feature within the different 37signals apps and would like to do something like this for the internal apps I am working on right now. I’m almos…

---

## [Map.namespace(:admin)](https://www.ruby-forum.com/t/map-namespace-admin/123370)

<div class="topic-metadata">

**Author:** [@cskidmore](https://www.ruby-forum.com/u/cskidmore)\
**Replies:** 2\
**Last updated:** [December 17, 2007, 4:11pm UTC](https://www.ruby-forum.com/t/map-namespace-admin/123370 "2007-12-17T16:11:20Z")

</div>

There was some information regarding nesting resources inside a namespace such as an admin function. Could someone point me toward a good tutorial or documentation explaining how to use this feature? Cody S.

---

## [Rendering a partial with locals from applicat\_helper](https://www.ruby-forum.com/t/rendering-a-partial-with-locals-from-applicat-helper/123413)

<div class="topic-metadata">

**Author:** [@gabru](https://www.ruby-forum.com/u/gabru)\
**Replies:** 1\
**Last updated:** [December 17, 2007, 3:56pm UTC](https://www.ruby-forum.com/t/rendering-a-partial-with-locals-from-applicat-helper/123413 "2007-12-17T15:56:04Z")

</div>

i have the following method in my application\_helper.rb def test render(:partial =\> ‘/application/errors’, :locals =\> { :detail\_msgs =\> ‘testing…’, :headline =\> \[‘asd’, ‘wwww’\], :msgs =\> \[‘adssaad’\]}) end when I c…

---

## [Can't get win32console gem working properly](https://www.ruby-forum.com/t/cant-get-win32console-gem-working-properly/121999)

<div class="topic-metadata">

**Author:** [@Davi\_V](https://www.ruby-forum.com/u/Davi_V)\
**Replies:** 6\
**Last updated:** [December 17, 2007, 3:53pm UTC](https://www.ruby-forum.com/t/cant-get-win32console-gem-working-properly/121999 "2007-12-17T15:53:27Z")

</div>

Hi all. I must use Windows for a days and I am trying to use win32console gem. I’ve installed it successful and can see it at C:\\ruby\\lib\\ruby\\gems\\1.8\\gems, but can’t use it with require(): irb irb(main):001:0\> req…

---

## [Database Agnostic Date Functions](https://www.ruby-forum.com/t/database-agnostic-date-functions/123314)

<div class="topic-metadata">

**Author:** [@partydrone](https://www.ruby-forum.com/u/partydrone)\
**Replies:** 4\
**Last updated:** [December 17, 2007, 3:01pm UTC](https://www.ruby-forum.com/t/database-agnostic-date-functions/123314 "2007-12-17T15:01:10Z")

</div>

I have a model for events with a start date and an end date. I want to find all events for the current month. How would I go about that, exactly? Thanks.

---

## [Problem starting server](https://www.ruby-forum.com/t/problem-starting-server/123405)

<div class="topic-metadata">

**Author:** [@ratschi85](https://www.ruby-forum.com/u/ratschi85)\
**Replies:** 0\
**Last updated:** [December 17, 2007, 1:15pm UTC](https://www.ruby-forum.com/t/problem-starting-server/123405 "2007-12-17T13:15:08Z")

</div>

I get the following error when trying to start the server. Can anyone help me on how to resolve this? rajeev@osibuild7:~/Desktop/logo/logo$ script/server \*\* Ruby version is not up-to-date; loading cgi\_multipart\_eof\_fi…

---

## [Not able to view the images after the upload](https://www.ruby-forum.com/t/not-able-to-view-the-images-after-the-upload/123377)

<div class="topic-metadata">

**Author:** [@koli](https://www.ruby-forum.com/u/koli)\
**Replies:** 3\
**Last updated:** [December 17, 2007, 12:45pm UTC](https://www.ruby-forum.com/t/not-able-to-view-the-images-after-the-upload/123377 "2007-12-17T12:45:04Z")

</div>

hi, i have this problem where in i’m able to upload the images using file\_column to the server but i’m not able to view the images.i’m not able to see the images but then i’m able to view the image name when i click…

---

## [Activate registration button when only agreement box cliked?](https://www.ruby-forum.com/t/activate-registration-button-when-only-agreement-box-cliked/123396)

<div class="topic-metadata">

**Author:** [@nad](https://www.ruby-forum.com/u/nad)\
**Replies:** 0\
**Last updated:** [December 17, 2007, 10:55am UTC](https://www.ruby-forum.com/t/activate-registration-button-when-only-agreement-box-cliked/123396 "2007-12-17T10:55:53Z")

</div>

Hi all, in my registration form i want to add a check box to mention about the agreement licence. at their if only the agreement box is checked the registration button should activate. pls any one ca help me how to …

---

## [Offset and limit in sqlserver2005](https://www.ruby-forum.com/t/offset-and-limit-in-sqlserver2005/123395)

<div class="topic-metadata">

**Author:** [@shiva](https://www.ruby-forum.com/u/shiva)\
**Replies:** 0\
**Last updated:** [December 17, 2007, 10:44am UTC](https://www.ruby-forum.com/t/offset-and-limit-in-sqlserver2005/123395 "2007-12-17T10:44:04Z")

</div>

Hi, I am using sqlserver2005 as my database.I am facing problem in when i give limit and offset in the query. Eg : @books=Book.find(:all, :limits=\>1,:offset=\>2 ) SELECT \* FROM (SELECT TOP 1 \* FROM (SELECT TOP 2 id…

---

## [Buttons for a drop down list](https://www.ruby-forum.com/t/buttons-for-a-drop-down-list/123394)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 0\
**Last updated:** [December 17, 2007, 10:42am UTC](https://www.ruby-forum.com/t/buttons-for-a-drop-down-list/123394 "2007-12-17T10:42:24Z")

</div>

The “show” for a row from feeds works correctly, showing both rows which that feed row. However, I’d like to add a “add” button (and a “remove”?) to the “Editing feed” page so that the the rows from categories will b…

---

## [Submit button for drop down list](https://www.ruby-forum.com/t/submit-button-for-drop-down-list/123392)

<div class="topic-metadata">

**Author:** [@Thufir](https://www.ruby-forum.com/u/Thufir)\
**Replies:** 0\
**Last updated:** [December 17, 2007, 10:40am UTC](https://www.ruby-forum.com/t/submit-button-for-drop-down-list/123392 "2007-12-17T10:40:03Z")

</div>

I want to be able to add/remove Category items from the GUI rather than the console. From “Listing feeds” clicking on “show” gives: Feed: feed1 Edit | Back Itemized Categories cat1 category2 Then, clicking on “ed…

---

## [Ruport 1.4 Preview Release](https://www.ruby-forum.com/t/ruport-1-4-preview-release/123390)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [December 17, 2007, 10:37am UTC](https://www.ruby-forum.com/t/ruport-1-4-preview-release/123390 "2007-12-17T10:37:42Z")

</div>

Hi folks, We’ve decided to do a preview release as Ruport 1.4 will be coming out within the next couple weeks. We’ve pretty much rounded off the features that will be in the release, and now just need your help ident…

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

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