# Rails

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

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

---

## [I am not able to run ferret](https://www.ruby-forum.com/t/i-am-not-able-to-run-ferret/112453)

<div class="topic-metadata">

**Author:** [@mindsarray](https://www.ruby-forum.com/u/mindsarray)\
**Replies:** 2\
**Last updated:** [August 19, 2007, 5:49pm UTC](https://www.ruby-forum.com/t/i-am-not-able-to-run-ferret/112453 "2007-08-19T17:49:36Z")

</div>

There seems to be a problem saying plugin not found while running this command script/plugin install svn://projects.jkraemer.net/acts\_as\_ferret/tags/stable/acts\_as\_ferret i think svn:// is a problem. am i missing so…

---

## [Configure ruby on rails hosting server](https://www.ruby-forum.com/t/configure-ruby-on-rails-hosting-server/112449)

<div class="topic-metadata">

**Author:** [@bebitzaa](https://www.ruby-forum.com/u/bebitzaa)\
**Replies:** 1\
**Last updated:** [August 19, 2007, 11:18am UTC](https://www.ruby-forum.com/t/configure-ruby-on-rails-hosting-server/112449 "2007-08-19T11:18:53Z")

</div>

Hello, I wan’t to configure a ruby on rails hosting server. I wan’t to have limitations on: user disk space, traffic, mysql databases, email accounts etc. I wan’t some tutorials about making this limitations. i wan’…

---

## [Getting 2 rails apps running on a server?](https://www.ruby-forum.com/t/getting-2-rails-apps-running-on-a-server/112315)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 3\
**Last updated:** [August 19, 2007, 11:03am UTC](https://www.ruby-forum.com/t/getting-2-rails-apps-running-on-a-server/112315 "2007-08-19T11:03:59Z")

</div>

hi, i’m using SliceHost as my hoster and running Ubuntu 6.10 on it, but got a problem when i’m trying to get more than one rails app running on my box. basically i’ve used capistrano + deprec to deploy the first one, …

---

## [Check BOX problem](https://www.ruby-forum.com/t/check-box-problem/112434)

<div class="topic-metadata">

**Author:** [@sgudibanda](https://www.ruby-forum.com/u/sgudibanda)\
**Replies:** 3\
**Last updated:** [August 19, 2007, 9:21am UTC](https://www.ruby-forum.com/t/check-box-problem/112434 "2007-08-19T09:21:12Z")

</div>

Hi, I am trying to make page with a list of users, with a check box next to each of the user names. The list of users is given by an array of users : @users For eg: if @users has {user1, user2,user3} , my page should…

---

## [Non-autoincremented primary keys](https://www.ruby-forum.com/t/non-autoincremented-primary-keys/112447)

<div class="topic-metadata">

**Author:** [@Shawn\_Page](https://www.ruby-forum.com/u/Shawn_Page)\
**Replies:** 0\
**Last updated:** [August 19, 2007, 3:03am UTC](https://www.ruby-forum.com/t/non-autoincremented-primary-keys/112447 "2007-08-19T03:03:21Z")

</div>

Hi, I am trying to populate a legacy table with a primary key of ‘id’, but the id is not auto-incremented (the id is currently populated with the results from another table that has an auto-incremented id). I’m POSTi…

---

## [Sentry plugin causing migration to fail](https://www.ruby-forum.com/t/sentry-plugin-causing-migration-to-fail/112446)

<div class="topic-metadata">

**Author:** [@pond](https://www.ruby-forum.com/u/pond)\
**Replies:** 0\
**Last updated:** [August 19, 2007, 3:01am UTC](https://www.ruby-forum.com/t/sentry-plugin-causing-migration-to-fail/112446 "2007-08-19T03:01:27Z")

</div>

I have an application that uses the Sentry plug-in. I am using Sentry on my Users model for encrypting passwords. It works fine inside the application, but whenever I call User.create in my migration (in order to se…

---

## [Make Operating System Faster!](https://www.ruby-forum.com/t/make-operating-system-faster/112444)

<div class="topic-metadata">

**Author:** [@John\_Travolta](https://www.ruby-forum.com/u/John_Travolta)\
**Replies:** 0\
**Last updated:** [August 19, 2007, 2:28am UTC](https://www.ruby-forum.com/t/make-operating-system-faster/112444 "2007-08-19T02:28:19Z")

</div>

Tune up your system and make it faster

---

## [Map.resources helpers not recognized in production only](https://www.ruby-forum.com/t/map-resources-helpers-not-recognized-in-production-only/112445)

<div class="topic-metadata">

**Author:** [@jonlog](https://www.ruby-forum.com/u/jonlog)\
**Replies:** 0\
**Last updated:** [August 19, 2007, 1:51am UTC](https://www.ruby-forum.com/t/map-resources-helpers-not-recognized-in-production-only/112445 "2007-08-19T01:51:17Z")

</div>

I’ve got a ‘map.resources :ultra\_things’ in my routes.rb, and in a view I have… \<%= link\_to @ultra\_thing.name, ultra\_thing\_path(@ultra\_thing.id) %\> And this all works very, very well… in development. However, on the …

---

## [Look at this great site](https://www.ruby-forum.com/t/look-at-this-great-site/196437)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [August 19, 2007, 1:08am UTC](https://www.ruby-forum.com/t/look-at-this-great-site/196437 "2007-08-19T01:08:15Z")

</div>

http://www.pennergame.de/ref.php?uid=4762

---

## [Before\_destroy not called](https://www.ruby-forum.com/t/before-destroy-not-called/112437)

<div class="topic-metadata">

**Author:** [@dailer](https://www.ruby-forum.com/u/dailer)\
**Replies:** 2\
**Last updated:** [August 19, 2007, 12:37am UTC](https://www.ruby-forum.com/t/before-destroy-not-called/112437 "2007-08-19T00:37:13Z")

</div>

I have a situation where it seems rails should delete dependent records but does not: class Order \< ActiveRecord::Base has\_many :line\_items, :dependent =\> :destroy end class LineItem \< ActiveRecord::Base belongs\_to…

---

## [Link\_to - naming issue](https://www.ruby-forum.com/t/link-to-naming-issue/112439)

<div class="topic-metadata">

**Author:** [@Brien](https://www.ruby-forum.com/u/Brien)\
**Replies:** 4\
**Last updated:** [August 19, 2007, 12:23am UTC](https://www.ruby-forum.com/t/link-to-naming-issue/112439 "2007-08-19T00:23:13Z")

</div>

Hey all, I’m trying to get a link\_to to display a link to the number of comments for a post. I can get the number + text with pluralize post.comments.count, ‘Comment’ but I can’t seem to do \<%= link\_to pluralize pos…

---

## [Personalised home pages](https://www.ruby-forum.com/t/personalised-home-pages/112429)

<div class="topic-metadata">

**Author:** [@pretct](https://www.ruby-forum.com/u/pretct)\
**Replies:** 1\
**Last updated:** [August 18, 2007, 11:22pm UTC](https://www.ruby-forum.com/t/personalised-home-pages/112429 "2007-08-18T23:22:09Z")

</div>

Hey hi, I am newbee in ruby language. We are making our college’s website in ruby. We have decided to provide a personalised web page for users i.e. college students. Can we make it in ruby or it will come under html…

---

## [Validates\_uniqueness\_of](https://www.ruby-forum.com/t/validates-uniqueness-of/112147)

<div class="topic-metadata">

**Author:** [@micktaiwan](https://www.ruby-forum.com/u/micktaiwan)\
**Replies:** 8\
**Last updated:** [August 18, 2007, 11:20pm UTC](https://www.ruby-forum.com/t/validates-uniqueness-of/112147 "2007-08-18T23:20:08Z")

</div>

Hi, In my user model I validates\_uniqueness\_of :login. In my app, users can edit their information. If the user change the name but not the login, the record gets rejected. Of course the login is already used, but b…

---

## [\[ADV\] Deploying Rails Applications Beta Book Release](https://www.ruby-forum.com/t/adv-deploying-rails-applications-beta-book-release/112296)

<div class="topic-metadata">

**Author:** [@ezra\_z](https://www.ruby-forum.com/u/ezra_z)\
**Replies:** 11\
**Last updated:** [August 18, 2007, 11:17pm UTC](https://www.ruby-forum.com/t/adv-deploying-rails-applications-beta-book-release/112296 "2007-08-18T23:17:08Z")

</div>

Hello Friends- I’m happy to announce the beta release of my book for the Pragmatic Programmers, Deploying Rails Applications, A Step by Step Guide. It’s been in the works for a long time and has been rewritten multipl…

---

## [Is there a way to know what action you're in?](https://www.ruby-forum.com/t/is-there-a-way-to-know-what-action-youre-in/112436)

<div class="topic-metadata">

**Author:** [@charlie\_caroff](https://www.ruby-forum.com/u/charlie_caroff)\
**Replies:** 3\
**Last updated:** [August 18, 2007, 10:29pm UTC](https://www.ruby-forum.com/t/is-there-a-way-to-know-what-action-youre-in/112436 "2007-08-18T22:29:59Z")

</div>

I have a partial that is placed in many different pages, or, in rails terms, participates in many different actions. So, the partial \_list.rhtml is on ./admin/show.rhtml and it’s also on ./admin/find.rhtml I want t…

---

## [Repair Operating System - manual](https://www.ruby-forum.com/t/repair-operating-system-manual/112433)

<div class="topic-metadata">

**Author:** [@Porsche\_Fan](https://www.ruby-forum.com/u/Porsche_Fan)\
**Replies:** 0\
**Last updated:** [August 18, 2007, 9:26pm UTC](https://www.ruby-forum.com/t/repair-operating-system-manual/112433 "2007-08-18T21:26:56Z")

</div>

Step-by-step manual for repairing Microsoft Operating System

---

## [What is the best practice for drying up role-based views?](https://www.ruby-forum.com/t/what-is-the-best-practice-for-drying-up-role-based-views/112432)

<div class="topic-metadata">

**Author:** [@jose](https://www.ruby-forum.com/u/jose)\
**Replies:** 0\
**Last updated:** [August 18, 2007, 9:19pm UTC](https://www.ruby-forum.com/t/what-is-the-best-practice-for-drying-up-role-based-views/112432 "2007-08-18T21:19:54Z")

</div>

I’m finding a pattern in many of my Rails application’s which is: views that change depending on the role of the person using the application. For example, an admin sees one view and an assistant sees another view. …

---

## [Help with selection list](https://www.ruby-forum.com/t/help-with-selection-list/112390)

<div class="topic-metadata">

**Author:** [@charlie\_caroff](https://www.ruby-forum.com/u/charlie_caroff)\
**Replies:** 6\
**Last updated:** [August 18, 2007, 9:12pm UTC](https://www.ruby-forum.com/t/help-with-selection-list/112390 "2007-08-18T21:12:52Z")

</div>

Hi, I want to make a selection list, which I call a dropdown, which, when a user makes his or her selection, will do an ajax call, and update a partial. Without hitting a button – the ajax request will fire off upon…

---

## [Attachment\_fu questions](https://www.ruby-forum.com/t/attachment-fu-questions/112419)

<div class="topic-metadata">

**Author:** [@pabloz](https://www.ruby-forum.com/u/pabloz)\
**Replies:** 3\
**Last updated:** [August 18, 2007, 8:49pm UTC](https://www.ruby-forum.com/t/attachment-fu-questions/112419 "2007-08-18T20:49:50Z")

</div>

Hello! I have 2 questions concerning attachment\_fu. Is it possible to validate dimensions of uploaded photo, i want it to accept only certain dimensions. If i create for example :big\_picture =\> ‘800x600’ and :thu…

---

## [Creating A link for downloading files listed in directory](https://www.ruby-forum.com/t/creating-a-link-for-downloading-files-listed-in-directory/112427)

<div class="topic-metadata">

**Author:** [@advait](https://www.ruby-forum.com/u/advait)\
**Replies:** 0\
**Last updated:** [August 18, 2007, 7:35pm UTC](https://www.ruby-forum.com/t/creating-a-link-for-downloading-files-listed-in-directory/112427 "2007-08-18T19:35:09Z")

</div>

HI, We know that when we list a directory structure, all the details that is subdirectories and files are shown. When I click on the sub directory it links to the next dub directory and works fine. My problem arises…

---

## [Repairing Tips for Windows XP](https://www.ruby-forum.com/t/repairing-tips-for-windows-xp/112425)

<div class="topic-metadata">

**Author:** [@Porsche\_Fan](https://www.ruby-forum.com/u/Porsche_Fan)\
**Replies:** 0\
**Last updated:** [August 18, 2007, 6:50pm UTC](https://www.ruby-forum.com/t/repairing-tips-for-windows-xp/112425 "2007-08-18T18:50:40Z")

</div>

Repairing Tips for Windows XP, Improve your System speed !!!

---

## [Can't get rjs templates running!](https://www.ruby-forum.com/t/cant-get-rjs-templates-running/112421)

<div class="topic-metadata">

**Author:** [@RSY](https://www.ruby-forum.com/u/RSY)\
**Replies:** 0\
**Last updated:** [August 18, 2007, 5:36pm UTC](https://www.ruby-forum.com/t/cant-get-rjs-templates-running/112421 "2007-08-18T17:36:07Z")

</div>

Hi all, I’m using rails version 1.2.3, and I have a really weird problem: I’m trying to run a simple example for experimenting with rjs, that adds some xhtml to my page, actually it’s the example on http://www.codyfa…

---

## [Question about running unit tests](https://www.ruby-forum.com/t/question-about-running-unit-tests/111821)

<div class="topic-metadata">

**Author:** [@Marko\_Vuksanovic](https://www.ruby-forum.com/u/Marko_Vuksanovic)\
**Replies:** 1\
**Last updated:** [August 18, 2007, 5:23pm UTC](https://www.ruby-forum.com/t/question-about-running-unit-tests/111821 "2007-08-18T17:23:03Z")

</div>

I have two questions regarding running unit tests Is there a way to run a specific unit test using rake command,… sth like “rake test:units xxxxx”. I’d like to achieve the same effect as using, for example, “ruby te…

---

## [Problem with file\_column url generator](https://www.ruby-forum.com/t/problem-with-file-column-url-generator/112382)

<div class="topic-metadata">

**Author:** [@gordon](https://www.ruby-forum.com/u/gordon)\
**Replies:** 1\
**Last updated:** [August 18, 2007, 5:16pm UTC](https://www.ruby-forum.com/t/problem-with-file-column-url-generator/112382 "2007-08-18T17:16:01Z")

</div>

Hi, I have the following in a viewer Here, @lst = Homework.find(:all) is an array of homeworks. I checked this this is correct. Based on the error below, somehow, the url\_for\_file\_colum does not like to act on the …

---

## [Anyway to autogenerate joins w/o :include](https://www.ruby-forum.com/t/anyway-to-autogenerate-joins-w-o-include/111105)

<div class="topic-metadata">

**Author:** [@vincent\_fazio](https://www.ruby-forum.com/u/vincent_fazio)\
**Replies:** 13\
**Last updated:** [August 18, 2007, 4:48pm UTC](https://www.ruby-forum.com/t/anyway-to-autogenerate-joins-w-o-include/111105 "2007-08-18T16:48:59Z")

</div>

I have a bunch of models defined and have created all the relationships between them. For simplicity lets just say they’re… class Document \< ActiveRecord::Base has\_and\_belongs\_to\_many :authors end class Author \< Ac…

---

## [RSpec: adding "--format s" to spec.opts causes rake spec to](https://www.ruby-forum.com/t/rspec-adding-format-s-to-spec-opts-causes-rake-spec-to/112413)

<div class="topic-metadata">

**Author:** [@Hardbap](https://www.ruby-forum.com/u/Hardbap)\
**Replies:** 1\
**Last updated:** [August 18, 2007, 4:30pm UTC](https://www.ruby-forum.com/t/rspec-adding-format-s-to-spec-opts-causes-rake-spec-to/112413 "2007-08-18T16:30:57Z")

</div>

Windows XP SP 2 ruby 1.8.5 gems: rails 1.2.3 rake 0.7.3 plugins: rspec 1.0.8 rspec\_rails 1.0.8 Running spec with “rake spec SPEC\_OPTS=”–format s" and “ruby script/ spec --format s” works fine. But if I add “–fo…

---

## [Software Problem Solving](https://www.ruby-forum.com/t/software-problem-solving/112408)

<div class="topic-metadata">

**Author:** [@John\_Travolta](https://www.ruby-forum.com/u/John_Travolta)\
**Replies:** 0\
**Last updated:** [August 18, 2007, 3:10pm UTC](https://www.ruby-forum.com/t/software-problem-solving/112408 "2007-08-18T15:10:58Z")

</div>

Software problem solving

---

## [Looking RoR site. showcase of webdesigners?](https://www.ruby-forum.com/t/looking-ror-site-showcase-of-webdesigners/112406)

<div class="topic-metadata">

**Author:** [@bbqplate](https://www.ruby-forum.com/u/bbqplate)\
**Replies:** 1\
**Last updated:** [August 18, 2007, 2:57pm UTC](https://www.ruby-forum.com/t/looking-ror-site-showcase-of-webdesigners/112406 "2007-08-18T14:57:57Z")

</div>

i remember it being posted here or someother site. it was a site developed in RoR that showcases web designers. cant remember the name. does anyone know? or does anyone know of a site twhere i can find nice portfolios…

---

## [Scaffold (Agile Web Development With Rails)](https://www.ruby-forum.com/t/scaffold-agile-web-development-with-rails/112372)

<div class="topic-metadata">

**Author:** [@Davi](https://www.ruby-forum.com/u/Davi)\
**Replies:** 1\
**Last updated:** [August 18, 2007, 2:56pm UTC](https://www.ruby-forum.com/t/scaffold-agile-web-development-with-rails/112372 "2007-08-18T14:56:57Z")

</div>

What am I doing wrong here? \[app/controllers/admin\_controller.rb\] class AdminController \< ApplicationController before\_filter :authorize def index list render :action =\> ‘list’ end GETs should be safe (see URIs,…

---

## [Windows XP Repairing](https://www.ruby-forum.com/t/windows-xp-repairing/112404)

<div class="topic-metadata">

**Author:** [@John\_Travolta](https://www.ruby-forum.com/u/John_Travolta)\
**Replies:** 0\
**Last updated:** [August 18, 2007, 2:09pm UTC](https://www.ruby-forum.com/t/windows-xp-repairing/112404 "2007-08-18T14:09:52Z")

</div>

Repair your Windows and avoid boring new installation

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

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