# Rails

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

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

---

## [For GIS applications](https://www.ruby-forum.com/t/for-gis-applications/173007)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 7\
**Last updated:** [August 4, 2009, 12:36am UTC](https://www.ruby-forum.com/t/for-gis-applications/173007 "2009-08-04T00:36:38Z")

</div>

Hi Could anybody please which is the most widely used gem for GIS applications I came across http://ym4r.rubyforge.org/ym4r-doc/ But seen it has not been updated since 2006 Thanks in adavnce Sijo

---

## [New to Rails? Read This](https://www.ruby-forum.com/t/new-to-rails-read-this/171825)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 24\
**Last updated:** [August 4, 2009, 12:13am UTC](https://www.ruby-forum.com/t/new-to-rails-read-this/171825 "2009-08-04T00:13:52Z")

</div>

I’m still relatively new to rails myself but have been using it now for about 6 weeks. I’ve read 3 rails books, performed thousands of google searches, saved everything important to my current work scope, and want to…

---

## [Threadsafe! & engines](https://www.ruby-forum.com/t/threadsafe-engines/172898)

<div class="topic-metadata">

**Author:** [@Tyler\_J](https://www.ruby-forum.com/u/Tyler_J)\
**Replies:** 2\
**Last updated:** [August 3, 2009, 9:42pm UTC](https://www.ruby-forum.com/t/threadsafe-engines/172898 "2009-08-03T21:42:15Z")

</div>

I’m having a problem with rails 2.3.2, engines, and eager loading. There is a default set of eager\_load\_paths (the usual suspects under app/) that will be greedily required by rails at boot time when you’re running wi…

---

## [Using Select Helper](https://www.ruby-forum.com/t/using-select-helper/173136)

<div class="topic-metadata">

**Author:** [@diabolist](https://www.ruby-forum.com/u/diabolist)\
**Replies:** 1\
**Last updated:** [August 3, 2009, 8:36pm UTC](https://www.ruby-forum.com/t/using-select-helper/173136 "2009-08-03T20:36:41Z")

</div>

I am having trouble getting the form select helper to use non-numeric values. The form is pasted below… I want the f.select to have values “home”, “category”, etc, not numeric values like shown. However, it does no…

---

## [ActionController::RoutingError (No route matches "/say/hello" with {:method=\>:get}):](https://www.ruby-forum.com/t/actioncontroller-routingerror-no-route-matches-say-hello-with-method-get/173041)

<div class="topic-metadata">

**Author:** [@chris](https://www.ruby-forum.com/u/chris)\
**Replies:** 2\
**Last updated:** [August 3, 2009, 6:19pm UTC](https://www.ruby-forum.com/t/actioncontroller-routingerror-no-route-matches-say-hello-with-method-get/173041 "2009-08-03T18:19:42Z")

</div>

Hello: I have found a whole lot of posts on this, however, none of them offer any sort of solution other than restarting the web server, which I can’t imagine everyone out there developing on Rails is doing. I am on …

---

## [Correct format for errors returned from a REST server?](https://www.ruby-forum.com/t/correct-format-for-errors-returned-from-a-rest-server/173120)

<div class="topic-metadata">

**Author:** [@captaffy](https://www.ruby-forum.com/u/captaffy)\
**Replies:** 2\
**Last updated:** [August 3, 2009, 4:38pm UTC](https://www.ruby-forum.com/t/correct-format-for-errors-returned-from-a-rest-server/173120 "2009-08-03T16:38:56Z")

</div>

What’s the correct format for returning informative errors from a REST server. Error code 500 isn’t enough. I want to see a description of the error, but how can I format the XML correctly to put some useful informati…

---

## [Plugins / libraries for user-specific CSS?](https://www.ruby-forum.com/t/plugins-libraries-for-user-specific-css/173122)

<div class="topic-metadata">

**Author:** [@Zee](https://www.ruby-forum.com/u/Zee)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 4:07pm UTC](https://www.ruby-forum.com/t/plugins-libraries-for-user-specific-css/173122 "2009-08-03T16:07:26Z")

</div>

Hi all, I’m creating a social networking site which (obviously) will be mostly user-created content. I’d like for users to also be able to have some control over the look of the site - ie for them to choose ‘skins’ or …

---

## [Missing mislav-will\_paginate](https://www.ruby-forum.com/t/missing-mislav-will-paginate/173084)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 10\
**Last updated:** [August 3, 2009, 4:02pm UTC](https://www.ruby-forum.com/t/missing-mislav-will-paginate/173084 "2009-08-03T16:02:44Z")

</div>

When I try to start the test server (ruby script/server), I get the following error: =\> Booting WEBrick... Missing these required gems: mislav-will\_paginate ~\> 2.3.2 Not a problem, I thought, so I entered the fo…

---

## [Could not find RubyGem rack (~\> 1.0.0) (Gem::LoadError)](https://www.ruby-forum.com/t/could-not-find-rubygem-rack-1-0-0-gem-loaderror/172858)

<div class="topic-metadata">

**Author:** [@jmail137](https://www.ruby-forum.com/u/jmail137)\
**Replies:** 1\
**Last updated:** [August 3, 2009, 3:06pm UTC](https://www.ruby-forum.com/t/could-not-find-rubygem-rack-1-0-0-gem-loaderror/172858 "2009-08-03T15:06:27Z")

</div>

Here is some help for the folks just learning Rails I am following the Sitepoint book by Patrick Lenz “Simply Rails 2” and received an error message when attempting to run the command “rails shovell” to create a ne…

---

## [Speed comparison between mac/linux and windows](https://www.ruby-forum.com/t/speed-comparison-between-mac-linux-and-windows/172760)

<div class="topic-metadata">

**Author:** [@kghose](https://www.ruby-forum.com/u/kghose)\
**Replies:** 4\
**Last updated:** [August 3, 2009, 3:05pm UTC](https://www.ruby-forum.com/t/speed-comparison-between-mac-linux-and-windows/172760 "2009-08-03T15:05:05Z")

</div>

Hi, I remember there was a period when there was a substantial performance difference between windows and mac/linux. I experienced this personally when I moved from rails 1.2 or so to a recent version on windows (it …

---

## [Sharing Gems and Ruby Interpreter among application servers](https://www.ruby-forum.com/t/sharing-gems-and-ruby-interpreter-among-application-servers/172894)

<div class="topic-metadata">

**Author:** [@ACTRAiSER](https://www.ruby-forum.com/u/ACTRAiSER)\
**Replies:** 1\
**Last updated:** [August 3, 2009, 2:57pm UTC](https://www.ruby-forum.com/t/sharing-gems-and-ruby-interpreter-among-application-servers/172894 "2009-08-03T14:57:31Z")

</div>

Hi there, I have several Rails Applications on different servers which all use the same gems and the same ruby interpreter version, installed on each of the machines. They are all in the same data warehouse, meaning …

---

## [Where to require openssl?](https://www.ruby-forum.com/t/where-to-require-openssl/172919)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 1\
**Last updated:** [August 3, 2009, 2:55pm UTC](https://www.ruby-forum.com/t/where-to-require-openssl/172919 "2009-08-03T14:55:24Z")

</div>

Hi, In one of my models I need to use openssl, but I don’t know where to place the: require ‘openssl’ statement? Should I put it in the model file? Should I create a file under config/initializers/requirements and pl…

---

## [Proxy settings for rails apps](https://www.ruby-forum.com/t/proxy-settings-for-rails-apps/172969)

<div class="topic-metadata">

**Author:** [@Ritvvij](https://www.ruby-forum.com/u/Ritvvij)\
**Replies:** 1\
**Last updated:** [August 3, 2009, 2:55pm UTC](https://www.ruby-forum.com/t/proxy-settings-for-rails-apps/172969 "2009-08-03T14:55:01Z")

</div>

My app calls a few web services. Sometimes when I move my laptop to a proxy-ed internet area, the rails app fails. Do I need special settings for proxy?

---

## [Select helper](https://www.ruby-forum.com/t/select-helper/173067)

<div class="topic-metadata">

**Author:** [@bingobob](https://www.ruby-forum.com/u/bingobob)\
**Replies:** 13\
**Last updated:** [August 3, 2009, 2:52pm UTC](https://www.ruby-forum.com/t/select-helper/173067 "2009-08-03T14:52:38Z")

</div>

on my homepage i’d like a drop down. The ser selects the resort and it should go to the resorts show action the following code doesnt work ! how do i do it. rake routes shows me resort GET /resorts/:id(.:format) …

---

## [Is there a way to support moneybookers in activemerchant](https://www.ruby-forum.com/t/is-there-a-way-to-support-moneybookers-in-activemerchant/173093)

<div class="topic-metadata">

**Author:** [@gaoxt1983](https://www.ruby-forum.com/u/gaoxt1983)\
**Replies:** 1\
**Last updated:** [August 3, 2009, 2:51pm UTC](https://www.ruby-forum.com/t/is-there-a-way-to-support-moneybookers-in-activemerchant/173093 "2009-08-03T14:51:54Z")

</div>

I’m not quite familiar with online payment. Is there anyone can enlighten me with detail?

---

## [Updating attribute based on radio selection](https://www.ruby-forum.com/t/updating-attribute-based-on-radio-selection/173117)

<div class="topic-metadata">

**Author:** [@sts](https://www.ruby-forum.com/u/sts)\
**Replies:** 3\
**Last updated:** [August 3, 2009, 2:32pm UTC](https://www.ruby-forum.com/t/updating-attribute-based-on-radio-selection/173117 "2009-08-03T14:32:00Z")

</div>

I have a table with question\_id , nominees and vote\_count in which the values are added manually as follows. ex: question\_id nominees vote\_count 1 tamil 0 1 selvi 0 2 …

---

## [How to modify authentication to use against a bespoke database schema](https://www.ruby-forum.com/t/how-to-modify-authentication-to-use-against-a-bespoke-database-schema/173114)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [August 3, 2009, 10:14am UTC](https://www.ruby-forum.com/t/how-to-modify-authentication-to-use-against-a-bespoke-database-schema/173114 "2009-08-03T10:14:28Z")

</div>

Hi all, I am a little stuck for documentation. I am attempting to use authlogic in a project that is a mini app added to a much larger, established system. This system has a different way of storing user login inform…

---

## [Cannot seem to include my own module & classes into Rails ap](https://www.ruby-forum.com/t/cannot-seem-to-include-my-own-module-classes-into-rails-ap/173103)

<div class="topic-metadata">

**Author:** [@biot023](https://www.ruby-forum.com/u/biot023)\
**Replies:** 2\
**Last updated:** [August 3, 2009, 9:52am UTC](https://www.ruby-forum.com/t/cannot-seem-to-include-my-own-module-classes-into-rails-ap/173103 "2009-08-03T09:52:36Z")

</div>

Hi – I’ve got a class called SF::SOAP that gets defined at /lib/wsdl/sandbox/defaultDriver.rb It is defined like: module SF class SOAP # … end end How do I include this in my Rails app so that I can (for instance…

---

## [Checking whether or not scripting is enabled or disabled](https://www.ruby-forum.com/t/checking-whether-or-not-scripting-is-enabled-or-disabled/173107)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 6\
**Last updated:** [August 3, 2009, 5:19am UTC](https://www.ruby-forum.com/t/checking-whether-or-not-scripting-is-enabled-or-disabled/173107 "2009-08-03T05:19:21Z")

</div>

I’m turning my head around and around on this topic and not many searches on the web turn up what I need to do. Here’s the simple issue: I have an ajax search form that is activated via checkbox/observer: \<%= check\_b…

---

## [How to ignore case in highlight() function?](https://www.ruby-forum.com/t/how-to-ignore-case-in-highlight-function/173020)

<div class="topic-metadata">

**Author:** [@yankees26](https://www.ruby-forum.com/u/yankees26)\
**Replies:** 1\
**Last updated:** [August 3, 2009, 4:52am UTC](https://www.ruby-forum.com/t/how-to-ignore-case-in-highlight-function/173020 "2009-08-03T04:52:57Z")

</div>

how to ignore case in highlight() function?

---

## [How to upload video to my Flash Media Server?](https://www.ruby-forum.com/t/how-to-upload-video-to-my-flash-media-server/173108)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 2\
**Last updated:** [August 3, 2009, 2:58am UTC](https://www.ruby-forum.com/t/how-to-upload-video-to-my-flash-media-server/173108 "2009-08-03T02:58:59Z")

</div>

I have an FMS (influxis) ready for video streaming I wonder how Y can transfer the video uploaded by my web app users into the FMS ? no plugin yet I guess… should I use a js library ? all I have seen until now is via …

---

## [How to "sanitize" a link?](https://www.ruby-forum.com/t/how-to-sanitize-a-link/171280)

<div class="topic-metadata">

**Author:** [@xdmx](https://www.ruby-forum.com/u/xdmx)\
**Replies:** 5\
**Last updated:** [August 3, 2009, 12:57am UTC](https://www.ruby-forum.com/t/how-to-sanitize-a-link/171280 "2009-08-03T00:57:27Z")

</div>

Hi, i wan’t to permit users to send their own content, text, html, and stuff like that. It should also be permit them to send their own design, using div, span, internal style attributes and so on. Obviously i’d like …

---

## [Multiple app directories](https://www.ruby-forum.com/t/multiple-app-directories/173102)

<div class="topic-metadata">

**Author:** [@mcv](https://www.ruby-forum.com/u/mcv)\
**Replies:** 2\
**Last updated:** [August 2, 2009, 11:03pm UTC](https://www.ruby-forum.com/t/multiple-app-directories/173102 "2009-08-02T23:03:07Z")

</div>

Hi, I’m wondering if there is possibility to make multiple ‘apps’ under one Rails Application. That is multiple app directories but sharing the same server, the same configuration, etc. One might be ‘admin’ and the o…

---

## [Using 'get' in rspec controller test, doesn't work with array value for parameter](https://www.ruby-forum.com/t/using-get-in-rspec-controller-test-doesnt-work-with-array-value-for-parameter/173104)

<div class="topic-metadata">

**Author:** [@anthonybaker](https://www.ruby-forum.com/u/anthonybaker)\
**Replies:** 0\
**Last updated:** [August 2, 2009, 8:53pm UTC](https://www.ruby-forum.com/t/using-get-in-rspec-controller-test-doesnt-work-with-array-value-for-parameter/173104 "2009-08-02T20:53:45Z")

</div>

This may be the wrong forum for this, but I think I’ll ask here anyway because the method in question is one of Rails integration testing methods and not actually implemented by rspec. I’m trying to spec the retrieve …

---

## [File import/export: what is the best practice?](https://www.ruby-forum.com/t/file-import-export-what-is-the-best-practice/173100)

<div class="topic-metadata">

**Author:** [@explainer](https://www.ruby-forum.com/u/explainer)\
**Replies:** 1\
**Last updated:** [August 2, 2009, 8:49pm UTC](https://www.ruby-forum.com/t/file-import-export-what-is-the-best-practice/173100 "2009-08-02T20:49:04Z")

</div>

My app will have to import and export data in various formats. I am wondering what is the recommended best practice to do this sort of thing with Rails. Any documentation on the subject would be helpful. I can handl…

---

## [Provide missing image](https://www.ruby-forum.com/t/provide-missing-image/173101)

<div class="topic-metadata">

**Author:** [@makire](https://www.ruby-forum.com/u/makire)\
**Replies:** 1\
**Last updated:** [August 2, 2009, 7:59pm UTC](https://www.ruby-forum.com/t/provide-missing-image/173101 "2009-08-02T19:59:53Z")

</div>

Hi I have an application where people can upload avatar-like images to the site. When I show the images I want to show a placeholder image if no image has been uploaded for that user. I was thinking of overloading th…

---

## [Ajax request render from RJS and handling Flash notices](https://www.ruby-forum.com/t/ajax-request-render-from-rjs-and-handling-flash-notices/173095)

<div class="topic-metadata">

**Author:** [@elricstorm](https://www.ruby-forum.com/u/elricstorm)\
**Replies:** 1\
**Last updated:** [August 2, 2009, 6:36pm UTC](https://www.ruby-forum.com/t/ajax-request-render-from-rjs-and-handling-flash-notices/173095 "2009-08-02T18:36:47Z")

</div>

I created an rjs file to handle an ajax request to update my index view for a particular view template I’m working with. I’m using… In the index.js.rjs file: page.replace\_html(“headstart” , :partial =\> “headstart” , …

---

## [Nested link\_to\_function with partial](https://www.ruby-forum.com/t/nested-link-to-function-with-partial/171815)

<div class="topic-metadata">

**Author:** [@frontzman](https://www.ruby-forum.com/u/frontzman)\
**Replies:** 1\
**Last updated:** [August 2, 2009, 3:20pm UTC](https://www.ruby-forum.com/t/nested-link-to-function-with-partial/171815 "2009-08-02T15:20:05Z")

</div>

I have a service\_ticket model that has\_many :activities. Each of those activities habtm :employees. My goal is to have a single page for the service ticket model where one could add the activites and then specify the …

---

## [IDE - asp.net v. RoR for new programmer?](https://www.ruby-forum.com/t/ide-asp-net-v-ror-for-new-programmer/173079)

<div class="topic-metadata">

**Author:** [@marcuslee](https://www.ruby-forum.com/u/marcuslee)\
**Replies:** 5\
**Last updated:** [August 2, 2009, 9:49am UTC](https://www.ruby-forum.com/t/ide-asp-net-v-ror-for-new-programmer/173079 "2009-08-02T09:49:24Z")

</div>

Not trolling here, but genuinely trying to figure out what to use for a project I’d like to create. I’m very new to programming (some intro classes at university) and am debating between learning asp.net versus ruby …

---

## [Undefined method updated? for \<model object\>](https://www.ruby-forum.com/t/undefined-method-updated-for-model-object/173006)

<div class="topic-metadata">

**Author:** [@Himanshu\_P](https://www.ruby-forum.com/u/Himanshu_P)\
**Replies:** 2\
**Last updated:** [August 2, 2009, 8:20am UTC](https://www.ruby-forum.com/t/undefined-method-updated-for-model-object/173006 "2009-08-02T08:20:55Z")

</div>

Hi, I have two model say- ZipCode \< ActiveRecord::Base belongs\_to :state\_provinces end StateProvince \< ActiveRecord::Base has\_many :zip\_codes end if I do @zip\_code.update\_atribute(:city, “My City”) its giving Un…

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

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