# Rails

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

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

---

## [Ruby Developers needed in SF](https://www.ruby-forum.com/t/ruby-developers-needed-in-sf/188043)

<div class="topic-metadata">

**Author:** [@MBTIM](https://www.ruby-forum.com/u/MBTIM)\
**Replies:** 0\
**Last updated:** [May 4, 2010, 7:29pm UTC](https://www.ruby-forum.com/t/ruby-developers-needed-in-sf/188043 "2010-05-04T19:29:22Z")

</div>

Hi Guys, If you’re looking to get in on the ground floor of a company with awesome technology, a solid team, and one of the fastest growing companies, hit me up. Tim

---

## [\[ANN\] How to Test Web Services (tip: Don't just hit the danged wire!)](https://www.ruby-forum.com/t/ann-how-to-test-web-services-tip-dont-just-hit-the-danged-wire/188041)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 0\
**Last updated:** [May 4, 2010, 6:27pm UTC](https://www.ruby-forum.com/t/ann-how-to-test-web-services-tip-dont-just-hit-the-danged-wire/188041 "2010-05-04T18:27:19Z")

</div>

This post illustrates mock objects, and other good techniques, using active-merchant as its example code: Radar – O’Reilly – Phlip http://zeekland.zeroplayer.com/Hat\_Trick/2

---

## [Ubuntu Linux Editor / Prettiefier](https://www.ruby-forum.com/t/ubuntu-linux-editor-prettiefier/187191)

<div class="topic-metadata">

**Author:** [@RVince](https://www.ruby-forum.com/u/RVince)\
**Replies:** 25\
**Last updated:** [May 4, 2010, 4:53pm UTC](https://www.ruby-forum.com/t/ubuntu-linux-editor-prettiefier/187191 "2010-05-04T16:53:03Z")

</div>

Anyone aware of an editor I can use on Ubuntu that will do RoR syntax text coloring and a code prettiefier I can use under Linux for RoR code? Thanks R.Vince

---

## [How to access serialized attributes in my views?](https://www.ruby-forum.com/t/how-to-access-serialized-attributes-in-my-views/187973)

<div class="topic-metadata">

**Author:** [@Lille](https://www.ruby-forum.com/u/Lille)\
**Replies:** 1\
**Last updated:** [May 4, 2010, 4:37pm UTC](https://www.ruby-forum.com/t/how-to-access-serialized-attributes-in-my-views/187973 "2010-05-04T16:37:50Z")

</div>

Hi, I have a serialized attribute in a model: serialize :some\_array, Array (I’ve unit tested this attribute and it works just like an Array should.) Now, how do I supply my some\_array attribute to my views so t…

---

## [Help: Rephrasing an English statement into questions](https://www.ruby-forum.com/t/help-rephrasing-an-english-statement-into-questions/188017)

<div class="topic-metadata">

**Author:** [@JTJTJT](https://www.ruby-forum.com/u/JTJTJT)\
**Replies:** 1\
**Last updated:** [May 4, 2010, 3:36pm UTC](https://www.ruby-forum.com/t/help-rephrasing-an-english-statement-into-questions/188017 "2010-05-04T15:36:21Z")

</div>

I need to write a program that will rephrase an English statement into a question as many different ways as possible. Which libraries will be good for creating a simple version of that? Examples will be nice too. Tha…

---

## [Nested Forms with belongs\_to association](https://www.ruby-forum.com/t/nested-forms-with-belongs-to-association/187807)

<div class="topic-metadata">

**Author:** [@sereno](https://www.ruby-forum.com/u/sereno)\
**Replies:** 3\
**Last updated:** [May 4, 2010, 3:35pm UTC](https://www.ruby-forum.com/t/nested-forms-with-belongs-to-association/187807 "2010-05-04T15:35:10Z")

</div>

Hi all, I have a relationship in this form: A person belongs to an address and a address can have many persons like below: class Person \< ActiveRecord::Base belongs\_to :address end class Address \< ActiveRecord::Bas…

---

## [Build a website in japanese language](https://www.ruby-forum.com/t/build-a-website-in-japanese-language/188028)

<div class="topic-metadata">

**Author:** [@preethi](https://www.ruby-forum.com/u/preethi)\
**Replies:** 1\
**Last updated:** [May 4, 2010, 3:18pm UTC](https://www.ruby-forum.com/t/build-a-website-in-japanese-language/188028 "2010-05-04T15:18:47Z")

</div>

Hi, I’m newbie to the concept of internationalization, so i may sound funny. I have a requirement of building a website which teaches japanese(like fill in the blanks, choose the best answer, etc,etc). There will be …

---

## [Having trouble with Validatable](https://www.ruby-forum.com/t/having-trouble-with-validatable/187951)

<div class="topic-metadata">

**Author:** [@adistarmid](https://www.ruby-forum.com/u/adistarmid)\
**Replies:** 3\
**Last updated:** [May 4, 2010, 12:57pm UTC](https://www.ruby-forum.com/t/having-trouble-with-validatable/187951 "2010-05-04T12:57:08Z")

</div>

I need to use the level option for my app, so I did ‘gem install validatable’ Next I got an error when it tried to run, so after some searching, 'require ‘validatable’ in environment.rb Now it says ‘Unknown key(s): l…

---

## [Db:migrate do not run correctly](https://www.ruby-forum.com/t/db-migrate-do-not-run-correctly/188023)

<div class="topic-metadata">

**Author:** [@ziburudebian](https://www.ruby-forum.com/u/ziburudebian)\
**Replies:** 0\
**Last updated:** [May 4, 2010, 12:01pm UTC](https://www.ruby-forum.com/t/db-migrate-do-not-run-correctly/188023 "2010-05-04T12:01:06Z")

</div>

Hi, When i run this command i have an error : rake db:migrate --trace rake aborted! NoMethodError: undefined method \`ord’ for 0:Fixnum: SET NAMES ‘utf8’ see the log in attached file. my database.yml file is here …

---

## [Mongrel issue dev vs. prod](https://www.ruby-forum.com/t/mongrel-issue-dev-vs-prod/188003)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 1\
**Last updated:** [May 4, 2010, 10:34am UTC](https://www.ruby-forum.com/t/mongrel-issue-dev-vs-prod/188003 "2010-05-04T10:34:53Z")

</div>

I can start this app in dev mode fine but it blows up when I do -e production. Here is what I get from the brief output in the cli: No idea what is going on and why it would do that in prod mode. F:/BACKUP/Backup/r…

---

## [Action web services](https://www.ruby-forum.com/t/action-web-services/188016)

<div class="topic-metadata">

**Author:** [@purush](https://www.ruby-forum.com/u/purush)\
**Replies:** 0\
**Last updated:** [May 4, 2010, 10:20am UTC](https://www.ruby-forum.com/t/action-web-services/188016 "2010-05-04T10:20:58Z")

</div>

Hi All, I am new to ruby web services. when i created a web service using the ruby script/server web\_service item. The service files are created and added line config.gem ‘datanoise-actionwebservice’, :lib =\> ‘action…

---

## [Upgraing rails 1.2.5 to 2.3.5](https://www.ruby-forum.com/t/upgraing-rails-1-2-5-to-2-3-5/188014)

<div class="topic-metadata">

**Author:** [@sathisht](https://www.ruby-forum.com/u/sathisht)\
**Replies:** 0\
**Last updated:** [May 4, 2010, 8:16am UTC](https://www.ruby-forum.com/t/upgraing-rails-1-2-5-to-2-3-5/188014 "2010-05-04T08:16:11Z")

</div>

while upgrading rails 1.2.5 to 2.3.5 i am getting missing template error…after i changing .rhtml to .html.erb

---

## [Rendering images dynamically](https://www.ruby-forum.com/t/rendering-images-dynamically/187982)

<div class="topic-metadata">

**Author:** [@candor](https://www.ruby-forum.com/u/candor)\
**Replies:** 7\
**Last updated:** [May 4, 2010, 6:41am UTC](https://www.ruby-forum.com/t/rendering-images-dynamically/187982 "2010-05-04T06:41:22Z")

</div>

Hi, I have a rails application where I respond to a request by fetching image urls from various web api calls and need to display them as they come available. I am able to display all the images once I get them all, …

---

## [How-to display an image living outside the public directory](https://www.ruby-forum.com/t/how-to-display-an-image-living-outside-the-public-directory/187990)

<div class="topic-metadata">

**Author:** [@bill\_walton](https://www.ruby-forum.com/u/bill_walton)\
**Replies:** 3\
**Last updated:** [May 4, 2010, 5:35am UTC](https://www.ruby-forum.com/t/how-to-display-an-image-living-outside-the-public-directory/187990 "2010-05-04T05:35:49Z")

</div>

I’m trying to display an image (chart) that lives outside the public directory in RAILS\_ROOT/private. The chart contains confidential information and so can’t live in /public or any sub-directories of /public. The ch…

---

## [Select tag with unique values from db](https://www.ruby-forum.com/t/select-tag-with-unique-values-from-db/188008)

<div class="topic-metadata">

**Author:** [@krismartin](https://www.ruby-forum.com/u/krismartin)\
**Replies:** 0\
**Last updated:** [May 4, 2010, 2:31am UTC](https://www.ruby-forum.com/t/select-tag-with-unique-values-from-db/188008 "2010-05-04T02:31:51Z")

</div>

Hi. I just want to ask some help regarding my simple project. i’m a rails newbie and right now, quite stuck with this. I have this select\_tag in my rhtml… \<%= select\_tag ‘search\[outcome\]’, options\_for\_select(\["", “qp1…

---

## [Helper module not included on subsequent requests form engine gem in development from passenger](https://www.ruby-forum.com/t/helper-module-not-included-on-subsequent-requests-form-engine-gem-in-development-from-passenger/188007)

<div class="topic-metadata">

**Author:** [@Walter\_McGinnis](https://www.ruby-forum.com/u/Walter_McGinnis)\
**Replies:** 0\
**Last updated:** [May 4, 2010, 1:21am UTC](https://www.ruby-forum.com/t/helper-module-not-included-on-subsequent-requests-form-engine-gem-in-development-from-passenger/188007 "2010-05-04T01:21:51Z")

</div>

Hi, I’m working on a Rails 2.3.5 based gem that acts as an “add-on” for an existing application. It basically pulls in functionality from another more generic gem and sets up the application to use it. In its rails/…

---

## [Link\_to delete action](https://www.ruby-forum.com/t/link-to-delete-action/187614)

<div class="topic-metadata">

**Author:** [@gregm](https://www.ruby-forum.com/u/gregm)\
**Replies:** 1\
**Last updated:** [May 4, 2010, 1:08am UTC](https://www.ruby-forum.com/t/link-to-delete-action/187614 "2010-05-04T01:08:21Z")

</div>

Hi, I am trying to generate a link to delete a relationship, so I’ve done the code bellow. THis is the full code, the part for deleting the relationship is at the bottom of the code. I am using a restful controller \<…

---

## [Render\_to\_string problem](https://www.ruby-forum.com/t/render-to-string-problem/187852)

<div class="topic-metadata">

**Author:** [@Abhishek\_shukla](https://www.ruby-forum.com/u/Abhishek_shukla)\
**Replies:** 1\
**Last updated:** [May 4, 2010, 1:01am UTC](https://www.ruby-forum.com/t/render-to-string-problem/187852 "2010-05-04T01:01:23Z")

</div>

i have a scenario where a jquery is receiving a response in the string and which content html component like “\<div id=“test”\>test” ideally in a view it should display only “test” but it displaying entire string test …

---

## [How to read config on rails?](https://www.ruby-forum.com/t/how-to-read-config-on-rails/187998)

<div class="topic-metadata">

**Author:** [@anaconda\_wly](https://www.ruby-forum.com/u/anaconda_wly)\
**Replies:** 0\
**Last updated:** [May 3, 2010, 11:11pm UTC](https://www.ruby-forum.com/t/how-to-read-config-on-rails/187998 "2010-05-03T23:11:10Z")

</div>

How to set and read config settings on rails? For example: a path to be get by a variable.

---

## [Install ing rails](https://www.ruby-forum.com/t/install-ing-rails/187997)

<div class="topic-metadata">

**Author:** [@dannypotta](https://www.ruby-forum.com/u/dannypotta)\
**Replies:** 0\
**Last updated:** [May 3, 2010, 11:06pm UTC](https://www.ruby-forum.com/t/install-ing-rails/187997 "2010-05-03T23:06:34Z")

</div>

Hi all, I’m having trouble installing rails onto my machine . i have a Solaris 10 x86 box, ruby version 1.8.6 gem version 1.2.0. when I try to install rails using gems with the command line: gem install rails It thr…

---

## [Integration with two rails applications](https://www.ruby-forum.com/t/integration-with-two-rails-applications/187996)

<div class="topic-metadata">

**Author:** [@di3go](https://www.ruby-forum.com/u/di3go)\
**Replies:** 0\
**Last updated:** [May 3, 2010, 10:11pm UTC](https://www.ruby-forum.com/t/integration-with-two-rails-applications/187996 "2010-05-03T22:11:21Z")

</div>

Ive build a academic application where users can open tickets, something like a help desk. I want this tickets to be opened in Redmine, when the tickets get updated on Redmine, update on my software too, when the user…

---

## [Nested Form - Not Posting... HELP!?!?!](https://www.ruby-forum.com/t/nested-form-not-posting-help/187994)

<div class="topic-metadata">

**Author:** [@KTKTKT](https://www.ruby-forum.com/u/KTKTKT)\
**Replies:** 0\
**Last updated:** [May 3, 2010, 10:02pm UTC](https://www.ruby-forum.com/t/nested-form-not-posting-help/187994 "2010-05-03T22:02:16Z")

</div>

I have a nested form for survey responses, but the form data is not being posted to the table; I get no errors, just null values for the data from params (‘question\_id’, ‘answer\_id’ and ‘note)’. Please help!!! And th…

---

## [Database.yml: encoding: utf8 does not work](https://www.ruby-forum.com/t/database-yml-encoding-utf8-does-not-work/90799)

<div class="topic-metadata">

**Author:** [@josh](https://www.ruby-forum.com/u/josh)\
**Replies:** 7\
**Last updated:** [May 3, 2010, 10:02pm UTC](https://www.ruby-forum.com/t/database-yml-encoding-utf8-does-not-work/90799 "2010-05-03T22:02:16Z")

</div>

Hi all According to the Agile 2nd Ed book I added the line encoding: utf8 to my database.yml connections. But now when running rake I get plenty of errors: Character set ‘utf-8’ is not a compiled character set and is…

---

## [Duplicate inserts with field\_for and has\_many :through](https://www.ruby-forum.com/t/duplicate-inserts-with-field-for-and-has-many-through/187993)

<div class="topic-metadata">

**Author:** [@oreng](https://www.ruby-forum.com/u/oreng)\
**Replies:** 0\
**Last updated:** [May 3, 2010, 9:53pm UTC](https://www.ruby-forum.com/t/duplicate-inserts-with-field-for-and-has-many-through/187993 "2010-05-03T21:53:29Z")

</div>

I see 2 inserts of KeyValue rows on TranslationValue#create action (and I should only have one). it inserts identical values. Here are my models, the edit template, the create action and the log: models: class Transl…

---

## [Mysql adapter & 2 statments](https://www.ruby-forum.com/t/mysql-adapter-2-statments/187987)

<div class="topic-metadata">

**Author:** [@briseis](https://www.ruby-forum.com/u/briseis)\
**Replies:** 1\
**Last updated:** [May 3, 2010, 7:45pm UTC](https://www.ruby-forum.com/t/mysql-adapter-2-statments/187987 "2010-05-03T19:45:25Z")

</div>

Hi, I have an error with mysql adapter when where is two statment in the same sql execution. I don’t have this error with postgres adapter. If I perform, on the console, this “stupide” code : db = ctiveRecord::Base…

---

## [Logger with backgrounDrb](https://www.ruby-forum.com/t/logger-with-backgroundrb/187984)

<div class="topic-metadata">

**Author:** [@Jonhy\_P](https://www.ruby-forum.com/u/Jonhy_P)\
**Replies:** 0\
**Last updated:** [May 3, 2010, 7:04pm UTC](https://www.ruby-forum.com/t/logger-with-backgroundrb/187984 "2010-05-03T19:04:53Z")

</div>

Hello, I have a backgrounDrb worker calling a ActiveRecord object, ex: worker: def process\_campaign Campaign.process end campaign.rb: Campaign \< ActiveRecord::Base … … def self.process logger.info(“Start proce…

---

## [Netbeans error?](https://www.ruby-forum.com/t/netbeans-error/187983)

<div class="topic-metadata">

**Author:** [@slindsey3000](https://www.ruby-forum.com/u/slindsey3000)\
**Replies:** 0\
**Last updated:** [May 3, 2010, 7:03pm UTC](https://www.ruby-forum.com/t/netbeans-error/187983 "2010-05-03T19:03:07Z")

</div>

History… before it went to heck… I have been working a project in Netbeans for a month. I did a gem update outside of Netbeans while I was installing ImageMagick and RMagick… I also had to remove one verson of ImageM…

---

## [Need Help on "Virtual Timer Expired" issue](https://www.ruby-forum.com/t/need-help-on-virtual-timer-expired-issue/187961)

<div class="topic-metadata">

**Author:** [@v4\_forums](https://www.ruby-forum.com/u/v4_forums)\
**Replies:** 1\
**Last updated:** [May 3, 2010, 6:12pm UTC](https://www.ruby-forum.com/t/need-help-on-virtual-timer-expired-issue/187961 "2010-05-03T18:12:46Z")

</div>

Hi Everyone, I am new to RoR and in the past couple of years, I was mostly involved in Java/J2EE programming. I’ve just started learning ruby and rails from the last few days. Programming in Ruby on Rails is fun, th…

---

## [How to judge whether SSL has been applied?](https://www.ruby-forum.com/t/how-to-judge-whether-ssl-has-been-applied/187980)

<div class="topic-metadata">

**Author:** [@anaconda\_wly](https://www.ruby-forum.com/u/anaconda_wly)\
**Replies:** 0\
**Last updated:** [May 3, 2010, 6:08pm UTC](https://www.ruby-forum.com/t/how-to-judge-whether-ssl-has-been-applied/187980 "2010-05-03T18:08:45Z")

</div>

How to judge whether or not the SSL has been applied on the server IIS with ruby on rails?

---

## [Displaying Errors with Code 500 as 200 in Rails3](https://www.ruby-forum.com/t/displaying-errors-with-code-500-as-200-in-rails3/187976)

<div class="topic-metadata">

**Author:** [@k-b](https://www.ruby-forum.com/u/k-b)\
**Replies:** 0\
**Last updated:** [May 3, 2010, 4:50pm UTC](https://www.ruby-forum.com/t/displaying-errors-with-code-500-as-200-in-rails3/187976 "2010-05-03T16:50:51Z")

</div>

Hi! We make Facebook-Apps with Rails3. Facebook do not display Errormessages with a Errorcode 500. So we have to display what comes as error with Code 200. I am looking forward to modify an existing Gem called buddy …

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

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