# Rails

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

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

---

## [Select\_tag help](https://www.ruby-forum.com/t/select-tag-help/163528)

<div class="topic-metadata">

**Author:** [@skirkpatrick](https://www.ruby-forum.com/u/skirkpatrick)\
**Replies:** 2\
**Last updated:** [March 21, 2009, 5:08pm UTC](https://www.ruby-forum.com/t/select-tag-help/163528 "2009-03-21T17:08:34Z")

</div>

I’m trying to create a select tag for a search form that defaults to –\>Fake when nothing has been selected. I have tried using the following: \<%= select\_tag(:fake, options\_for\_select({"–\>Fake" =\> “”, “Yes” =\> 1, “No…

---

## [Validating xml parser?](https://www.ruby-forum.com/t/validating-xml-parser/163531)

<div class="topic-metadata">

**Author:** [@sudhi](https://www.ruby-forum.com/u/sudhi)\
**Replies:** 1\
**Last updated:** [March 21, 2009, 5:04pm UTC](https://www.ruby-forum.com/t/validating-xml-parser/163531 "2009-03-21T17:04:28Z")

</div>

Hi, Is there any validating xml parsers available with rubu or rubyonrails? I tried REXML but that is not a validating parser. All other information on the web links to some 3rd partly xml parsers. I am using rails o…

---

## [Rails 2.3 really checks for presence of $RAILS\_ROOT/public/index.html](https://www.ruby-forum.com/t/rails-2-3-really-checks-for-presence-of-rails-root-public-index-html/163503)

<div class="topic-metadata">

**Author:** [@Sudhir](https://www.ruby-forum.com/u/Sudhir)\
**Replies:** 1\
**Last updated:** [March 21, 2009, 9:51am UTC](https://www.ruby-forum.com/t/rails-2-3-really-checks-for-presence-of-rails-root-public-index-html/163503 "2009-03-21T09:51:10Z")

</div>

Just sharing a Rail 2.3.2 upgrade experience. My app was running on 2.1.1 before I upgraded. Most things worked but I could not get my default route in routes.rb to work. The default route URL was “/”. I had a route l…

---

## [Routes path problem when using link\_to\_remote](https://www.ruby-forum.com/t/routes-path-problem-when-using-link-to-remote/163516)

<div class="topic-metadata">

**Author:** [@shardul](https://www.ruby-forum.com/u/shardul)\
**Replies:** 1\
**Last updated:** [March 21, 2009, 9:36am UTC](https://www.ruby-forum.com/t/routes-path-problem-when-using-link-to-remote/163516 "2009-03-21T09:36:32Z")

</div>

Hello there, My routes.rb has following map.resources “parties” , :controller=\> “political\_parties” , :collection =\> {:states =\> :get , :nationals =\> :get } In one of my views i was trying to do something like this \<…

---

## [Structuring a find that looks at the first letter of a field](https://www.ruby-forum.com/t/structuring-a-find-that-looks-at-the-first-letter-of-a-field/163517)

<div class="topic-metadata">

**Author:** [@rjsquire](https://www.ruby-forum.com/u/rjsquire)\
**Replies:** 1\
**Last updated:** [March 21, 2009, 9:28am UTC](https://www.ruby-forum.com/t/structuring-a-find-that-looks-at-the-first-letter-of-a-field/163517 "2009-03-21T09:28:21Z")

</div>

I guess the subject is fairly self-explanatory. I’m pretty new to RoR, but I’d like to learn how to structure a find that looks at the first character of a field, say firstname, to find those that match a parameter pa…

---

## [Migrating rails website from one server to another](https://www.ruby-forum.com/t/migrating-rails-website-from-one-server-to-another/163515)

<div class="topic-metadata">

**Author:** [@ankit2584](https://www.ruby-forum.com/u/ankit2584)\
**Replies:** 2\
**Last updated:** [March 21, 2009, 8:32am UTC](https://www.ruby-forum.com/t/migrating-rails-website-from-one-server-to-another/163515 "2009-03-21T08:32:13Z")

</div>

Hello, I have rails website running on one windows server. How can i migrate the website from one server to another ensuring gems and plugins are also migrated. both the servers run windoes 2003 and the database is m…

---

## [May somebody can give me a detail steps about sqlite3 installation?](https://www.ruby-forum.com/t/may-somebody-can-give-me-a-detail-steps-about-sqlite3-installation/163509)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 21, 2009, 8:22am UTC](https://www.ruby-forum.com/t/may-somebody-can-give-me-a-detail-steps-about-sqlite3-installation/163509 "2009-03-21T08:22:51Z")

</div>

my ruby version is 1.8.6, rails version is 2.3.2, but it seems that sqlite3 hasn’t installed successfully. I need the detail steps about sqlite3 installation… ~alex zhou

---

## [Problem running Rdoc from Rake in Rails 2.3](https://www.ruby-forum.com/t/problem-running-rdoc-from-rake-in-rails-2-3/163514)

<div class="topic-metadata">

**Author:** [@bornboulder](https://www.ruby-forum.com/u/bornboulder)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 8:01am UTC](https://www.ruby-forum.com/t/problem-running-rdoc-from-rake-in-rails-2-3/163514 "2009-03-21T08:01:12Z")

</div>

People, I’m getting an error from Rake I’d like to debug. Here is a screendump: Fri Mar 20 23:28 /b/tmp/myfc23 maco$ rake doc:plugins:rspec (in /b/tmp/myfc23) rdoc -o doc/plugins/rspec --title ‘Rspec Plugin Documen…

---

## [Multi-Site sessions](https://www.ruby-forum.com/t/multi-site-sessions/163507)

<div class="topic-metadata">

**Author:** [@petrjanda](https://www.ruby-forum.com/u/petrjanda)\
**Replies:** 3\
**Last updated:** [March 21, 2009, 7:42am UTC](https://www.ruby-forum.com/t/multi-site-sessions/163507 "2009-03-21T07:42:53Z")

</div>

Hi all, Im developing an application that runs on multiple physical boxes (and thus different hostnames). Both of the boxes will run the same application (connecting to a shared postgres server). What I need is when …

---

## [NoMethodError (undefined method \`call' for nil:NilClass):](https://www.ruby-forum.com/t/nomethoderror-undefined-method-call-for-nil-nilclass/163431)

<div class="topic-metadata">

**Author:** [@Jigu](https://www.ruby-forum.com/u/Jigu)\
**Replies:** 5\
**Last updated:** [March 21, 2009, 7:00am UTC](https://www.ruby-forum.com/t/nomethoderror-undefined-method-call-for-nil-nilclass/163431 "2009-03-21T07:00:49Z")

</div>

I am getting HTTP 500 Internal server error when updating info for one of page of my website. Please help me and for your reference i have posted ruby trace below: Processing ModelsController#update (for 203.187.233.9…

---

## [Charts in Rails](https://www.ruby-forum.com/t/charts-in-rails/163367)

<div class="topic-metadata">

**Author:** [@motine](https://www.ruby-forum.com/u/motine)\
**Replies:** 9\
**Last updated:** [March 21, 2009, 5:04am UTC](https://www.ruby-forum.com/t/charts-in-rails/163367 "2009-03-21T05:04:36Z")

</div>

I am still looking for a decent way to create charts in Rails. The best solution i found so far is Google Charts, since I will be needing the charts as images to embed them into a pdf on the server side. Subsequential…

---

## [Rails requires RubyGems \>= 1.3.1 (you have 1.1.1) on OSX](https://www.ruby-forum.com/t/rails-requires-rubygems-1-3-1-you-have-1-1-1-on-osx/163483)

<div class="topic-metadata">

**Author:** [@andreinla](https://www.ruby-forum.com/u/andreinla)\
**Replies:** 5\
**Last updated:** [March 21, 2009, 3:50am UTC](https://www.ruby-forum.com/t/rails-requires-rubygems-1-3-1-you-have-1-1-1-on-osx/163483 "2009-03-21T03:50:59Z")

</div>

Hi, I just installed rails 2.3.2 and after rails test cd test rake db:migrate mongrel\_rails start I get this: \*\* Starting Mongrel listening at 0.0.0.0:3000 \*\* Starting Rails with development environment… Rails re…

---

## [YAML config files with environment specific settings](https://www.ruby-forum.com/t/yaml-config-files-with-environment-specific-settings/163505)

<div class="topic-metadata">

**Author:** [@rubynewbie](https://www.ruby-forum.com/u/rubynewbie)\
**Replies:** 0\
**Last updated:** [March 21, 2009, 3:23am UTC](https://www.ruby-forum.com/t/yaml-config-files-with-environment-specific-settings/163505 "2009-03-21T03:23:27Z")

</div>

I need to store settings by environment but started off simply with my config file at: \\config\\config.yml. The only setting I had was this: attachment\_volume: \\attach\\transfers With this, cod I’m able to load the fil…

---

## [How to position cursor on first input field?](https://www.ruby-forum.com/t/how-to-position-cursor-on-first-input-field/163480)

<div class="topic-metadata">

**Author:** [@sultan](https://www.ruby-forum.com/u/sultan)\
**Replies:** 2\
**Last updated:** [March 21, 2009, 3:20am UTC](https://www.ruby-forum.com/t/how-to-position-cursor-on-first-input-field/163480 "2009-03-21T03:20:36Z")

</div>

It must be simple, but I haven’t been able to figure it out.

---

## [In Place Edit w/ TinyMCE?](https://www.ruby-forum.com/t/in-place-edit-w-tinymce/163490)

<div class="topic-metadata">

**Author:** [@acts\_as\_jason](https://www.ruby-forum.com/u/acts_as_jason)\
**Replies:** 1\
**Last updated:** [March 21, 2009, 2:33am UTC](https://www.ruby-forum.com/t/in-place-edit-w-tinymce/163490 "2009-03-21T02:33:05Z")

</div>

Anyone able to get in place editing with tinyMCE working. I have tried to implement this: http://inplacericheditor.box.re/ Everything seems to be working, except when the tinyMCE editor loads, it ignores the current m…

---

## [Generic link\_to in a shared partial](https://www.ruby-forum.com/t/generic-link-to-in-a-shared-partial/163486)

<div class="topic-metadata">

**Author:** [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Replies:** 3\
**Last updated:** [March 21, 2009, 12:28am UTC](https://www.ruby-forum.com/t/generic-link-to-in-a-shared-partial/163486 "2009-03-21T00:28:36Z")

</div>

I am trying to write a simple and generic one table maintenance shared partial which can be reused to maintain multiple tables with the following fields: id, name, created\_by, updated\_by. I am stuck in generating res…

---

## [How to delete a record inside of an association](https://www.ruby-forum.com/t/how-to-delete-a-record-inside-of-an-association/163489)

<div class="topic-metadata">

**Author:** [@nate](https://www.ruby-forum.com/u/nate)\
**Replies:** 2\
**Last updated:** [March 21, 2009, 12:12am UTC](https://www.ruby-forum.com/t/how-to-delete-a-record-inside-of-an-association/163489 "2009-03-21T00:12:14Z")

</div>

I’m a noob having a hard time, and it’s probably really simple. Here’s the way it’s set up: Client has many Bins Bin belongs to Client In my Client show view I have it render a partial that lists all the records in …

---

## [Reporting with Rails](https://www.ruby-forum.com/t/reporting-with-rails/163447)

<div class="topic-metadata">

**Author:** [@Fidel\_V](https://www.ruby-forum.com/u/Fidel_V)\
**Replies:** 4\
**Last updated:** [March 20, 2009, 11:20pm UTC](https://www.ruby-forum.com/t/reporting-with-rails/163447 "2009-03-20T23:20:42Z")

</div>

Hi all, I was wondering how you guys generate reports from rails. I want to generate business reports in pdf format, and was wondering what you guys use. I have searched the web and found Ruport, but there isn’t much…

---

## [Rails 2.3 and helpers within plugins](https://www.ruby-forum.com/t/rails-2-3-and-helpers-within-plugins/163484)

<div class="topic-metadata">

**Author:** [@acras](https://www.ruby-forum.com/u/acras)\
**Replies:** 2\
**Last updated:** [March 20, 2009, 9:45pm UTC](https://www.ruby-forum.com/t/rails-2-3-and-helpers-within-plugins/163484 "2009-03-20T21:45:13Z")

</div>

Hi, I’m porting a plugin of mine to work with rails 2.3. My plugin is based in engines. I’m doing good so far, the only problem is with helpers. Rails seems not to recognize helpers from my plugin. Anyone ran into t…

---

## [Why does this happen](https://www.ruby-forum.com/t/why-does-this-happen/163048)

<div class="topic-metadata">

**Author:** [@ball](https://www.ruby-forum.com/u/ball)\
**Replies:** 8\
**Last updated:** [March 20, 2009, 9:35pm UTC](https://www.ruby-forum.com/t/why-does-this-happen/163048 "2009-03-20T21:35:48Z")

</div>

Quick question, using ActiveRecord, catBike = Category.new(:name =\> “Bikes”) catBike.save p = Product.new(:name =\> “Bike”, :price =\> 900) p.categories \<\< catBike p.save p.categories now has TWO catBike however, if…

---

## [Who are the ROR guru's on this board?](https://www.ruby-forum.com/t/who-are-the-ror-gurus-on-this-board/163081)

<div class="topic-metadata">

**Author:** [@cwi-tech-guy](https://www.ruby-forum.com/u/cwi-tech-guy)\
**Replies:** 10\
**Last updated:** [March 20, 2009, 7:52pm UTC](https://www.ruby-forum.com/t/who-are-the-ror-gurus-on-this-board/163081 "2009-03-20T19:52:51Z")

</div>

Hi, I am looking for the most knowledgeable ROR developers on this board. In your opinion, who are the most knowledgeable and helpful users on this board? I am offering a free 1 year hosting account for development i…

---

## [Actionmailer issues...any experts?](https://www.ruby-forum.com/t/actionmailer-issues-any-experts/163477)

<div class="topic-metadata">

**Author:** [@tony](https://www.ruby-forum.com/u/tony)\
**Replies:** 0\
**Last updated:** [March 20, 2009, 7:16pm UTC](https://www.ruby-forum.com/t/actionmailer-issues-any-experts/163477 "2009-03-20T19:16:55Z")

</div>

I have a rails app that can send emails to gmail, yahoo accounts. But when it comes to more obscure accounts like removed\_email\_address@domain.invalid or removed\_email\_address@domain.invalid, the mail never arrives ev…

---

## [Patchwork: an open-sourced wiki-like microblogging tool](https://www.ruby-forum.com/t/patchwork-an-open-sourced-wiki-like-microblogging-tool/163478)

<div class="topic-metadata">

**Author:** [@Yoichi\_Hirai](https://www.ruby-forum.com/u/Yoichi_Hirai)\
**Replies:** 0\
**Last updated:** [March 20, 2009, 7:01pm UTC](https://www.ruby-forum.com/t/patchwork-an-open-sourced-wiki-like-microblogging-tool/163478 "2009-03-20T19:01:04Z")

</div>

Let me announce a new project Patchwork, a microblogging tool. demo working at: http://patchwork.yohaku.info code hosted at: http://github.com/pirapira/patchwork/tree/master (under the MIT license) The idea: posts a…

---

## [Slightly OT: Search for your questions/comments to forum](https://www.ruby-forum.com/t/slightly-ot-search-for-your-questions-comments-to-forum/163475)

<div class="topic-metadata">

**Author:** [@kedarmhaswade](https://www.ruby-forum.com/u/kedarmhaswade)\
**Replies:** 2\
**Last updated:** [March 20, 2009, 7:01pm UTC](https://www.ruby-forum.com/t/slightly-ot-search-for-your-questions-comments-to-forum/163475 "2009-03-20T19:01:04Z")

</div>

Sorry if this is rather stupid. I tried doing the due diligence, but could not get an answer. How do you search ruby-forum for your own entries (posts) made? For example, I was looking for a question I had asked relat…

---

## [ActiveRecord: Using include with conditions](https://www.ruby-forum.com/t/activerecord-using-include-with-conditions/163470)

<div class="topic-metadata">

**Author:** [@sharagoz](https://www.ruby-forum.com/u/sharagoz)\
**Replies:** 1\
**Last updated:** [March 20, 2009, 7:00pm UTC](https://www.ruby-forum.com/t/activerecord-using-include-with-conditions/163470 "2009-03-20T19:00:28Z")

</div>

Three models: Product, Image, Document Relations: A product has many images and documents. Images and products has a flag telling whether or not they are published. I want to show a product and include only documents…

---

## [IIS deployment](https://www.ruby-forum.com/t/iis-deployment/163453)

<div class="topic-metadata">

**Author:** [@mahmoud\_cs](https://www.ruby-forum.com/u/mahmoud_cs)\
**Replies:** 2\
**Last updated:** [March 20, 2009, 6:47pm UTC](https://www.ruby-forum.com/t/iis-deployment/163453 "2009-03-20T18:47:54Z")

</div>

I want to deploy my rails application to remote windows iis server what is the basic steps i can do?

---

## [Add parameter to url](https://www.ruby-forum.com/t/add-parameter-to-url/163469)

<div class="topic-metadata">

**Author:** [@giga](https://www.ruby-forum.com/u/giga)\
**Replies:** 1\
**Last updated:** [March 20, 2009, 6:24pm UTC](https://www.ruby-forum.com/t/add-parameter-to-url/163469 "2009-03-20T18:24:07Z")

</div>

If url is http://mydomain.com/blog/tags How can I make a link, that add parameter to url? Ex: http://mydomain.com/blog/tags?locale=de And not a: http://mydomain.com/?locale=de \<%= link\_to “My link”, :locale =\> ‘de’ %\>…

---

## [GMap popups](https://www.ruby-forum.com/t/gmap-popups/163346)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [March 20, 2009, 6:21pm UTC](https://www.ruby-forum.com/t/gmap-popups/163346 "2009-03-20T18:21:10Z")

</div>

Hello there, I am working with GMap in my rails application. I am getting default pop up Marker.(orange color balloon type) how can I get different types of pop ups. Can anybody help me regarding this problem....…

---

## [4 Rails apps using the same table. How to streamline?](https://www.ruby-forum.com/t/4-rails-apps-using-the-same-table-how-to-streamline/196921)

<div class="topic-metadata">

**Author:** [@LaughingNinja](https://www.ruby-forum.com/u/LaughingNinja)\
**Replies:** 0\
**Last updated:** [March 20, 2009, 6:20pm UTC](https://www.ruby-forum.com/t/4-rails-apps-using-the-same-table-how-to-streamline/196921 "2009-03-20T18:20:00Z")

</div>

Hi, I have 4 apps using similar User tables(3 open source projects and one in-house app). I’m trying to merge into one shared database User table (external to all 4 apps). I’m using the following code in the User mo…

---

## [LDAP Authentication Failed](https://www.ruby-forum.com/t/ldap-authentication-failed/163328)

<div class="topic-metadata">

**Author:** [@palani](https://www.ruby-forum.com/u/palani)\
**Replies:** 3\
**Last updated:** [March 20, 2009, 6:18pm UTC](https://www.ruby-forum.com/t/ldap-authentication-failed/163328 "2009-03-20T18:18:14Z")

</div>

Hi, I have installed openLDAP on windows vista. i correctly configure the openLDAP server. when i do the ladpadd &ldap search by using the following commands Commands: ldapadd -x step1.ldif ldapsearch -D “cn=sha…

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

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