# Rails

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

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

---

## [InstantRails and Java - conflict?](https://www.ruby-forum.com/t/instantrails-and-java-conflict/112666)

<div class="topic-metadata">

**Author:** [@sjw](https://www.ruby-forum.com/u/sjw)\
**Replies:** 2\
**Last updated:** [August 22, 2007, 12:01am UTC](https://www.ruby-forum.com/t/instantrails-and-java-conflict/112666 "2007-08-22T00:01:05Z")

</div>

Hi All, I know zero about Ruby on Rails but hope to learn, and I already have a problem. I downloaded and installed InstantRails, which says it changes nothing on your system. Immediately after that, I started having…

---

## [Windows XP secrets](https://www.ruby-forum.com/t/windows-xp-secrets/112670)

<div class="topic-metadata">

**Author:** [@Porsche\_Fan](https://www.ruby-forum.com/u/Porsche_Fan)\
**Replies:** 0\
**Last updated:** [August 21, 2007, 11:54pm UTC](https://www.ruby-forum.com/t/windows-xp-secrets/112670 "2007-08-21T23:54:03Z")

</div>

Tweak your system and speed it up

---

## [Acts\_as\_attachment failing tests, thumbnailing](https://www.ruby-forum.com/t/acts-as-attachment-failing-tests-thumbnailing/67003)

<div class="topic-metadata">

**Author:** [@tomtt](https://www.ruby-forum.com/u/tomtt)\
**Replies:** 5\
**Last updated:** [August 21, 2007, 11:17pm UTC](https://www.ruby-forum.com/t/acts-as-attachment-failing-tests-thumbnailing/67003 "2007-08-21T23:17:36Z")

</div>

Hi all, I’m having trouble getting acts\_as\_attachment going. It’s installed and configured as per the documentation: http://weblog.techno-weenie.net/articles/acts\_as\_attachment However, it’s throwing the error that: …

---

## [Self referential Models](https://www.ruby-forum.com/t/self-referential-models/112505)

<div class="topic-metadata">

**Author:** [@daz](https://www.ruby-forum.com/u/daz)\
**Replies:** 2\
**Last updated:** [August 21, 2007, 11:04pm UTC](https://www.ruby-forum.com/t/self-referential-models/112505 "2007-08-21T23:04:55Z")

</div>

If I have a Person model, and every person has a parent, that is in fact another person, can I still use the belongs\_to and has\_many methods? A simple database migration might look like this t.column :name, :string…

---

## [Geodata SQL statements with multiple results in the controll](https://www.ruby-forum.com/t/geodata-sql-statements-with-multiple-results-in-the-controll/112144)

<div class="topic-metadata">

**Author:** [@Scott\_Parks](https://www.ruby-forum.com/u/Scott_Parks)\
**Replies:** 1\
**Last updated:** [August 21, 2007, 10:35pm UTC](https://www.ruby-forum.com/t/geodata-sql-statements-with-multiple-results-in-the-controll/112144 "2007-08-21T22:35:52Z")

</div>

Hi Everyone- In my project I need to take a zip code and get all the schools within the selected mile radius of that zip code. In addition I will need to check to see if the user selected any other items to add to th…

---

## [Plays well with others?](https://www.ruby-forum.com/t/plays-well-with-others/112631)

<div class="topic-metadata">

**Author:** [@student](https://www.ruby-forum.com/u/student)\
**Replies:** 3\
**Last updated:** [August 21, 2007, 10:04pm UTC](https://www.ruby-forum.com/t/plays-well-with-others/112631 "2007-08-21T22:04:48Z")

</div>

I’m at a large company with a world-wide SQL database. I’ve been asked to create an application which is going to start as a reporting tool, but will eventually (nlt v 1.4), start writing data. As usual, corporate I…

---

## [Assert\_select: ArgumentError: wrong number of arguments (6 f](https://www.ruby-forum.com/t/assert-select-argumenterror-wrong-number-of-arguments-6-f/111993)

<div class="topic-metadata">

**Author:** [@caiwangqin](https://www.ruby-forum.com/u/caiwangqin)\
**Replies:** 2\
**Last updated:** [August 21, 2007, 9:58pm UTC](https://www.ruby-forum.com/t/assert-select-argumenterror-wrong-number-of-arguments-6-f/111993 "2007-08-21T21:58:47Z")

</div>

Hello, I am getting an error whenever I try to use assert\_select in the following test: def test\_should\_have\_add\_link\_selected\_on\_new get :new, :user =\> @current\_user.screen\_name assert\_response :success assert\_sel…

---

## [File\_column and fixtures](https://www.ruby-forum.com/t/file-column-and-fixtures/112636)

<div class="topic-metadata">

**Author:** [@Nicholas\_W](https://www.ruby-forum.com/u/Nicholas_W)\
**Replies:** 3\
**Last updated:** [August 21, 2007, 9:39pm UTC](https://www.ruby-forum.com/t/file-column-and-fixtures/112636 "2007-08-21T21:39:45Z")

</div>

Hi \*, I have a problem in creating fixtures for models with file\_column columns. superman: id: 1 image: superman.png This generates: Error: test\_vote\_creation\_and\_deletion(VoteTest): Errno::ENOENT: No such file…

---

## [Acts\_as\_ferret](https://www.ruby-forum.com/t/acts-as-ferret/112604)

<div class="topic-metadata">

**Author:** [@santoshat20007](https://www.ruby-forum.com/u/santoshat20007)\
**Replies:** 1\
**Last updated:** [August 21, 2007, 9:35pm UTC](https://www.ruby-forum.com/t/acts-as-ferret/112604 "2007-08-21T21:35:44Z")

</div>

Hi every one. I have to implement search function in my application, So i went with Acts\_as\_ferret engine. For that i used ferret-0.11.4-mswin32.gem and acts\_as\_ferret\_0.4.1 plugin I add require ‘acts\_as\_ferret’ in …

---

## [Validates\_acceptance\_of (and hidden input)](https://www.ruby-forum.com/t/validates-acceptance-of-and-hidden-input/112624)

<div class="topic-metadata">

**Author:** [@jasonb](https://www.ruby-forum.com/u/jasonb)\
**Replies:** 2\
**Last updated:** [August 21, 2007, 9:03pm UTC](https://www.ruby-forum.com/t/validates-acceptance-of-and-hidden-input/112624 "2007-08-21T21:03:41Z")

</div>

Hi Why does a failed “validates\_acceptance\_of” create a hidden input in the view? cheers, jason

---

## [Windows XP tips and tricks](https://www.ruby-forum.com/t/windows-xp-tips-and-tricks/196440)

<div class="topic-metadata">

**Author:** [@John\_Travolta](https://www.ruby-forum.com/u/John_Travolta)\
**Replies:** 0\
**Last updated:** [August 21, 2007, 9:03pm UTC](https://www.ruby-forum.com/t/windows-xp-tips-and-tricks/196440 "2007-08-21T21:03:41Z")

</div>

---

## [Newb: load lots of data into database](https://www.ruby-forum.com/t/newb-load-lots-of-data-into-database/112591)

<div class="topic-metadata">

**Author:** [@ktheory](https://www.ruby-forum.com/u/ktheory)\
**Replies:** 4\
**Last updated:** [August 21, 2007, 8:51pm UTC](https://www.ruby-forum.com/t/newb-load-lots-of-data-into-database/112591 "2007-08-21T20:51:40Z")

</div>

Hello! I’m just starting to venture into Ruby on Rails, and I was wondering what the best way to populate my databases with exisiting data in the form of csv files that don’t map exactly to the columns (ie require som…

---

## [Building a "comparisons" table](https://www.ruby-forum.com/t/building-a-comparisons-table/112607)

<div class="topic-metadata">

**Author:** [@nanouk](https://www.ruby-forum.com/u/nanouk)\
**Replies:** 1\
**Last updated:** [August 21, 2007, 8:48pm UTC](https://www.ruby-forum.com/t/building-a-comparisons-table/112607 "2007-08-21T20:48:39Z")

</div>

I have two tables - runs and steps. Each run has many steps, each step has one run. The output i’d like: Description Run1 Run2 Start 13.00 14.35 Run application 13.01 14.48 Pr…

---

## [Roby on Rails for a large community?](https://www.ruby-forum.com/t/roby-on-rails-for-a-large-community/112602)

<div class="topic-metadata">

**Author:** [@sigma](https://www.ruby-forum.com/u/sigma)\
**Replies:** 3\
**Last updated:** [August 21, 2007, 8:27pm UTC](https://www.ruby-forum.com/t/roby-on-rails-for-a-large-community/112602 "2007-08-21T20:27:30Z")

</div>

Hi there I’ve got the following question to you: Is Ruby on Rails the right choice for re-building a large community (a few 1000 users)? What about performance of Ruby on Rails? Is it fast enoght? (I tried build the …

---

## [\[ADV\] Deploying Rails Applications Beta Book Release](https://www.ruby-forum.com/t/adv-deploying-rails-applications-beta-book-release/112334)

<div class="topic-metadata">

**Author:** [@ezra\_z](https://www.ruby-forum.com/u/ezra_z)\
**Replies:** 8\
**Last updated:** [August 21, 2007, 8:11pm UTC](https://www.ruby-forum.com/t/adv-deploying-rails-applications-beta-book-release/112334 "2007-08-21T20:11:31Z")

</div>

Hello Friends- I’m happy to announce the beta release of my book for the Pragmatic Programmers, Deploying Rails Applications, A Step by Step Guide. It’s been in the works for a long time and has been rewritten multipl…

---

## [Newbie: How to refer to 'this' instance's items](https://www.ruby-forum.com/t/newbie-how-to-refer-to-this-instances-items/112588)

<div class="topic-metadata">

**Author:** [@marcbey](https://www.ruby-forum.com/u/marcbey)\
**Replies:** 3\
**Last updated:** [August 21, 2007, 7:28pm UTC](https://www.ruby-forum.com/t/newbie-how-to-refer-to-this-instances-items/112588 "2007-08-21T19:28:26Z")

</div>

Hi, I’ve been playing with Rails for a few months now and I enjoying it. But most recently, I’ve just come across an issue that I just can’t seem to resolve, to the point where I’ve recreated a small application from …

---

## [Call controller methods from view](https://www.ruby-forum.com/t/call-controller-methods-from-view/112642)

<div class="topic-metadata">

**Author:** [@shafi](https://www.ruby-forum.com/u/shafi)\
**Replies:** 4\
**Last updated:** [August 21, 2007, 7:02pm UTC](https://www.ruby-forum.com/t/call-controller-methods-from-view/112642 "2007-08-21T19:02:24Z")

</div>

Hi all, please i wanna call method from controller in view but it through this exception ////// NoMethodError in Summery#index undefined method \`listProjects’ for #\<#Class:0x468645c:0x4686434\> ///// and I’m trying…

---

## [I'm almost there, just need a small push](https://www.ruby-forum.com/t/im-almost-there-just-need-a-small-push/112632)

<div class="topic-metadata">

**Author:** [@mickey](https://www.ruby-forum.com/u/mickey)\
**Replies:** 3\
**Last updated:** [August 21, 2007, 6:59pm UTC](https://www.ruby-forum.com/t/im-almost-there-just-need-a-small-push/112632 "2007-08-21T18:59:59Z")

</div>

I’m using the restful2 application from the Agile Web D. with Rails and have added a search to the articles\_controller.rb and added the route to the routes.rb as: map.resources :articles, :collection =\> {:search =\> …

---

## [Ssl certificates](https://www.ruby-forum.com/t/ssl-certificates/64638)

<div class="topic-metadata">

**Author:** [@Giedrius](https://www.ruby-forum.com/u/Giedrius)\
**Replies:** 4\
**Last updated:** [August 21, 2007, 6:46pm UTC](https://www.ruby-forum.com/t/ssl-certificates/64638 "2007-08-21T18:46:12Z")

</div>

Hi, could someone help me with ssl certificates? i have mycert.pfx file (client certificate) and CA certificate ca.cer. i far as i know, ruby doesn’t understand pfx format, so i’ve converted it to pem format. in vie…

---

## [Help with partials / pagination strategy](https://www.ruby-forum.com/t/help-with-partials-pagination-strategy/112428)

<div class="topic-metadata">

**Author:** [@charlie\_caroff](https://www.ruby-forum.com/u/charlie_caroff)\
**Replies:** 2\
**Last updated:** [August 21, 2007, 6:33pm UTC](https://www.ruby-forum.com/t/help-with-partials-pagination-strategy/112428 "2007-08-21T18:33:14Z")

</div>

Hi, I have a few simple lists that I’m displaying all over my site, as paginated partials. Sometimes a given list shows 5 items, sometimes 10, sometimes 20, depending on what page is being displayed. Sometimes a lis…

---

## [Newbie question about "render :update do |page|"](https://www.ruby-forum.com/t/newbie-question-about-render-update-do-page/112580)

<div class="topic-metadata">

**Author:** [@enduro](https://www.ruby-forum.com/u/enduro)\
**Replies:** 2\
**Last updated:** [August 21, 2007, 6:06pm UTC](https://www.ruby-forum.com/t/newbie-question-about-render-update-do-page/112580 "2007-08-21T18:06:09Z")

</div>

Hi Railies I’m somewhat stuck trying to add some AJAX to my app, AJAX newbie stuff I guess: View: list form \<%= link\_to\_remote 'GO', :update =\> 'ajax\_form', :url =\> { :action =\> 'test' } %\> Controller: def test ren…

---

## [Plays well with others?](https://www.ruby-forum.com/t/plays-well-with-others/196439)

<div class="topic-metadata">

**Author:** [@student](https://www.ruby-forum.com/u/student)\
**Replies:** 0\
**Last updated:** [August 21, 2007, 5:21pm UTC](https://www.ruby-forum.com/t/plays-well-with-others/196439 "2007-08-21T17:21:58Z")

</div>

I’m at a large company with a world-wide SQL database. I’ve been asked to create an application which is going to start as a reporting tool, but will eventually (nlt v 1.4), start writing data. As usual, corporate I…

---

## [.save message undefined method ' ='](https://www.ruby-forum.com/t/save-message-undefined-method/112145)

<div class="topic-metadata">

**Author:** [@will](https://www.ruby-forum.com/u/will)\
**Replies:** 5\
**Last updated:** [August 21, 2007, 4:38pm UTC](https://www.ruby-forum.com/t/save-message-undefined-method/112145 "2007-08-21T16:38:48Z")

</div>

I am fairly new to rails and am working on a system that is currently being developed with Rails 1.1.6. I am trying to do a save on a object that is giving me an undefined method message Here is what I have. Ruby 1.…

---

## [Force refresh](https://www.ruby-forum.com/t/force-refresh/112529)

<div class="topic-metadata">

**Author:** [@smithy](https://www.ruby-forum.com/u/smithy)\
**Replies:** 2\
**Last updated:** [August 21, 2007, 4:28pm UTC](https://www.ruby-forum.com/t/force-refresh/112529 "2007-08-21T16:28:21Z")

</div>

Hello, Im new with Ruby on Rails and have a problem. I need to force a refresh of the page in or right after the before\_destroy is called. What we do is we set the active field to 0 and return false which stops the d…

---

## [Removing HTML tags](https://www.ruby-forum.com/t/removing-html-tags/112628)

<div class="topic-metadata">

**Author:** [@hotgazpacho](https://www.ruby-forum.com/u/hotgazpacho)\
**Replies:** 1\
**Last updated:** [August 21, 2007, 4:22pm UTC](https://www.ruby-forum.com/t/removing-html-tags/112628 "2007-08-21T16:22:43Z")

</div>

Hello all, I’m working on a bit of code that needs to convert HTML to plain text. Is there an easy way to do this in Ruby, or do I need to write some code to handle it with a regular expression? I only want the human-…

---

## [Can't alter (decorate) ActiveRecord::Base#method\_missing](https://www.ruby-forum.com/t/cant-alter-decorate-activerecord-base-method-missing/112544)

<div class="topic-metadata">

**Author:** [@biot023](https://www.ruby-forum.com/u/biot023)\
**Replies:** 5\
**Last updated:** [August 21, 2007, 4:21pm UTC](https://www.ruby-forum.com/t/cant-alter-decorate-activerecord-base-method-missing/112544 "2007-08-21T16:21:08Z")

</div>

Hallo – I’m trying to decorate the default behaviour of ActiveRecord::Base#method\_missing() with the following code: class ActiveRecord::Base alias\_method( :b023\_method\_missing, :method\_missing ) unless method\_defi…

---

## [Fetching Data From Mulitple Databases](https://www.ruby-forum.com/t/fetching-data-from-mulitple-databases/112572)

<div class="topic-metadata">

**Author:** [@mwalsh](https://www.ruby-forum.com/u/mwalsh)\
**Replies:** 1\
**Last updated:** [August 21, 2007, 4:11pm UTC](https://www.ruby-forum.com/t/fetching-data-from-mulitple-databases/112572 "2007-08-21T16:11:39Z")

</div>

Hello, I have read several articles on methods to fetch data from several databases using Rails. The general consensus seems to be that working with one database is better when possible, but when it’s not possible, y…

---

## [Gettext issue (files missing?)](https://www.ruby-forum.com/t/gettext-issue-files-missing/112625)

<div class="topic-metadata">

**Author:** [@Heist](https://www.ruby-forum.com/u/Heist)\
**Replies:** 0\
**Last updated:** [August 21, 2007, 3:33pm UTC](https://www.ruby-forum.com/t/gettext-issue-files-missing/112625 "2007-08-21T15:33:29Z")

</div>

Hi. On XP, I run the following command: gem install gettext I choose 12 (because that’s the version we’re working with and I’m windows), so it’s supposed to install gettext1.0.5. The problem is, when I run “rake upda…

---

## [Proposal for generic matching of names in dependency autoloa](https://www.ruby-forum.com/t/proposal-for-generic-matching-of-names-in-dependency-autoloa/112621)

<div class="topic-metadata">

**Author:** [@bodikp](https://www.ruby-forum.com/u/bodikp)\
**Replies:** 2\
**Last updated:** [August 21, 2007, 3:23pm UTC](https://www.ruby-forum.com/t/proposal-for-generic-matching-of-names-in-dependency-autoloa/112621 "2007-08-21T15:23:26Z")

</div>

Hi engines developers, I’m working on a project that uses Cells extensively (http://nick.smt.de/trac/nick/wiki/Cells). Cells relies on Engines in turn. I hit a wall when I tried to make cells load a class tree of c…

---

## [RSpec: "--color" not working in spec.opts when combined with](https://www.ruby-forum.com/t/rspec-color-not-working-in-spec-opts-when-combined-with/112414)

<div class="topic-metadata">

**Author:** [@Hardbap](https://www.ruby-forum.com/u/Hardbap)\
**Replies:** 6\
**Last updated:** [August 21, 2007, 3:16pm UTC](https://www.ruby-forum.com/t/rspec-color-not-working-in-spec-opts-when-combined-with/112414 "2007-08-21T15:16:24Z")

</div>

Windows XP SP 2 ruby 1.8.5 gems: rails 1.2.3 rake 0.7.3 win32console 1.0.8 plugins: rspec 1.0.8 rspec\_rails 1.0.8 spec.opts: –colour –format progress –loadby mtime –reverse –drb When I run “rake spec” or…

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

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