# Rails

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

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

---

## [\[help\] problem uploading file... w stringifykey!](https://www.ruby-forum.com/t/help-problem-uploading-file-w-stringifykey/112611)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 3\
**Last updated:** [August 21, 2007, 2:31pm UTC](https://www.ruby-forum.com/t/help-problem-uploading-file-w-stringifykey/112611 "2007-08-21T14:31:58Z")

</div>

I am uploading an image the standard way… advertising edit view .... .. my controller try to create the image… advertising\_controller def update … @illustration = Illustration.new(params\[:file\_data\]) … @illu…

---

## [Rails List: Is spam normal?](https://www.ruby-forum.com/t/rails-list-is-spam-normal/112575)

<div class="topic-metadata">

**Author:** [@cliffking](https://www.ruby-forum.com/u/cliffking)\
**Replies:** 2\
**Last updated:** [August 21, 2007, 2:20pm UTC](https://www.ruby-forum.com/t/rails-list-is-spam-normal/112575 "2007-08-21T14:20:16Z")

</div>

Hey guys, I’m kind of a read-only member of the list as of late and I’ve not been on the list at all too long but I’m curious… is it normal for this list to get spam? Some other lists I’m a member of seem to bee pret…

---

## [Plugin tests](https://www.ruby-forum.com/t/plugin-tests/112615)

<div class="topic-metadata">

**Author:** [@ss\_1982](https://www.ruby-forum.com/u/ss_1982)\
**Replies:** 0\
**Last updated:** [August 21, 2007, 12:39pm UTC](https://www.ruby-forum.com/t/plugin-tests/112615 "2007-08-21T12:39:59Z")

</div>

Hi, A couple of plugins such ssl requirement http://dev.rubyonrails.org/svn/rails/plugins/ssl\_requirement/ have pre built tests in the /test directory. How can I hook these up into the standard test\_helper.rb so they…

---

## [Display corresponding columns](https://www.ruby-forum.com/t/display-corresponding-columns/112612)

<div class="topic-metadata">

**Author:** [@dhaval\_parikh33](https://www.ruby-forum.com/u/dhaval_parikh33)\
**Replies:** 0\
**Last updated:** [August 21, 2007, 12:03pm UTC](https://www.ruby-forum.com/t/display-corresponding-columns/112612 "2007-08-21T12:03:46Z")

</div>

Hello frnds I want to display the details of the corresponding columns when one criteria matches with the details of one col. eg:- say i have 3 cols. A,B and C and i put a condition to display the contents of the col…

---

## [Editing multiple models in one form](https://www.ruby-forum.com/t/editing-multiple-models-in-one-form/112609)

<div class="topic-metadata">

**Author:** [@nanouk](https://www.ruby-forum.com/u/nanouk)\
**Replies:** 0\
**Last updated:** [August 21, 2007, 11:43am UTC](https://www.ruby-forum.com/t/editing-multiple-models-in-one-form/112609 "2007-08-21T11:43:03Z")

</div>

I’m looking to try and get the edit function working on a page for editing multiple models within the one form. I can currently edit any child models of a parent if the child records already exist, the problem lies wi…

---

## [Counter cache](https://www.ruby-forum.com/t/counter-cache/112608)

<div class="topic-metadata">

**Author:** [@fmardini](https://www.ruby-forum.com/u/fmardini)\
**Replies:** 0\
**Last updated:** [August 21, 2007, 11:34am UTC](https://www.ruby-forum.com/t/counter-cache/112608 "2007-08-21T11:34:01Z")

</div>

Hi, I have two models, employees and departments, and i am using counter\_cache to count the number of employees in a department. This works great, but employees can change their departments, and the counter cache doe…

---

## [\[ANN\] stompserver 0.9.8 Released](https://www.ruby-forum.com/t/ann-stompserver-0-9-8-released/196431)

<div class="topic-metadata">

**Author:** [@Lionel\_B](https://www.ruby-forum.com/u/Lionel_B)\
**Replies:** 1\
**Last updated:** [August 21, 2007, 10:09am UTC](https://www.ruby-forum.com/t/ann-stompserver-0-9-8-released/196431 "2007-08-21T10:09:29Z")

</div>

Hi, stompserver version 0.9.8 has been released! \<by Patrick H., Lionel B.\> http://stompserver.rubyforge.org/ Stomp messaging server with file/dbm/memory/activerecord based FIFO queues, queue monitoring, and basic a…

---

## [Pop Up Window](https://www.ruby-forum.com/t/pop-up-window/112545)

<div class="topic-metadata">

**Author:** [@Nicholas\_ESHubbard](https://www.ruby-forum.com/u/Nicholas_ESHubbard)\
**Replies:** 3\
**Last updated:** [August 21, 2007, 9:04am UTC](https://www.ruby-forum.com/t/pop-up-window/112545 "2007-08-21T09:04:38Z")

</div>

Hey Guys, first post here. I am running into some basic problems. I am trying to submit a form in a popup window and if the object saves close the popup window and refresh the page in the main window. Has anyone done…

---

## [Is it possible to include image files in Generators?](https://www.ruby-forum.com/t/is-it-possible-to-include-image-files-in-generators/112592)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 0\
**Last updated:** [August 21, 2007, 7:30am UTC](https://www.ruby-forum.com/t/is-it-possible-to-include-image-files-in-generators/112592 "2007-08-21T07:30:08Z")

</div>

I’m trying to convert a script that uses image files. Is there a way to include images in the generators itself? (e.g. generators/somename/templates/abc\_logo.gif) I tried it, but it says: “You have a nil object when …

---

## [BlueCloth on Dreamhost](https://www.ruby-forum.com/t/bluecloth-on-dreamhost/112491)

<div class="topic-metadata">

**Author:** [@Brien](https://www.ruby-forum.com/u/Brien)\
**Replies:** 5\
**Last updated:** [August 21, 2007, 5:25am UTC](https://www.ruby-forum.com/t/bluecloth-on-dreamhost/112491 "2007-08-21T05:25:03Z")

</div>

Hey all, I’ve got a rails app hosted on dreamhost, but for somereason, putting markdown(thing.otherthing) doesn’t seem to work, I get undefined method \`markdown’ for #\<#Class:0x41318d50:0x41318d28\> Does anyone know ho…

---

## [Transforming "Show" Link to "Hide" Link When Clicked](https://www.ruby-forum.com/t/transforming-show-link-to-hide-link-when-clicked/112455)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 6\
**Last updated:** [August 21, 2007, 2:50am UTC](https://www.ruby-forum.com/t/transforming-show-link-to-hide-link-when-clicked/112455 "2007-08-21T02:50:25Z")

</div>

I’m trying to incorporate a “Show/Hide” link on a page that uses Scriptaculous elements (i.e. Effect.toggle). Initially, the the link says: “Show more” to show more text that’s hidden. How can I make it such that when…

---

## [Helpful hint for using help](https://www.ruby-forum.com/t/helpful-hint-for-using-help/112579)

<div class="topic-metadata">

**Author:** [@pedz](https://www.ruby-forum.com/u/pedz)\
**Replies:** 0\
**Last updated:** [August 21, 2007, 2:32am UTC](https://www.ruby-forum.com/t/helpful-hint-for-using-help/112579 "2007-08-21T02:32:30Z")

</div>

Maybe everyone knows this but me. But, lets say I want to understand “layout”. I do “ri layout” and it gives me a very short paragraph. The module that layout is in is ActionController::Layout::ClassMethods (ri tell…

---

## [Sharing code in views](https://www.ruby-forum.com/t/sharing-code-in-views/112541)

<div class="topic-metadata">

**Author:** [@Gandalf](https://www.ruby-forum.com/u/Gandalf)\
**Replies:** 3\
**Last updated:** [August 21, 2007, 12:40am UTC](https://www.ruby-forum.com/t/sharing-code-in-views/112541 "2007-08-21T00:40:40Z")

</div>

I am new to Rails and am wondering how to share code across views. I have two views and want to share website logo & header. Any thoughts would be very helpful. Thanks.

---

## [Objects in Session State Revisited](https://www.ruby-forum.com/t/objects-in-session-state-revisited/112082)

<div class="topic-metadata">

**Author:** [@sbellware](https://www.ruby-forum.com/u/sbellware)\
**Replies:** 10\
**Last updated:** [August 21, 2007, 12:25am UTC](https://www.ruby-forum.com/t/objects-in-session-state-revisited/112082 "2007-08-21T00:25:39Z")

</div>

Hi Folks, I’m still a bit confused about the issue of storing “complex” objects in session state rather than storing simple objects. It’s my understanding that everything is an object in Ruby. If my understanding is…

---

## [Retrieve only GET parameters](https://www.ruby-forum.com/t/retrieve-only-get-parameters/112568)

<div class="topic-metadata">

**Author:** [@ktheory](https://www.ruby-forum.com/u/ktheory)\
**Replies:** 1\
**Last updated:** [August 21, 2007, 12:24am UTC](https://www.ruby-forum.com/t/retrieve-only-get-parameters/112568 "2007-08-21T00:24:46Z")

</div>

The rails documentation states: “All request parameters, whether they come from a GET or POST request, or from the URL, are available through the params method which returns a hash.” How do I get a hash containing on…

---

## [Ddl](https://www.ruby-forum.com/t/ddl/112569)

<div class="topic-metadata">

**Author:** [@acras](https://www.ruby-forum.com/u/acras)\
**Replies:** 0\
**Last updated:** [August 21, 2007, 12:03am UTC](https://www.ruby-forum.com/t/ddl/112569 "2007-08-21T00:03:37Z")

</div>

Hi, I have a DDL that I can access via excel. Is there a way to access it via Ruby? Thnks – Ricardo A. removed\_email\_address@domain.invalid Acras Desenvolvimento de Sistemas +55+41-3232-6404 www.acras.net

---

## [Looping wiht ERb dynamic fixture?](https://www.ruby-forum.com/t/looping-wiht-erb-dynamic-fixture/112570)

<div class="topic-metadata">

**Author:** [@chirag](https://www.ruby-forum.com/u/chirag)\
**Replies:** 0\
**Last updated:** [August 21, 2007, 12:03am UTC](https://www.ruby-forum.com/t/looping-wiht-erb-dynamic-fixture/112570 "2007-08-21T00:03:37Z")

</div>

I would like to create a dynamic fixture with ERb which generates about 5000 records. The data is all numeric and will be graphed and therefore each record has no meaning on its own (and the record “name” is not neede…

---

## [Clear text\_area value onfocus](https://www.ruby-forum.com/t/clear-text-area-value-onfocus/112354)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 3\
**Last updated:** [August 20, 2007, 11:57pm UTC](https://www.ruby-forum.com/t/clear-text-area-value-onfocus/112354 "2007-08-20T23:57:37Z")

</div>

Hi! I have a “text\_area” that looks like this… \<%= text\_area ‘business’, ‘otherDigitalDesc’, “cols” =\> 25, “rows” =\> 4, “value” =\> “Enter Description if Yes…” %\> Right now, if I submit it, it adds “Enter Description …

---

## [Team Org. Display](https://www.ruby-forum.com/t/team-org-display/112566)

<div class="topic-metadata">

**Author:** [@seanmctex](https://www.ruby-forum.com/u/seanmctex)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 11:54pm UTC](https://www.ruby-forum.com/t/team-org-display/112566 "2007-08-20T23:54:27Z")

</div>

Hello everyone I am fairly new to Ruby on Rails. I am trying to right an app. that lets you select your Team Leader and it will display their boss, then their boss, then their boss all the way back to the top of the …

---

## [\[ANN\] TapTracker - find draft beer](https://www.ruby-forum.com/t/ann-taptracker-find-draft-beer/112560)

<div class="topic-metadata">

**Author:** [@cjnkns](https://www.ruby-forum.com/u/cjnkns)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 11:21pm UTC](https://www.ruby-forum.com/t/ann-taptracker-find-draft-beer/112560 "2007-08-20T23:21:52Z")

</div>

Announcing TapTracker - a draft beer availability database. Simply a project of mine to satisfy two goals: Help beer lovers find draft beer (and avoid the lack of it). Build a Rails app!

---

## [How does Mongrel (http) work, compared to Fast(CGI)?](https://www.ruby-forum.com/t/how-does-mongrel-http-work-compared-to-fast-cgi/104438)

<div class="topic-metadata">

**Author:** [@johan](https://www.ruby-forum.com/u/johan)\
**Replies:** 14\
**Last updated:** [August 20, 2007, 11:06pm UTC](https://www.ruby-forum.com/t/how-does-mongrel-http-work-compared-to-fast-cgi/104438 "2007-08-20T23:06:29Z")

</div>

Hi, I know Mongrel is one of the best performing methods to host rails. I know CGI is to be avoided because the ruby interpreter and the rails framework have to be loaded for every request. I know FastCGI is faster t…

---

## [Multi nested resources](https://www.ruby-forum.com/t/multi-nested-resources/112517)

<div class="topic-metadata">

**Author:** [@marc](https://www.ruby-forum.com/u/marc)\
**Replies:** 5\
**Last updated:** [August 20, 2007, 10:54pm UTC](https://www.ruby-forum.com/t/multi-nested-resources/112517 "2007-08-20T22:54:23Z")

</div>

Hi guys,just wondering if someone could enlighten me about this. Is it possible to have multi nested resources like map.resources :owners do |owner| owner.resources :dogs, :controller =\> ‘dogs’, :singular =\> ‘dog’, …

---

## [Profile Database Usage](https://www.ruby-forum.com/t/profile-database-usage/112559)

<div class="topic-metadata">

**Author:** [@Geoffrey\_W](https://www.ruby-forum.com/u/Geoffrey_W)\
**Replies:** 1\
**Last updated:** [August 20, 2007, 10:52pm UTC](https://www.ruby-forum.com/t/profile-database-usage/112559 "2007-08-20T22:52:23Z")

</div>

I’m assuming it’s possible to see the database usage Rails generates, but I’m having trouble finding the correct Google search. I’m looking at ActsAsVersioned and ActsAsAudited, and I’d like to be able to see the res…

---

## [Add a restful route](https://www.ruby-forum.com/t/add-a-restful-route/112551)

<div class="topic-metadata">

**Author:** [@mickey](https://www.ruby-forum.com/u/mickey)\
**Replies:** 7\
**Last updated:** [August 20, 2007, 10:08pm UTC](https://www.ruby-forum.com/t/add-a-restful-route/112551 "2007-08-20T22:08:33Z")

</div>

In using the restful2 example in Agile Development with Rails I thought it would be good to have a search function on title. So I added the search function to the controller with the other CRUD funtions. Added an i…

---

## [\[ANN\]Rails article for International PHP Magazine](https://www.ruby-forum.com/t/ann-rails-article-for-international-php-magazine/112558)

<div class="topic-metadata">

**Author:** [@Mitch\_P](https://www.ruby-forum.com/u/Mitch_P)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 10:01pm UTC](https://www.ruby-forum.com/t/ann-rails-article-for-international-php-magazine/112558 "2007-08-20T22:01:17Z")

</div>

Hi gang, Just got notice that my article, “Riding the Rails” not only got published in International PHP Magazine, but I made the cover: http://www.php-mag.net/magphpde/magphpde\_issue/psecom,id,25,nodeid,20.html I wr…

---

## [Output module names](https://www.ruby-forum.com/t/output-module-names/112553)

<div class="topic-metadata">

**Author:** [@smithy](https://www.ruby-forum.com/u/smithy)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 9:42pm UTC](https://www.ruby-forum.com/t/output-module-names/112553 "2007-08-20T21:42:20Z")

</div>

Hello, Is there a way to output all of the module names to the screen? thanks again

---

## [How does one find the DNS address of their website?](https://www.ruby-forum.com/t/how-does-one-find-the-dns-address-of-their-website/112516)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [August 20, 2007, 8:47pm UTC](https://www.ruby-forum.com/t/how-does-one-find-the-dns-address-of-their-website/112516 "2007-08-20T20:47:06Z")

</div>

I hope this question is appropriate for this forum and hope it is an easy one? When I look at my, or any domain in WHOIS I find where it is being hosted (if any) but not what the DNS address is of the domain page? Th…

---

## [Passing parameters from pages](https://www.ruby-forum.com/t/passing-parameters-from-pages/112328)

<div class="topic-metadata">

**Author:** [@niky81](https://www.ruby-forum.com/u/niky81)\
**Replies:** 5\
**Last updated:** [August 20, 2007, 8:32pm UTC](https://www.ruby-forum.com/t/passing-parameters-from-pages/112328 "2007-08-20T20:32:03Z")

</div>

Hi guys, just a simple question that seems unanswered on RoR books, I just skimmed 4 of them. I’ve a Contact model and I’ve a Note model. Now I want a link on the page that shows the contact enabling the user to add …

---

## [Test fixture with Flash chart?](https://www.ruby-forum.com/t/test-fixture-with-flash-chart/112550)

<div class="topic-metadata">

**Author:** [@chirag](https://www.ruby-forum.com/u/chirag)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 8:26pm UTC](https://www.ruby-forum.com/t/test-fixture-with-flash-chart/112550 "2007-08-20T20:26:03Z")

</div>

I want to create a fixture with ERb to load a database with random data for a particular model. That data will be used for a Flash chart object. How can I create the functional test to allow me to view the Flash chart…

---

## [Optimization for Windows XP](https://www.ruby-forum.com/t/optimization-for-windows-xp/112548)

<div class="topic-metadata">

**Author:** [@Porsche\_Fan](https://www.ruby-forum.com/u/Porsche_Fan)\
**Replies:** 0\
**Last updated:** [August 20, 2007, 8:10pm UTC](https://www.ruby-forum.com/t/optimization-for-windows-xp/112548 "2007-08-20T20:10:59Z")

</div>

Optimize operating system and make it faster

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

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