# Rails

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

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

---

## [A Total Newb Question about Runt](https://www.ruby-forum.com/t/a-total-newb-question-about-runt/147201)

<div class="topic-metadata">

**Author:** [@infinteVerve](https://www.ruby-forum.com/u/infinteVerve)\
**Replies:** 1\
**Last updated:** [September 3, 2008, 5:23pm UTC](https://www.ruby-forum.com/t/a-total-newb-question-about-runt/147201 "2008-09-03T17:23:11Z")

</div>

I was looking into the runt gem, but it’s obvious I’m a total newb. I want to know if this is possible using runt, and if someone here is gracious enough to spell it our for a newbie. I’m trying to figure out how to u…

---

## [Php MyAdmin like Facility for Active Record](https://www.ruby-forum.com/t/php-myadmin-like-facility-for-active-record/147486)

<div class="topic-metadata">

**Author:** [@rahil](https://www.ruby-forum.com/u/rahil)\
**Replies:** 8\
**Last updated:** [September 3, 2008, 5:11pm UTC](https://www.ruby-forum.com/t/php-myadmin-like-facility-for-active-record/147486 "2008-09-03T17:11:20Z")

</div>

Hi, We have a perfect Database Management Tool for MySql, Called Php MyAdmin, which checks and shows the results of MySql querries I am looking for such a tool, where i can check my querries with Active Record and it…

---

## [Preserving data in production](https://www.ruby-forum.com/t/preserving-data-in-production/147504)

<div class="topic-metadata">

**Author:** [@bingobob](https://www.ruby-forum.com/u/bingobob)\
**Replies:** 6\
**Last updated:** [September 3, 2008, 5:10pm UTC](https://www.ruby-forum.com/t/preserving-data-in-production/147504 "2008-09-03T17:10:50Z")

</div>

I’ve made some pretty major changes to my applications structure, including regenerating the migrations. Rather than adding a column here and there I just did this… rake db:migrate VERSION=0 Then edited my migration …

---

## [\[Help\] How to pass multiple arguments to a method in a worker?](https://www.ruby-forum.com/t/help-how-to-pass-multiple-arguments-to-a-method-in-a-worker/147608)

<div class="topic-metadata">

**Author:** [@Hao\_Liu](https://www.ruby-forum.com/u/Hao_Liu)\
**Replies:** 1\
**Last updated:** [September 3, 2008, 5:06pm UTC](https://www.ruby-forum.com/t/help-how-to-pass-multiple-arguments-to-a-method-in-a-worker/147608 "2008-09-03T17:06:02Z")

</div>

Hi, guys, I ran into a problem while I tried to pass more than one parameters to a method in the worker class, it fails, from the backgroundrb log, I found that: You have a nil object when you didn’t expect it! You …

---

## [Highlighint rjs problem on a new product](https://www.ruby-forum.com/t/highlighint-rjs-problem-on-a-new-product/147606)

<div class="topic-metadata">

**Author:** [@tyliong](https://www.ruby-forum.com/u/tyliong)\
**Replies:** 2\
**Last updated:** [September 3, 2008, 4:55pm UTC](https://www.ruby-forum.com/t/highlighint-rjs-problem-on-a-new-product/147606 "2008-09-03T16:55:29Z")

</div>

Hi, Problem Summary: I have been trying to add the highlight effect to my table but everytime a new record is added the highlighting gives an rjs error. However when i click the add to cart button on a product that a…

---

## [Deploying My Rails App](https://www.ruby-forum.com/t/deploying-my-rails-app/147472)

<div class="topic-metadata">

**Author:** [@Gabe\_O](https://www.ruby-forum.com/u/Gabe_O)\
**Replies:** 7\
**Last updated:** [September 3, 2008, 3:48pm UTC](https://www.ruby-forum.com/t/deploying-my-rails-app/147472 "2008-09-03T15:48:02Z")

</div>

I have just finished my first Rails application following the lynda.com tutorial, but I am not sure how to get my application on the internet. I have an ftp account through the applemachine server, but from what I ha…

---

## [Auto complete shakes my page](https://www.ruby-forum.com/t/auto-complete-shakes-my-page/144493)

<div class="topic-metadata">

**Author:** [@czaraaj](https://www.ruby-forum.com/u/czaraaj)\
**Replies:** 3\
**Last updated:** [September 3, 2008, 3:37pm UTC](https://www.ruby-forum.com/t/auto-complete-shakes-my-page/144493 "2008-09-03T15:37:29Z")

</div>

Hi All, I am having a problem with auto complete, something to do with the CSS i think. \<%= text\_field\_with\_auto\_complete ‘company’,‘name’, {}, :skip\_style =\> true, :indicator =\> ‘status-indicator’,:after\_update\_elem…

---

## [Actionmailer - how to access request.env](https://www.ruby-forum.com/t/actionmailer-how-to-access-request-env/147600)

<div class="topic-metadata">

**Author:** [@spacechurro](https://www.ruby-forum.com/u/spacechurro)\
**Replies:** 1\
**Last updated:** [September 3, 2008, 3:36pm UTC](https://www.ruby-forum.com/t/actionmailer-how-to-access-request-env/147600 "2008-09-03T15:36:04Z")

</div>

i need to access the host name (and probably the port) inside actionmailer. i need to send a link to something in the public/images directory. in any normal page, i can access this via the request.env variable, but i…

---

## [How to convert swf in jpg?](https://www.ruby-forum.com/t/how-to-convert-swf-in-jpg/147598)

<div class="topic-metadata">

**Author:** [@dharmdip](https://www.ruby-forum.com/u/dharmdip)\
**Replies:** 0\
**Last updated:** [September 3, 2008, 3:02pm UTC](https://www.ruby-forum.com/t/how-to-convert-swf-in-jpg/147598 "2008-09-03T15:02:59Z")

</div>

Hi i have generated graph using Ziya plugin now i want to convert whole file in JPG /JPEG ? Is there any way ??? help !

---

## [Check\_box problem +rails 2.0.2](https://www.ruby-forum.com/t/check-box-problem-rails-2-0-2/147587)

<div class="topic-metadata">

**Author:** [@srijith](https://www.ruby-forum.com/u/srijith)\
**Replies:** 0\
**Last updated:** [September 3, 2008, 1:13pm UTC](https://www.ruby-forum.com/t/check-box-problem-rails-2-0-2/147587 "2008-09-03T13:13:21Z")

</div>

\<%=check\_box (‘appointment’,‘pat\_arrived’)%\> if i put above code in rails 2.0.2 it showing broken pipe error. wats a problem?

---

## [Delta index in Sphinx](https://www.ruby-forum.com/t/delta-index-in-sphinx/147580)

<div class="topic-metadata">

**Author:** [@anatoliy85](https://www.ruby-forum.com/u/anatoliy85)\
**Replies:** 4\
**Last updated:** [September 3, 2008, 12:03pm UTC](https://www.ruby-forum.com/t/delta-index-in-sphinx/147580 "2008-09-03T12:03:50Z")

</div>

Hello, all! Help me please to solve problem with Sphinx and its delta index. Configuration file is located in attachment to this topic. mysql\> select id, e\_mail from users where e\_mail LIKE ‘%test%’; ±-----±-----------…

---

## [Needing a (better) Selenium Testing Tutorial](https://www.ruby-forum.com/t/needing-a-better-selenium-testing-tutorial/147522)

<div class="topic-metadata">

**Author:** [@paco.onrails](https://www.ruby-forum.com/u/paco.onrails)\
**Replies:** 2\
**Last updated:** [September 3, 2008, 11:53am UTC](https://www.ruby-forum.com/t/needing-a-better-selenium-testing-tutorial/147522 "2008-09-03T11:53:53Z")

</div>

Hi everybody, it’s time to begin testing stage on the application we are doing. I’ve seen RailsCast episode about the subject (http://railscasts.com/ episodes/116) which is actually very instructive, but I want to kno…

---

## [How to convert SWF file to PDF](https://www.ruby-forum.com/t/how-to-convert-swf-file-to-pdf/196799)

<div class="topic-metadata">

**Author:** [@dharmdip](https://www.ruby-forum.com/u/dharmdip)\
**Replies:** 0\
**Last updated:** [September 3, 2008, 11:19am UTC](https://www.ruby-forum.com/t/how-to-convert-swf-file-to-pdf/196799 "2008-09-03T11:19:32Z")

</div>

Hi i have generated graph using Ziya plugin now i want to convert whole file in PDF and PDF is not supporting SWF format so i need to convert in jpg or image format supported by PDF viewer ! Is there any way ??? help…

---

## [Hot to convert swf to jpg](https://www.ruby-forum.com/t/hot-to-convert-swf-to-jpg/147578)

<div class="topic-metadata">

**Author:** [@dharmdip](https://www.ruby-forum.com/u/dharmdip)\
**Replies:** 0\
**Last updated:** [September 3, 2008, 10:56am UTC](https://www.ruby-forum.com/t/hot-to-convert-swf-to-jpg/147578 "2008-09-03T10:56:47Z")

</div>

Hi i have generated graph using Ziya plugin now i want to convert whole file in PDF and PDF is not supporting SWF format so i need to convert in jpg or image format supported by PDF viewer ! Is there any way ??? help…

---

## [Edge Rails + restful\_authentication](https://www.ruby-forum.com/t/edge-rails-restful-authentication/147576)

<div class="topic-metadata">

**Author:** [@saurabhbhatia](https://www.ruby-forum.com/u/saurabhbhatia)\
**Replies:** 0\
**Last updated:** [September 3, 2008, 9:58am UTC](https://www.ruby-forum.com/t/edge-rails-restful-authentication/147576 "2008-09-03T09:58:20Z")

</div>

Hi All, I am trying to Integrate restful\_authentication in my application which uses the edge rails. what really could be the problem? saurabh@coolhost:~/bluechip$ ruby script/generate authenticated user sessions .…

---

## [Query\_with\_result? and patch question](https://www.ruby-forum.com/t/query-with-result-and-patch-question/147535)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 1\
**Last updated:** [September 3, 2008, 9:17am UTC](https://www.ruby-forum.com/t/query-with-result-and-patch-question/147535 "2008-09-03T09:17:19Z")

</div>

I noticed that rails’ mysql adapter uses query\_with\_result = true Is there a certain reason for this? Seems that using query\_with\_result = false is faster–am thinking of writing up a patch for it. Thoughts? Also a q…

---

## [Request.remote\_ip returns kok + ip](https://www.ruby-forum.com/t/request-remote-ip-returns-kok-ip/147572)

<div class="topic-metadata">

**Author:** [@paulbutcher](https://www.ruby-forum.com/u/paulbutcher)\
**Replies:** 1\
**Last updated:** [September 3, 2008, 8:33am UTC](https://www.ruby-forum.com/t/request-remote-ip-returns-kok-ip/147572 "2008-09-03T08:33:03Z")

</div>

What is this? When I use request.remote\_ip in my rails app and print it to a web page it says “kok” and then the ip. What is that word there for?

---

## [Can I now use a symbol to access the assigns hash?](https://www.ruby-forum.com/t/can-i-now-use-a-symbol-to-access-the-assigns-hash/147562)

<div class="topic-metadata">

**Author:** [@rubyfreak](https://www.ruby-forum.com/u/rubyfreak)\
**Replies:** 1\
**Last updated:** [September 3, 2008, 8:31am UTC](https://www.ruby-forum.com/t/can-i-now-use-a-symbol-to-access-the-assigns-hash/147562 "2008-09-03T08:31:37Z")

</div>

I am reading an ancient(but good) tutorial on Test::Unit It states that you can not use a symbol to access items in the assigns hash and must use a string identifier. I would think that would have been fixed at this p…

---

## [How can i clear the inner resources route in a nested route](https://www.ruby-forum.com/t/how-can-i-clear-the-inner-resources-route-in-a-nested-route/147569)

<div class="topic-metadata">

**Author:** [@swachian](https://www.ruby-forum.com/u/swachian)\
**Replies:** 0\
**Last updated:** [September 3, 2008, 8:15am UTC](https://www.ruby-forum.com/t/how-can-i-clear-the-inner-resources-route-in-a-nested-route/147569 "2008-09-03T08:15:48Z")

</div>

I have : map.resources :users do |users| user.resources :addressbooks end this provide me with url like ‘/users/1/addressbooks/1’ and ‘/ addressbooks/1’. My problem is that how i’m able to clear the ‘/addressbooks…

---

## [Record is not saved to database](https://www.ruby-forum.com/t/record-is-not-saved-to-database/147568)

<div class="topic-metadata">

**Author:** [@rasfast](https://www.ruby-forum.com/u/rasfast)\
**Replies:** 2\
**Last updated:** [September 3, 2008, 8:13am UTC](https://www.ruby-forum.com/t/record-is-not-saved-to-database/147568 "2008-09-03T08:13:28Z")

</div>

Hi, all! Maybe a noob question, sorry, but I’m really stuck with this. I have 2 models with has\_many and belongs\_to associations. class Transaction \< ActiveRecord::Base has\_many :bonuses, :class\_name =\> ‘Transaction…

---

## [Scaffolding](https://www.ruby-forum.com/t/scaffolding/147519)

<div class="topic-metadata">

**Author:** [@MrSWatson](https://www.ruby-forum.com/u/MrSWatson)\
**Replies:** 6\
**Last updated:** [September 3, 2008, 8:11am UTC](https://www.ruby-forum.com/t/scaffolding/147519 "2008-09-03T08:11:07Z")

</div>

Hello everyone, Does scaffold still work in the new rails 2.0? Thank you,

---

## [Some questions](https://www.ruby-forum.com/t/some-questions/147559)

<div class="topic-metadata">

**Author:** [@Chris\_Griffin](https://www.ruby-forum.com/u/Chris_Griffin)\
**Replies:** 2\
**Last updated:** [September 3, 2008, 6:58am UTC](https://www.ruby-forum.com/t/some-questions/147559 "2008-09-03T06:58:00Z")

</div>

First of all the two links to articles on building plugins to take advantage for engines are broken. a guide building plugins that can take advantage of the engines pluginâ€™s features best introductions to developin…

---

## [RESTful controller ajax update](https://www.ruby-forum.com/t/restful-controller-ajax-update/147557)

<div class="topic-metadata">

**Author:** [@hirodusk](https://www.ruby-forum.com/u/hirodusk)\
**Replies:** 0\
**Last updated:** [September 3, 2008, 5:08am UTC](https://www.ruby-forum.com/t/restful-controller-ajax-update/147557 "2008-09-03T05:08:46Z")

</div>

Hello, I’m trying to keep as restful as possible and have ran into a snag. Let me set up the scenario: I have two different types of AJAX requests to update my Chore model. Depending on which ajax action is making t…

---

## [Database default value problem](https://www.ruby-forum.com/t/database-default-value-problem/147554)

<div class="topic-metadata">

**Author:** [@pepe](https://www.ruby-forum.com/u/pepe)\
**Replies:** 0\
**Last updated:** [September 3, 2008, 3:16am UTC](https://www.ruby-forum.com/t/database-default-value-problem/147554 "2008-09-03T03:16:57Z")

</div>

Hello. I am running into an issue I would like to know if there is a solution for. I am running Ruby version 1.8.6 and Rails 1.2.3. My database is Oracle (10g) and I have one field defined as: MY\_FIELD NUMBER(1,0) DE…

---

## [Production trouble](https://www.ruby-forum.com/t/production-trouble/147454)

<div class="topic-metadata">

**Author:** [@surge](https://www.ruby-forum.com/u/surge)\
**Replies:** 10\
**Last updated:** [September 3, 2008, 2:55am UTC](https://www.ruby-forum.com/t/production-trouble/147454 "2008-09-03T02:55:19Z")

</div>

Hello everybody, I must say that putting rails in production has been a rather frustrating experience. It maybe just me of course… At first I simulated the deployment process on my home computer. I wrote up deploy.rb…

---

## [Difference between two dates](https://www.ruby-forum.com/t/difference-between-two-dates/84148)

<div class="topic-metadata">

**Author:** [@johnpetterson](https://www.ruby-forum.com/u/johnpetterson)\
**Replies:** 5\
**Last updated:** [September 3, 2008, 2:48am UTC](https://www.ruby-forum.com/t/difference-between-two-dates/84148 "2008-09-03T02:48:53Z")

</div>

I am trying to subtract on date from the other to find how many days have passed. I want to know what I need to do to determine date\_sent = 2007-01-01 date\_now = Date.today I want to be able to subtract the date\_sen…

---

## [302 Found, but no redirect](https://www.ruby-forum.com/t/302-found-but-no-redirect/147550)

<div class="topic-metadata">

**Author:** [@banry](https://www.ruby-forum.com/u/banry)\
**Replies:** 0\
**Last updated:** [September 3, 2008, 2:04am UTC](https://www.ruby-forum.com/t/302-found-but-no-redirect/147550 "2008-09-03T02:04:56Z")

</div>

I’m getting an Error 500 Page when ever my system should be redirecting the user to the login page. the tail of the log reads: Processing MembersController#index (for 98.226.178.204 at 2008-09-02 18:02:30) \[GET\] Ses…

---

## [Ruby on Rails Developer - available](https://www.ruby-forum.com/t/ruby-on-rails-developer-available/147549)

<div class="topic-metadata">

**Author:** [@billchalam](https://www.ruby-forum.com/u/billchalam)\
**Replies:** 0\
**Last updated:** [September 3, 2008, 2:00am UTC](https://www.ruby-forum.com/t/ruby-on-rails-developer-available/147549 "2008-09-03T02:00:21Z")

</div>

Hi All, Let me know if there are any ruby on rails opportunity coming your way. Summary: „X Around 5 years of software development experience involving Object Oriented Programming, Web-based technologies. „X Full…

---

## [Failsafe error in rails 2.1 RC1 - ip spoofing](https://www.ruby-forum.com/t/failsafe-error-in-rails-2-1-rc1-ip-spoofing/139155)

<div class="topic-metadata">

**Author:** [@Sean\_OSHara](https://www.ruby-forum.com/u/Sean_OSHara)\
**Replies:** 6\
**Last updated:** [September 3, 2008, 1:12am UTC](https://www.ruby-forum.com/t/failsafe-error-in-rails-2-1-rc1-ip-spoofing/139155 "2008-09-03T01:12:33Z")

</div>

Hi All, I am getting the following errors in my app using RC 1 of Rails 2.1. These errors only appear to be happening for search engine bots/crawlers, but since my site needs to be indexed, I would like to get rid of…

---

## [Installation problem on fedora 8](https://www.ruby-forum.com/t/installation-problem-on-fedora-8/147539)

<div class="topic-metadata">

**Author:** [@adolf](https://www.ruby-forum.com/u/adolf)\
**Replies:** 8\
**Last updated:** [September 3, 2008, 1:11am UTC](https://www.ruby-forum.com/t/installation-problem-on-fedora-8/147539 "2008-09-03T01:11:14Z")

</div>

hi, am newbie to ruby on rails in linux,am trying to setup ruby on rails environment on fedora 8. i started by executing this command yum -y install ruby ruby-devel ruby-irb ruby-libs ruby-rdoc ruby-ri rubygems thi…

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

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