# Rails

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

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

---

## [Firebird 2: Options?](https://www.ruby-forum.com/t/firebird-2-options/114827)

<div class="topic-metadata">

**Author:** [@lee](https://www.ruby-forum.com/u/lee)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 9:34pm UTC](https://www.ruby-forum.com/t/firebird-2-options/114827 "2007-09-17T21:34:30Z")

</div>

I am told that the Fireruby gem has not been updated to work with Firebird 2.x.x Can anybody point me to an alternative solution? Many thanks, Lee.

---

## [Finding controller relations in ActionController::Routing::R](https://www.ruby-forum.com/t/finding-controller-relations-in-actioncontroller-r/114812)

<div class="topic-metadata">

**Author:** [@emmanueloga](https://www.ruby-forum.com/u/emmanueloga)\
**Replies:** 1\
**Last updated:** [September 17, 2007, 8:26pm UTC](https://www.ruby-forum.com/t/finding-controller-relations-in-actioncontroller-r/114812 "2007-09-17T20:26:33Z")

</div>

Hi! my question is simple, the answer, i don’t know… Given this in routes.rb: ActionController::Routing::Routes.draw do |map| map.resources :zones do |zone| zone.resources :customers end end If i’m “standing” on C…

---

## [Rubyzip and java.util.zip.ZipFile interoperability issue](https://www.ruby-forum.com/t/rubyzip-and-java-util-zip-zipfile-interoperability-issue/114530)

<div class="topic-metadata">

**Author:** [@weyus](https://www.ruby-forum.com/u/weyus)\
**Replies:** 2\
**Last updated:** [September 17, 2007, 8:05pm UTC](https://www.ruby-forum.com/t/rubyzip-and-java-util-zip-zipfile-interoperability-issue/114530 "2007-09-17T20:05:56Z")

</div>

All, Going out on a limb here but thought I would ask. I am generating a ZIP file from a Rails app. with Rubyzip 0.9.1. The app. runs on a Mandrake Linux box which writes to a Windows filesystem via a Samba mount. L…

---

## [Looping through arrays in View?](https://www.ruby-forum.com/t/looping-through-arrays-in-view/114678)

<div class="topic-metadata">

**Author:** [@pgega](https://www.ruby-forum.com/u/pgega)\
**Replies:** 4\
**Last updated:** [September 17, 2007, 7:44pm UTC](https://www.ruby-forum.com/t/looping-through-arrays-in-view/114678 "2007-09-17T19:44:07Z")

</div>

Hi there , I found the specific bug in my code. Truly saying I still did not find the bug . so I am writing now. I am looping through database records in my view \<% for blue\_widget in @blue\_widgets %\> \<% if blue\_wid…

---

## [Getting incompatabilities with IE but not Firefox; thoughts?](https://www.ruby-forum.com/t/getting-incompatabilities-with-ie-but-not-firefox-thoughts/114813)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 7:28pm UTC](https://www.ruby-forum.com/t/getting-incompatabilities-with-ie-but-not-firefox-thoughts/114813 "2007-09-17T19:28:32Z")

</div>

I’ve got the following code in a view: \<%= link\_to\_remote(“Activities by Request”, :update =\> “chartDisplay”, :url =\> {:action =\> :show\_spinner}, :complete =\> remote\_function(:update =\> “chartDisplay”, :url =\> {:act…

---

## [Plugin Initialization](https://www.ruby-forum.com/t/plugin-initialization/114823)

<div class="topic-metadata">

**Author:** [@johnt519](https://www.ruby-forum.com/u/johnt519)\
**Replies:** 2\
**Last updated:** [September 17, 2007, 6:57pm UTC](https://www.ruby-forum.com/t/plugin-initialization/114823 "2007-09-17T18:57:59Z")

</div>

Hi, I was curious if there was a more appropriate way to execute a “one- time” initialization of a plugin– Basically, I’ve created a plugin that utilizes a javascript file-- I want to copy this j/s file into the publ…

---

## [Drag and drop line id](https://www.ruby-forum.com/t/drag-and-drop-line-id/114802)

<div class="topic-metadata">

**Author:** [@massi](https://www.ruby-forum.com/u/massi)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 5:55pm UTC](https://www.ruby-forum.com/t/drag-and-drop-line-id/114802 "2007-09-17T17:55:18Z")

</div>

http://www.ruby-forum.com/topic/124915#new

---

## [How to UNDO ruby script/generate model table and migration](https://www.ruby-forum.com/t/how-to-undo-ruby-script-generate-model-table-and-migration/114600)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 1\
**Last updated:** [September 17, 2007, 5:31pm UTC](https://www.ruby-forum.com/t/how-to-undo-ruby-script-generate-model-table-and-migration/114600 "2007-09-17T17:31:48Z")

</div>

Let’s say I did the C:\\rails\\depot\> ruby script/generate model line\_item and then forgot to modify the 007\_create\_line\_items.rb to add the table fields, but have done the C:\\rails\\depot\> rake db:migrate so in this …

---

## [Tidying up views](https://www.ruby-forum.com/t/tidying-up-views/114798)

<div class="topic-metadata">

**Author:** [@tobycatlin](https://www.ruby-forum.com/u/tobycatlin)\
**Replies:** 1\
**Last updated:** [September 17, 2007, 5:28pm UTC](https://www.ruby-forum.com/t/tidying-up-views/114798 "2007-09-17T17:28:48Z")

</div>

Hi, I have the following code in one of my partials and it’s slightly ridiculous so I was wondering whether anyone could give me some hints as to the best way to tidy it up. The formatting performed here gets perform…

---

## [\[ANN\] CodeGear Announces New Ruby/Rails IDE](https://www.ruby-forum.com/t/ann-codegear-announces-new-ruby-rails-ide/114796)

<div class="topic-metadata">

**Author:** [@cskidmore](https://www.ruby-forum.com/u/cskidmore)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 4:41pm UTC](https://www.ruby-forum.com/t/ann-codegear-announces-new-ruby-rails-ide/114796 "2007-09-17T16:41:32Z")

</div>

http://blogs.codegear.com/joemcglynn/2007/09/17/34836/

---

## [Day of given week](https://www.ruby-forum.com/t/day-of-given-week/114633)

<div class="topic-metadata">

**Author:** [@cfingerh](https://www.ruby-forum.com/u/cfingerh)\
**Replies:** 1\
**Last updated:** [September 17, 2007, 4:08pm UTC](https://www.ruby-forum.com/t/day-of-given-week/114633 "2007-09-17T16:08:32Z")

</div>

Hi, I need to get the tuesday for any given week of the year. For example, for the week 23 of the year, I have to get the day-month for tha tuesday of that week. Thanks Christian

---

## [Deployment of first rails app](https://www.ruby-forum.com/t/deployment-of-first-rails-app/114787)

<div class="topic-metadata">

**Author:** [@don](https://www.ruby-forum.com/u/don)\
**Replies:** 2\
**Last updated:** [September 17, 2007, 3:45pm UTC](https://www.ruby-forum.com/t/deployment-of-first-rails-app/114787 "2007-09-17T15:45:24Z")

</div>

Hey Guys, i have done some rails tutorials and gotten a rails app to work with some basic session stuff and some db interaction and it works sweet locally. but the problem that i am having is when i deploy it to my p…

---

## [Acts\_as\_taggable\_on\_steroids NoMethodError](https://www.ruby-forum.com/t/acts-as-taggable-on-steroids-nomethoderror/114599)

<div class="topic-metadata">

**Author:** [@nside](https://www.ruby-forum.com/u/nside)\
**Replies:** 2\
**Last updated:** [September 17, 2007, 3:40pm UTC](https://www.ruby-forum.com/t/acts-as-taggable-on-steroids-nomethoderror/114599 "2007-09-17T15:40:49Z")

</div>

Hello, I use acts\_as\_taggable\_on\_steroids, for tagging and I get this error: “NoMethodError (undefined method +' for #\<TagList:0x3546e94 @names=\["kk"\]\>): .//app/controllers/user\_photos\_controller.rb:83:inadd\_tag’” The…

---

## [Directory structure](https://www.ruby-forum.com/t/directory-structure/114594)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 2\
**Last updated:** [September 17, 2007, 3:21pm UTC](https://www.ruby-forum.com/t/directory-structure/114594 "2007-09-17T15:21:57Z")

</div>

Trying to get the files in a directory structure to be read into a variable. Just playing around right now but would like it so that each file read gets entered into a database. Trying to read a folder of music files.…

---

## [Best way to allow client to do SEO on view files?](https://www.ruby-forum.com/t/best-way-to-allow-client-to-do-seo-on-view-files/114550)

<div class="topic-metadata">

**Author:** [@dacbo](https://www.ruby-forum.com/u/dacbo)\
**Replies:** 3\
**Last updated:** [September 17, 2007, 3:15pm UTC](https://www.ruby-forum.com/t/best-way-to-allow-client-to-do-seo-on-view-files/114550 "2007-09-17T15:15:25Z")

</div>

I’m about to start work on a project for a client that is huge into SEO and conversion tracking, etc. One of the goals of the project is to make sure that each (HTML) page’s meta information can be tweaked separately. …

---

## [Suggestions for commenting/documenting view (.rhtml) files?](https://www.ruby-forum.com/t/suggestions-for-commenting-documenting-view-rhtml-files/114548)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 7\
**Last updated:** [September 17, 2007, 3:11pm UTC](https://www.ruby-forum.com/t/suggestions-for-commenting-documenting-view-rhtml-files/114548 "2007-09-17T15:11:42Z")

</div>

I’m writing up my RoR degree project (the project is RoR, not the degree!), and am unsure of how to document/comment the .rhtml files. Has anyone else done this before or have any recommendations/suggestion? Is it bes…

---

## [OpenID authentification test failure](https://www.ruby-forum.com/t/openid-authentification-test-failure/114794)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 2:39pm UTC](https://www.ruby-forum.com/t/openid-authentification-test-failure/114794 "2007-09-17T14:39:06Z")

</div>

Does anyone already used this plugin ? I am testing it and I get an error in testing the normalize\_test.rb action : broken\_open\_id def test\_broken\_open\_id assert\_raises(InvalidOpenId) { normalize\_url("=name") } end …

---

## [Missing HTML using Caches\_page](https://www.ruby-forum.com/t/missing-html-using-caches-page/114793)

<div class="topic-metadata">

**Author:** [@paul](https://www.ruby-forum.com/u/paul)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 2:35pm UTC](https://www.ruby-forum.com/t/missing-html-using-caches-page/114793 "2007-09-17T14:35:58Z")

</div>

All, I am having some issues with pages that are being cached using caches\_pages. This seems to be new behavoir although I can’t be sure as it might have been happening on pages and going unnoticed. Sometimes the htm…

---

## [Get the id of a line in drag and drop](https://www.ruby-forum.com/t/get-the-id-of-a-line-in-drag-and-drop/114791)

<div class="topic-metadata">

**Author:** [@massi](https://www.ruby-forum.com/u/massi)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 2:19pm UTC](https://www.ruby-forum.com/t/get-the-id-of-a-line-in-drag-and-drop/114791 "2007-09-17T14:19:40Z")

</div>

bonjour , je viens j’ajouter un drag and drop a une liste triÃ©e selon la date , donc a chaque fois que je deplace une ligne je dois modifier sa date qui sera la moyenne des deux dates des lignes voisines (next,previu…

---

## [Any way to tell whether a website is RoR?](https://www.ruby-forum.com/t/any-way-to-tell-whether-a-website-is-ror/114789)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 1\
**Last updated:** [September 17, 2007, 1:50pm UTC](https://www.ruby-forum.com/t/any-way-to-tell-whether-a-website-is-ror/114789 "2007-09-17T13:50:56Z")

</div>

Since it is supposed to be transparent, is there a way to tell whether a website I am visiting is using RoR to serve its content? I just got the HTTP header from my localhost Rails app… and it is nothing special: HTT…

---

## [Error in exception logger plugin](https://www.ruby-forum.com/t/error-in-exception-logger-plugin/114788)

<div class="topic-metadata">

**Author:** [@anildigital](https://www.ruby-forum.com/u/anildigital)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 1:33pm UTC](https://www.ruby-forum.com/t/error-in-exception-logger-plugin/114788 "2007-09-17T13:33:45Z")

</div>

Hi all, I am getting an error while booting the server when I installed exception\_logger plugin… see pastie http://pastie.caboo.se/97891 It is clear that, it’s not able to find the view\_paths methods for LoggedExcep…

---

## [Problems with "model-extensions" and "open-uri"](https://www.ruby-forum.com/t/problems-with-model-extensions-and-open-uri/114607)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 2\
**Last updated:** [September 17, 2007, 1:33pm UTC](https://www.ruby-forum.com/t/problems-with-model-extensions-and-open-uri/114607 "2007-09-17T13:33:26Z")

</div>

In my local version of my rails app, i have the following requires in environment.rb- require ‘model\_extensions’ require ‘open-uri’ But, having just deployed to a shared server (on bluehost) both of these requires c…

---

## [Acts\_as\_authenticated user acount/login](https://www.ruby-forum.com/t/acts-as-authenticated-user-acount-login/114763)

<div class="topic-metadata">

**Author:** [@elle](https://www.ruby-forum.com/u/elle)\
**Replies:** 1\
**Last updated:** [September 17, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/acts-as-authenticated-user-acount-login/114763 "2007-09-17T13:25:42Z")

</div>

Hi, I followed most of the book ROR e-Commerce and am using acts\_as\_autheniticated plugin. When I created the user object, I created it using: $ script/generate authenticated user account Then I decided that instead…

---

## [Opinions of Hobo?](https://www.ruby-forum.com/t/opinions-of-hobo/114776)

<div class="topic-metadata">

**Author:** [@chirag](https://www.ruby-forum.com/u/chirag)\
**Replies:** 1\
**Last updated:** [September 17, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/opinions-of-hobo/114776 "2007-09-17T13:25:40Z")

</div>

I’d like to hear some overall opinions of Hobo? Is it worth bringing everything that they offer? Also, is there anyone using Hobo with restful\_authentication instead of act\_as\_authenticated? Thanks!

---

## [Advice on changing actions when in process flow and out of i](https://www.ruby-forum.com/t/advice-on-changing-actions-when-in-process-flow-and-out-of-i/196469)

<div class="topic-metadata">

**Author:** [@stephen\_OSD](https://www.ruby-forum.com/u/stephen_OSD)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/advice-on-changing-actions-when-in-process-flow-and-out-of-i/196469 "2007-09-17T13:25:38Z")

</div>

Guys, Say I have an action, :new, that allows a user to create a new ‘item’ in my app. To create this new item, they have to move through several steps, first add some details (in :new which creates the item), then …

---

## [Mixing a call to .rhtml AND .rjs](https://www.ruby-forum.com/t/mixing-a-call-to-rhtml-and-rjs/114523)

<div class="topic-metadata">

**Author:** [@jeannibee](https://www.ruby-forum.com/u/jeannibee)\
**Replies:** 2\
**Last updated:** [September 17, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/mixing-a-call-to-rhtml-and-rjs/114523 "2007-09-17T13:25:35Z")

</div>

Hi I’ll admit that I’m being lazy and trying to avoid learning enough javascript to implement this in Script.aculo.us, but if I have to I will. If I don’t then someone will have answered this question I have. :wink: …

---

## [Forum software](https://www.ruby-forum.com/t/forum-software/86069)

<div class="topic-metadata">

**Author:** [@technodolt](https://www.ruby-forum.com/u/technodolt)\
**Replies:** 14\
**Last updated:** [September 17, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/forum-software/86069 "2007-09-17T13:25:32Z")

</div>

I’m going to be developing a site that will allow various groups to sign up, and each one to have it’s own forum section of the site, completely independent of any other forum. There will also be other various group-…

---

## [Upgrading from Ruby 1.8.5 -\> 1.8.6.. Yes or No?](https://www.ruby-forum.com/t/upgrading-from-ruby-1-8-5-1-8-6-yes-or-no/114515)

<div class="topic-metadata">

**Author:** [@jeannibee](https://www.ruby-forum.com/u/jeannibee)\
**Replies:** 3\
**Last updated:** [September 17, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/upgrading-from-ruby-1-8-5-1-8-6-yes-or-no/114515 "2007-09-17T13:25:30Z")

</div>

Hi Is there any reason I should upgrade to Ruby 1.8.6. I tried to do that about 2 weeks agon (on Ubuntu Feisty) and I messed up my development environment COMPLETELY. I couldn’t run anything related to ruby / rails a…

---

## [Multiple Ajax activity indicators?](https://www.ruby-forum.com/t/multiple-ajax-activity-indicators/114538)

<div class="topic-metadata">

**Author:** [@vapor](https://www.ruby-forum.com/u/vapor)\
**Replies:** 3\
**Last updated:** [September 17, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/multiple-ajax-activity-indicators/114538 "2007-09-17T13:25:29Z")

</div>

I have a page which has 3 different forms, all ajaxed. I used an online tutorial to know about adding ajax activity indicator. But it displays where it is located in page(1st form) rather than next to the form I use. …

---

## [Transaction Question](https://www.ruby-forum.com/t/transaction-question/114765)

<div class="topic-metadata">

**Author:** [@Meech](https://www.ruby-forum.com/u/Meech)\
**Replies:** 0\
**Last updated:** [September 17, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/transaction-question/114765 "2007-09-17T13:25:22Z")

</div>

I have a custom class defined within the models directory. The class pulls data from many models and aggregates it. It also has a save method which writes data to multiple models. I’d like to wrap the save in a tra…

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

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