# Rails

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

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

---

## [Search](https://www.ruby-forum.com/t/search/191478)

<div class="topic-metadata">

**Author:** [@anat42000](https://www.ruby-forum.com/u/anat42000)\
**Replies:** 0\
**Last updated:** [July 13, 2010, 10:58am UTC](https://www.ruby-forum.com/t/search/191478 "2010-07-13T10:58:26Z")

</div>

Hi, I’ve implemented two boxes of research which correspond to two columns of my table. This solution works well: In my index.html.erb: \<% form\_tag search\_intervenants\_path, :method =\> :get do %\> \<%= label\_tag “code…

---

## [Auto complete](https://www.ruby-forum.com/t/auto-complete/191436)

<div class="topic-metadata">

**Author:** [@Mlle](https://www.ruby-forum.com/u/Mlle)\
**Replies:** 1\
**Last updated:** [July 13, 2010, 10:14am UTC](https://www.ruby-forum.com/t/auto-complete/191436 "2010-07-13T10:14:53Z")

</div>

I saw an example of the auto complete field sending a ajax request in this format that allows a method in the controller to catch all auto complete ajax requests: ‘/rails/app/auto\_complete\_for/sample\_origin’ but when…

---

## [Cucumber & RSpec with Autotest](https://www.ruby-forum.com/t/cucumber-rspec-with-autotest/191359)

<div class="topic-metadata">

**Author:** [@brianp](https://www.ruby-forum.com/u/brianp)\
**Replies:** 1\
**Last updated:** [July 13, 2010, 9:18am UTC](https://www.ruby-forum.com/t/cucumber-rspec-with-autotest/191359 "2010-07-13T09:18:06Z")

</div>

Hey, Having an issue getting RSpec to work with Cucumber and autotest. If I run $ autotest just the rails tests run. If I run $ AUTOFEATURE=true autotest features and rails tests are run. If I run $ AUTOFEATURE=true …

---

## [Experienced Rails Developer, Seattle, WA](https://www.ruby-forum.com/t/experienced-rails-developer-seattle-wa/191473)

<div class="topic-metadata">

**Author:** [@redbasin32](https://www.ruby-forum.com/u/redbasin32)\
**Replies:** 0\
**Last updated:** [July 13, 2010, 9:03am UTC](https://www.ruby-forum.com/t/experienced-rails-developer-seattle-wa/191473 "2010-07-13T09:03:28Z")

</div>

removed\_email\_address@domain.invalid Experienced Rails Developer Over the last two years, Bonanzle has been amongst the fastest growing marketplaces in all of ecommerce. Since launching in late 2008, we have grown to…

---

## [Rails equivalent of Delphi SetRange()](https://www.ruby-forum.com/t/rails-equivalent-of-delphi-setrange/191378)

<div class="topic-metadata">

**Author:** [@markh](https://www.ruby-forum.com/u/markh)\
**Replies:** 17\
**Last updated:** [July 13, 2010, 5:48am UTC](https://www.ruby-forum.com/t/rails-equivalent-of-delphi-setrange/191378 "2010-07-13T05:48:33Z")

</div>

I am currently converting a large Delphi webbroker application to RoR. The Delphi application makes extensive use of client datasets and setrange which can limit the range of records returned to a client dataset in an…

---

## [NoMethodError in UsersController#show](https://www.ruby-forum.com/t/nomethoderror-in-userscontroller-show/191463)

<div class="topic-metadata">

**Author:** [@quangn](https://www.ruby-forum.com/u/quangn)\
**Replies:** 1\
**Last updated:** [July 13, 2010, 5:34am UTC](https://www.ruby-forum.com/t/nomethoderror-in-userscontroller-show/191463 "2010-07-13T05:34:06Z")

</div>

So I am getting the error NoMethodError in UsersController#show error undefined method \`feed’ for nil:NilClass {“authenticity\_token”=\>“zalkdfsjfksjd;lfs;lfksdkf/2tPzo=”, “login”=\>“session”, “password”=\>“admin”, “co…

---

## [Attachment\_fu not resizing](https://www.ruby-forum.com/t/attachment-fu-not-resizing/108150)

<div class="topic-metadata">

**Author:** [@emuen](https://www.ruby-forum.com/u/emuen)\
**Replies:** 2\
**Last updated:** [July 13, 2010, 5:03am UTC](https://www.ruby-forum.com/t/attachment-fu-not-resizing/108150 "2010-07-13T05:03:31Z")

</div>

Hi there. Im usig attachement\_fu for uploading my files to the site. I have followed in parts the guide at: http://khamsouk.souvanlasy.com/2007/5/1/ajax-file-uploads-in-rails-using-attachment\_fu-and-responds\_to\_parent …

---

## [\[JOBS\] Agile Rails job in Oceanside CA (w/plans to move to Orange County in the near future)](https://www.ruby-forum.com/t/jobs-agile-rails-job-in-oceanside-ca-w-plans-to-move-to-orange-county-in-the-near-future/191460)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 0\
**Last updated:** [July 13, 2010, 3:04am UTC](https://www.ruby-forum.com/t/jobs-agile-rails-job-in-oceanside-ca-w-plans-to-move-to-orange-county-in-the-near-future/191460 "2010-07-13T03:04:04Z")

</div>

You: Programmer Loves to code. Creating and building stuff excites you Knows OO Uncle Bob’s SOLID, the principles of design patterns rather than rubber stamped templates Appreciate elegance, to include Kent Beck’s r…

---

## [Moving to nested routes](https://www.ruby-forum.com/t/moving-to-nested-routes/191451)

<div class="topic-metadata">

**Author:** [@chewmanfoo](https://www.ruby-forum.com/u/chewmanfoo)\
**Replies:** 2\
**Last updated:** [July 13, 2010, 12:15am UTC](https://www.ruby-forum.com/t/moving-to-nested-routes/191451 "2010-07-13T00:15:55Z")

</div>

I have a lot of has\_many and has\_many :through relationships in an application with approx 100 models. I would like to move to nested routes, but I just wanted to be sure I understood the scope of the project. Essen…

---

## [JOBS - Senior Software Engineer](https://www.ruby-forum.com/t/jobs-senior-software-engineer/191442)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 2\
**Last updated:** [July 12, 2010, 11:04pm UTC](https://www.ruby-forum.com/t/jobs-senior-software-engineer/191442 "2010-07-12T23:04:40Z")

</div>

We are looking to hire a Senior Software Engineer to be part of a team building complex technology and software systems that will support our rapidly growing business. A strong background working with large scale syst…

---

## [JOBS - Senior Software Engineer (Austin, TX)](https://www.ruby-forum.com/t/jobs-senior-software-engineer-austin-tx/191449)

<div class="topic-metadata">

**Author:** [@matt](https://www.ruby-forum.com/u/matt)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 11:04pm UTC](https://www.ruby-forum.com/t/jobs-senior-software-engineer-austin-tx/191449 "2010-07-12T23:04:40Z")

</div>

We are looking to hire a Senior Software Engineer to be part of a team building complex technology and software systems that will support our rapidly growing business. A strong background working with large scale syst…

---

## [Routes fails? hmm](https://www.ruby-forum.com/t/routes-fails-hmm/191445)

<div class="topic-metadata">

**Author:** [@davidz101](https://www.ruby-forum.com/u/davidz101)\
**Replies:** 2\
**Last updated:** [July 12, 2010, 10:47pm UTC](https://www.ruby-forum.com/t/routes-fails-hmm/191445 "2010-07-12T22:47:06Z")

</div>

I’m getting: rate\_vendor\_hardware\_url failed to generate from {:vendor\_id=\>#\<Hardware id: 6, name: “this is the hardware name”, version: “this is the version”, ETC ETC What is usually wrong when i recieve “\_url faile…

---

## [Restful\_authentication: undefined method](https://www.ruby-forum.com/t/restful-authentication-undefined-method/191433)

<div class="topic-metadata">

**Author:** [@noloman](https://www.ruby-forum.com/u/noloman)\
**Replies:** 2\
**Last updated:** [July 12, 2010, 8:26pm UTC](https://www.ruby-forum.com/t/restful-authentication-undefined-method/191433 "2010-07-12T20:26:41Z")

</div>

Hey everybody, I’m very new with Ruby On Rails and I’m trying to set up a website with a simple login/register system using the restful\_authentication plugin. After having carefully followed the instructions, when try…

---

## [Null values](https://www.ruby-forum.com/t/null-values/191396)

<div class="topic-metadata">

**Author:** [@RubyonRails\_newbie](https://www.ruby-forum.com/u/RubyonRails_newbie)\
**Replies:** 7\
**Last updated:** [July 12, 2010, 8:03pm UTC](https://www.ruby-forum.com/t/null-values/191396 "2010-07-12T20:03:46Z")

</div>

i’m trying to add comments to a blog. I got it working, but i want to store the user too, so I added the user\_id to the blogcomments table… Since then, the page renders - but the comment is no longer stored. (the dat…

---

## [Rails 3 70% slower than Rails 2.3.5?](https://www.ruby-forum.com/t/rails-3-70-slower-than-rails-2-3-5/191427)

<div class="topic-metadata">

**Author:** [@sharkie](https://www.ruby-forum.com/u/sharkie)\
**Replies:** 6\
**Last updated:** [July 12, 2010, 6:32pm UTC](https://www.ruby-forum.com/t/rails-3-70-slower-than-rails-2-3-5/191427 "2010-07-12T18:32:08Z")

</div>

I have finished converting my live apps to Rails 3. I am using Ruby Enterprise 1.8.7 and Passenger 2.2.15 I go from 5.31 trans/sec to 3.05 trans/sec per AWS EC2 instance. $ siege -c 5 -t 1M http://localhost RAILS 2.3…

---

## [Use a route helper in a model (Rails 3)](https://www.ruby-forum.com/t/use-a-route-helper-in-a-model-rails-3/191437)

<div class="topic-metadata">

**Author:** [@Florent2](https://www.ruby-forum.com/u/Florent2)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 6:16pm UTC](https://www.ruby-forum.com/t/use-a-route-helper-in-a-model-rails-3/191437 "2010-07-12T18:16:35Z")

</div>

Hello, With Rails 3 is is possible to use a route helper in a model? eg article\_url. After a comment creation, I want to post it to Twitter from a model after\_create callback and I want to include the article URL in …

---

## [Exception is not raise with #t method on Rails 2.3.5](https://www.ruby-forum.com/t/exception-is-not-raise-with-t-method-on-rails-2-3-5/191424)

<div class="topic-metadata">

**Author:** [@MickaSSSSl](https://www.ruby-forum.com/u/MickaSSSSl)\
**Replies:** 3\
**Last updated:** [July 12, 2010, 5:36pm UTC](https://www.ruby-forum.com/t/exception-is-not-raise-with-t-method-on-rails-2-3-5/191424 "2010-07-12T17:36:46Z")

</div>

Hi folks, I have read some documentation about I18n and exceptions, but I need your help. My idea is to implement an exception when my functional test watch a missing translation like what I’m seeing in “Rails Inter…

---

## [Check pluralization](https://www.ruby-forum.com/t/check-pluralization/191426)

<div class="topic-metadata">

**Author:** [@davidz101](https://www.ruby-forum.com/u/davidz101)\
**Replies:** 2\
**Last updated:** [July 12, 2010, 4:40pm UTC](https://www.ruby-forum.com/t/check-pluralization/191426 "2010-07-12T16:40:58Z")

</div>

Is there a command you can write in the terminal that returns a plural version of a word that rails uses?

---

## [Named\_scope with dates](https://www.ruby-forum.com/t/named-scope-with-dates/191388)

<div class="topic-metadata">

**Author:** [@gregm](https://www.ruby-forum.com/u/gregm)\
**Replies:** 2\
**Last updated:** [July 12, 2010, 3:51pm UTC](https://www.ruby-forum.com/t/named-scope-with-dates/191388 "2010-07-12T15:51:22Z")

</div>

Hi, I want to create a named scope that returns all the line where date is in X number of days. This is how it looks named\_scope :in, lambda { |number| { :conditions =\> \["event\_date = ?", number.days.from\_now\] …

---

## [Testomg: doing def test\_blah or test "blah" do](https://www.ruby-forum.com/t/testomg-doing-def-test-blah-or-test-blah-do/191389)

<div class="topic-metadata">

**Author:** [@firecube](https://www.ruby-forum.com/u/firecube)\
**Replies:** 4\
**Last updated:** [July 12, 2010, 3:51pm UTC](https://www.ruby-forum.com/t/testomg-doing-def-test-blah-or-test-blah-do/191389 "2010-07-12T15:51:22Z")

</div>

Hey, I’m wondering about the distinction between writing test methods like def test\_something\_to\_test end and like test “something to test” do end It seems like there’s no difference. I did notice, however…

---

## [Email Testing with Cucumber and email-spec](https://www.ruby-forum.com/t/email-testing-with-cucumber-and-email-spec/191331)

<div class="topic-metadata">

**Author:** [@railslist](https://www.ruby-forum.com/u/railslist)\
**Replies:** 2\
**Last updated:** [July 12, 2010, 2:51pm UTC](https://www.ruby-forum.com/t/email-testing-with-cucumber-and-email-spec/191331 "2010-07-12T14:51:05Z")

</div>

Hello Friends! I have been trying to test email using Cucumber and Email-Spec. I have put this statement “require ‘email\_spec/cucumber’” in support/env.rb file and I am getting this error: “Using the default profile…

---

## [Using same user credentials across multiple connected apps](https://www.ruby-forum.com/t/using-same-user-credentials-across-multiple-connected-apps/166354)

<div class="topic-metadata">

**Author:** [@Sahil\_D](https://www.ruby-forum.com/u/Sahil_D)\
**Replies:** 10\
**Last updated:** [July 12, 2010, 2:44pm UTC](https://www.ruby-forum.com/t/using-same-user-credentials-across-multiple-connected-apps/166354 "2010-07-12T14:44:38Z")

</div>

Hi, I have a requirement in my project, where i need to create multiple apps that need to be integrated. One of the apps would be used for authentication that uses Authlogic. I need a single sign-on solution, so that…

---

## [Regarding ssl](https://www.ruby-forum.com/t/regarding-ssl/191415)

<div class="topic-metadata">

**Author:** [@hunt](https://www.ruby-forum.com/u/hunt)\
**Replies:** 2\
**Last updated:** [July 12, 2010, 1:56pm UTC](https://www.ruby-forum.com/t/regarding-ssl/191415 "2010-07-12T13:56:28Z")

</div>

I used ssl\_requirement plugins, for secured http requests. I have implemented the secured http but the problem is that when I click for non\_ssl action it also requests with HTTPS. suppose I used 2 actions to be secure…

---

## [Scaffold with no data?](https://www.ruby-forum.com/t/scaffold-with-no-data/191385)

<div class="topic-metadata">

**Author:** [@DrSney](https://www.ruby-forum.com/u/DrSney)\
**Replies:** 4\
**Last updated:** [July 12, 2010, 1:46pm UTC](https://www.ruby-forum.com/t/scaffold-with-no-data/191385 "2010-07-12T13:46:38Z")

</div>

Hello, please help me with one little error that I have here. I have created database structure, than generated scaffold for it (script/ generate scaffold Artist). But when I try to use it, all i have is this (db cont…

---

## [Remote\_form\_for javascript tag](https://www.ruby-forum.com/t/remote-form-for-javascript-tag/191418)

<div class="topic-metadata">

**Author:** [@neilbain](https://www.ruby-forum.com/u/neilbain)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 12:58pm UTC](https://www.ruby-forum.com/t/remote-form-for-javascript-tag/191418 "2010-07-12T12:58:38Z")

</div>

I have the following form which I want to refresh using javascript. \<% remote\_form\_for :comment, :url=\>story\_comments\_path(@story), :html =\> { :id =\> ‘comment\_form’ } do |form| %\> Make a comment: \<%= form.text\_field…

---

## [Complex association](https://www.ruby-forum.com/t/complex-association/191390)

<div class="topic-metadata">

**Author:** [@gregm](https://www.ruby-forum.com/u/gregm)\
**Replies:** 1\
**Last updated:** [July 12, 2010, 12:56pm UTC](https://www.ruby-forum.com/t/complex-association/191390 "2010-07-12T12:56:30Z")

</div>

Hello, I am working with 3 models: user, band, event. A user has many bands and a bands has many users. An event has one band, and a band has many events. the association I am trying to do is between users ands event…

---

## [Disabling 'show status' in activerecord because of overhead of spawning process](https://www.ruby-forum.com/t/disabling-show-status-in-activerecord-because-of-overhead-of-spawning-process/190747)

<div class="topic-metadata">

**Author:** [@luckydeepak](https://www.ruby-forum.com/u/luckydeepak)\
**Replies:** 1\
**Last updated:** [July 12, 2010, 11:37am UTC](https://www.ruby-forum.com/t/disabling-show-status-in-activerecord-because-of-overhead-of-spawning-process/190747 "2010-07-12T11:37:15Z")

</div>

hi, i have a app which has a spiky activity, there a large period of inactivity between request. With phusion-passenger after a period of inactivity the process is killed, and when the app is respawned the ‘show stat…

---

## [User.find() unavailable for module when accessed through an test](https://www.ruby-forum.com/t/user-find-unavailable-for-module-when-accessed-through-an-test/191410)

<div class="topic-metadata">

**Author:** [@martins](https://www.ruby-forum.com/u/martins)\
**Replies:** 1\
**Last updated:** [July 12, 2010, 9:00am UTC](https://www.ruby-forum.com/t/user-find-unavailable-for-module-when-accessed-through-an-test/191410 "2010-07-12T09:00:58Z")

</div>

Hi, The methods I´ve put in GenericMessageFunctions are available and working within the Rails app, but I can´t access them from my tests. Why isn´t User.find() available from the GenericMessageFunctions module when …

---

## [Bundler problems](https://www.ruby-forum.com/t/bundler-problems/191406)

<div class="topic-metadata">

**Author:** [@ct9a](https://www.ruby-forum.com/u/ct9a)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 8:21am UTC](https://www.ruby-forum.com/t/bundler-problems/191406 "2010-07-12T08:21:45Z")

</div>

hi there, I have a few issues with bundler. running “gem install bundler” in my project directory as a regular user is impossible due to permissions problem. I had to use sudo running “bundle install” in my proje…

---

## [Having problem with ckeditor rubygem](https://www.ruby-forum.com/t/having-problem-with-ckeditor-rubygem/191407)

<div class="topic-metadata">

**Author:** [@wickie](https://www.ruby-forum.com/u/wickie)\
**Replies:** 0\
**Last updated:** [July 12, 2010, 3:18am UTC](https://www.ruby-forum.com/t/having-problem-with-ckeditor-rubygem/191407 "2010-07-12T03:18:00Z")

</div>

I’ve installed the ckeditor gem. I’m running rails 2.8.3 and have followed the steps in the README file for the gem. Everything seems to run without error through the \<%= javascript\_include\_tag :ckeditor %\> - except t…

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

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