# Rails

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

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

---

## [\[JOBS\] Ruby help needed for misc. issues](https://www.ruby-forum.com/t/jobs-ruby-help-needed-for-misc-issues/189231)

<div class="topic-metadata">

**Author:** [@AdamPHX](https://www.ruby-forum.com/u/AdamPHX)\
**Replies:** 2\
**Last updated:** [May 27, 2010, 9:10pm UTC](https://www.ruby-forum.com/t/jobs-ruby-help-needed-for-misc-issues/189231 "2010-05-27T21:10:01Z")

</div>

To the Ruby community: We are a funded startup that wants to add the following features to our existing Rails project: A permalink plugin to make sure our post URLs are SEO optimized, Resolving any IE 8 compatibility…

---

## [Can I get meaningful page links using will\_paginate?](https://www.ruby-forum.com/t/can-i-get-meaningful-page-links-using-will-paginate/189197)

<div class="topic-metadata">

**Author:** [@RonPhillips](https://www.ruby-forum.com/u/RonPhillips)\
**Replies:** 7\
**Last updated:** [May 27, 2010, 8:56pm UTC](https://www.ruby-forum.com/t/can-i-get-meaningful-page-links-using-will-paginate/189197 "2010-05-27T20:56:00Z")

</div>

Let’s say you search for “dengue fever.” Your search returns 137 pages, ordered by date, but labeled with a page number. You decide to look at articles written just before and after the Haitian earthquake (Jan 12, 201…

---

## [Accessing session data from a background worker](https://www.ruby-forum.com/t/accessing-session-data-from-a-background-worker/189119)

<div class="topic-metadata">

**Author:** [@PierreW](https://www.ruby-forum.com/u/PierreW)\
**Replies:** 6\
**Last updated:** [May 27, 2010, 8:53pm UTC](https://www.ruby-forum.com/t/accessing-session-data-from-a-background-worker/189119 "2010-05-27T20:53:36Z")

</div>

Hi guys, I have been trying to access session data (I am using the ActiveRecordStore option) from a background process (Workling in my case - but I suspect it should be the same for others). It seems to me it should …

---

## [\[JOBS\] SCEA San Diego](https://www.ruby-forum.com/t/jobs-scea-san-diego/189275)

<div class="topic-metadata">

**Author:** [@mekdigital](https://www.ruby-forum.com/u/mekdigital)\
**Replies:** 0\
**Last updated:** [May 27, 2010, 8:50pm UTC](https://www.ruby-forum.com/t/jobs-scea-san-diego/189275 "2010-05-27T20:50:40Z")

</div>

Are you interested in a Ruby on Rails position at Sony Computer Entertainment America LLC? Working here is really great, I promise! Position Overview: Support PlayStation Online Games by developing and supporting in …

---

## [Is using script/console in live production environment ok?](https://www.ruby-forum.com/t/is-using-script-console-in-live-production-environment-ok/189261)

<div class="topic-metadata">

**Author:** [@james](https://www.ruby-forum.com/u/james)\
**Replies:** 3\
**Last updated:** [May 27, 2010, 7:07pm UTC](https://www.ruby-forum.com/t/is-using-script-console-in-live-production-environment-ok/189261 "2010-05-27T19:07:36Z")

</div>

I need to make some minor record changes in the database on my live production site. I use Capistrano to deploy. I know I can activate script/console by entering my “/current” Capistrano directory and running: RAILS\_…

---

## [Url\_for , to\_param and translate routes](https://www.ruby-forum.com/t/url-for-to-param-and-translate-routes/188454)

<div class="topic-metadata">

**Author:** [@temesta](https://www.ruby-forum.com/u/temesta)\
**Replies:** 10\
**Last updated:** [May 27, 2010, 6:10pm UTC](https://www.ruby-forum.com/t/url-for-to-param-and-translate-routes/188454 "2010-05-27T18:10:58Z")

</div>

Hello, Let’s put it simple. The problem is that to\_param generates URLS according to the current language. Suppose my current locale is ‘nl’ and I’m currently viewing an article with this URL : http://cms/nl/article…

---

## [URGENT + production migrations](https://www.ruby-forum.com/t/urgent-production-migrations/189240)

<div class="topic-metadata">

**Author:** [@hemantborole](https://www.ruby-forum.com/u/hemantborole)\
**Replies:** 9\
**Last updated:** [May 27, 2010, 4:21pm UTC](https://www.ruby-forum.com/t/urgent-production-migrations/189240 "2010-05-27T16:21:55Z")

</div>

Champs, I am in a great need of you people. My migrations are not running on production database. I done some changes in production mode and then i ran rake db:migrate RAILS\_ENV=production / RAILS\_ENV=“production”. Bu…

---

## [Clarification on PayPal gateways!](https://www.ruby-forum.com/t/clarification-on-paypal-gateways/189256)

<div class="topic-metadata">

**Author:** [@sathish](https://www.ruby-forum.com/u/sathish)\
**Replies:** 0\
**Last updated:** [May 27, 2010, 4:10pm UTC](https://www.ruby-forum.com/t/clarification-on-paypal-gateways/189256 "2010-05-27T16:10:12Z")

</div>

Hi All, I need suggestions and helps from PayPal (PP) users and developers to clarify about PP gateways. We need to implement PP payment gateway for money transactions between two users in our site. We need to accep…

---

## [\[JOBS\] - Looking for Ruby on Rails professionals for Delhi, India](https://www.ruby-forum.com/t/jobs-looking-for-ruby-on-rails-professionals-for-delhi-india/189255)

<div class="topic-metadata">

**Author:** [@Indranil](https://www.ruby-forum.com/u/Indranil)\
**Replies:** 0\
**Last updated:** [May 27, 2010, 3:29pm UTC](https://www.ruby-forum.com/t/jobs-looking-for-ruby-on-rails-professionals-for-delhi-india/189255 "2010-05-27T15:29:13Z")

</div>

Hi, We are looking for strong LAMP/Ruby on Rails candidates for one of our multinational clients (a product company) who are looking to setup a development center in Delhi/NCR. Openings are for Technical Leads, Senio…

---

## [Rails 3 beta nested forms](https://www.ruby-forum.com/t/rails-3-beta-nested-forms/189248)

<div class="topic-metadata">

**Author:** [@AppleII717](https://www.ruby-forum.com/u/AppleII717)\
**Replies:** 1\
**Last updated:** [May 27, 2010, 2:08pm UTC](https://www.ruby-forum.com/t/rails-3-beta-nested-forms/189248 "2010-05-27T14:08:27Z")

</div>

Not sure if this the best place to look for rails 3.0 beta 3 help, but I’ll give it a try. I can’t seem to get nested forms to work in the beta - close but no workie! I used an approach similar to one I used in a 2.…

---

## [How to pass an Variable to an Partial?!?](https://www.ruby-forum.com/t/how-to-pass-an-variable-to-an-partial/189242)

<div class="topic-metadata">

**Author:** [@happysmiley](https://www.ruby-forum.com/u/happysmiley)\
**Replies:** 1\
**Last updated:** [May 27, 2010, 12:48pm UTC](https://www.ruby-forum.com/t/how-to-pass-an-variable-to-an-partial/189242 "2010-05-27T12:48:13Z")

</div>

Hello, I’m new in Rails and I’m Trying to implement a plattform were authorized people can apply Profiles to a special topic. The profil can be identified by the ID and the title in the data base. So in the view/pro…

---

## [Rails 2.3.8 and I18n](https://www.ruby-forum.com/t/rails-2-3-8-and-i18n/189200)

<div class="topic-metadata">

**Author:** [@LoSSSSc\_Guitaut](https://www.ruby-forum.com/u/LoSSSSc_Guitaut)\
**Replies:** 1\
**Last updated:** [May 27, 2010, 12:09pm UTC](https://www.ruby-forum.com/t/rails-2-3-8-and-i18n/189200 "2010-05-27T12:09:34Z")

</div>

Hi all! I’m having some troubles since I’m using rails 2.3.8 and XSS plugin. All data from I18n yaml files is now escaped! That’s not what I want, and it seems pretty logic that data from these files should be safe …

---

## [Success message when using button\_to\_remote](https://www.ruby-forum.com/t/success-message-when-using-button-to-remote/189233)

<div class="topic-metadata">

**Author:** [@drk](https://www.ruby-forum.com/u/drk)\
**Replies:** 1\
**Last updated:** [May 27, 2010, 10:00am UTC](https://www.ruby-forum.com/t/success-message-when-using-button-to-remote/189233 "2010-05-27T10:00:44Z")

</div>

Hii In a partial I used button\_to\_remote for deleting record. My record is deleted but message is not firing. \<%= button\_to\_remote “Delete”, :url =\> {:controller =\> “users” , :action =\> “deletegroup”, :group\_name=\>gr…

---

## [RJS suitable for doing interactivities within a webpage?](https://www.ruby-forum.com/t/rjs-suitable-for-doing-interactivities-within-a-webpage/189234)

<div class="topic-metadata">

**Author:** [@winterheat](https://www.ruby-forum.com/u/winterheat)\
**Replies:** 1\
**Last updated:** [May 27, 2010, 9:58am UTC](https://www.ruby-forum.com/t/rjs-suitable-for-doing-interactivities-within-a-webpage/189234 "2010-05-27T09:58:59Z")

</div>

RJS is very good for sending Javascript code back to the browser saying “Your AJAX is successful and by the way you can update the UI to signal to the user using the following Javascript I am going to send you.” How a…

---

## [\[job\] Ruby on Rails consultant needed in San Francisco, CA](https://www.ruby-forum.com/t/job-ruby-on-rails-consultant-needed-in-san-francisco-ca/189237)

<div class="topic-metadata">

**Author:** [@Charles\_Jo](https://www.ruby-forum.com/u/Charles_Jo)\
**Replies:** 0\
**Last updated:** [May 27, 2010, 8:14am UTC](https://www.ruby-forum.com/t/job-ruby-on-rails-consultant-needed-in-san-francisco-ca/189237 "2010-05-27T08:14:47Z")

</div>

Apply by email to: removed\_email\_address@domain.invalid Contact: Charles Jo Recruiter/Sourcer 408.668.4226 removed\_email\_address@domain.invalid http://www.linkedin.com/in/charlesjo Requirements: 8+ years softwar…

---

## [Two tables in one migration file?](https://www.ruby-forum.com/t/two-tables-in-one-migration-file/189224)

<div class="topic-metadata">

**Author:** [@nirosh](https://www.ruby-forum.com/u/nirosh)\
**Replies:** 1\
**Last updated:** [May 27, 2010, 6:11am UTC](https://www.ruby-forum.com/t/two-tables-in-one-migration-file/189224 "2010-05-27T06:11:02Z")

</div>

i already have 10\_create\_comments migration file. that file contains create\_table :comments do |t| t.column :title, :text t.column :foto\_id, :integer t.column :user\_id, :integer t.column :created\_at, …

---

## [Variant of periodically\_call\_remote](https://www.ruby-forum.com/t/variant-of-periodically-call-remote/189230)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 0\
**Last updated:** [May 27, 2010, 5:27am UTC](https://www.ruby-forum.com/t/variant-of-periodically-call-remote/189230 "2010-05-27T05:27:56Z")

</div>

Does a variant of periodically\_call\_remote exist in which (a) The url is invoked now (instead of waiting first and then firing off the request), and (b) will only fire again once the previous request has successfully …

---

## [OSS project for hyperlocal information](https://www.ruby-forum.com/t/oss-project-for-hyperlocal-information/189226)

<div class="topic-metadata">

**Author:** [@AdamPHX](https://www.ruby-forum.com/u/AdamPHX)\
**Replies:** 0\
**Last updated:** [May 27, 2010, 4:46am UTC](https://www.ruby-forum.com/t/oss-project-for-hyperlocal-information/189226 "2010-05-27T04:46:26Z")

</div>

To the Ruby community: CityCircles builds information tools for hyperlocal communities to share information. Our first implementation is a platform for the light rail/mass transit community in Phoenix, Arizona, to sha…

---

## [Anyone has experience with railsplayground.com hosting?](https://www.ruby-forum.com/t/anyone-has-experience-with-railsplayground-com-hosting/57339)

<div class="topic-metadata">

**Author:** [@anabia](https://www.ruby-forum.com/u/anabia)\
**Replies:** 10\
**Last updated:** [May 27, 2010, 3:15am UTC](https://www.ruby-forum.com/t/anyone-has-experience-with-railsplayground-com-hosting/57339 "2010-05-27T03:15:25Z")

</div>

Im ready to start hosting and deploying some of my rails apps, im guessing if someone are using railsplayground.com shared hosting plan, right now im paying USD $35 for a half of disk space and transfer, with no rails…

---

## [ActionMailer + Gmail = Timeout::Error](https://www.ruby-forum.com/t/actionmailer-gmail-timeout-error/189221)

<div class="topic-metadata">

**Author:** [@brianp](https://www.ruby-forum.com/u/brianp)\
**Replies:** 2\
**Last updated:** [May 27, 2010, 3:03am UTC](https://www.ruby-forum.com/t/actionmailer-gmail-timeout-error/189221 "2010-05-27T03:03:26Z")

</div>

So in my local dev environment everything works fine. Rails 2.3.5, Ruby 1.8.6. and require the smtp\_tls plugin to send mail. In production I have Ruby 1.8.7 So the plugin is counter productive (will error). Without th…

---

## [Controlling or disabling cols, size etc. for text fields and text areas?](https://www.ruby-forum.com/t/controlling-or-disabling-cols-size-etc-for-text-fields-and-text-areas/189134)

<div class="topic-metadata">

**Author:** [@William\_KSHatch\_Jr](https://www.ruby-forum.com/u/William_KSHatch_Jr)\
**Replies:** 3\
**Last updated:** [May 26, 2010, 11:34pm UTC](https://www.ruby-forum.com/t/controlling-or-disabling-cols-size-etc-for-text-fields-and-text-areas/189134 "2010-05-26T23:34:34Z")

</div>

Hi, I’m new to rails and have hit a minor snag that google isn’t helping with. Basically, I can’t get text fields or text areas to not include size and cols attributes in the tags generated when using a form\_for … f.t…

---

## [Rake:test loses working directory in 0.8.7?](https://www.ruby-forum.com/t/rake-test-loses-working-directory-in-0-8-7/189213)

<div class="topic-metadata">

**Author:** [@kuma](https://www.ruby-forum.com/u/kuma)\
**Replies:** 1\
**Last updated:** [May 26, 2010, 10:35pm UTC](https://www.ruby-forum.com/t/rake-test-loses-working-directory-in-0-8-7/189213 "2010-05-26T22:35:52Z")

</div>

Hi all, I’m having a problem running tests with rake 0.8.7 on Windows. My ‘rake:test’ can’t find the test files, e.g. ‘/test/unit/xxx\_test.rb’. I traced the problem to Rake::TestTask, where it forks a new ruby proce…

---

## [Understanding Form\_for](https://www.ruby-forum.com/t/understanding-form-for/189207)

<div class="topic-metadata">

**Author:** [@anon\_comp](https://www.ruby-forum.com/u/anon_comp)\
**Replies:** 6\
**Last updated:** [May 26, 2010, 10:31pm UTC](https://www.ruby-forum.com/t/understanding-form-for/189207 "2010-05-26T22:31:48Z")

</div>

OK, so I’m an absolute noob at Ruby on Rails. I’ve read a lot of information I can find about form\_for and most of them use form\_for to create new items that get saved into the database and can be viewed later to edit…

---

## [Does Rails 3 eliminate URL helpers for 'show'?](https://www.ruby-forum.com/t/does-rails-3-eliminate-url-helpers-for-show/189209)

<div class="topic-metadata">

**Author:** [@Ryan\_Michael](https://www.ruby-forum.com/u/Ryan_Michael)\
**Replies:** 1\
**Last updated:** [May 26, 2010, 8:21pm UTC](https://www.ruby-forum.com/t/does-rails-3-eliminate-url-helpers-for-show/189209 "2010-05-26T20:21:50Z")

</div>

I don’t seem to have the usual \*\_url, \*\_path helpers for the show, update, or destroy actions on resourced routes. If I make a new rails app and add a route resources :random, I get url helpers for new, edit, index, …

---

## [Rails 3 is slooowww](https://www.ruby-forum.com/t/rails-3-is-slooowww/189208)

<div class="topic-metadata">

**Author:** [@anywho](https://www.ruby-forum.com/u/anywho)\
**Replies:** 0\
**Last updated:** [May 26, 2010, 7:56pm UTC](https://www.ruby-forum.com/t/rails-3-is-slooowww/189208 "2010-05-26T19:56:40Z")

</div>

Why is rails3 so slow to initialize? I am running 1.9.1 which I know is known to give some rails3 issues. Can that be the reason? Here’s a very very basic test. $ rvm 1.9.1@rails2 $ rails new\_rails2 $ cd new\_rails2 …

---

## [Hash\_for\_\*\_url documentation](https://www.ruby-forum.com/t/hash-for-url-documentation/189198)

<div class="topic-metadata">

**Author:** [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Replies:** 1\
**Last updated:** [May 26, 2010, 6:35pm UTC](https://www.ruby-forum.com/t/hash-for-url-documentation/189198 "2010-05-26T18:35:18Z")

</div>

Is there any documentation for hash\_for\_\*\_url arguments? What does this function do?

---

## [Http://api.rubyonrails.org/ not working!](https://www.ruby-forum.com/t/http-api-rubyonrails-org-not-working/186247)

<div class="topic-metadata">

**Author:** [@rorguy](https://www.ruby-forum.com/u/rorguy)\
**Replies:** 10\
**Last updated:** [May 26, 2010, 6:16pm UTC](https://www.ruby-forum.com/t/http-api-rubyonrails-org-not-working/186247 "2010-05-26T18:16:34Z")

</div>

Hi, Not sure if anyone else has looked at it, but I have been seeing this for about a week now. The link “Rails: Complete API” on Documentaion page on http://rubyonrails.org/documentation is not working. It fails wit…

---

## [Rails 3 + Rspec 2 + Remarkable](https://www.ruby-forum.com/t/rails-3-rspec-2-remarkable/187080)

<div class="topic-metadata">

**Author:** [@hosh](https://www.ruby-forum.com/u/hosh)\
**Replies:** 11\
**Last updated:** [May 26, 2010, 3:33pm UTC](https://www.ruby-forum.com/t/rails-3-rspec-2-remarkable/187080 "2010-05-26T15:33:49Z")

</div>

Hi guys, I’m working on getting Remarkable working with Rails 3 / Rspec 2. I don’t know how many users care about it, but I figured I’d give users a chance to tell me. The way it looks now, it won’t be backwards comp…

---

## [Passing 'this' keyword as a parameter in page.call](https://www.ruby-forum.com/t/passing-this-keyword-as-a-parameter-in-page-call/189166)

<div class="topic-metadata">

**Author:** [@railslist](https://www.ruby-forum.com/u/railslist)\
**Replies:** 2\
**Last updated:** [May 26, 2010, 3:22pm UTC](https://www.ruby-forum.com/t/passing-this-keyword-as-a-parameter-in-page-call/189166 "2010-05-26T15:22:30Z")

</div>

Hi Everybody, I am having a tough time in figuring out how to pass ‘this’ java script keyword as a parameter to a java script function in page.call. For instance, in my RJS template I want to do this: page.call “myFu…

---

## [RoR Opening Command Prompt?](https://www.ruby-forum.com/t/ror-opening-command-prompt/189169)

<div class="topic-metadata">

**Author:** [@anon\_comp](https://www.ruby-forum.com/u/anon_comp)\
**Replies:** 5\
**Last updated:** [May 26, 2010, 2:31pm UTC](https://www.ruby-forum.com/t/ror-opening-command-prompt/189169 "2010-05-26T14:31:10Z")

</div>

Is there a code for Ruby on Rails to open Command Prompt, input a line, and execute it? If not, is there something similar or an alternative I can use? Thanks, anon\_comp

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

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