# Rails

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

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

---

## [Activate a tab after an ajax call](https://www.ruby-forum.com/t/activate-a-tab-after-an-ajax-call/137231)

<div class="topic-metadata">

**Author:** [@sijo](https://www.ruby-forum.com/u/sijo)\
**Replies:** 0\
**Last updated:** [May 10, 2008, 12:52pm UTC](https://www.ruby-forum.com/t/activate-a-tab-after-an-ajax-call/137231 "2008-05-10T12:52:57Z")

</div>

Hi My main file has the following format (differnt tabs) Details Resolution Attachments \<%= render :partial=\>'service\_desk\_part/edit\_sd\_details' %\> \<%= render :partial =\> 'serv…

---

## [Ruby suddenly stoped working](https://www.ruby-forum.com/t/ruby-suddenly-stoped-working/137222)

<div class="topic-metadata">

**Author:** [@bonnmos](https://www.ruby-forum.com/u/bonnmos)\
**Replies:** 0\
**Last updated:** [May 10, 2008, 9:41am UTC](https://www.ruby-forum.com/t/ruby-suddenly-stoped-working/137222 "2008-05-10T09:41:33Z")

</div>

I am new to ruby. Installed v 1.8.6 with rubygems 1.0.9 yesterday, 9 May. Everything was working last night but stopped today when i booted my laptop. Running vista ultimate. The ‘ruby’ command is not recognised. I’v…

---

## [Can javascript handle 422 response](https://www.ruby-forum.com/t/can-javascript-handle-422-response/137219)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [May 10, 2008, 7:36am UTC](https://www.ruby-forum.com/t/can-javascript-handle-422-response/137219 "2008-05-10T07:36:34Z")

</div>

I’m toggling a check box via ajax using: application\_helper.rb: … def toggle\_value(object) remote\_function(:url =\> url\_for(object), :method =\> :put, :before =\> “Element.show(‘spinner- #{object.id}’)”, :complete =\>…

---

## [Only "form\_tag" support uploading file?](https://www.ruby-forum.com/t/only-form-tag-support-uploading-file/126002)

<div class="topic-metadata">

**Author:** [@myst\_tt](https://www.ruby-forum.com/u/myst_tt)\
**Replies:** 5\
**Last updated:** [May 10, 2008, 4:12am UTC](https://www.ruby-forum.com/t/only-form-tag-support-uploading-file/126002 "2008-05-10T04:12:00Z")

</div>

Hi, there: I wanna use plug-in “file\_column” to upload image to the server. In my test app, the view is as follow & it works well: New entry \<%= error\_messages\_for 'entry' %\> \<% form\_tag 'create', :multipart =\> true do…

---

## [Fusioncharts free - anyone using this in their rails app for charts? (http://www.fusioncharts.com/Fr](https://www.ruby-forum.com/t/fusioncharts-free-anyone-using-this-in-their-rails-app-for-charts-http-www-fusioncharts-com-fr/137210)

<div class="topic-metadata">

**Author:** [@greg](https://www.ruby-forum.com/u/greg)\
**Replies:** 0\
**Last updated:** [May 10, 2008, 2:43am UTC](https://www.ruby-forum.com/t/fusioncharts-free-anyone-using-this-in-their-rails-app-for-charts-http-www-fusioncharts-com-fr/137210 "2008-05-10T02:43:08Z")

</div>

Hi, Anyone using “Fusioncharts free” in their rails applicaiton? h ttp://www.fusioncharts.com/Free/ http://www.fusioncharts.com/Free/ I’m interested if anyone has created any Ruby on Rails plugins / helpers / clas…

---

## [Rails 2.0 date validation](https://www.ruby-forum.com/t/rails-2-0-date-validation/137207)

<div class="topic-metadata">

**Author:** [@jgutierrez](https://www.ruby-forum.com/u/jgutierrez)\
**Replies:** 0\
**Last updated:** [May 10, 2008, 12:57am UTC](https://www.ruby-forum.com/t/rails-2-0-date-validation/137207 "2008-05-10T00:57:46Z")

</div>

Hi all, Are there any plugins that I can use to validate dates? I know about Jonathan V.'s plugin, http://svn.viney.net.nz/things/rails/plugins/validates\_date\_time/ But it seems that it does not work with Rails 2.0. …

---

## [Hiring Ruby on Rails Programmer](https://www.ruby-forum.com/t/hiring-ruby-on-rails-programmer/137179)

<div class="topic-metadata">

**Author:** [@NOW\_HIRING](https://www.ruby-forum.com/u/NOW_HIRING)\
**Replies:** 3\
**Last updated:** [May 9, 2008, 10:57pm UTC](https://www.ruby-forum.com/t/hiring-ruby-on-rails-programmer/137179 "2008-05-09T22:57:41Z")

</div>

Hi there, My company is looking for a full-time, in-house rails programmer to start immediately. If you are interested please contact me!!! Thanks! Neda removed\_email\_address@domain.invalid

---

## [Problem in inserting data to new column](https://www.ruby-forum.com/t/problem-in-inserting-data-to-new-column/137184)

<div class="topic-metadata">

**Author:** [@prionko](https://www.ruby-forum.com/u/prionko)\
**Replies:** 1\
**Last updated:** [May 9, 2008, 10:54pm UTC](https://www.ruby-forum.com/t/problem-in-inserting-data-to-new-column/137184 "2008-05-09T22:54:46Z")

</div>

Hi, Im facing a strange problem. I have a user table with some fields out there. Rite now I want to add new columns in the database, I did it with script/generation migration AddUserField All things are working fine.…

---

## [Mod\_rails blocking processes?](https://www.ruby-forum.com/t/mod-rails-blocking-processes/136459)

<div class="topic-metadata">

**Author:** [@dukael](https://www.ruby-forum.com/u/dukael)\
**Replies:** 4\
**Last updated:** [May 9, 2008, 10:41pm UTC](https://www.ruby-forum.com/t/mod-rails-blocking-processes/136459 "2008-05-09T22:41:52Z")

</div>

I’m not really sure how mod\_rails / passenger works but it’s producing some strange behavior for me. I wrote a simple controller action that sleeps for 5 seconds before returning the current time. I then called that a…

---

## [Functional Testing - page actions](https://www.ruby-forum.com/t/functional-testing-page-actions/133562)

<div class="topic-metadata">

**Author:** [@syg6](https://www.ruby-forum.com/u/syg6)\
**Replies:** 2\
**Last updated:** [May 9, 2008, 10:36pm UTC](https://www.ruby-forum.com/t/functional-testing-page-actions/133562 "2008-05-09T22:36:57Z")

</div>

Pretty simple question, I’ve tried to ajaxify some actions and the first one I did was a delete - def delete\_job … render :update do |page| page.remove “job\_#{id}” end … end and in my functional test I call this…

---

## [Errors with script/server and script/generate controller](https://www.ruby-forum.com/t/errors-with-script-server-and-script-generate-controller/137131)

<div class="topic-metadata">

**Author:** [@nbafan](https://www.ruby-forum.com/u/nbafan)\
**Replies:** 5\
**Last updated:** [May 9, 2008, 10:32pm UTC](https://www.ruby-forum.com/t/errors-with-script-server-and-script-generate-controller/137131 "2008-05-09T22:32:37Z")

</div>

I have two errors with script/server and script/generate controller. Can anyone help me fix them? With ruby script/server i’m getting this error: (I’ve tried to force WEBrick… but it didn’t work). C:\\InstantRails\\rai…

---

## [Validating Uniqueness From Two Database Tables?](https://www.ruby-forum.com/t/validating-uniqueness-from-two-database-tables/137167)

<div class="topic-metadata">

**Author:** [@lottario](https://www.ruby-forum.com/u/lottario)\
**Replies:** 4\
**Last updated:** [May 9, 2008, 8:55pm UTC](https://www.ruby-forum.com/t/validating-uniqueness-from-two-database-tables/137167 "2008-05-09T20:55:24Z")

</div>

Well, I’m working on adding a new type of user (organization) to my application, using a different database table than the standard User table (in the end, I think it works out being easier to deal with than creating …

---

## [Routes + links](https://www.ruby-forum.com/t/routes-links/137166)

<div class="topic-metadata">

**Author:** [@remco123](https://www.ruby-forum.com/u/remco123)\
**Replies:** 1\
**Last updated:** [May 9, 2008, 8:53pm UTC](https://www.ruby-forum.com/t/routes-links/137166 "2008-05-09T20:53:04Z")

</div>

Hi… link problem…this is my setup class Land \< ActiveRecord::Base belongs\_to :werelddeel, :foreign\_key =\> “werelddeel\_id” has\_many :bestemming set\_table\_name “landen” set\_primary\_key “landcode” has\_permalink :land…

---

## [Parsing multiple RSS & Atom feed formats](https://www.ruby-forum.com/t/parsing-multiple-rss-atom-feed-formats/132454)

<div class="topic-metadata">

**Author:** [@chunkyslink](https://www.ruby-forum.com/u/chunkyslink)\
**Replies:** 6\
**Last updated:** [May 9, 2008, 8:27pm UTC](https://www.ruby-forum.com/t/parsing-multiple-rss-atom-feed-formats/132454 "2008-05-09T20:27:51Z")

</div>

I’m working on a RSS aggregator, and I’ve based the parser on a script from this post; http://www.superwick.com/archives/2007/06/09/rss-feed-parsing-in-ruby-on-rails/ But, being the complete newbie, I’ve found that th…

---

## [Re: Testing](https://www.ruby-forum.com/t/re-testing/137190)

<div class="topic-metadata">

**Author:** [@Silas\_Alves\_JSSSSni](https://www.ruby-forum.com/u/Silas_Alves_JSSSSni)\
**Replies:** 1\
**Last updated:** [May 9, 2008, 8:17pm UTC](https://www.ruby-forum.com/t/re-testing/137190 "2008-05-09T20:17:16Z")

</div>

Ops, Sorry… The correct word is know. I need more informations about testing, some source about this. Can someone help me? Regars, Silas From: Silas Alves JÃºnior Sent: Friday, May 09, 2008 10:52 AM To: removed\_e…

---

## [Delete data from 2 different models](https://www.ruby-forum.com/t/delete-data-from-2-different-models/196677)

<div class="topic-metadata">

**Author:** [@RoR\_Nb](https://www.ruby-forum.com/u/RoR_Nb)\
**Replies:** 0\
**Last updated:** [May 9, 2008, 8:11pm UTC](https://www.ruby-forum.com/t/delete-data-from-2-different-models/196677 "2008-05-09T20:11:21Z")

</div>

I’m trying to delete an account but at the same time i’d like to delete the portals that belongs to the account. This is what i wrote but it’s not working. how can i deal with this problem? I have this code inside th…

---

## [Best e-commerce on rails?](https://www.ruby-forum.com/t/best-e-commerce-on-rails/137135)

<div class="topic-metadata">

**Author:** [@braver](https://www.ruby-forum.com/u/braver)\
**Replies:** 3\
**Last updated:** [May 9, 2008, 7:12pm UTC](https://www.ruby-forum.com/t/best-e-commerce-on-rails/137135 "2008-05-09T19:12:06Z")

</div>

Greetings – I need to set up a shop online and I want to use Rails. However, most of the top shops, e.g. reviewed in http://blog.webdistortion.com/2008/05/03/9-kick-ass-open-source-e-commerce-platforms-reviewed/ – are…

---

## [About popup window](https://www.ruby-forum.com/t/about-popup-window/137128)

<div class="topic-metadata">

**Author:** [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Replies:** 4\
**Last updated:** [May 9, 2008, 6:53pm UTC](https://www.ruby-forum.com/t/about-popup-window/137128 "2008-05-09T18:53:16Z")

</div>

hello: I want something behavioring like ajax:when click a link,invoke a method in some class,then the response content will be displayed in a mini popup window below the link,what’s more,user can close this mini win…

---

## [Adding records to a child table from a parent table](https://www.ruby-forum.com/t/adding-records-to-a-child-table-from-a-parent-table/226007)

<div class="topic-metadata">

**Author:** [@doodle](https://www.ruby-forum.com/u/doodle)\
**Replies:** 1\
**Last updated:** [May 9, 2008, 6:20pm UTC](https://www.ruby-forum.com/t/adding-records-to-a-child-table-from-a-parent-table/226007 "2008-05-09T18:20:51Z")

</div>

I have a table (ded\_masts) that contains all the deductions (and their parameters/characteristics) that a client (company) has instantiated/ authorized - the “parent table”. Each employee of the company has records in…

---

## [How to Validate Uniqueness Of a Record within Date Range](https://www.ruby-forum.com/t/how-to-validate-uniqueness-of-a-record-within-date-range/137160)

<div class="topic-metadata">

**Author:** [@ror\_arch](https://www.ruby-forum.com/u/ror_arch)\
**Replies:** 1\
**Last updated:** [May 9, 2008, 6:20pm UTC](https://www.ruby-forum.com/t/how-to-validate-uniqueness-of-a-record-within-date-range/137160 "2008-05-09T18:20:15Z")

</div>

I would like to validate the uniqueness of a record within a date range. For example : I want a customer attached to a post office within a date range arrives(date) and departs (date). So this is ok: customer1; posto…

---

## [Online payment questions](https://www.ruby-forum.com/t/online-payment-questions/137125)

<div class="topic-metadata">

**Author:** [@chrisolsen](https://www.ruby-forum.com/u/chrisolsen)\
**Replies:** 3\
**Last updated:** [May 9, 2008, 6:14pm UTC](https://www.ruby-forum.com/t/online-payment-questions/137125 "2008-05-09T18:14:07Z")

</div>

I am looking for some input from people that setup a payment gateway of some sort. First of I am curious to the advantages/disadvantages of using paypal vs other services like braintree gateway offer. Lastly, I am wo…

---

## [Routes problem](https://www.ruby-forum.com/t/routes-problem/137176)

<div class="topic-metadata">

**Author:** [@jessruby](https://www.ruby-forum.com/u/jessruby)\
**Replies:** 0\
**Last updated:** [May 9, 2008, 5:45pm UTC](https://www.ruby-forum.com/t/routes-problem/137176 "2008-05-09T17:45:49Z")

</div>

Hi i configured custom routes but i got the following errors Error Number 1: You have a nil object when you didn’t expect it! The error occurred while evaluating nil.to\_sym 17: \<%=quipment.numero\_activo\_fijo%\> …

---

## [Code reading: recommended projects?](https://www.ruby-forum.com/t/code-reading-recommended-projects/137044)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 7\
**Last updated:** [May 9, 2008, 5:35pm UTC](https://www.ruby-forum.com/t/code-reading-recommended-projects/137044 "2008-05-09T17:35:02Z")

</div>

I generally like reading well-written code and find I can always learn a lot from it. I closely study the code of every plugin I use and read it of those others that just interest me. I’m less successful at finding co…

---

## [Testing](https://www.ruby-forum.com/t/testing/137171)

<div class="topic-metadata">

**Author:** [@Silas\_Alves\_JSSSSni](https://www.ruby-forum.com/u/Silas_Alves_JSSSSni)\
**Replies:** 0\
**Last updated:** [May 9, 2008, 5:09pm UTC](https://www.ruby-forum.com/t/testing/137171 "2008-05-09T17:09:45Z")

</div>

Hello G.s, I just learn rails. Someone kown some references about testing? \[\]Â´s Silas

---

## [Betternestedset question](https://www.ruby-forum.com/t/betternestedset-question/137169)

<div class="topic-metadata">

**Author:** [@apswartz](https://www.ruby-forum.com/u/apswartz)\
**Replies:** 0\
**Last updated:** [May 9, 2008, 5:03pm UTC](https://www.ruby-forum.com/t/betternestedset-question/137169 "2008-05-09T17:03:19Z")

</div>

To help myself learn ruby and rails, I am implementing a todo list manager. Every task can have sub tasks (and so on.) I am using betternestedset Until this point, I have been getting everything and then only displa…

---

## [No route matches "/site/homepages" with {:method=\>:get}](https://www.ruby-forum.com/t/no-route-matches-site-homepages-with-method-get/137156)

<div class="topic-metadata">

**Author:** [@MDM](https://www.ruby-forum.com/u/MDM)\
**Replies:** 1\
**Last updated:** [May 9, 2008, 4:55pm UTC](https://www.ruby-forum.com/t/no-route-matches-site-homepages-with-method-get/137156 "2008-05-09T16:55:06Z")

</div>

Can anyone out here help. I am new to Ruby on Rails and struggling with the above error My Website was up and running for some months and I was happily developing it until one day when I was on holiday calls to my we…

---

## [Csv file transfer with form\_remote\_tag?](https://www.ruby-forum.com/t/csv-file-transfer-with-form-remote-tag/196676)

<div class="topic-metadata">

**Author:** [@kampers](https://www.ruby-forum.com/u/kampers)\
**Replies:** 1\
**Last updated:** [May 9, 2008, 4:49pm UTC](https://www.ruby-forum.com/t/csv-file-transfer-with-form-remote-tag/196676 "2008-05-09T16:49:13Z")

</div>

Good morning! I have a case where I need to build a csv file from my model and allow a user to download/save that file. I’ve got this all working with non-Ajax forms, but the generation of the csv file can take quit…

---

## [Capistrano/Webistrano SSH Auth failure](https://www.ruby-forum.com/t/capistrano-webistrano-ssh-auth-failure/137094)

<div class="topic-metadata">

**Author:** [@andypflueger](https://www.ruby-forum.com/u/andypflueger)\
**Replies:** 1\
**Last updated:** [May 9, 2008, 4:43pm UTC](https://www.ruby-forum.com/t/capistrano-webistrano-ssh-auth-failure/137094 "2008-05-09T16:43:55Z")

</div>

Hello, Recently, I setup Webistrano to help manage our Rails application projects and deployments. I’m running into some problems deploying to our web/app & db hosts. We have restricted sshd (for corporate security p…

---

## [Finding "similar" results of find\_all](https://www.ruby-forum.com/t/finding-similar-results-of-find-all/137138)

<div class="topic-metadata">

**Author:** [@PaweSSSSSK](https://www.ruby-forum.com/u/PaweSSSSSK)\
**Replies:** 2\
**Last updated:** [May 9, 2008, 3:28pm UTC](https://www.ruby-forum.com/t/finding-similar-results-of-find-all/137138 "2008-05-09T15:28:57Z")

</div>

Hi :slight\_smile: I need to make something like a search engine, this means I post a query like “cat” and I’d like rails to find all rows with specified field containing this word, like “black bat”, “catwalk” and so I…

---

## [Automagic created\_at coming out null](https://www.ruby-forum.com/t/automagic-created-at-coming-out-null/122701)

<div class="topic-metadata">

**Author:** [@mvargo](https://www.ruby-forum.com/u/mvargo)\
**Replies:** 9\
**Last updated:** [May 9, 2008, 3:02pm UTC](https://www.ruby-forum.com/t/automagic-created-at-coming-out-null/122701 "2008-05-09T15:02:33Z")

</div>

I have a site that uses MySQL, Rails 1.2.3, and apache (proxy load balancer). I have 4 mongrels running. Every so often when I use capistrano to deploy my latest stuff, it seems that one or more of the rails gets int…

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

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