# Rails

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

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

---

## [Subversion and rails?](https://www.ruby-forum.com/t/subversion-and-rails/119653)

<div class="topic-metadata">

**Author:** [@jamal](https://www.ruby-forum.com/u/jamal)\
**Replies:** 5\
**Last updated:** [November 8, 2007, 11:32pm UTC](https://www.ruby-forum.com/t/subversion-and-rails/119653 "2007-11-08T23:32:52Z")

</div>

Hello there, I started using subversion with my rails application, but I’m stuck with plugins, they are not added to my revision… \_\_\_\_$ svn add vendor/plugins/rspec svn: warning: ‘vendor/plugins/rspec’ is already und…

---

## [Is there a way to color text rows in pdf/writer?](https://www.ruby-forum.com/t/is-there-a-way-to-color-text-rows-in-pdf-writer/119650)

<div class="topic-metadata">

**Author:** [@nephish](https://www.ruby-forum.com/u/nephish)\
**Replies:** 0\
**Last updated:** [November 8, 2007, 9:40pm UTC](https://www.ruby-forum.com/t/is-there-a-way-to-color-text-rows-in-pdf-writer/119650 "2007-11-08T21:40:53Z")

</div>

hey there all, i am using ruby to make some pdf charts, but there is also a data table i need to put in there. i am using pdf/writer and so far so good, but i can’t find anywhere that i can change the color of the …

---

## [Acts\_as\_tree error](https://www.ruby-forum.com/t/acts-as-tree-error/119646)

<div class="topic-metadata">

**Author:** [@teddio](https://www.ruby-forum.com/u/teddio)\
**Replies:** 0\
**Last updated:** [November 8, 2007, 9:26pm UTC](https://www.ruby-forum.com/t/acts-as-tree-error/119646 "2007-11-08T21:26:40Z")

</div>

Hey Folks, I’m receiving the following error when I try to use “acts\_as\_tree” to load database table data from Sybase: NoMethodError in Customer#show\_tree Showing app/views/customer/show\_tree.rhtml where line #9 rais…

---

## [Models for external REST services](https://www.ruby-forum.com/t/models-for-external-rest-services/119645)

<div class="topic-metadata">

**Author:** [@Alfredo](https://www.ruby-forum.com/u/Alfredo)\
**Replies:** 0\
**Last updated:** [November 8, 2007, 9:25pm UTC](https://www.ruby-forum.com/t/models-for-external-rest-services/119645 "2007-11-08T21:25:03Z")

</div>

Hello, I’m new to rails so as an exercise I’m porting (php to rails) a very simple landing page that talks with a third party REST service where I just need to do a couple of calls to register a user and show the sta…

---

## [Updating HTML page through AJAX with XML response and XSL](https://www.ruby-forum.com/t/updating-html-page-through-ajax-with-xml-response-and-xsl/119641)

<div class="topic-metadata">

**Author:** [@christoph](https://www.ruby-forum.com/u/christoph)\
**Replies:** 1\
**Last updated:** [November 8, 2007, 8:54pm UTC](https://www.ruby-forum.com/t/updating-html-page-through-ajax-with-xml-response-and-xsl/119641 "2007-11-08T20:54:35Z")

</div>

Dear List, I have a problem with nicely integrating XML responses with AJAX into a website. I did search the internet a lot but I did not find anything too useful; so I hope that my question is neither stupid nor triv…

---

## [Periodically\_call\_remote helper](https://www.ruby-forum.com/t/periodically-call-remote-helper/119640)

<div class="topic-metadata">

**Author:** [@mslagell](https://www.ruby-forum.com/u/mslagell)\
**Replies:** 0\
**Last updated:** [November 8, 2007, 8:49pm UTC](https://www.ruby-forum.com/t/periodically-call-remote-helper/119640 "2007-11-08T20:49:19Z")

</div>

Hello… I’m very new to Rails/Ajax but I’m trying to get this to work and just can’t seem to figure out what I’m doing wrong. I would like to take a value and pass it to a method in my controller. I would like to re…

---

## [Path for Mysql](https://www.ruby-forum.com/t/path-for-mysql/119631)

<div class="topic-metadata">

**Author:** [@tobyr](https://www.ruby-forum.com/u/tobyr)\
**Replies:** 5\
**Last updated:** [November 8, 2007, 8:46pm UTC](https://www.ruby-forum.com/t/path-for-mysql/119631 "2007-11-08T20:46:07Z")

</div>

On my RoR server (which I don’t have root access to) there are two instances of mysql (4.0.x and 5.0.x). My database has been created in the 5.0.x instance - I can log in manually OK (so I’ve got the correct username…

---

## [\[ANN\] Development now resumed on PDF::Writer](https://www.ruby-forum.com/t/ann-development-now-resumed-on-pdf-writer/119639)

<div class="topic-metadata">

**Author:** [@naething](https://www.ruby-forum.com/u/naething)\
**Replies:** 0\
**Last updated:** [November 8, 2007, 8:39pm UTC](https://www.ruby-forum.com/t/ann-development-now-resumed-on-pdf-writer/119639 "2007-11-08T20:39:55Z")

</div>

Hi Folks, At RubyConf 2007, some discussion came up yet again about PDF::Writer and how it’s unfortunate that such an important library has been inactive for so long. I am pleased to announce that we are going to p…

---

## [Model Callback.rb insidiousally breaks other models](https://www.ruby-forum.com/t/model-callback-rb-insidiousally-breaks-other-models/119634)

<div class="topic-metadata">

**Author:** [@divotdave](https://www.ruby-forum.com/u/divotdave)\
**Replies:** 1\
**Last updated:** [November 8, 2007, 8:26pm UTC](https://www.ruby-forum.com/t/model-callback-rb-insidiousally-breaks-other-models/119634 "2007-11-08T20:26:56Z")

</div>

I’ve run into an odd case where a model called “Callback” breaks ActiveRecord::Callbacks, for models other then itself. It’s understandable if Callback is a model name I shouldn’t have used, but its rather insidious i…

---

## [Ruby Install Problem Fedora 7](https://www.ruby-forum.com/t/ruby-install-problem-fedora-7/114572)

<div class="topic-metadata">

**Author:** [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Replies:** 8\
**Last updated:** [November 8, 2007, 7:43pm UTC](https://www.ruby-forum.com/t/ruby-install-problem-fedora-7/114572 "2007-11-08T19:43:05Z")

</div>

Hi, I’m a total newbie on Ruby/Rails and Linux, and have recently installed Fedora 7 as a VM (WMWare Fusion On Mac OS X). I’ve been trying to install ruby, rails etc but I’ve hit a brick wall and cant get over!!! bas…

---

## [Rake::Task Multiple Invokes](https://www.ruby-forum.com/t/rake-task-multiple-invokes/119532)

<div class="topic-metadata">

**Author:** [@karlshea](https://www.ruby-forum.com/u/karlshea)\
**Replies:** 8\
**Last updated:** [November 8, 2007, 7:29pm UTC](https://www.ruby-forum.com/t/rake-task-multiple-invokes/119532 "2007-11-08T19:29:37Z")

</div>

During my early development of apps, I find myself running the same three rake tasks over and over. So I though I would create a custom rake task so that I can execute all three with one command. Plus, when you invoke…

---

## [Running autotest on Windows XP?](https://www.ruby-forum.com/t/running-autotest-on-windows-xp/111825)

<div class="topic-metadata">

**Author:** [@michau](https://www.ruby-forum.com/u/michau)\
**Replies:** 2\
**Last updated:** [November 8, 2007, 7:26pm UTC](https://www.ruby-forum.com/t/running-autotest-on-windows-xp/111825 "2007-11-08T19:26:57Z")

</div>

Helo, Is it possible to make autotest (from Zentest gem) run on RoR under Windows XP? When I’m trying to do it, it throws an error message: "couldn’t find HOME environment – expanding ‘~/.autotest’ " On Cygwing it ru…

---

## [Dynamic relation with eager loading](https://www.ruby-forum.com/t/dynamic-relation-with-eager-loading/119633)

<div class="topic-metadata">

**Author:** [@keynan](https://www.ruby-forum.com/u/keynan)\
**Replies:** 0\
**Last updated:** [November 8, 2007, 7:24pm UTC](https://www.ruby-forum.com/t/dynamic-relation-with-eager-loading/119633 "2007-11-08T19:24:37Z")

</div>

A model has 2 columns in its table asset\_type\_id asset\_id the asset\_type\_id links directly to the table asset\_types via a belongs\_to asset\_types contains a single column ‘name’ method\_missing in the model says when…

---

## [:dependent =\> :destroy](https://www.ruby-forum.com/t/dependent-destroy/119625)

<div class="topic-metadata">

**Author:** [@snantz](https://www.ruby-forum.com/u/snantz)\
**Replies:** 1\
**Last updated:** [November 8, 2007, 7:24pm UTC](https://www.ruby-forum.com/t/dependent-destroy/119625 "2007-11-08T19:24:21Z")

</div>

I have two tables: airlinememberships and loyaltycars. The loyaltycars table just keeps track of what car memberships people want to asscoiate with an airlinemembership program. So that means that loyaltycars belongs\_…

---

## [Facets GEM Install on Windows](https://www.ruby-forum.com/t/facets-gem-install-on-windows/119630)

<div class="topic-metadata">

**Author:** [@nendee](https://www.ruby-forum.com/u/nendee)\
**Replies:** 0\
**Last updated:** [November 8, 2007, 7:02pm UTC](https://www.ruby-forum.com/t/facets-gem-install-on-windows/119630 "2007-11-08T19:02:07Z")

</div>

I keep getting this error when trying to : gem install facets C:\\projects\\rails\>gem install facets ERROR: While executing gem … (Zlib::BufError) buffer error Other gems install fine: C:\\projects\\rails\>gem environm…

---

## [Strange Sum issue](https://www.ruby-forum.com/t/strange-sum-issue/119627)

<div class="topic-metadata">

**Author:** [@johnt519](https://www.ruby-forum.com/u/johnt519)\
**Replies:** 7\
**Last updated:** [November 8, 2007, 6:46pm UTC](https://www.ruby-forum.com/t/strange-sum-issue/119627 "2007-11-08T18:46:54Z")

</div>

Hello, This may just be my misunderstanding something, but I’m seeing something strange. I have a model, Ticket, that in the database table ‘tickets’ has a field, let’s say ‘seats’. I can do a Find and retrieve the …

---

## [SystemStackError from redirect\_to](https://www.ruby-forum.com/t/systemstackerror-from-redirect-to/119624)

<div class="topic-metadata">

**Author:** [@jebw](https://www.ruby-forum.com/u/jebw)\
**Replies:** 2\
**Last updated:** [November 8, 2007, 6:07pm UTC](https://www.ruby-forum.com/t/systemstackerror-from-redirect-to/119624 "2007-11-08T18:07:07Z")

</div>

Hi I’ve got a straightforward piece of code in my controller which will consistently produce a SystemStackError. @newmessage = @message.reply(params\[:newmessage\]) return unless request.post? if @newmessage.save fla…

---

## [Savage Beast plugin](https://www.ruby-forum.com/t/savage-beast-plugin/119612)

<div class="topic-metadata">

**Author:** [@cskidmore](https://www.ruby-forum.com/u/cskidmore)\
**Replies:** 7\
**Last updated:** [November 8, 2007, 4:49pm UTC](https://www.ruby-forum.com/t/savage-beast-plugin/119612 "2007-11-08T16:49:48Z")

</div>

Does anyone have a copy of the Savage Beast plugin? I’m trying to setup a project using it, but the entire site for http://nnovation.ca seems to be down since August. Anything would be greatly appreciated. Thank you…

---

## [To\_xml follows different path for collections than for individual objects](https://www.ruby-forum.com/t/to-xml-follows-different-path-for-collections-than-for-individual-objects/119622)

<div class="topic-metadata">

**Author:** [@thanatos](https://www.ruby-forum.com/u/thanatos)\
**Replies:** 1\
**Last updated:** [November 8, 2007, 4:38pm UTC](https://www.ruby-forum.com/t/to-xml-follows-different-path-for-collections-than-for-individual-objects/119622 "2007-11-08T16:38:39Z")

</div>

For example: I have an item and in script/console of my project I do: item.to\_xml This executes through an elaborate path of modules and methods something like this: to\_xml --\> XmlSerializer --\> which calls to\_s, …

---

## [Running tests from another test case](https://www.ruby-forum.com/t/running-tests-from-another-test-case/119613)

<div class="topic-metadata">

**Author:** [@deliak](https://www.ruby-forum.com/u/deliak)\
**Replies:** 1\
**Last updated:** [November 8, 2007, 4:13pm UTC](https://www.ruby-forum.com/t/running-tests-from-another-test-case/119613 "2007-11-08T16:13:29Z")

</div>

I’m in the position that would be really useful for me to run in a testcase a test belonging to another testcase. Assuming I do not want to use modules, how could I do that? My code would be something like this: clas…

---

## [Pute](https://www.ruby-forum.com/t/pute/119615)

<div class="topic-metadata">

**Author:** [@tresses](https://www.ruby-forum.com/u/tresses)\
**Replies:** 0\
**Last updated:** [November 8, 2007, 3:57pm UTC](https://www.ruby-forum.com/t/pute/119615 "2007-11-08T15:57:57Z")

</div>

Je ne fais pas partie de l’armÃ©e. Je me suis retrouvÃ©e lÃ sans savoir pourquoi ni comment. C’est ma propre mÃ¨re qui leur a fait penser que j’Ã©tais une prostituÃ©e. Le 7Ã¨me Ciel et le Jardin d’Eden sont des noms …

---

## [System hangs while running gem install rails](https://www.ruby-forum.com/t/system-hangs-while-running-gem-install-rails/118928)

<div class="topic-metadata">

**Author:** [@ram](https://www.ruby-forum.com/u/ram)\
**Replies:** 6\
**Last updated:** [November 8, 2007, 3:51pm UTC](https://www.ruby-forum.com/t/system-hangs-while-running-gem-install-rails/118928 "2007-11-08T15:51:35Z")

</div>

Hi, My system hangs when I start “gem install rails --remote” command in cli. It is throwing message like “Bulk updating Gem source index for: http://gems.rubyforge.org” and then hangs. When I see FAQ 3.2 in 3rd cha…

---

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

<div class="topic-metadata">

**Author:** [@agnathan](https://www.ruby-forum.com/u/agnathan)\
**Replies:** 1\
**Last updated:** [November 8, 2007, 3:28pm UTC](https://www.ruby-forum.com/t/validates-uniqueness-of-with-conditions/119608 "2007-11-08T15:28:42Z")

</div>

Hello I have a user table in my db. A user has a status field, status is an INT an can be between 1-5. When a new user sign up I want to use “validates\_uniqueness\_of :login” in user model. But I don’t want to valida…

---

## [Mysql-ruby gem using significantly more memory that mysql.rb?](https://www.ruby-forum.com/t/mysql-ruby-gem-using-significantly-more-memory-that-mysql-rb/119581)

<div class="topic-metadata">

**Author:** [@sillydude](https://www.ruby-forum.com/u/sillydude)\
**Replies:** 2\
**Last updated:** [November 8, 2007, 3:15pm UTC](https://www.ruby-forum.com/t/mysql-ruby-gem-using-significantly-more-memory-that-mysql-rb/119581 "2007-11-08T15:15:10Z")

</div>

I have found that, using the mysql-ruby gem leads to 40 MB more memory consumption in my tests than plain mysql.rb. Is anyone aware of this? My test loads a nasty grid of values using many include statements which re…

---

## [Cap deploy does not create log file](https://www.ruby-forum.com/t/cap-deploy-does-not-create-log-file/119606)

<div class="topic-metadata">

**Author:** [@luke001](https://www.ruby-forum.com/u/luke001)\
**Replies:** 1\
**Last updated:** [November 8, 2007, 2:44pm UTC](https://www.ruby-forum.com/t/cap-deploy-does-not-create-log-file/119606 "2007-11-08T14:44:43Z")

</div>

I just created a subdomain to use as a test version of my live site. When I run a cap deploy, which deploys to my subdomain, the file structure created does not contain the shared folder. It only consists of folders:…

---

## [Acts\_as\_nested\_set having a different query in production and in developoment](https://www.ruby-forum.com/t/acts-as-nested-set-having-a-different-query-in-production-and-in-developoment/119549)

<div class="topic-metadata">

**Author:** [@whitewolfaustria](https://www.ruby-forum.com/u/whitewolfaustria)\
**Replies:** 1\
**Last updated:** [November 8, 2007, 2:27pm UTC](https://www.ruby-forum.com/t/acts-as-nested-set-having-a-different-query-in-production-and-in-developoment/119549 "2007-11-08T14:27:45Z")

</div>

Hi all I have a set up that works in development but not in production and it all comes down to a query that is generated by rails. \[4;36;1mGreenRoom Load Including Associations (0.000000) \[0m \[0;1mSELECT green\_room…

---

## [Haproxy](https://www.ruby-forum.com/t/haproxy/119574)

<div class="topic-metadata">

**Author:** [@giorgio](https://www.ruby-forum.com/u/giorgio)\
**Replies:** 1\
**Last updated:** [November 8, 2007, 1:21pm UTC](https://www.ruby-forum.com/t/haproxy/119574 "2007-11-08T13:21:32Z")

</div>

I have been using an Apache setup to proxy to two different Rails apps for two different domain names mapped to the same ip address, ie. www.web1.com goes to app1 and www.web2.com goes to app2. The Apache config is ro…

---

## [Facebook on rails?](https://www.ruby-forum.com/t/facebook-on-rails/119593)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 1\
**Last updated:** [November 8, 2007, 1:09pm UTC](https://www.ruby-forum.com/t/facebook-on-rails/119593 "2007-11-08T13:09:47Z")

</div>

good afternoon to all, can anyone help me abt integrating facebook on rails application. and also how to use FBML tags in rails application. plz help me.

---

## [Ruby on rails developer London](https://www.ruby-forum.com/t/ruby-on-rails-developer-london/119602)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [November 8, 2007, 12:57pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-developer-london/119602 "2007-11-08T12:57:30Z")

</div>

Hi, Choice Gaming Ltd. (www.ChoiceOdds.com http://www.choiceodds.com/) is seeking a highly motivated programmer for a full time position developing its proprietary financial betting platform. You will work as part of…

---

## [Render partial collection locals](https://www.ruby-forum.com/t/render-partial-collection-locals/119582)

<div class="topic-metadata">

**Author:** [@jney](https://www.ruby-forum.com/u/jney)\
**Replies:** 2\
**Last updated:** [November 8, 2007, 10:40am UTC](https://www.ruby-forum.com/t/render-partial-collection-locals/119582 "2007-11-08T10:40:43Z")

</div>

when i use a partial render with a collection and a hash of locals, i don’t get the locals. \<%= render :partial =\> ‘/users/user’, :collection =\> @users, :locals =\> {:test\_value =\> true} %\> isn’t it possible to use bo…

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

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