# Rails

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

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

---

## [Drop down list](https://www.ruby-forum.com/t/drop-down-list/123593)

<div class="topic-metadata">

**Author:** [@nuby2ruby](https://www.ruby-forum.com/u/nuby2ruby)\
**Replies:** 3\
**Last updated:** [December 19, 2007, 6:31pm UTC](https://www.ruby-forum.com/t/drop-down-list/123593 "2007-12-19T18:31:28Z")

</div>

In my application I have 2 objects. An Item object and SubItem object. What I would like to do is make a single drop down list that has all of the Items in it, then if the item has a SubItem attached to it, then it wi…

---

## [Rfacebook Q&A with Chad Rosen - IThinker rfacebook Sighting](https://www.ruby-forum.com/t/rfacebook-q-a-with-chad-rosen-ithinker-rfacebook-sighting/123679)

<div class="topic-metadata">

**Author:** [@gerald\_b](https://www.ruby-forum.com/u/gerald_b)\
**Replies:** 0\
**Last updated:** [December 19, 2007, 6:23pm UTC](https://www.ruby-forum.com/t/rfacebook-q-a-with-chad-rosen-ithinker-rfacebook-sighting/123679 "2007-12-19T18:23:10Z")

</div>

Hello, Thanks to Chad Rosen - the Rubyist behind the IThinker Facebook app the 1st rfacebook Sightings posting is now online. On tips, tricks or advice for developers getting started with Facebook development and r…

---

## [Access denied for user 'root'@'localhost'](https://www.ruby-forum.com/t/access-denied-for-user-root-localhost/123671)

<div class="topic-metadata">

**Author:** [@supasta](https://www.ruby-forum.com/u/supasta)\
**Replies:** 8\
**Last updated:** [December 19, 2007, 6:13pm UTC](https://www.ruby-forum.com/t/access-denied-for-user-root-localhost/123671 "2007-12-19T18:13:47Z")

</div>

Hi guys, You know the simple “Hello World!” application which get rails to say on a web page “Hello World!”, yeah? Well i’m am having trouble with it. Everytime i go onto the http://localhost:3000/say/hello it come up…

---

## [The problem with ruby on rails is](https://www.ruby-forum.com/t/the-problem-with-ruby-on-rails-is/123672)

<div class="topic-metadata">

**Author:** [@gemblon](https://www.ruby-forum.com/u/gemblon)\
**Replies:** 3\
**Last updated:** [December 19, 2007, 6:04pm UTC](https://www.ruby-forum.com/t/the-problem-with-ruby-on-rails-is/123672 "2007-12-19T18:04:50Z")

</div>

RUBY on RAILS is just TOOO FREAKING EASY. I keep forgetting how easy stuff is to do, and keep trying to look for more piece’s to the puzzles. I keep trying to make it harder then it is. I keep thinking I need to ask…

---

## [Making updates in after\_create callbacks](https://www.ruby-forum.com/t/making-updates-in-after-create-callbacks/123674)

<div class="topic-metadata">

**Author:** [@joe-dumoulin](https://www.ruby-forum.com/u/joe-dumoulin)\
**Replies:** 0\
**Last updated:** [December 19, 2007, 5:52pm UTC](https://www.ruby-forum.com/t/making-updates-in-after-create-callbacks/123674 "2007-12-19T17:52:30Z")

</div>

Hi, I’m seeing weird behavior on my live sites (can’t seem to duplicate in development). Using Ruby 1.8.6 on solaris with postgresql. I often times have code that looks like: class Order belongs\_to :user after\_cre…

---

## [/public recognition failed on lighttpd](https://www.ruby-forum.com/t/public-recognition-failed-on-lighttpd/84920)

<div class="topic-metadata">

**Author:** [@fero](https://www.ruby-forum.com/u/fero)\
**Replies:** 11\
**Last updated:** [December 19, 2007, 5:47pm UTC](https://www.ruby-forum.com/t/public-recognition-failed-on-lighttpd/84920 "2007-12-19T17:47:14Z")

</div>

hello. please help. my app is working under apache/cgi. i switched to lighttpd and everything works except loading stylesheets and images (and probably other content in /public directory). the paths in html are correc…

---

## [How can I run rails at a URI containing a folder path?](https://www.ruby-forum.com/t/how-can-i-run-rails-at-a-uri-containing-a-folder-path/122909)

<div class="topic-metadata">

**Author:** [@eggman2001](https://www.ruby-forum.com/u/eggman2001)\
**Replies:** 2\
**Last updated:** [December 19, 2007, 5:34pm UTC](https://www.ruby-forum.com/t/how-can-i-run-rails-at-a-uri-containing-a-folder-path/122909 "2007-12-19T17:34:55Z")

</div>

I’d like to serve a particular rails app at /test and my webserver is serving up the app when I visit that URI but as suspected, rails looks for a controller or method called “test” and I get the following error messa…

---

## [RubyGems break because Ruby has both site\_ruby and vendor\_ruby](https://www.ruby-forum.com/t/rubygems-break-because-ruby-has-both-site-ruby-and-vendor-ruby/121912)

<div class="topic-metadata">

**Author:** [@ray](https://www.ruby-forum.com/u/ray)\
**Replies:** 1\
**Last updated:** [December 19, 2007, 5:13pm UTC](https://www.ruby-forum.com/t/rubygems-break-because-ruby-has-both-site-ruby-and-vendor-ruby/121912 "2007-12-19T17:13:14Z")

</div>

I just installed Ruby and RubyGems using MacPorts and a whole bunch of gems. I am trying to run a Rails project that works on Ubuntu, but now I am trying to make it run on Leopard. I got an error when I just run scr…

---

## [AWS vs REST and XML-RPC](https://www.ruby-forum.com/t/aws-vs-rest-and-xml-rpc/123670)

<div class="topic-metadata">

**Author:** [@matthew](https://www.ruby-forum.com/u/matthew)\
**Replies:** 0\
**Last updated:** [December 19, 2007, 5:00pm UTC](https://www.ruby-forum.com/t/aws-vs-rest-and-xml-rpc/123670 "2007-12-19T17:00:56Z")

</div>

Ok so DHH in the release post for Rails 2 talked about how there was clearly a side taken in the SOAP vs REST debate, and REST had one. So what does that mean if one is wanting to create a small blogging engine with R…

---

## [Dynamic Menu's](https://www.ruby-forum.com/t/dynamic-menus/123661)

<div class="topic-metadata">

**Author:** [@gemblon](https://www.ruby-forum.com/u/gemblon)\
**Replies:** 3\
**Last updated:** [December 19, 2007, 4:40pm UTC](https://www.ruby-forum.com/t/dynamic-menus/123661 "2007-12-19T16:40:51Z")

</div>

It is possible have dynamic menu’s in my views? for example, in the following menu code: A B I would like to be able to have ruby populate the href and title from an array. Something like: A... B... i ca…

---

## [Deprec 2.0 & Capistrano 2.0](https://www.ruby-forum.com/t/deprec-2-0-capistrano-2-0/108251)

<div class="topic-metadata">

**Author:** [@dxk3355](https://www.ruby-forum.com/u/dxk3355)\
**Replies:** 6\
**Last updated:** [December 19, 2007, 4:25pm UTC](https://www.ruby-forum.com/t/deprec-2-0-capistrano-2-0/108251 "2007-12-19T16:25:57Z")

</div>

Hi! I’m just learning the basics of deployment with deprec/capistrano… I would like to ask about the opinion regarding whether it is worth waiting (a week or so) for versions 2.0 of both to be released… or do I just …

---

## [Different Database Engines](https://www.ruby-forum.com/t/different-database-engines/123658)

<div class="topic-metadata">

**Author:** [@hiddenhippo](https://www.ruby-forum.com/u/hiddenhippo)\
**Replies:** 2\
**Last updated:** [December 19, 2007, 4:22pm UTC](https://www.ruby-forum.com/t/different-database-engines/123658 "2007-12-19T16:22:41Z")

</div>

Could someone please clarify whether it’s possible for rails to use two different databases at the same time within one application; for example, I’ve a web application written in C# using MSSQL as the database, and o…

---

## [Strange update\_attribures looping behaviour](https://www.ruby-forum.com/t/strange-update-attribures-looping-behaviour/123655)

<div class="topic-metadata">

**Author:** [@tatyree](https://www.ruby-forum.com/u/tatyree)\
**Replies:** 2\
**Last updated:** [December 19, 2007, 4:22pm UTC](https://www.ruby-forum.com/t/strange-update-attribures-looping-behaviour/123655 "2007-12-19T16:22:06Z")

</div>

Hello, I’m in the process of building a site using restful\_authentication with version 2.0.2 and I’ve got a puzzler with the update method in my user model (User) and I was wondering if someone might have some insigh…

---

## [Newbie - which version to start with](https://www.ruby-forum.com/t/newbie-which-version-to-start-with/123646)

<div class="topic-metadata">

**Author:** [@Acm](https://www.ruby-forum.com/u/Acm)\
**Replies:** 3\
**Last updated:** [December 19, 2007, 4:20pm UTC](https://www.ruby-forum.com/t/newbie-which-version-to-start-with/123646 "2007-12-19T16:20:20Z")

</div>

Hi, I am a Ruby on Rails newbie and have some questions. The latests versions seem to be: Rails 2.0.2 and Ruby 1.8.6 Should I install these? What about ruby gems? Is there a specific version for that? Also, I hav…

---

## [Where to find a list of extracted features that now became plugins in 2.0](https://www.ruby-forum.com/t/where-to-find-a-list-of-extracted-features-that-now-became-plugins-in-2-0/123598)

<div class="topic-metadata">

**Author:** [@OAOAOA](https://www.ruby-forum.com/u/OAOAOA)\
**Replies:** 2\
**Last updated:** [December 19, 2007, 4:05pm UTC](https://www.ruby-forum.com/t/where-to-find-a-list-of-extracted-features-that-now-became-plugins-in-2-0/123598 "2007-12-19T16:05:42Z")

</div>

Hey all, I’m trying to move from 1.2.6 to 2.0.2, but I’m having problems with my in place editors and live search fields. Is there a good resource online that lists the changes on the recent release? Many thanks in a…

---

## [Dynamic Values in Team Model?](https://www.ruby-forum.com/t/dynamic-values-in-team-model/123640)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 4\
**Last updated:** [December 19, 2007, 3:14pm UTC](https://www.ruby-forum.com/t/dynamic-values-in-team-model/123640 "2007-12-19T15:14:10Z")

</div>

Going on from the user -\> member -\> team, model I’ve been working on, one thing I’d like to have in my Team class is the ability to return how many users are members of a team. Something like… \<%= Self.Current\_User.M…

---

## [Issue tracking system](https://www.ruby-forum.com/t/issue-tracking-system/121296)

<div class="topic-metadata">

**Author:** [@JSASDrowne](https://www.ruby-forum.com/u/JSASDrowne)\
**Replies:** 3\
**Last updated:** [December 19, 2007, 2:49pm UTC](https://www.ruby-forum.com/t/issue-tracking-system/121296 "2007-12-19T14:49:03Z")

</div>

We have been looking for an issue tracking system that is capable of creating, updating, and keep track of resolved reported customer issues, or issues reported by employees of the same organization. We tried Simpleti…

---

## [Earth to earth Ashes to ashes dust to dust](https://www.ruby-forum.com/t/earth-to-earth-ashes-to-ashes-dust-to-dust/123649)

<div class="topic-metadata">

**Author:** [@cindy-sexy](https://www.ruby-forum.com/u/cindy-sexy)\
**Replies:** 0\
**Last updated:** [December 19, 2007, 2:47pm UTC](https://www.ruby-forum.com/t/earth-to-earth-ashes-to-ashes-dust-to-dust/123649 "2007-12-19T14:47:15Z")

</div>

Hello I will like you see this page And tell me what do you think It´s a dead man www.Man-X.org 3 live cams free!! Thank you very much

---

## [How is Ruby on Rails better than php?](https://www.ruby-forum.com/t/how-is-ruby-on-rails-better-than-php/123541)

<div class="topic-metadata">

**Author:** [@desbest](https://www.ruby-forum.com/u/desbest)\
**Replies:** 16\
**Last updated:** [December 19, 2007, 2:38pm UTC](https://www.ruby-forum.com/t/how-is-ruby-on-rails-better-than-php/123541 "2007-12-19T14:38:54Z")

</div>

I’m currently learning through a Sitepoint Ruby on Rails ebook and it is extremenly good. But the ebook is taking long to read, and RoR is taking ages to learn. I’ve passed 242 out of 447 pages. Why is Ror better tha…

---

## [Undefined methods page\_count](https://www.ruby-forum.com/t/undefined-methods-page-count/122023)

<div class="topic-metadata">

**Author:** [@christian](https://www.ruby-forum.com/u/christian)\
**Replies:** 1\
**Last updated:** [December 19, 2007, 2:34pm UTC](https://www.ruby-forum.com/t/undefined-methods-page-count/122023 "2007-12-19T14:34:07Z")

</div>

I’m getting “undefined method \`page\_count’ for #Array:0xb7073e1c” when I tried to run my rails application after installing will\_paginate. Details are as below: undefined method \`page\_count’ for #Array:0xb7073e1c Ext…

---

## [Data doesn't show in dropdown](https://www.ruby-forum.com/t/data-doesnt-show-in-dropdown/123591)

<div class="topic-metadata">

**Author:** [@tdellaringa](https://www.ruby-forum.com/u/tdellaringa)\
**Replies:** 5\
**Last updated:** [December 19, 2007, 1:44pm UTC](https://www.ruby-forum.com/t/data-doesnt-show-in-dropdown/123591 "2007-12-19T13:44:13Z")

</div>

I believe I’m missing some connection somewhere. I have a ‘workout’ model/table with various fields. Then I made a ‘activity’ model/table because there will be a dropdown with activities the user can choose - as well …

---

## [Fetch in applcation](https://www.ruby-forum.com/t/fetch-in-applcation/123583)

<div class="topic-metadata">

**Author:** [@chrislo](https://www.ruby-forum.com/u/chrislo)\
**Replies:** 3\
**Last updated:** [December 19, 2007, 10:10am UTC](https://www.ruby-forum.com/t/fetch-in-applcation/123583 "2007-12-19T10:10:55Z")

</div>

Can someone have a quick gander at this application.rb file http://pastie.textmate.org/130228 What Im trying to do is make available to controllers lower down a @recipe so I don’t have to do this in every controller t…

---

## [Asset-caching](https://www.ruby-forum.com/t/asset-caching/123609)

<div class="topic-metadata">

**Author:** [@luisS\_syndeomedia](https://www.ruby-forum.com/u/luisS_syndeomedia)\
**Replies:** 2\
**Last updated:** [December 19, 2007, 9:34am UTC](https://www.ruby-forum.com/t/asset-caching/123609 "2007-12-19T09:34:50Z")

</div>

Having solved my previous asset\_hosts problem, I’m now moving on to bigger and more entertaining issues, this one involving javascript\_include\_tag’s new :cache parameter. Code snippet thus: \<%= javascript\_include\_tag…

---

## [Autocompletion.local inside rails while generating a dynamic list](https://www.ruby-forum.com/t/autocompletion-local-inside-rails-while-generating-a-dynamic-list/123625)

<div class="topic-metadata">

**Author:** [@Kei\_Simone](https://www.ruby-forum.com/u/Kei_Simone)\
**Replies:** 0\
**Last updated:** [December 19, 2007, 9:23am UTC](https://www.ruby-forum.com/t/autocompletion-local-inside-rails-while-generating-a-dynamic-list/123625 "2007-12-19T09:23:41Z")

</div>

Hi, I am a big noob but I would like to know how to achieve the following 2 things: I need to use autocompletion.local to increase speed of retrieval since i only have items of no more than 30. However, I want the …

---

## [Undefined method \`in\_place\_editor'](https://www.ruby-forum.com/t/undefined-method-in-place-editor/123620)

<div class="topic-metadata">

**Author:** [@franz](https://www.ruby-forum.com/u/franz)\
**Replies:** 2\
**Last updated:** [December 19, 2007, 9:01am UTC](https://www.ruby-forum.com/t/undefined-method-in-place-editor/123620 "2007-12-19T09:01:38Z")

</div>

I’m trying to get Globalization to work using the globalize plugin. In their sample application they use in\_place\_editor to edit the translate strings. \<%= in\_place\_editor “tr\_#{tr.id}”, :url =\> { :action =\> :set\_tra…

---

## [MacOS X 10.5: wrong ruby path in rails dispatcher -\> broken deployment](https://www.ruby-forum.com/t/macos-x-10-5-wrong-ruby-path-in-rails-dispatcher-broken-deployment/123622)

<div class="topic-metadata">

**Author:** [@jerry](https://www.ruby-forum.com/u/jerry)\
**Replies:** 1\
**Last updated:** [December 19, 2007, 9:00am UTC](https://www.ruby-forum.com/t/macos-x-10-5-wrong-ruby-path-in-rails-dispatcher-broken-deployment/123622 "2007-12-19T09:00:54Z")

</div>

On MacOS X 10.5 the path for ruby in the three dispatcher-files inside of a rails project is wrong: #!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby It should be: #!/usr/bin/ruby Deployment of a…

---

## [How to execute remote action once as the page loads?](https://www.ruby-forum.com/t/how-to-execute-remote-action-once-as-the-page-loads/118548)

<div class="topic-metadata">

**Author:** [@cvandyck](https://www.ruby-forum.com/u/cvandyck)\
**Replies:** 1\
**Last updated:** [December 19, 2007, 8:28am UTC](https://www.ruby-forum.com/t/how-to-execute-remote-action-once-as-the-page-loads/118548 "2007-12-19T08:28:32Z")

</div>

Hello One of my application pages needs to grab data from two different XMLRPC endpoints – it’s kind of expensive sometimes. So I decided to load that information using two separate ajax requests as the page loads. I…

---

## [More Migration Sexiness](https://www.ruby-forum.com/t/more-migration-sexiness/123595)

<div class="topic-metadata">

**Author:** [@stimpy](https://www.ruby-forum.com/u/stimpy)\
**Replies:** 10\
**Last updated:** [December 19, 2007, 8:12am UTC](https://www.ruby-forum.com/t/more-migration-sexiness/123595 "2007-12-19T08:12:26Z")

</div>

After being inspired by errtheblog’s sexy migrations ( Sexy Migrations — err.the\_blog) I got tired of writing my un-sexy migrations containing line after line of remove\_column and its alter-ego add\_column. So I made…

---

## [RJS Scripting](https://www.ruby-forum.com/t/rjs-scripting/123486)

<div class="topic-metadata">

**Author:** [@edberner](https://www.ruby-forum.com/u/edberner)\
**Replies:** 4\
**Last updated:** [December 19, 2007, 7:28am UTC](https://www.ruby-forum.com/t/rjs-scripting/123486 "2007-12-19T07:28:31Z")

</div>

I’m trying to create a search on the index page where it will take a search input and return to the same page. On this page is a list of all the search items. So I want to highlight them all with AJAX and then leave t…

---

## [Listing items from database with conditions](https://www.ruby-forum.com/t/listing-items-from-database-with-conditions/123369)

<div class="topic-metadata">

**Author:** [@katsuo](https://www.ruby-forum.com/u/katsuo)\
**Replies:** 4\
**Last updated:** [December 19, 2007, 7:10am UTC](https://www.ruby-forum.com/t/listing-items-from-database-with-conditions/123369 "2007-12-19T07:10:59Z")

</div>

Hi, I am looking for a way to simplify a listing of books in a database. I do not want to have all the books listed according to certain title but just one book with the latest volume even though there are more than o…

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

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