# Rails

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

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

---

## [RoR install](https://www.ruby-forum.com/t/ror-install/112172)

<div class="topic-metadata">

**Author:** [@michelu\_fr](https://www.ruby-forum.com/u/michelu_fr)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 2:04am UTC](https://www.ruby-forum.com/t/ror-install/112172 "2007-08-16T02:04:39Z")

</div>

Hi, I try to install and get the following message: gem install ./rails-1.2.3.gem --include-dependencies ERROR: While executing gem … (RuntimeError) Error instaling ./rails-1.2.3.gem: rails requires actionwebservic…

---

## [Fixture scenario builder with rspec](https://www.ruby-forum.com/t/fixture-scenario-builder-with-rspec/111703)

<div class="topic-metadata">

**Author:** [@ingoweiss](https://www.ruby-forum.com/u/ingoweiss)\
**Replies:** 2\
**Last updated:** [August 16, 2007, 1:20am UTC](https://www.ruby-forum.com/t/fixture-scenario-builder-with-rspec/111703 "2007-08-16T01:20:05Z")

</div>

Hi, did anybody get ‘fixture scenario builder’ (http://errtheblog.com/post/ 7708) to work with rspec? I am getting the following error: …/plugins/fixture\_scenarios\_builder/lib/scenario\_builder.rb:8:in scenario': und…

---

## [Inherited AR Methods MIssing? Errors Doesn't Exist?](https://www.ruby-forum.com/t/inherited-ar-methods-missing-errors-doesnt-exist/112166)

<div class="topic-metadata">

**Author:** [@hunter\_h](https://www.ruby-forum.com/u/hunter_h)\
**Replies:** 0\
**Last updated:** [August 16, 2007, 12:59am UTC](https://www.ruby-forum.com/t/inherited-ar-methods-missing-errors-doesnt-exist/112166 "2007-08-16T00:59:01Z")

</div>

I’m seeing something strange and so far haven’t been able to figure it out. First off, here’s our setup: MacOS X Tiger 10.4.10 (Intel) Ruby 1.8.6 Rails 1.2.3 PostgreSQL 8.2.3 I have a ton of apps that work great bu…

---

## [Rails error on generated app](https://www.ruby-forum.com/t/rails-error-on-generated-app/112159)

<div class="topic-metadata">

**Author:** [@sloppy](https://www.ruby-forum.com/u/sloppy)\
**Replies:** 0\
**Last updated:** [August 15, 2007, 11:48pm UTC](https://www.ruby-forum.com/t/rails-error-on-generated-app/112159 "2007-08-15T23:48:57Z")

</div>

I created a very simple app with a database table for image file names and tags to be associated with the image. When I generate the scaffolded app it has an error in it. There is an uninitialized constant of the sa…

---

## [Review: RailsSpace](https://www.ruby-forum.com/t/review-railsspace/112157)

<div class="topic-metadata">

**Author:** [@sharon](https://www.ruby-forum.com/u/sharon)\
**Replies:** 0\
**Last updated:** [August 15, 2007, 11:37pm UTC](https://www.ruby-forum.com/t/review-railsspace/112157 "2007-08-15T23:37:56Z")

</div>

Computerworld.com has posted my review of the book RailsSpace: Building a Social Networking Website With Ruby on Rails From the review: It may be trendy, but Ruby on Rails (RoR) is also still relatively new which …

---

## [Stop the destroy in the before\_destroy](https://www.ruby-forum.com/t/stop-the-destroy-in-the-before-destroy/112154)

<div class="topic-metadata">

**Author:** [@smithy](https://www.ruby-forum.com/u/smithy)\
**Replies:** 1\
**Last updated:** [August 15, 2007, 11:33pm UTC](https://www.ruby-forum.com/t/stop-the-destroy-in-the-before-destroy/112154 "2007-08-15T23:33:56Z")

</div>

Hello, I am using the before\_destroy. If i meet a condition i want to abort the delete is there a way to do this in the before destroy to void the deleting of a record? Thanks

---

## [Ajax replacing partial not working](https://www.ruby-forum.com/t/ajax-replacing-partial-not-working/112140)

<div class="topic-metadata">

**Author:** [@dark-omen](https://www.ruby-forum.com/u/dark-omen)\
**Replies:** 4\
**Last updated:** [August 15, 2007, 11:13pm UTC](https://www.ruby-forum.com/t/ajax-replacing-partial-not-working/112140 "2007-08-15T23:13:17Z")

</div>

I am trying to get a comment system going for a page and I want to use ajax to replace the partial holding the comments. When I press submit my little indicator icon pops up and nothing happens, but if I refresh the p…

---

## [Can someone explain sql server performance differences?](https://www.ruby-forum.com/t/can-someone-explain-sql-server-performance-differences/112142)

<div class="topic-metadata">

**Author:** [@typej](https://www.ruby-forum.com/u/typej)\
**Replies:** 1\
**Last updated:** [August 15, 2007, 10:12pm UTC](https://www.ruby-forum.com/t/can-someone-explain-sql-server-performance-differences/112142 "2007-08-15T22:12:38Z")

</div>

Friends, I was wondering if any Rails/SQL Server experts could offer some help in regards to a question I had. Lately I have been getting some “timeout expired” errors in rails for some of my find\_by\_sql queries. Wh…

---

## [Page navigation with link\_to](https://www.ruby-forum.com/t/page-navigation-with-link-to/112051)

<div class="topic-metadata">

**Author:** [@sweb](https://www.ruby-forum.com/u/sweb)\
**Replies:** 2\
**Last updated:** [August 15, 2007, 9:56pm UTC](https://www.ruby-forum.com/t/page-navigation-with-link-to/112051 "2007-08-15T21:56:33Z")

</div>

How do you accomplish page navigation with link\_to. In other words I want some way for \<%= link\_to … %\> to output, Name Is this possible? Best, Sam

---

## [Using multiple select form](https://www.ruby-forum.com/t/using-multiple-select-form/112141)

<div class="topic-metadata">

**Author:** [@d2kagw](https://www.ruby-forum.com/u/d2kagw)\
**Replies:** 0\
**Last updated:** [August 15, 2007, 9:29pm UTC](https://www.ruby-forum.com/t/using-multiple-select-form/112141 "2007-08-15T21:29:31Z")

</div>

I think this is a simple problem but I haven’t had any luck so far. Here are the models involved: Product has\_and\_belongs\_to\_many SubCategories SubCategory belongs\_to Category / has\_and\_belongs\_to\_many Products Categ…

---

## [Nginx Startup Script](https://www.ruby-forum.com/t/nginx-startup-script/111544)

<div class="topic-metadata">

**Author:** [@jwesonga](https://www.ruby-forum.com/u/jwesonga)\
**Replies:** 3\
**Last updated:** [August 15, 2007, 9:13pm UTC](https://www.ruby-forum.com/t/nginx-startup-script/111544 "2007-08-15T21:13:01Z")

</div>

Hi, I’ve found a very good Nginx startup script here http://topfunky.net/svn/shovel/nginx/init.d/nginx but I’m having a problem setting it up. this command does not see to be working on CentOS: update-rc.d nginx def…

---

## [In\_place\_editor\_field](https://www.ruby-forum.com/t/in-place-editor-field/112122)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 2\
**Last updated:** [August 15, 2007, 8:21pm UTC](https://www.ruby-forum.com/t/in-place-editor-field/112122 "2007-08-15T20:21:21Z")

</div>

Just a question about in\_place\_editor\_field helper. They are deprecated with the future release of Rails 2.0, is there anything that is similiar or an eqivalent that will be replacing that kind of functionality. I hav…

---

## [Installation of Savage Beast?](https://www.ruby-forum.com/t/installation-of-savage-beast/104881)

<div class="topic-metadata">

**Author:** [@n1c](https://www.ruby-forum.com/u/n1c)\
**Replies:** 9\
**Last updated:** [August 15, 2007, 8:19pm UTC](https://www.ruby-forum.com/t/installation-of-savage-beast/104881 "2007-08-15T20:19:21Z")

</div>

Busy implementing Savage Beast into our home-grown CMS and running into a few hiccups. What I’ve done so far is: Installed Engines 1.2 Copied Savage Beast into the plugins folder Copied the other plugins in that Beas…

---

## [Managing migrations for separate databases](https://www.ruby-forum.com/t/managing-migrations-for-separate-databases/110996)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 1\
**Last updated:** [August 15, 2007, 8:14pm UTC](https://www.ruby-forum.com/t/managing-migrations-for-separate-databases/110996 "2007-08-15T20:14:27Z")

</div>

All, I am working on an app. that deals with one legacy database about 95% of the time, and another smaller database only rarely. However, I find myself needing to add tables to this smaller database, and would like …

---

## [Savage Beast Plugin: how to change the forum\_home\_path?](https://www.ruby-forum.com/t/savage-beast-plugin-how-to-change-the-forum-home-path/112135)

<div class="topic-metadata">

**Author:** [@LAB](https://www.ruby-forum.com/u/LAB)\
**Replies:** 1\
**Last updated:** [August 15, 2007, 8:09pm UTC](https://www.ruby-forum.com/t/savage-beast-plugin-how-to-change-the-forum-home-path/112135 "2007-08-15T20:09:20Z")

</div>

Where can I change the forum\_home\_path link, so that it goes to a page that I specify. This is the full context from one of the topics views: \<%= link\_to \_(‘Forums’), forum\_home\_path %\> â†’ If anyone knows off hand, …

---

## [Help me](https://www.ruby-forum.com/t/help-me/112136)

<div class="topic-metadata">

**Author:** [@adriannalynn](https://www.ruby-forum.com/u/adriannalynn)\
**Replies:** 0\
**Last updated:** [August 15, 2007, 7:40pm UTC](https://www.ruby-forum.com/t/help-me/112136 "2007-08-15T19:40:18Z")

</div>

http://www.firstgiving.com/adriannalynn

---

## [How to make a link containing 'link\_to\_remote' call and exec](https://www.ruby-forum.com/t/how-to-make-a-link-containing-link-to-remote-call-and-exec/112089)

<div class="topic-metadata">

**Author:** [@r.g](https://www.ruby-forum.com/u/r.g)\
**Replies:** 3\
**Last updated:** [August 15, 2007, 7:38pm UTC](https://www.ruby-forum.com/t/how-to-make-a-link-containing-link-to-remote-call-and-exec/112089 "2007-08-15T19:38:17Z")

</div>

Hey there, I need to create a link that does both of the following in sequence: updates an element using RJS, e.g. \<%= link\_to\_remote h(video.title), :url =\> { :action =\> :do\_stuff, :id =\> video … (with the ‘repla…

---

## [Can I use rake with a different compiler](https://www.ruby-forum.com/t/can-i-use-rake-with-a-different-compiler/112125)

<div class="topic-metadata">

**Author:** [@charlie\_caroff](https://www.ruby-forum.com/u/charlie_caroff)\
**Replies:** 2\
**Last updated:** [August 15, 2007, 7:38pm UTC](https://www.ruby-forum.com/t/can-i-use-rake-with-a-different-compiler/112125 "2007-08-15T19:38:17Z")

</div>

Hi, I’m trying to compile libxml-ruby under FreeBSD, and it won’t compile. One of the notes with the gem says I should use gcc 4.0 to compile – I installed gcc 4.0, but not as my native compiler, so I need to someho…

---

## [Getting the Controller name from a layout](https://www.ruby-forum.com/t/getting-the-controller-name-from-a-layout/112131)

<div class="topic-metadata">

**Author:** [@chrismalek](https://www.ruby-forum.com/u/chrismalek)\
**Replies:** 3\
**Last updated:** [August 15, 2007, 7:28pm UTC](https://www.ruby-forum.com/t/getting-the-controller-name-from-a-layout/112131 "2007-08-15T19:28:49Z")

</div>

I’m sure it’s a simple answer, but I’m trying to access which controller a view is being displayed from within a layout. Basically what I want to do is pull out the controller name from the URL. For example: /localh…

---

## [Clear form](https://www.ruby-forum.com/t/clear-form/112116)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 5\
**Last updated:** [August 15, 2007, 7:07pm UTC](https://www.ruby-forum.com/t/clear-form/112116 "2007-08-15T19:07:14Z")

</div>

This is a half HTML, half Rails questions. I have this form with two buttons at the bottom of the form. One to submit and the other to clear the form. The clear form button does not work, even though at one point I th…

---

## [Does anybody know why activeRecord is not built on top of ru](https://www.ruby-forum.com/t/does-anybody-know-why-activerecord-is-not-built-on-top-of-ru/112128)

<div class="topic-metadata">

**Author:** [@Diego](https://www.ruby-forum.com/u/Diego)\
**Replies:** 0\
**Last updated:** [August 15, 2007, 6:38pm UTC](https://www.ruby-forum.com/t/does-anybody-know-why-activerecord-is-not-built-on-top-of-ru/112128 "2007-08-15T18:38:12Z")

</div>

Does anybody know why activeRecord is not built on top of ruby-dbi? I am curious about the reasoning behind the decision. Was it performance? Complexity? Databases support, ease of installation or something else. Let…

---

## [Is there a automatic counter variable?](https://www.ruby-forum.com/t/is-there-a-automatic-counter-variable/112127)

<div class="topic-metadata">

**Author:** [@sw0rdfish](https://www.ruby-forum.com/u/sw0rdfish)\
**Replies:** 4\
**Last updated:** [August 15, 2007, 6:35pm UTC](https://www.ruby-forum.com/t/is-there-a-automatic-counter-variable/112127 "2007-08-15T18:35:11Z")

</div>

Does ruby have anything where if I’m going through a do-while loop, or a “3.times” loop or “for product in products” where there’s a variable that will tell me which iteration of the loop I’m on? Instead of havign to…

---

## [Application.rb methods not accessible](https://www.ruby-forum.com/t/application-rb-methods-not-accessible/111986)

<div class="topic-metadata">

**Author:** [@Glen](https://www.ruby-forum.com/u/Glen)\
**Replies:** 5\
**Last updated:** [August 15, 2007, 6:30pm UTC](https://www.ruby-forum.com/t/application-rb-methods-not-accessible/111986 "2007-08-15T18:30:10Z")

</div>

For some reason I seem to be unable to call methods defined in application.rb All controllers are supposed to inherit from application.rb correct? I have a bit of code that does some filtering and I want it accessible …

---

## [Accessing join model attributes in has\_many :through](https://www.ruby-forum.com/t/accessing-join-model-attributes-in-has-many-through/112107)

<div class="topic-metadata">

**Author:** [@sean](https://www.ruby-forum.com/u/sean)\
**Replies:** 4\
**Last updated:** [August 15, 2007, 6:01pm UTC](https://www.ruby-forum.com/t/accessing-join-model-attributes-in-has-many-through/112107 "2007-08-15T18:01:29Z")

</div>

After scouring these forums, the blogs, & wiki’s I’ve finally decided to ask the question because either nobody has encountered this problem or, more likely, I I’m missing something obvious. I am attempting to access …

---

## [Programmatic way to find the bad spot in a YAML file?](https://www.ruby-forum.com/t/programmatic-way-to-find-the-bad-spot-in-a-yaml-file/112078)

<div class="topic-metadata">

**Author:** [@scott](https://www.ruby-forum.com/u/scott)\
**Replies:** 2\
**Last updated:** [August 15, 2007, 5:54pm UTC](https://www.ruby-forum.com/t/programmatic-way-to-find-the-bad-spot-in-a-yaml-file/112078 "2007-08-15T17:54:06Z")

</div>

I have a very large YAML file (approx 5000 entries) that I am loading. Somewhere along the way, it doesn’t like something in the file so I get a : /Applications/Locomotive2/Bundles/standardRailsMar2007.locobundle/i386…

---

## [Anybody have a week ending date helper?](https://www.ruby-forum.com/t/anybody-have-a-week-ending-date-helper/112123)

<div class="topic-metadata">

**Author:** [@ryan](https://www.ruby-forum.com/u/ryan)\
**Replies:** 1\
**Last updated:** [August 15, 2007, 5:42pm UTC](https://www.ruby-forum.com/t/anybody-have-a-week-ending-date-helper/112123 "2007-08-15T17:42:05Z")

</div>

Can you make any of the built-in date helpers produce a week ending combo box? I don’t want drop down boxes, just one. With the options being every Friday for the last x number of weeks in the format mm/dd/ yyyy. T…

---

## [\[ANN/ADV\] Intro to Rails, Alexandria, VA, October 9-12](https://www.ruby-forum.com/t/ann-adv-intro-to-rails-alexandria-va-october-9-12/112120)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [August 15, 2007, 5:11pm UTC](https://www.ruby-forum.com/t/ann-adv-intro-to-rails-alexandria-va-october-9-12/112120 "2007-08-15T17:11:01Z")

</div>

Hi everyone – I’m happy to announce that I’ll be teaching a four-day introductory Ruby on Rails course, produced by Accelebrate\[1\] and hosted at EEI\[2\] in Alexandria, Virginia, October 9-12 2007. For more information…

---

## [About chinese display](https://www.ruby-forum.com/t/about-chinese-display/196428)

<div class="topic-metadata">

**Author:** [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Replies:** 10\
**Last updated:** [August 15, 2007, 5:05pm UTC](https://www.ruby-forum.com/t/about-chinese-display/196428 "2007-08-15T17:05:27Z")

</div>

hello: I have built a project with Instant Rails.Now only a database and a scaffold based on a product model have finished.But when i inputted “…/admin/list” in my browser,i found my chinese characters cound not disp…

---

## [Updating without auto timestamping](https://www.ruby-forum.com/t/updating-without-auto-timestamping/112114)

<div class="topic-metadata">

**Author:** [@Iain\_A](https://www.ruby-forum.com/u/Iain_A)\
**Replies:** 6\
**Last updated:** [August 15, 2007, 4:40pm UTC](https://www.ruby-forum.com/t/updating-without-auto-timestamping/112114 "2007-08-15T16:40:45Z")

</div>

Hi, Is there a way to stop the automatic timestamping. I have a model that has an updated\_on field. Its great that it updates on save however there is one operation i need to do that I dont want the updated\_on field …

---

## [Fastest ruby xml parser -- FreeBSD 6.2](https://www.ruby-forum.com/t/fastest-ruby-xml-parser-freebsd-6-2/112088)

<div class="topic-metadata">

**Author:** [@charlie\_caroff](https://www.ruby-forum.com/u/charlie_caroff)\
**Replies:** 4\
**Last updated:** [August 15, 2007, 4:17pm UTC](https://www.ruby-forum.com/t/fastest-ruby-xml-parser-freebsd-6-2/112088 "2007-08-15T16:17:39Z")

</div>

Hi, I’m trying to find the fastest XML parser for FreeBSD 6.2. I tried to install the gem for libxml, but it doesn’t install on FreeBSD 6.2. I also tried the FreeBSD port for libxml-ruby, but it appears to be very …

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

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