# Rails

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

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

---

## [Rails and Browser Games](https://www.ruby-forum.com/t/rails-and-browser-games/167577)

<div class="topic-metadata">

**Author:** [@Toriad](https://www.ruby-forum.com/u/Toriad)\
**Replies:** 1\
**Last updated:** [May 11, 2009, 3:22am UTC](https://www.ruby-forum.com/t/rails-and-browser-games/167577 "2009-05-11T03:22:55Z")

</div>

I’m currently working on a project using a javasript clientside, with a php serverside. I have had some experience with rails in the past and was wondering if it would be worth converting existing code into rails. Cur…

---

## [\[ANN\] CloudCache for Ruby on Rails](https://www.ruby-forum.com/t/ann-cloudcache-for-ruby-on-rails/167648)

<div class="topic-metadata">

**Author:** [@marcbey](https://www.ruby-forum.com/u/marcbey)\
**Replies:** 0\
**Last updated:** [May 11, 2009, 3:03am UTC](https://www.ruby-forum.com/t/ann-cloudcache-for-ruby-on-rails/167648 "2009-05-11T03:03:35Z")

</div>

Quetzall.com is pleased to announce CloudCache for Ruby on Rails, implementing the ActiveSupport::Cache interface. The gem is open source (Apache License version 2.0) and is available at Google Code Archive - Long-te…

---

## [Charting /Data Visualization Libraries](https://www.ruby-forum.com/t/charting-data-visualization-libraries/167644)

<div class="topic-metadata">

**Author:** [@meera](https://www.ruby-forum.com/u/meera)\
**Replies:** 1\
**Last updated:** [May 11, 2009, 12:22am UTC](https://www.ruby-forum.com/t/charting-data-visualization-libraries/167644 "2009-05-11T00:22:35Z")

</div>

Hello, I like to display interactive graphs on a web page using Rails framework. Can you please suggest javascript library which is well integrated with Rails? I found cool widgets from YUI or Google Visualization. …

---

## [Problem with daemons gem](https://www.ruby-forum.com/t/problem-with-daemons-gem/167638)

<div class="topic-metadata">

**Author:** [@tkbeili](https://www.ruby-forum.com/u/tkbeili)\
**Replies:** 1\
**Last updated:** [May 10, 2009, 11:52pm UTC](https://www.ruby-forum.com/t/problem-with-daemons-gem/167638 "2009-05-10T23:52:25Z")

</div>

0 vote down star Hello, I’m using daemons gem with Rails in addition to daemon\_generator plugin. I’m getting this output in the daemons log file: Logfile created on Sat May 09 20:10:35 -0700 2009 by / -below you f…

---

## [Upgrade to Ruby 1.8.6 broke my app](https://www.ruby-forum.com/t/upgrade-to-ruby-1-8-6-broke-my-app/167636)

<div class="topic-metadata">

**Author:** [@caliwildman](https://www.ruby-forum.com/u/caliwildman)\
**Replies:** 3\
**Last updated:** [May 10, 2009, 11:47pm UTC](https://www.ruby-forum.com/t/upgrade-to-ruby-1-8-6-broke-my-app/167636 "2009-05-10T23:47:44Z")

</div>

I recently upgraded my Windows dev machine to Ruby 1.8.6 p287 Rails 2.3.2, my previous setup was Ruby 1.8.5 and Rails 2.1. My app was running fine until I upgraded Ruby. Here’s the error stack Processing TabController…

---

## [Has\_many association with named\_scope?](https://www.ruby-forum.com/t/has-many-association-with-named-scope/167628)

<div class="topic-metadata">

**Author:** [@jacib](https://www.ruby-forum.com/u/jacib)\
**Replies:** 2\
**Last updated:** [May 10, 2009, 11:40pm UTC](https://www.ruby-forum.com/t/has-many-association-with-named-scope/167628 "2009-05-10T23:40:07Z")

</div>

In my Rails 2.3.2 app, I’m encountering a strange situation with regards to named\_scopes and associated objects. I’ve got two models, Account and Openings: class Account \< ActiveRecord::Base has\_many :openings end c…

---

## [Nested ajax functionality in a span element inside div\_for](https://www.ruby-forum.com/t/nested-ajax-functionality-in-a-span-element-inside-div-for/167643)

<div class="topic-metadata">

**Author:** [@RubyRed](https://www.ruby-forum.com/u/RubyRed)\
**Replies:** 1\
**Last updated:** [May 10, 2009, 10:34pm UTC](https://www.ruby-forum.com/t/nested-ajax-functionality-in-a-span-element-inside-div-for/167643 "2009-05-10T22:34:53Z")

</div>

Hi, I am having the following scenario to . In a page I have a list of stories, I would like to add the voting fuctionality (digg style) for each stories. I need the voting score to be displayed simultaniously (using…

---

## [Ruby 1.9 problem](https://www.ruby-forum.com/t/ruby-1-9-problem/167635)

<div class="topic-metadata">

**Author:** [@giga](https://www.ruby-forum.com/u/giga)\
**Replies:** 3\
**Last updated:** [May 10, 2009, 10:14pm UTC](https://www.ruby-forum.com/t/ruby-1-9-problem/167635 "2009-05-10T22:14:35Z")

</div>

What wrong: rails test /var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active\_support/core\_ext/uri.rb:8:in \<top (required)\>': uninitialized constant URI::Parser (NameError) from /var/lib/gems/1.9.0/gems/activesupport-…

---

## [Can't get a simple partial to work !#$@#!$!](https://www.ruby-forum.com/t/cant-get-a-simple-partial-to-work/167543)

<div class="topic-metadata">

**Author:** [@7stud](https://www.ruby-forum.com/u/7stud)\
**Replies:** 19\
**Last updated:** [May 10, 2009, 8:40pm UTC](https://www.ruby-forum.com/t/cant-get-a-simple-partial-to-work/167543 "2009-05-10T20:40:01Z")

</div>

class StoreController \< ApplicationController def index @array = \[1, 2, 3\] end end index.html.erb render(:partial =\> “test”, :object =\> @array) \_test.html.erb \<% for num in test %\> \<%= num %\> \<% end %\> When I en…

---

## [Updating the db 6000 times will take few minutes?](https://www.ruby-forum.com/t/updating-the-db-6000-times-will-take-few-minutes/167585)

<div class="topic-metadata">

**Author:** [@jianlin](https://www.ruby-forum.com/u/jianlin)\
**Replies:** 41\
**Last updated:** [May 10, 2009, 7:08pm UTC](https://www.ruby-forum.com/t/updating-the-db-6000-times-will-take-few-minutes/167585 "2009-05-10T19:08:12Z")

</div>

i am writing a test program for ActiveRecord, and it reads a document which is like 6000 words long. And then i just tally up the words by recordWord = Word.find\_by\_s(word); if (recordWord.nil?) recordWord = Word.ne…

---

## [Plugins Gone Wild](https://www.ruby-forum.com/t/plugins-gone-wild/167589)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [May 10, 2009, 6:57pm UTC](https://www.ruby-forum.com/t/plugins-gone-wild/167589 "2009-05-10T18:57:04Z")

</div>

I think I messed up my install of Machinist. I tried to install it as a gem using sudo gem install notahat-machinist --source http://gems.github.com and when that didn’t seem to work, I tried ./sc…

---

## [Looking for a lightweight client management app](https://www.ruby-forum.com/t/looking-for-a-lightweight-client-management-app/167623)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [May 10, 2009, 4:42pm UTC](https://www.ruby-forum.com/t/looking-for-a-lightweight-client-management-app/167623 "2009-05-10T16:42:08Z")

</div>

Hi! I’m looking for a lightweight client management app in Rails, not sure if it can be described as a CRM though. primary requirements: basic management - signup/creation/deletion ability to track client requests (…

---

## [Authentication from scratch](https://www.ruby-forum.com/t/authentication-from-scratch/164660)

<div class="topic-metadata">

**Author:** [@sprsquish](https://www.ruby-forum.com/u/sprsquish)\
**Replies:** 3\
**Last updated:** [May 10, 2009, 4:26pm UTC](https://www.ruby-forum.com/t/authentication-from-scratch/164660 "2009-05-10T16:26:15Z")

</div>

Could you please recommend tutorials on developing one’s own authentication mechanisms, without the use of industrial-strength plugins? Is this tutorial from 2006 obsolete? http://www.aidanf.net/rails\_user\_authentica…

---

## [Make Autotest run integration tests](https://www.ruby-forum.com/t/make-autotest-run-integration-tests/167629)

<div class="topic-metadata">

**Author:** [@mdaoust](https://www.ruby-forum.com/u/mdaoust)\
**Replies:** 0\
**Last updated:** [May 10, 2009, 4:15pm UTC](https://www.ruby-forum.com/t/make-autotest-run-integration-tests/167629 "2009-05-10T16:15:52Z")

</div>

Anyone know how to make Autotest run integration tests? Thanks, ~ Mark

---

## [jQuery UI with Rails](https://www.ruby-forum.com/t/jquery-ui-with-rails/167603)

<div class="topic-metadata">

**Author:** [@bruparel](https://www.ruby-forum.com/u/bruparel)\
**Replies:** 4\
**Last updated:** [May 10, 2009, 3:31pm UTC](https://www.ruby-forum.com/t/jquery-ui-with-rails/167603 "2009-05-10T15:31:06Z")

</div>

This has to do more with Rails than jQuery so I am posting it here. I am using jQuery UI widgets in my application. One of the CSS file is called ui.theme.css which has references to background-image as shown below: …

---

## [Current status of concurrency: rails2.3/ruby1.9/thin](https://www.ruby-forum.com/t/current-status-of-concurrency-rails2-3-ruby1-9-thin/167621)

<div class="topic-metadata">

**Author:** [@buddycat](https://www.ruby-forum.com/u/buddycat)\
**Replies:** 0\
**Last updated:** [May 10, 2009, 12:54pm UTC](https://www.ruby-forum.com/t/current-status-of-concurrency-rails2-3-ruby1-9-thin/167621 "2009-05-10T12:54:02Z")

</div>

hi all, i just got back from railsconf and forgot to ask a question. what is the current status of handling concurrent requests? i am migrating to rails2.3/ruby1.9 on thin and am confused about how many thins i need …

---

## [Problem with webrick on rails 2.3.2](https://www.ruby-forum.com/t/problem-with-webrick-on-rails-2-3-2/167604)

<div class="topic-metadata">

**Author:** [@yuguri](https://www.ruby-forum.com/u/yuguri)\
**Replies:** 1\
**Last updated:** [May 10, 2009, 11:57am UTC](https://www.ruby-forum.com/t/problem-with-webrick-on-rails-2-3-2/167604 "2009-05-10T11:57:48Z")

</div>

Hello Group, I am getting a ‘WARN TCPServer Error: Address family not supported by protocol - socket(2)’ warning message every time when I try running webrick. I am using ruby 1.9.1 with rails 2.3.2. $ ruby script/s…

---

## [Example application not working](https://www.ruby-forum.com/t/example-application-not-working/167596)

<div class="topic-metadata">

**Author:** [@kamalnandan](https://www.ruby-forum.com/u/kamalnandan)\
**Replies:** 7\
**Last updated:** [May 10, 2009, 9:57am UTC](https://www.ruby-forum.com/t/example-application-not-working/167596 "2009-05-10T09:57:40Z")

</div>

Hi, I am trying to create the sample application as mentioned at the following link: But the example doesnt seem to work. I am following the exact steps as mentioned on the above page and type the following at the …

---

## [Rail 2.3.2 Protect\_from\_forgery](https://www.ruby-forum.com/t/rail-2-3-2-protect-from-forgery/167611)

<div class="topic-metadata">

**Author:** [@df-sean](https://www.ruby-forum.com/u/df-sean)\
**Replies:** 0\
**Last updated:** [May 10, 2009, 6:43am UTC](https://www.ruby-forum.com/t/rail-2-3-2-protect-from-forgery/167611 "2009-05-10T06:43:52Z")

</div>

Is rails supposed to auto-generate a protect\_from\_forgery secret for me? In the application controller I do not get a secret code to uncomment. When I manually create one and attempt to use it, it does not work.

---

## [I don't know "super".... Sorry for my ignorance](https://www.ruby-forum.com/t/i-dont-know-super-sorry-for-my-ignorance/167494)

<div class="topic-metadata">

**Author:** [@artchrst](https://www.ruby-forum.com/u/artchrst)\
**Replies:** 2\
**Last updated:** [May 10, 2009, 6:43am UTC](https://www.ruby-forum.com/t/i-dont-know-super-sorry-for-my-ignorance/167494 "2009-05-10T06:43:09Z")

</div>

Hi All, Today, when I debug, I found that I don’t understand a very basic function “super”. class User \< ActiveRecord::Base def self.columns puts “here…” @ret = super return @ret end end This return only one…

---

## [Storing the order of items in a joined table](https://www.ruby-forum.com/t/storing-the-order-of-items-in-a-joined-table/167607)

<div class="topic-metadata">

**Author:** [@coltz](https://www.ruby-forum.com/u/coltz)\
**Replies:** 2\
**Last updated:** [May 10, 2009, 6:05am UTC](https://www.ruby-forum.com/t/storing-the-order-of-items-in-a-joined-table/167607 "2009-05-10T06:05:00Z")

</div>

I am new to rails and I have a question on tables. I have 2 tables. Points with :id, :name, :x, :y Polygons with :id, :name and an array of points (references to points from the Points table). What matters is the…

---

## [Activeresource issue - Rails 2.2](https://www.ruby-forum.com/t/activeresource-issue-rails-2-2/167606)

<div class="topic-metadata">

**Author:** [@erik](https://www.ruby-forum.com/u/erik)\
**Replies:** 2\
**Last updated:** [May 10, 2009, 5:45am UTC](https://www.ruby-forum.com/t/activeresource-issue-rails-2-2/167606 "2009-05-10T05:45:43Z")

</div>

I’m doing something like this in a simple test script: show\_cc = CreditCard.find(account.credit\_card\_ref, :params =\> {:salt =\> salt}) unless show\_cc.errors.nil? or show\_cc.errors.empty? puts “we gots errors : #{show\_…

---

## [Need help with label references in my fixtures](https://www.ruby-forum.com/t/need-help-with-label-references-in-my-fixtures/167582)

<div class="topic-metadata">

**Author:** [@brian](https://www.ruby-forum.com/u/brian)\
**Replies:** 7\
**Last updated:** [May 10, 2009, 2:15am UTC](https://www.ruby-forum.com/t/need-help-with-label-references-in-my-fixtures/167582 "2009-05-10T02:15:36Z")

</div>

I am new to Rails and running into problems loading fixtures. After generating a bunch of scaffolding, I did a “rake db:migrate”, followed by “rake db:test:load”, and then “rake db:fixtures:load”. My goal is to run …

---

## [Ruby 1.9](https://www.ruby-forum.com/t/ruby-1-9/167591)

<div class="topic-metadata">

**Author:** [@Fabio\_Oshiro](https://www.ruby-forum.com/u/Fabio_Oshiro)\
**Replies:** 1\
**Last updated:** [May 10, 2009, 12:07am UTC](https://www.ruby-forum.com/t/ruby-1-9/167591 "2009-05-10T00:07:35Z")

</div>

When Rails will change to 1.9?

---

## [Acts\_as\_list not working despite being installed](https://www.ruby-forum.com/t/acts-as-list-not-working-despite-being-installed/167600)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [May 10, 2009, 12:05am UTC](https://www.ruby-forum.com/t/acts-as-list-not-working-despite-being-installed/167600 "2009-05-10T00:05:14Z")

</div>

I just installed a newer version of Ubuntu and so with it, rails 2.3.2. Now I can’t get acts\_as\_list working. I get the error: undefined method \`acts\_as\_list’ for Child(Table doesn’t exist):Class But I have already ru…

---

## [Assigning directory path to downloaded email attachments](https://www.ruby-forum.com/t/assigning-directory-path-to-downloaded-email-attachments/167586)

<div class="topic-metadata">

**Author:** [@jj84](https://www.ruby-forum.com/u/jj84)\
**Replies:** 4\
**Last updated:** [May 9, 2009, 11:42pm UTC](https://www.ruby-forum.com/t/assigning-directory-path-to-downloaded-email-attachments/167586 "2009-05-09T23:42:09Z")

</div>

I am trying to build a script that will download emails + their attachments (from gmail server) and place them both into their respective folders (one folder containing one email + its attachments). I have managed to …

---

## [Want to put processing logic in Controller but no strip\_tags](https://www.ruby-forum.com/t/want-to-put-processing-logic-in-controller-but-no-strip-tags/167566)

<div class="topic-metadata">

**Author:** [@jianlin](https://www.ruby-forum.com/u/jianlin)\
**Replies:** 2\
**Last updated:** [May 9, 2009, 10:22pm UTC](https://www.ruby-forum.com/t/want-to-put-processing-logic-in-controller-but-no-strip-tags/167566 "2009-05-09T22:22:14Z")

</div>

I want to put the processing logic in the controller… and it has a strip\_tags call… and the controller portion will say the function doesn’t exist. so is there a way to call strip\_tags from the controller? (instead …

---

## [Many to many relationship and update problem](https://www.ruby-forum.com/t/many-to-many-relationship-and-update-problem/167588)

<div class="topic-metadata">

**Author:** [@namwkim](https://www.ruby-forum.com/u/namwkim)\
**Replies:** 1\
**Last updated:** [May 9, 2009, 9:24pm UTC](https://www.ruby-forum.com/t/many-to-many-relationship-and-update-problem/167588 "2009-05-09T21:24:54Z")

</div>

I am new to Ruby on Rails. Actually I just started two days ago… I am working o existing code and having a problem. we have two database tables called ‘users’ and ‘roles’ they are many-to-many relationship and linked …

---

## [Triple state radio buttons](https://www.ruby-forum.com/t/triple-state-radio-buttons/167450)

<div class="topic-metadata">

**Author:** [@zambezi](https://www.ruby-forum.com/u/zambezi)\
**Replies:** 15\
**Last updated:** [May 9, 2009, 9:16pm UTC](https://www.ruby-forum.com/t/triple-state-radio-buttons/167450 "2009-05-09T21:16:42Z")

</div>

Can I coax a pair of radio buttons to consistently maintain their triple state functionality (null, true, false)? In others words allow the user to undo a response and return the control to a null state (nothing selec…

---

## [I am a new ruby programmer and i love this powerful language](https://www.ruby-forum.com/t/i-am-a-new-ruby-programmer-and-i-love-this-powerful-language/167584)

<div class="topic-metadata">

**Author:** [@sam](https://www.ruby-forum.com/u/sam)\
**Replies:** 1\
**Last updated:** [May 9, 2009, 8:04pm UTC](https://www.ruby-forum.com/t/i-am-a-new-ruby-programmer-and-i-love-this-powerful-language/167584 "2009-05-09T20:04:01Z")

</div>

i am a new ruby programmer and i love this powerful language.i am living in Soochow which is in the east of China.And it is famous for its garden and long history.Welcome to this city.

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

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