# Top

**URL:** https://www.ruby-forum.com/top.md?page=1755

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

---

## [Juego RPG online](https://www.ruby-forum.com/t/juego-rpg-online/222250)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [August 19, 2012, 9:42pm UTC](https://www.ruby-forum.com/t/juego-rpg-online/222250 "2012-08-19T21:42:30Z")

</div>

Hola, soy nuevo en el foro así que primero me presento un poco :smiley: llevo un par de años programando “for fun” y de lo que más se es java, pero ruby me ha gustado mucho lo poco que lo he tratado, estoy estudiando …

---

## [SPAN 802.11b Receiver Verilog Code](https://www.ruby-forum.com/t/span-802-11b-receiver-verilog-code/221330)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 0\
**Last updated:** [July 9, 2012, 11:06am UTC](https://www.ruby-forum.com/t/span-802-11b-receiver-verilog-code/221330 "2012-07-09T11:06:05Z")

</div>

HI Guys, Have any one ever managed to compile and run the 802.11b receiver verilog cods from SPAN Lab? I found that the BIN version works well (with the default FPGA configuration image files “usrp\_std\_d2.rbf”). H…

---

## [Ajax rendering partial ( fields in form)](https://www.ruby-forum.com/t/ajax-rendering-partial-fields-in-form/216763)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 0\
**Last updated:** [February 13, 2012, 6:22pm UTC](https://www.ruby-forum.com/t/ajax-rendering-partial-fields-in-form/216763 "2012-02-13T18:22:21Z")

</div>

when rendering a piece of my form after an Ajax call, I get the error ActionView::Template::Error (undefined local variable or method \`f’ for #\<#\<Class:… controller def change\_price new\_price = … @tax\_amount = new\_…

---

## [Deploying to Shared Host without Secure Shell Access](https://www.ruby-forum.com/t/deploying-to-shared-host-without-secure-shell-access/205393)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 0\
**Last updated:** [April 5, 2011, 7:11pm UTC](https://www.ruby-forum.com/t/deploying-to-shared-host-without-secure-shell-access/205393 "2011-04-05T19:11:08Z")

</div>

Hi, I’d like to deploy my Rails 3 app to a shared host. As it turns out, I won’t have ssh access, thus I can’t run rake db:migrate & rake db:seed. Anyone know how can I deploy/setup my app without any ssh access? Tha…

---

## [RedCloth is not a class](https://www.ruby-forum.com/t/redcloth-is-not-a-class/199076)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 0\
**Last updated:** [November 14, 2010, 4:26am UTC](https://www.ruby-forum.com/t/redcloth-is-not-a-class/199076 "2010-11-14T04:26:48Z")

</div>

---

## [Evt\_media\_loaded not working on vista/windows 7](https://www.ruby-forum.com/t/evt-media-loaded-not-working-on-vista-windows-7/195430)

<div class="topic-metadata">

**Author:** [@remosewa](https://www.ruby-forum.com/u/remosewa)\
**Replies:** 0\
**Last updated:** [September 23, 2010, 6:11am UTC](https://www.ruby-forum.com/t/evt-media-loaded-not-working-on-vista-windows-7/195430 "2010-09-23T06:11:50Z")

</div>

For some reason the evt\_media\_loaded is not being triggered on my windows vista and windows 7 machines. I use this so that I can auto play audio, and as soon as it’s loaded I can play. I also have a windows XP machine…

---

## [Rack and Tomcat can't find gem](https://www.ruby-forum.com/t/rack-and-tomcat-cant-find-gem/163864)

<div class="topic-metadata">

**Author:** [@paul-au](https://www.ruby-forum.com/u/paul-au)\
**Replies:** 0\
**Last updated:** [March 25, 2009, 4:54pm UTC](https://www.ruby-forum.com/t/rack-and-tomcat-cant-find-gem/163864 "2009-03-25T16:54:31Z")

</div>

Hello, I’ve been struggling for awhile now trying to get my sample rails app to run on Tomcat. I’m using JRuby in conjunction with Warbler to create my war file. I’m using jruby 1.1.6, warbler 0.9.12, rails 2.1.0, To…

---

## [Event-Issue with TreeCtrl with "TR\_MULTIPLE"](https://www.ruby-forum.com/t/event-issue-with-treectrl-with-tr-multiple/163174)

<div class="topic-metadata">

**Author:** [@caefer](https://www.ruby-forum.com/u/caefer)\
**Replies:** 0\
**Last updated:** [March 17, 2009, 11:07pm UTC](https://www.ruby-forum.com/t/event-issue-with-treectrl-with-tr-multiple/163174 "2009-03-17T23:07:03Z")

</div>

Hi, I’ve yet another issue with my favourite toolkit. When I’m adding a TreeCtrl that has the TR\_MULTIPLE style set, the event “evt\_tree\_sel\_changed” most oftenly gets fired multiple times (whereas a TreeCtrl with si…

---

## [Official repo?](https://www.ruby-forum.com/t/official-repo/151042)

<div class="topic-metadata">

**Author:** [@timothy\_g](https://www.ruby-forum.com/u/timothy_g)\
**Replies:** 0\
**Last updated:** [October 16, 2008, 8:46am UTC](https://www.ruby-forum.com/t/official-repo/151042 "2008-10-16T08:46:35Z")

</div>

Hi all, After a bit of searching I finally found: A github site - GitHub - dbalmain/ferret: Ferret: the extensible information retrieval library for ruby. And a git repository - git://github.com/dbalmain/ferret.git T…

---

## [ActionMailer: attachments with utf8 filenames?](https://www.ruby-forum.com/t/actionmailer-attachments-with-utf8-filenames/132935)

<div class="topic-metadata">

**Author:** [@P\_Kim](https://www.ruby-forum.com/u/P_Kim)\
**Replies:** 0\
**Last updated:** [March 25, 2008, 10:28pm UTC](https://www.ruby-forum.com/t/actionmailer-attachments-with-utf8-filenames/132935 "2008-03-25T22:28:17Z")

</div>

I’m constructing messages with a file attachment. If the file attachment has a name with accented characters, it gets mangled. Looking at the generated email, at times it looks like it’s being encoded as Japanese (\*=i…

---

## [Making Og seem less argh](https://www.ruby-forum.com/t/making-og-seem-less-argh/121719)

<div class="topic-metadata">

**Author:** [@markcasio](https://www.ruby-forum.com/u/markcasio)\
**Replies:** 0\
**Last updated:** [November 30, 2007, 6:37am UTC](https://www.ruby-forum.com/t/making-og-seem-less-argh/121719 "2007-11-30T06:37:24Z")

</div>

Hi devs, The attached is from an hour after hitting the ruby-uml page and the gems’s example directory. This suggests we should be able to flatten Og’s learning curve for new Dev’s? Anyway something for the geekend. …

---

## [Execute/Run the Ruby (.rb) files from browser](https://www.ruby-forum.com/t/execute-run-the-ruby-rb-files-from-browser/77877)

<div class="topic-metadata">

**Author:** [@rajug](https://www.ruby-forum.com/u/rajug)\
**Replies:** 0\
**Last updated:** [December 1, 2006, 5:44am UTC](https://www.ruby-forum.com/t/execute-run-the-ruby-rb-files-from-browser/77877 "2006-12-01T05:44:30Z")

</div>

Hello ruby users, I am not new at all for ruby because i have studied for a month about ruby. Actually i need to create a heatmap (the overlay image that shows the click locations in my web page) for my site using rub…

---

## [Bad list migration (Re: OT: gmail and google groups)](https://www.ruby-forum.com/t/bad-list-migration-re-ot-gmail-and-google-groups/65603)

<div class="topic-metadata">

**Author:** [@Giles\_B](https://www.ruby-forum.com/u/Giles_B)\
**Replies:** 8\
**Last updated:** [August 19, 2006, 8:21pm UTC](https://www.ruby-forum.com/t/bad-list-migration-re-ot-gmail-and-google-groups/65603 "2006-08-19T20:21:26Z")

</div>

this list migration was incredibly annoying. it broke all my Gmail filters and dropped 50 messages in my inbox. I actually reported it to Google as abuse. On 8/19/06, Antonio C. removed\_email\_address@domain.invalid wr…

---

## [Startup/shutdown hook for a rails application?](https://www.ruby-forum.com/t/startup-shutdown-hook-for-a-rails-application/54478)

<div class="topic-metadata">

**Author:** [@Axel\_Schlueter](https://www.ruby-forum.com/u/Axel_Schlueter)\
**Replies:** 0\
**Last updated:** [March 6, 2006, 5:30pm UTC](https://www.ruby-forum.com/t/startup-shutdown-hook-for-a-rails-application/54478 "2006-03-06T17:30:08Z")

</div>

My rails application needs to start an additional tcp server. Is there any location in a rails app which gets executed exactly once while ‘booting’ where I should add the execution of the external server thread ? Same…

---

## [Problem with method](https://www.ruby-forum.com/t/problem-with-method/216386)

<div class="topic-metadata">

**Author:** [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Replies:** 4\
**Last updated:** [February 3, 2012, 5:01am UTC](https://www.ruby-forum.com/t/problem-with-method/216386 "2012-02-03T05:01:32Z")

</div>

Why method pole= doesn’t work?? Kolo = Struct.new (:x,:y,:r) Kwadrat = Struct.new (:x,:y,:a) Prostokat = Struct.new (:x,:y,:a,:b) module Domieszka attr\_accessor :x, :y def moveto(x,y) @x = x @y = y end end cla…

---

## [How to use ym4r and geokit together](https://www.ruby-forum.com/t/how-to-use-ym4r-and-geokit-together/211974)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [September 19, 2011, 12:26pm UTC](https://www.ruby-forum.com/t/how-to-use-ym4r-and-geokit-together/211974 "2011-09-19T12:26:43Z")

</div>

Anybody used ym4r and geokit gems together? I am in start of developing a project like http://hotspotr.com. I hope these two gems can bring that kind of functionality. Any ideas or experiences? Thanks in Advance…

---

## [Problem with Associations idea](https://www.ruby-forum.com/t/problem-with-associations-idea/204727)

<div class="topic-metadata">

**Author:** [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Replies:** 4\
**Last updated:** [March 20, 2011, 5:57am UTC](https://www.ruby-forum.com/t/problem-with-associations-idea/204727 "2011-03-20T05:57:52Z")

</div>

Hi, i have two models: User\<… has\_many :photos, :dependent =\> :destroy … Photo\<… belongs\_to :user … and I need Attribute model such as each photo has many attributes. And here I’m not sure whether Attribute shoul…

---

## [Display thumbnail image on the fly?](https://www.ruby-forum.com/t/display-thumbnail-image-on-the-fly/197399)

<div class="topic-metadata">

**Author:** [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Replies:** 4\
**Last updated:** [October 13, 2010, 10:45pm UTC](https://www.ruby-forum.com/t/display-thumbnail-image-on-the-fly/197399 "2010-10-13T22:45:42Z")

</div>

Is there a way to display a thumbnail of a larger image on the fly?

---

## [Trying to use AJAX to delete a new record](https://www.ruby-forum.com/t/trying-to-use-ajax-to-delete-a-new-record/193302)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 4\
**Last updated:** [August 16, 2010, 5:12pm UTC](https://www.ruby-forum.com/t/trying-to-use-ajax-to-delete-a-new-record/193302 "2010-08-16T17:12:14Z")

</div>

I have some AJAX in my app which works fine to add new people to a list shown on-screen. The problem comes if I try to delete one of the new people. Once saved, there is no problem, as there is an id to delete with. T…

---

## [Two Question](https://www.ruby-forum.com/t/two-question/192008)

<div class="topic-metadata">

**Author:** [@amiref](https://www.ruby-forum.com/u/amiref)\
**Replies:** 4\
**Last updated:** [July 22, 2010, 3:58pm UTC](https://www.ruby-forum.com/t/two-question/192008 "2010-07-22T15:58:59Z")

</div>

Hi everybody I have two question : 1 - What is the exact meaning of Literals in Ruby ? 2 - What is the use of “puts” in Ruby and what is diffrence between “puts” and “print” ?

---

## [Require fails when requiring scripts with utf-8 filenames](https://www.ruby-forum.com/t/require-fails-when-requiring-scripts-with-utf-8-filenames/190075)

<div class="topic-metadata">

**Author:** [@winsmith](https://www.ruby-forum.com/u/winsmith)\
**Replies:** 4\
**Last updated:** [June 17, 2010, 4:22pm UTC](https://www.ruby-forum.com/t/require-fails-when-requiring-scripts-with-utf-8-filenames/190075 "2010-06-17T16:22:45Z")

</div>

Hi, I have a small problem with requiring files with utf-8 character in the filename. I have a small script which does nothing but require another file that has some norwegian utf-8 characters in its filename. shoul…

---

## [Nested resources and controllers: I think I'm down the wrong path](https://www.ruby-forum.com/t/nested-resources-and-controllers-i-think-im-down-the-wrong-path/187597)

<div class="topic-metadata">

**Author:** [@grar](https://www.ruby-forum.com/u/grar)\
**Replies:** 4\
**Last updated:** [April 26, 2010, 5:06pm UTC](https://www.ruby-forum.com/t/nested-resources-and-controllers-i-think-im-down-the-wrong-path/187597 "2010-04-26T17:06:56Z")

</div>

Hi, I’m new to nested resources. I’m surprised to find that to make my code work I need to retrieve the parent model in my RESTful controllers for my dependencies. So, for example, let’s say A has\_one B. In controlle…

---

## [Visibility in tests](https://www.ruby-forum.com/t/visibility-in-tests/186429)

<div class="topic-metadata">

**Author:** [@lykos](https://www.ruby-forum.com/u/lykos)\
**Replies:** 4\
**Last updated:** [April 8, 2010, 2:33am UTC](https://www.ruby-forum.com/t/visibility-in-tests/186429 "2010-04-08T02:33:32Z")

</div>

Hi, I’m new to this, forum, but I really love Ruby and I hope this is the right place to discuss problems and questions I have. I learned Ruby when I was twelve, so I know Ruby for more than one third of my life and I…

---

## [Accepts\_nested\_attributes\_for - issue](https://www.ruby-forum.com/t/accepts-nested-attributes-for-issue/185878)

<div class="topic-metadata">

**Author:** [@slindsey3000](https://www.ruby-forum.com/u/slindsey3000)\
**Replies:** 4\
**Last updated:** [March 28, 2010, 8:25pm UTC](https://www.ruby-forum.com/t/accepts-nested-attributes-for-issue/185878 "2010-03-28T20:25:50Z")

</div>

Just trying a simple example to try to get nested to work… but can’t get it! Been 2 days! Please help. VERY SIMPLE controller, view, models… listed below. ----------------------ERROR MESSAGE----------------------…

---

## [Fields\_for object methods - no you see them, now you don't](https://www.ruby-forum.com/t/fields-for-object-methods-no-you-see-them-now-you-dont/182477)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 4\
**Last updated:** [January 28, 2010, 10:51pm UTC](https://www.ruby-forum.com/t/fields-for-object-methods-no-you-see-them-now-you-dont/182477 "2010-01-28T22:51:37Z")

</div>

I have this: \<%-f.fields\_for(:clearances, :index =\> \[\]) do |ff| puts ff.object.methods.sort if ff.object.newrecord? ff\_id = "new\_" else ff\_id = "sho…

---

## [Record saving problem](https://www.ruby-forum.com/t/record-saving-problem/174404)

<div class="topic-metadata">

**Author:** [@difei](https://www.ruby-forum.com/u/difei)\
**Replies:** 4\
**Last updated:** [August 26, 2009, 9:11pm UTC](https://www.ruby-forum.com/t/record-saving-problem/174404 "2009-08-26T21:11:51Z")

</div>

Greetings all, I have some active\_record models which have same columns, for instance: model A (int id, vchar name, vchar code) model B (int id, vchar name, vchar code) I can initiate a new model B object using “b =…

---

## [Mongrel crashes while running 'exec' through ruby](https://www.ruby-forum.com/t/mongrel-crashes-while-running-exec-through-ruby/170006)

<div class="topic-metadata">

**Author:** [@tahir\_rauf](https://www.ruby-forum.com/u/tahir_rauf)\
**Replies:** 4\
**Last updated:** [June 11, 2009, 11:48am UTC](https://www.ruby-forum.com/t/mongrel-crashes-while-running-exec-through-ruby/170006 "2009-06-11T11:48:56Z")

</div>

Hi All, I have a ruby on rails application and in the controller, I try to run a shell script using exec command like this variable = ‘sh /home/abc.sh’ exec variable But when the control comes at this line, the mon…

---

## [Problems with session store and local host](https://www.ruby-forum.com/t/problems-with-session-store-and-local-host/155507)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 4\
**Last updated:** [December 15, 2008, 4:00pm UTC](https://www.ruby-forum.com/t/problems-with-session-store-and-local-host/155507 "2008-12-15T16:00:00Z")

</div>

Rails 2.2.2 Ruby 1.8.6 I am developing an application that uses a gem for authentication. When I try and add a new user then the rails code within the gem enters an infinite loop. The author is working on this issue…

---

## [Trying to use find my model but I get an error](https://www.ruby-forum.com/t/trying-to-use-find-my-model-but-i-get-an-error/141466)

<div class="topic-metadata">

**Author:** [@DavidPaquet](https://www.ruby-forum.com/u/DavidPaquet)\
**Replies:** 4\
**Last updated:** [June 26, 2008, 9:35am UTC](https://www.ruby-forum.com/t/trying-to-use-find-my-model-but-i-get-an-error/141466 "2008-06-26T09:35:57Z")

</div>

Hello everyone, I’m pretty sure that my problem is easy but I’ve been fiddling with this for an hour and I cannot see why it’s not working So in my model I defined this method : def self.previous find(:first, :condi…

---

## [Reusable State model/migration - how do you do it?](https://www.ruby-forum.com/t/reusable-state-model-migration-how-do-you-do-it/131838)

<div class="topic-metadata">

**Author:** [@ncancelliere](https://www.ruby-forum.com/u/ncancelliere)\
**Replies:** 4\
**Last updated:** [April 4, 2008, 8:45pm UTC](https://www.ruby-forum.com/t/reusable-state-model-migration-how-do-you-do-it/131838 "2008-04-04T20:45:16Z")

</div>

I’m new to Rails. I do a lot of work that requires standard State FIPS codes (both alpha and numeric). I know enough on how to generate my model and migrations and all that. It’s a rather simple model: name:string,…

---

## [Can an object obj-arbitrary respond to a method with arbitary name?](https://www.ruby-forum.com/t/can-an-object-obj-arbitrary-respond-to-a-method-with-arbitary-name/132235)

<div class="topic-metadata">

**Author:** [@hei](https://www.ruby-forum.com/u/hei)\
**Replies:** 4\
**Last updated:** [March 18, 2008, 9:58am UTC](https://www.ruby-forum.com/t/can-an-object-obj-arbitrary-respond-to-a-method-with-arbitary-name/132235 "2008-03-18T09:58:12Z")

</div>

For example: I create an object c. Now, if I call c.xxx, ruby just raise an exception ‘method missing’ But, I want it return nil, for each method which is not pre-defined. Is there a way I can gain this ? Thanks!

---

## [:dependent for not destroying](https://www.ruby-forum.com/t/dependent-for-not-destroying/124571)

<div class="topic-metadata">

**Author:** [@rpflaum](https://www.ruby-forum.com/u/rpflaum)\
**Replies:** 4\
**Last updated:** [December 31, 2007, 11:58am UTC](https://www.ruby-forum.com/t/dependent-for-not-destroying/124571 "2007-12-31T11:58:07Z")

</div>

Hi, Is there a way to use the :dependent option to set a certain attribute to null rather than destroying the records? For example, take the following models: User id, integer name, string group\_id, integer belon…

---

## [Belongs\_to has\_many listing](https://www.ruby-forum.com/t/belongs-to-has-many-listing/124438)

<div class="topic-metadata">

**Author:** [@hiddenhippo](https://www.ruby-forum.com/u/hiddenhippo)\
**Replies:** 4\
**Last updated:** [December 29, 2007, 3:15pm UTC](https://www.ruby-forum.com/t/belongs-to-has-many-listing/124438 "2007-12-29T15:15:23Z")

</div>

Wasn’t sure what to call the subject, but here’s my issue. I’ve got two models, and for arguments sake they’re called model1 and model2. model1 has many models2 and therefore I use the following within the ‘model’ fi…

---

## [Odd script/server error](https://www.ruby-forum.com/t/odd-script-server-error/124101)

<div class="topic-metadata">

**Author:** [@rpupkin77](https://www.ruby-forum.com/u/rpupkin77)\
**Replies:** 4\
**Last updated:** [December 25, 2007, 2:18am UTC](https://www.ruby-forum.com/t/odd-script-server-error/124101 "2007-12-25T02:18:20Z")

</div>

hi, I am fairly new to rails, I started learning it about 6 months ago, but stopped when a big project came up. That was on a Windows machine. Since then, I have purchased a mac power book. I am ready to again. I ins…

---

## [Binary Logic, Bug or Feature?](https://www.ruby-forum.com/t/binary-logic-bug-or-feature/121460)

<div class="topic-metadata">

**Author:** [@Malcolm\_L](https://www.ruby-forum.com/u/Malcolm_L)\
**Replies:** 4\
**Last updated:** [November 28, 2007, 7:30am UTC](https://www.ruby-forum.com/t/binary-logic-bug-or-feature/121460 "2007-11-28T07:30:42Z")

</div>

Hi Guys, I have been pulling my hair out for the last 20 minutes trying to find out what is wrong in my app that has some pretty basic binary logic. Here is a concise example in an irb session that shows my problem (…

---

## [\[AWDwR\] Confused about has\_one and has\_many](https://www.ruby-forum.com/t/awdwr-confused-about-has-one-and-has-many/112661)

<div class="topic-metadata">

**Author:** [@wet](https://www.ruby-forum.com/u/wet)\
**Replies:** 4\
**Last updated:** [August 22, 2007, 9:38am UTC](https://www.ruby-forum.com/t/awdwr-confused-about-has-one-and-has-many/112661 "2007-08-22T09:38:12Z")

</div>

Heya everyone! I am quite new to Rails and I am reading AWDwR. I am at Task E “Check Out!”. I understand it quite well, but I have a problem with the last playground exercise: Add a Table which contains the payment ty…

---

## [Comparing ip adres with database list](https://www.ruby-forum.com/t/comparing-ip-adres-with-database-list/110342)

<div class="topic-metadata">

**Author:** [@gorter9](https://www.ruby-forum.com/u/gorter9)\
**Replies:** 4\
**Last updated:** [July 27, 2007, 9:39am UTC](https://www.ruby-forum.com/t/comparing-ip-adres-with-database-list/110342 "2007-07-27T09:39:02Z")

</div>

I’am creating a pollsystem for my site. so on each vote in the database the ip adress of the person that vote is logged. But how can i make that when somebody vote this ip adress not voted before. So how can i compa…

---

## [Newby question](https://www.ruby-forum.com/t/newby-question/75696)

<div class="topic-metadata">

**Author:** [@Alfonso](https://www.ruby-forum.com/u/Alfonso)\
**Replies:** 4\
**Last updated:** [November 13, 2006, 11:46am UTC](https://www.ruby-forum.com/t/newby-question/75696 "2006-11-13T11:46:33Z")

</div>

Sorry for the too elemental question (don’t know if this is the right place to make questions like this) I just have started with ruby, and don’t understand the difference “::” “.” I have read that :: is for accessing…

---

## [Anyone read this , opinion?](https://www.ruby-forum.com/t/anyone-read-this-opinion/74090)

<div class="topic-metadata">

**Author:** [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Replies:** 4\
**Last updated:** [November 7, 2006, 10:49am UTC](https://www.ruby-forum.com/t/anyone-read-this-opinion/74090 "2006-11-07T10:49:31Z")

</div>

Hadn’t seen it before - http://www.awprofessional.com/bookstore/product.asp?isbn=0321474074&rl=1 Rubyisms in Rails , published back in July in PDF . Stuart –

---

## [Unique cookie name?](https://www.ruby-forum.com/t/unique-cookie-name/73757)

<div class="topic-metadata">

**Author:** [@Peter\_Becker](https://www.ruby-forum.com/u/Peter_Becker)\
**Replies:** 4\
**Last updated:** [October 27, 2006, 7:46am UTC](https://www.ruby-forum.com/t/unique-cookie-name/73757 "2006-10-27T07:46:34Z")

</div>

Hi, This is probably easy but I can’t figure it out. How can I generate a unique cookie name: cookies\[:rated\] = {:value =\> “yes”, :expires =\> 30.days.from\_now} The :rated part needs to be the id of the post in my blo…

---

## [1.9 Backport?](https://www.ruby-forum.com/t/1-9-backport/73705)

<div class="topic-metadata">

**Author:** [@Trans](https://www.ruby-forum.com/u/Trans)\
**Replies:** 4\
**Last updated:** [October 26, 2006, 4:38pm UTC](https://www.ruby-forum.com/t/1-9-backport/73705 "2006-10-26T16:38:06Z")

</div>

Reading: RubyConf 2006 Recap If Ruby 1.9+ won’t be released for over a year, can we backport a few features? Most noteabley #instance\_exec and the ability of a block to take a &block argument --the lack of these exac…

---

## [Apache/mongrel/mysql -master-slave on xen/memory allocation](https://www.ruby-forum.com/t/apache-mongrel-mysql-master-slave-on-xen-memory-allocation/70259)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 4\
**Last updated:** [September 27, 2006, 11:57pm UTC](https://www.ruby-forum.com/t/apache-mongrel-mysql-master-slave-on-xen-memory-allocation/70259 "2006-09-27T23:57:53Z")

</div>

ive got a server with 6gb of memory which i plan on setting up with apache (handling static - w/ mod\_security) proxying to a mongrel cluster with mysql databases setup on seperate xen instances with master/slave repli…

---

## [Distributing hidden Ruby code](https://www.ruby-forum.com/t/distributing-hidden-ruby-code/69283)

<div class="topic-metadata">

**Author:** [@leslieviljoen](https://www.ruby-forum.com/u/leslieviljoen)\
**Replies:** 4\
**Last updated:** [September 20, 2006, 2:30pm UTC](https://www.ruby-forum.com/t/distributing-hidden-ruby-code/69283 "2006-09-20T14:30:40Z")

</div>

There was some discussion in the past here about how to distribute Ruby programs in a way that their source code is not visible to people. Today I saw that a company called Chilkat is doing something like this. I have…

---

## [Best way to set up application settings?](https://www.ruby-forum.com/t/best-way-to-set-up-application-settings/65847)

<div class="topic-metadata">

**Author:** [@benjohnson](https://www.ruby-forum.com/u/benjohnson)\
**Replies:** 4\
**Last updated:** [August 22, 2006, 2:34pm UTC](https://www.ruby-forum.com/t/best-way-to-set-up-application-settings/65847 "2006-08-22T14:34:00Z")

</div>

I nver saw anything about this, but what about settings for your application? Where do you put them? I don’t think it makes sense to store setting in the database because let’s say I made a settings table. I would onl…

---

## [Overwrite form helper methods and call old ones in new ones?](https://www.ruby-forum.com/t/overwrite-form-helper-methods-and-call-old-ones-in-new-ones/65184)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 4\
**Last updated:** [August 17, 2006, 8:42am UTC](https://www.ruby-forum.com/t/overwrite-form-helper-methods-and-call-old-ones-in-new-ones/65184 "2006-08-17T08:42:16Z")

</div>

Hi all All my forms should look the same, so I think always putting the right div etc. tags around them is a violation of the DRY principle. Until now my forms look like that: Subject: \<%= text\_field "news\_item",…

---

## [Nicâ?s Magic Models, how about Magic Schema](https://www.ruby-forum.com/t/nica-s-magic-models-how-about-magic-schema/101948)

<div class="topic-metadata">

**Author:** [@jpigford](https://www.ruby-forum.com/u/jpigford)\
**Replies:** 4\
**Last updated:** [August 15, 2006, 2:18pm UTC](https://www.ruby-forum.com/t/nica-s-magic-models-how-about-magic-schema/101948 "2006-08-15T14:18:43Z")

</div>

I side with David when it comes to databases. They suck! Just my own opinion. So what about the people who don’t want to define validations and stuff in the database, but still want to be DRY. I really hate how the s…

---

## [Multiple habtm joins on the same two tables](https://www.ruby-forum.com/t/multiple-habtm-joins-on-the-same-two-tables/101697)

<div class="topic-metadata">

**Author:** [@jjkiesch](https://www.ruby-forum.com/u/jjkiesch)\
**Replies:** 4\
**Last updated:** [August 8, 2006, 1:34am UTC](https://www.ruby-forum.com/t/multiple-habtm-joins-on-the-same-two-tables/101697 "2006-08-08T01:34:31Z")

</div>

i have a taskmanager type of project that i am working on, where i need to separate joins on the same two tables. i need one join for users that are assigned to the task, and another join for who has read the task, so …

---

## [Class def error when serving "stand-alone" rhtml files](https://www.ruby-forum.com/t/class-def-error-when-serving-stand-alone-rhtml-files/100789)

<div class="topic-metadata">

**Author:** [@maxbohr](https://www.ruby-forum.com/u/maxbohr)\
**Replies:** 4\
**Last updated:** [August 1, 2006, 8:37pm UTC](https://www.ruby-forum.com/t/class-def-error-when-serving-stand-alone-rhtml-files/100789 "2006-08-01T20:37:20Z")

</div>

I’m attempting to set up a rails app so that I can add rhtml files without having to create controllers for each one. I want a simple solution to serving static-like rhtml files as well as those with a little logic. …

---

## [Variable Losing it's Value](https://www.ruby-forum.com/t/variable-losing-its-value/97966)

<div class="topic-metadata">

**Author:** [@joel](https://www.ruby-forum.com/u/joel)\
**Replies:** 4\
**Last updated:** [July 12, 2006, 2:30pm UTC](https://www.ruby-forum.com/t/variable-losing-its-value/97966 "2006-07-12T14:30:06Z")

</div>

I fired up my rails app after a few weeks, only to find it was broken, in that the variable seems to be losing it’s value somewhere between the controller and the view. I’ve broken it down to the absolute simplest tes…

---

## [Degrading gracefully - how to tell if JS is enabled?](https://www.ruby-forum.com/t/degrading-gracefully-how-to-tell-if-js-is-enabled/97229)

<div class="topic-metadata">

**Author:** [@wpwood](https://www.ruby-forum.com/u/wpwood)\
**Replies:** 4\
**Last updated:** [July 7, 2006, 3:08am UTC](https://www.ruby-forum.com/t/degrading-gracefully-how-to-tell-if-js-is-enabled/97229 "2006-07-07T03:08:42Z")

</div>

Is there a RoR best practice wrt determing in a visitor’s browser has JS disabled? Is there even a way to find out? I’ve got a couple of pages in my app that are not going to degrade gracefully at all. I really nee…

[Previous page](https://www.ruby-forum.com/top.md?page=1754&per_page=50)

[Next page](https://www.ruby-forum.com/top.md?page=1756&per_page=50)
