# Rails

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

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

---

## [IF you want earning easy money click on the link below!](https://www.ruby-forum.com/t/if-you-want-earning-easy-money-click-on-the-link-below/119506)

<div class="topic-metadata">

**Author:** [@Riaz\_Muhammad](https://www.ruby-forum.com/u/Riaz_Muhammad)\
**Replies:** 0\
**Last updated:** [November 7, 2007, 4:05pm UTC](https://www.ruby-forum.com/t/if-you-want-earning-easy-money-click-on-the-link-below/119506 "2007-11-07T16:05:03Z")

</div>

http://www.freewebs.com/homebusiness1

---

## [How to test partial](https://www.ruby-forum.com/t/how-to-test-partial/119464)

<div class="topic-metadata">

**Author:** [@sam](https://www.ruby-forum.com/u/sam)\
**Replies:** 2\
**Last updated:** [November 7, 2007, 3:45pm UTC](https://www.ruby-forum.com/t/how-to-test-partial/119464 "2007-11-07T15:45:07Z")

</div>

Hello, This is the test code. Over here i am trying to test the partial, is it render or not? I tried to test it with assert\_tag, but its giving me an error and the whole dump of th partial. I have never tested pa…

---

## [Select where url param](https://www.ruby-forum.com/t/select-where-url-param/119461)

<div class="topic-metadata">

**Author:** [@wiredwizard](https://www.ruby-forum.com/u/wiredwizard)\
**Replies:** 1\
**Last updated:** [November 7, 2007, 3:19pm UTC](https://www.ruby-forum.com/t/select-where-url-param/119461 "2007-11-07T15:19:17Z")

</div>

Im new to Ruby on Rails and I’m sure this is Simple Simon question. Trying to do a sql select where based on a url param This works fine and displays what I want but I want to change the 1 to a url param def list…

---

## [Getting rake abort when doing rake rails:freeze](https://www.ruby-forum.com/t/getting-rake-abort-when-doing-rake-rails-freeze/119236)

<div class="topic-metadata">

**Author:** [@chanhuai](https://www.ruby-forum.com/u/chanhuai)\
**Replies:** 4\
**Last updated:** [November 7, 2007, 2:16pm UTC](https://www.ruby-forum.com/t/getting-rake-abort-when-doing-rake-rails-freeze/119236 "2007-11-07T14:16:02Z")

</div>

hi i try to freeze rails and getting this error. crankky:~/rails/dev/autopolishine/trunk/vendor LaiChanHuai$ rake rails:freeze --trace (in /Users/LaiChanHuai/rails/dev/autopolishine/trunk) rake aborted! Don’t know …

---

## [Getting DIM values over link\_to](https://www.ruby-forum.com/t/getting-dim-values-over-link-to/119499)

<div class="topic-metadata">

**Author:** [@maul](https://www.ruby-forum.com/u/maul)\
**Replies:** 0\
**Last updated:** [November 7, 2007, 2:03pm UTC](https://www.ruby-forum.com/t/getting-dim-values-over-link-to/119499 "2007-11-07T14:03:36Z")

</div>

I am trying to be RESTful. I have users\_controller so that I can see the profile of a user via user/:user\_id . What I want, is to show a select box (drop down) where I see some users. I will select a user and click ‘G…

---

## [DoubleRenderError... again. ;-)](https://www.ruby-forum.com/t/doublerendererror-again/119451)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 5\
**Last updated:** [November 7, 2007, 1:53pm UTC](https://www.ruby-forum.com/t/doublerendererror-again/119451 "2007-11-07T13:53:13Z")

</div>

Hi all I’m still having my troubles with DoubleRenderError in Rails. Some time ago I learnt that I should always return after redirecting to avoid this problem: return redirect\_to :action =\> ‘list’ First question: d…

---

## [Inheriting tests in testcases](https://www.ruby-forum.com/t/inheriting-tests-in-testcases/119490)

<div class="topic-metadata">

**Author:** [@deliak](https://www.ruby-forum.com/u/deliak)\
**Replies:** 4\
**Last updated:** [November 7, 2007, 1:25pm UTC](https://www.ruby-forum.com/t/inheriting-tests-in-testcases/119490 "2007-11-07T13:25:33Z")

</div>

I’m using Test::Rails from ZenTest. I did an abstract(?) class that inherits from Test::Rails::TestCase and I wanted to define some general test there to be inherited by my testcases. The problem is that when I run m…

---

## [Links always go to 'localhost'](https://www.ruby-forum.com/t/links-always-go-to-localhost/119489)

<div class="topic-metadata">

**Author:** [@vapor](https://www.ruby-forum.com/u/vapor)\
**Replies:** 2\
**Last updated:** [November 7, 2007, 1:08pm UTC](https://www.ruby-forum.com/t/links-always-go-to-localhost/119489 "2007-11-07T13:08:38Z")

</div>

I am using Apache2.2 + Mongrel on my machine. Now I am accessing it over LAN. When I enter http://mymachinename/myapp it opens fine but when I click on any link in my rails app, it replaces mymachinename with localhos…

---

## [Acl\_system](https://www.ruby-forum.com/t/acl-system/109484)

<div class="topic-metadata">

**Author:** [@sandman](https://www.ruby-forum.com/u/sandman)\
**Replies:** 6\
**Last updated:** [November 7, 2007, 1:03pm UTC](https://www.ruby-forum.com/t/acl-system/109484 "2007-11-07T13:03:27Z")

</div>

Hi all, I’m using Ezra’s acl\_system plugin for authorization over the acts\_as\_authenticated plugin(for authentication). I really haven’t figured out how to use acl\_system. My requirement is simple - I have 3 roles - …

---

## [Image uploading](https://www.ruby-forum.com/t/image-uploading/119336)

<div class="topic-metadata">

**Author:** [@shybe](https://www.ruby-forum.com/u/shybe)\
**Replies:** 6\
**Last updated:** [November 7, 2007, 12:33pm UTC](https://www.ruby-forum.com/t/image-uploading/119336 "2007-11-07T12:33:33Z")

</div>

I’m Building an application where i need users to be able to upload an image with blog posts, and in another section I need the user to upload multiple images. From what I’ve read “attachment\_fu” is the way to go, b…

---

## [Script/console and session](https://www.ruby-forum.com/t/script-console-and-session/119447)

<div class="topic-metadata">

**Author:** [@salj](https://www.ruby-forum.com/u/salj)\
**Replies:** 1\
**Last updated:** [November 7, 2007, 12:25pm UTC](https://www.ruby-forum.com/t/script-console-and-session/119447 "2007-11-07T12:25:21Z")

</div>

I am trying to debug my application using ruby script/console. Once I am in the console, I type session\[:user\_id\] and I get and undefined local variable error. If I use a view to post the session\[:user\_id\], I get no …

---

## [Supporting iso-8859-1](https://www.ruby-forum.com/t/supporting-iso-8859-1/119476)

<div class="topic-metadata">

**Author:** [@michal](https://www.ruby-forum.com/u/michal)\
**Replies:** 1\
**Last updated:** [November 7, 2007, 12:11pm UTC](https://www.ruby-forum.com/t/supporting-iso-8859-1/119476 "2007-11-07T12:11:18Z")

</div>

hi guys, i want to display special characters in my view (german umlaute ä,ü,…). Can anyone tell me how to do this. when i put a “ü” into my view it results in (using ü instead works fine, but i want to use it direc…

---

## [Running Java code in rails](https://www.ruby-forum.com/t/running-java-code-in-rails/119488)

<div class="topic-metadata">

**Author:** [@chamnap](https://www.ruby-forum.com/u/chamnap)\
**Replies:** 2\
**Last updated:** [November 7, 2007, 11:49am UTC](https://www.ruby-forum.com/t/running-java-code-in-rails/119488 "2007-11-07T11:49:38Z")

</div>

Hi, I saw one java library, and I need to run this java code in rails because this library is written only in java. Does anyone used to experience with that? Can you show me? Any help is really appreciated. Thanks C…

---

## [Automatic marshalling with DB access](https://www.ruby-forum.com/t/automatic-marshalling-with-db-access/119373)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 2\
**Last updated:** [November 7, 2007, 11:21am UTC](https://www.ruby-forum.com/t/automatic-marshalling-with-db-access/119373 "2007-11-07T11:21:26Z")

</div>

I have an item which has a hash for one of its fields. When i store it in the db, i want to do a Marshal.dump of the hash, and similarly, do a Marshal.load to turn the saved blob back into a hash again. Is there a wa…

---

## [Valid options from hash](https://www.ruby-forum.com/t/valid-options-from-hash/119414)

<div class="topic-metadata">

**Author:** [@Kless](https://www.ruby-forum.com/u/Kless)\
**Replies:** 2\
**Last updated:** [November 7, 2007, 10:31am UTC](https://www.ruby-forum.com/t/valid-options-from-hash/119414 "2007-11-07T10:31:47Z")

</div>

Which is the best way to create a thin key/value related to some model? where a field only could insert those values (keys as 0,1) and where could be showed the values (as Red, Blue) from a drop-list COLOUR\_OPTIONS = …

---

## [Selecting data with two join tables](https://www.ruby-forum.com/t/selecting-data-with-two-join-tables/119399)

<div class="topic-metadata">

**Author:** [@heldopslippers](https://www.ruby-forum.com/u/heldopslippers)\
**Replies:** 8\
**Last updated:** [November 7, 2007, 9:56am UTC](https://www.ruby-forum.com/t/selecting-data-with-two-join-tables/119399 "2007-11-07T09:56:47Z")

</div>

hy … I have a problem with selecting data from my database. this is my database: users that has\_and\_belongs\_to\_many rights articles that has\_and\_belongs\_to\_many rights rights that has\_and\_belongs\_to\_many …

---

## [Observe\_field for partial?](https://www.ruby-forum.com/t/observe-field-for-partial/119473)

<div class="topic-metadata">

**Author:** [@vapor](https://www.ruby-forum.com/u/vapor)\
**Replies:** 0\
**Last updated:** [November 7, 2007, 9:30am UTC](https://www.ruby-forum.com/t/observe-field-for-partial/119473 "2007-11-07T09:30:49Z")

</div>

I have a list rendered through a partial. How can I update it with always-coming data in database?

---

## [If Components are going away, how does one build a portal?](https://www.ruby-forum.com/t/if-components-are-going-away-how-does-one-build-a-portal/119426)

<div class="topic-metadata">

**Author:** [@ASPNETAddict](https://www.ruby-forum.com/u/ASPNETAddict)\
**Replies:** 2\
**Last updated:** [November 7, 2007, 4:07am UTC](https://www.ruby-forum.com/t/if-components-are-going-away-how-does-one-build-a-portal/119426 "2007-11-07T04:07:01Z")

</div>

I will admit (and my nickname will prove it) that I live in the world of ASP.NET and that I quite like it there. But I am not a stick in the mud, if Ruby on Rails can really do it better then I am more than willing to…

---

## [7000+ beautiful Russian women](https://www.ruby-forum.com/t/7000-beautiful-russian-women/119455)

<div class="topic-metadata">

**Author:** [@brewer](https://www.ruby-forum.com/u/brewer)\
**Replies:** 0\
**Last updated:** [November 7, 2007, 3:00am UTC](https://www.ruby-forum.com/t/7000-beautiful-russian-women/119455 "2007-11-07T03:00:22Z")

</div>

7000+ beautiful Russian women http://groups.google.com/group/all-good-things/web/beautiful-girls-and-ladies

---

## [Initiating a GET request in parrelel w/o waiting for respons](https://www.ruby-forum.com/t/initiating-a-get-request-in-parrelel-w-o-waiting-for-respons/119442)

<div class="topic-metadata">

**Author:** [@ericgoodwin](https://www.ruby-forum.com/u/ericgoodwin)\
**Replies:** 2\
**Last updated:** [November 7, 2007, 2:35am UTC](https://www.ruby-forum.com/t/initiating-a-get-request-in-parrelel-w-o-waiting-for-respons/119442 "2007-11-07T02:35:13Z")

</div>

I have an external image processing server and I would like to get that action going inline with an action on my current server. How do I initiate a GET request and not care for the response, so that it doesnt halt my…

---

## [How To: Override Initialize](https://www.ruby-forum.com/t/how-to-override-initialize/119450)

<div class="topic-metadata">

**Author:** [@dark-omen](https://www.ruby-forum.com/u/dark-omen)\
**Replies:** 0\
**Last updated:** [November 7, 2007, 2:18am UTC](https://www.ruby-forum.com/t/how-to-override-initialize/119450 "2007-11-07T02:18:52Z")

</div>

Hiya… I need to override the initialize method in one of my models to set some defaults. Do I want to set a variable length argument list or not? That is, should I do it like this def initialize(\*args) … set defau…

---

## [Plugin not found?](https://www.ruby-forum.com/t/plugin-not-found/119277)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 1\
**Last updated:** [November 7, 2007, 2:04am UTC](https://www.ruby-forum.com/t/plugin-not-found/119277 "2007-11-07T02:04:49Z")

</div>

Hi, I’m trying to install query\_trace install, but I’m getting this error $./script/plugin discover … Y … Y …Y etc. $./script/plugin install query\_trace Plugin not found: \[“query\_trace”\] Is there anyway around?

---

## [Gem freezes](https://www.ruby-forum.com/t/gem-freezes/119340)

<div class="topic-metadata">

**Author:** [@stubbsuk](https://www.ruby-forum.com/u/stubbsuk)\
**Replies:** 1\
**Last updated:** [November 7, 2007, 1:49am UTC](https://www.ruby-forum.com/t/gem-freezes/119340 "2007-11-07T01:49:36Z")

</div>

Might be more of a general Ruby question I suppose, but you guys will know anyhow … After an upgrade to Leopard (a clean install, not a literal upgrade) I’ve copied my projects back onto my Mac, but I get an error whe…

---

## [Bin/mongrel\_rails to make it play nice with monit](https://www.ruby-forum.com/t/bin-mongrel-rails-to-make-it-play-nice-with-monit/119429)

<div class="topic-metadata">

**Author:** [@uncle](https://www.ruby-forum.com/u/uncle)\
**Replies:** 1\
**Last updated:** [November 7, 2007, 1:33am UTC](https://www.ruby-forum.com/t/bin-mongrel-rails-to-make-it-play-nice-with-monit/119429 "2007-11-07T01:33:51Z")

</div>

Looks like the mongrel\_rails command in mongrel 1.1 still does not fix (or include an option) the issue of stale pid files. mongrel\_rails will just exit if a pid exists without first checking if anything is actually …

---

## [1 error(s) on assignment of multiparameter attributes - Very Strange](https://www.ruby-forum.com/t/1-error-s-on-assignment-of-multiparameter-attributes-very-strange/119066)

<div class="topic-metadata">

**Author:** [@GPB](https://www.ruby-forum.com/u/GPB)\
**Replies:** 1\
**Last updated:** [November 7, 2007, 1:13am UTC](https://www.ruby-forum.com/t/1-error-s-on-assignment-of-multiparameter-attributes-very-strange/119066 "2007-11-07T01:13:59Z")

</div>

Hello… Well, I post this one without too much hope that someone will be able to give me an answer, because it is strange. I have a time select field, the field on the database is of type time only. When creating a d…

---

## [New Email Veracity Plugin](https://www.ruby-forum.com/t/new-email-veracity-plugin/119438)

<div class="topic-metadata">

**Author:** [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Replies:** 0\
**Last updated:** [November 7, 2007, 12:36am UTC](https://www.ruby-forum.com/t/new-email-veracity-plugin/119438 "2007-11-07T00:36:35Z")

</div>

My colleague Carsten released a new plugin today that adds a model validation for email addresses. It not only checks for well-formedness, but all checks that the email’s domain name is valid and has an MX record. Thi…

---

## [Implementation ideas for a unique identifier](https://www.ruby-forum.com/t/implementation-ideas-for-a-unique-identifier/119413)

<div class="topic-metadata">

**Author:** [@jmaziarz](https://www.ruby-forum.com/u/jmaziarz)\
**Replies:** 5\
**Last updated:** [November 6, 2007, 11:26pm UTC](https://www.ruby-forum.com/t/implementation-ideas-for-a-unique-identifier/119413 "2007-11-06T23:26:15Z")

</div>

I have an Item model that uses acts\_as\_nested\_set (via better\_nested\_set plugin) to maintain tree structures of Items. There can potentially be thousands of “root” Items. A requirement is that each “root” Item have a…

---

## [Nested Resources + :name\_prefix](https://www.ruby-forum.com/t/nested-resources-name-prefix/119430)

<div class="topic-metadata">

**Author:** [@stickstone](https://www.ruby-forum.com/u/stickstone)\
**Replies:** 0\
**Last updated:** [November 6, 2007, 11:25pm UTC](https://www.ruby-forum.com/t/nested-resources-name-prefix/119430 "2007-11-06T23:25:21Z")

</div>

I have a resource that has a name\_prefix to avoid clashing with another named route. I am nesting multiple resources inside this resource, and the name\_prefix is not being inherited for the generated named routes by t…

---

## [Setting up rails environment on Leopard](https://www.ruby-forum.com/t/setting-up-rails-environment-on-leopard/119395)

<div class="topic-metadata">

**Author:** [@jy\_nl](https://www.ruby-forum.com/u/jy_nl)\
**Replies:** 18\
**Last updated:** [November 6, 2007, 10:54pm UTC](https://www.ruby-forum.com/t/setting-up-rails-environment-on-leopard/119395 "2007-11-06T22:54:00Z")

</div>

Hi there! I was just setting up my rails environment in Leopard, with help of the Sitepoint ROR book. However, I’ve a problem with the MySQL installation. The installation of MySQL itself went okay, and I did a fix t…

---

## [Which one is the real backgrounDrb?](https://www.ruby-forum.com/t/which-one-is-the-real-backgroundrb/119425)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 0\
**Last updated:** [November 6, 2007, 10:44pm UTC](https://www.ruby-forum.com/t/which-one-is-the-real-backgroundrb/119425 "2007-11-06T22:44:02Z")

</div>

Hi, I’m having problem not knowing which one of these plugins is the official? script/plugin install svn://rubyforge.org//var/svn/backgroundrb script/plugin install http://opensvn.csie.org/ezra/rails/plugins/backgro…

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

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