# Rails

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

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

---

## [Rating Plugin dilemma!](https://www.ruby-forum.com/t/rating-plugin-dilemma/164806)

<div class="topic-metadata">

**Author:** [@dharmdip](https://www.ruby-forum.com/u/dharmdip)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 8:19am UTC](https://www.ruby-forum.com/t/rating-plugin-dilemma/164806 "2009-04-06T08:19:50Z")

</div>

Which rating plugin is better to use ?

---

## [General ways to create a filterable search](https://www.ruby-forum.com/t/general-ways-to-create-a-filterable-search/164702)

<div class="topic-metadata">

**Author:** [@scudco](https://www.ruby-forum.com/u/scudco)\
**Replies:** 1\
**Last updated:** [April 6, 2009, 6:45am UTC](https://www.ruby-forum.com/t/general-ways-to-create-a-filterable-search/164702 "2009-04-06T06:45:26Z")

</div>

Ive done a lot of searching on this and found lots of topics on what search tools to use but couldnt find something re: how you generally implement search into your project regardless of the choice of tool (ferret etc…

---

## [Installing SQLite3 on windows](https://www.ruby-forum.com/t/installing-sqlite3-on-windows/131430)

<div class="topic-metadata">

**Author:** [@byrnejb](https://www.ruby-forum.com/u/byrnejb)\
**Replies:** 5\
**Last updated:** [April 6, 2009, 5:23am UTC](https://www.ruby-forum.com/t/installing-sqlite3-on-windows/131430 "2009-04-06T05:23:32Z")

</div>

I need to do some lightweight code testing so I decided to install sqlite3 in my laptop (MS-WinXPproSP2) rather than have to create PostgreSQl DBs. I installed the three required files (sqlite3.def, sqlite3.exe, and s…

---

## [RE: OpenID relative\_url\_root problems](https://www.ruby-forum.com/t/re-openid-relative-url-root-problems/164792)

<div class="topic-metadata">

**Author:** [@Schalk\_N](https://www.ruby-forum.com/u/Schalk_N)\
**Replies:** 0\
**Last updated:** [April 6, 2009, 2:07am UTC](https://www.ruby-forum.com/t/re-openid-relative-url-root-problems/164792 "2009-04-06T02:07:03Z")

</div>

If anyone experiences the problem I described below, please see the ticket here: https://rails.lighthouseapp.com/projects/8995/tickets/34-issues-with-forgery-protection-and-rails-21-relative\_url\_root And apply the pat…

---

## [OpenID relative\_url\_root problems](https://www.ruby-forum.com/t/openid-relative-url-root-problems/164781)

<div class="topic-metadata">

**Author:** [@Schalk\_N](https://www.ruby-forum.com/u/Schalk_N)\
**Replies:** 0\
**Last updated:** [April 5, 2009, 11:56pm UTC](https://www.ruby-forum.com/t/openid-relative-url-root-problems/164781 "2009-04-05T23:56:42Z")

</div>

Hi there, I am trying to get OpenID authentication working and for the most part seems to have gone fine except, when authentication I keep getting: undefined method \`relative\_url\_root’ for ActionController::Base:Clas…

---

## [Problem with visual scriptaculous puff](https://www.ruby-forum.com/t/problem-with-visual-scriptaculous-puff/164750)

<div class="topic-metadata">

**Author:** [@tkbeili](https://www.ruby-forum.com/u/tkbeili)\
**Replies:** 3\
**Last updated:** [April 5, 2009, 8:03pm UTC](https://www.ruby-forum.com/t/problem-with-visual-scriptaculous-puff/164750 "2009-04-05T20:03:43Z")

</div>

Hello, I’m trying to using the puff effect of Scriptaculous in part of my website. I have it working in some part of my website as follows: respond\_to do |wants| wants.html do flash\[:notice\] = ‘client successfully …

---

## [Partial-Form validation from multiple pages (f.e. login-partial)](https://www.ruby-forum.com/t/partial-form-validation-from-multiple-pages-f-e-login-partial/164769)

<div class="topic-metadata">

**Author:** [@LpLpLp](https://www.ruby-forum.com/u/LpLpLp)\
**Replies:** 0\
**Last updated:** [April 5, 2009, 5:54pm UTC](https://www.ruby-forum.com/t/partial-form-validation-from-multiple-pages-f-e-login-partial/164769 "2009-04-05T17:54:04Z")

</div>

Hello - hard question: I have my login-partial in my application.html.erb-layout. Now I want to validate it, if the user pushes the submit button and show error-messages for it, if e.g. the passwordfield is empty. Bu…

---

## [A problem with my cucumber](https://www.ruby-forum.com/t/a-problem-with-my-cucumber/164763)

<div class="topic-metadata">

**Author:** [@gavin](https://www.ruby-forum.com/u/gavin)\
**Replies:** 1\
**Last updated:** [April 5, 2009, 2:49pm UTC](https://www.ruby-forum.com/t/a-problem-with-my-cucumber/164763 "2009-04-05T14:49:35Z")

</div>

Hi all - Recently installed the cucumber gem. Followed the steps as shown on Railscasts - “script/generate cucumber” works fine but when I try to run “cucumber features -n” I get an error: -bash: cucumber: command …

---

## [\[ANN\] assert{ 2.0 } 0.4.8 unit-tests Ajax using assert\_rjs syntax + assert\_xhtml](https://www.ruby-forum.com/t/ann-assert-2-0-0-4-8-unit-tests-ajax-using-assert-rjs-syntax-assert-xhtml/164764)

<div class="topic-metadata">

**Author:** [@Phlip](https://www.ruby-forum.com/u/Phlip)\
**Replies:** 0\
**Last updated:** [April 5, 2009, 2:43pm UTC](https://www.ruby-forum.com/t/ann-assert-2-0-0-4-8-unit-tests-ajax-using-assert-rjs-syntax-assert-xhtml/164764 "2009-04-05T14:43:09Z")

</div>

Railsters: assert{ 2.0 } now contains “alpha” replacements for these assertions from the “arts” project: assert\_rjs\_ :alert, 'This is an alert' assert\_rjs\_ :call, 'foo', 'bar', /baz/ # matches foo("bar", “baz”) …

---

## [New Relic & RightScale - Ruby on Rails Life Cycle Tools](https://www.ruby-forum.com/t/new-relic-rightscale-ruby-on-rails-life-cycle-tools/164760)

<div class="topic-metadata">

**Author:** [@Edward\_MSGoldberg](https://www.ruby-forum.com/u/Edward_MSGoldberg)\
**Replies:** 0\
**Last updated:** [April 5, 2009, 1:08pm UTC](https://www.ruby-forum.com/t/new-relic-rightscale-ruby-on-rails-life-cycle-tools/164760 "2009-04-05T13:08:15Z")

</div>

Cloud Computing and Rails are a natural good fit. With tools provided by New Relic integrated into the RightScale Deployment and Monitoring platform you have a Best Practice Monitoring system. I Deploy and Watch serv…

---

## [Testing: Application controller and helper](https://www.ruby-forum.com/t/testing-application-controller-and-helper/164752)

<div class="topic-metadata">

**Author:** [@shamarock](https://www.ruby-forum.com/u/shamarock)\
**Replies:** 1\
**Last updated:** [April 5, 2009, 12:51pm UTC](https://www.ruby-forum.com/t/testing-application-controller-and-helper/164752 "2009-04-05T12:51:50Z")

</div>

How do we test application controller and application helper in rails? Thanks in advance… Shauma.

---

## [Including related data in restful results](https://www.ruby-forum.com/t/including-related-data-in-restful-results/164756)

<div class="topic-metadata">

**Author:** [@Don\_F](https://www.ruby-forum.com/u/Don_F)\
**Replies:** 0\
**Last updated:** [April 5, 2009, 11:29am UTC](https://www.ruby-forum.com/t/including-related-data-in-restful-results/164756 "2009-04-05T11:29:52Z")

</div>

I am trying to create a restful XML output for a model but also want to include the data from a related table. For example, I have a model called person and the person has multiple photos. I want to include the url of…

---

## [Displaying form errors and keeping a simple URL](https://www.ruby-forum.com/t/displaying-form-errors-and-keeping-a-simple-url/164597)

<div class="topic-metadata">

**Author:** [@bigdaddy71](https://www.ruby-forum.com/u/bigdaddy71)\
**Replies:** 3\
**Last updated:** [April 5, 2009, 8:44am UTC](https://www.ruby-forum.com/t/displaying-form-errors-and-keeping-a-simple-url/164597 "2009-04-05T08:44:37Z")

</div>

Hi - I’m using Authlogic for user authentication, and I’m trying to set up the login screen (I’m having the same problem with the registration and other forms, though, but logging in is a nice simple example). My pro…

---

## [JRuby on Rails](https://www.ruby-forum.com/t/jruby-on-rails/164740)

<div class="topic-metadata">

**Author:** [@Tiago\_Z.C](https://www.ruby-forum.com/u/Tiago_Z.C)\
**Replies:** 1\
**Last updated:** [April 5, 2009, 5:45am UTC](https://www.ruby-forum.com/t/jruby-on-rails/164740 "2009-04-05T05:45:57Z")

</div>

Hi This is my first post, and i would like to know if here we can talk about JRuby on Rails too, or just Ruby on Rails. If we can talk about JRuby, i would like to ask about a problem. I have installed the lastest v…

---

## [Images in html.erb files](https://www.ruby-forum.com/t/images-in-html-erb-files/164741)

<div class="topic-metadata">

**Author:** [@rikki123s](https://www.ruby-forum.com/u/rikki123s)\
**Replies:** 3\
**Last updated:** [April 5, 2009, 4:42am UTC](https://www.ruby-forum.com/t/images-in-html-erb-files/164741 "2009-04-05T04:42:51Z")

</div>

Hey everyone, I was just wondering, is there any way of putting images into a html.erb file? whenever I try it does not show the image, instead it just ignores the code or leaves the text assigned to the image from my…

---

## [Unit testing problem](https://www.ruby-forum.com/t/unit-testing-problem/164723)

<div class="topic-metadata">

**Author:** [@neubyr](https://www.ruby-forum.com/u/neubyr)\
**Replies:** 7\
**Last updated:** [April 5, 2009, 4:20am UTC](https://www.ruby-forum.com/t/unit-testing-problem/164723 "2009-04-05T04:20:00Z")

</div>

Hello list, I am having following problem while running unit tests. The test file contains: require File.dirname(FILE) + ‘/…/test\_helper’ class RegionTest \< Test::Unit::TestCase I receive following error when runn…

---

## [\[ANN\] Lone Star Ruby Conference 2009 - Call for Speakers](https://www.ruby-forum.com/t/ann-lone-star-ruby-conference-2009-call-for-speakers/196930)

<div class="topic-metadata">

**Author:** [@unknown](https://www.ruby-forum.com/u/unknown)\
**Replies:** 0\
**Last updated:** [April 5, 2009, 1:35am UTC](https://www.ruby-forum.com/t/ann-lone-star-ruby-conference-2009-call-for-speakers/196930 "2009-04-05T01:35:38Z")

</div>

Lone Star Ruby Conference 2009 (Thu-Sat) August 27-29, 2009 Norris Conference Center Austin, TX Greetings The third annual Lone Star Ruby Conference is getting under way by opening the call for speakers. This year…

---

## [Announcing a new Ruby journal](https://www.ruby-forum.com/t/announcing-a-new-ruby-journal/164580)

<div class="topic-metadata">

**Author:** [@msojka](https://www.ruby-forum.com/u/msojka)\
**Replies:** 7\
**Last updated:** [April 5, 2009, 1:09am UTC](https://www.ruby-forum.com/t/announcing-a-new-ruby-journal/164580 "2009-04-05T01:09:21Z")

</div>

2 April 2009 My name is Martin S… I am pleased to announce three new publications dedicated to web developers. Red: The Journal of Ruby Development Facade: The Journal of Front-end Development Tabula: The Journal of…

---

## [Trackback support](https://www.ruby-forum.com/t/trackback-support/87859)

<div class="topic-metadata">

**Author:** [@kturner](https://www.ruby-forum.com/u/kturner)\
**Replies:** 3\
**Last updated:** [April 5, 2009, 1:07am UTC](https://www.ruby-forum.com/t/trackback-support/87859 "2009-04-05T01:07:01Z")

</div>

Hi, Are there any libraries/plugins to add trackback support to a blog? I’m having trouble searching, because when you include the phrase ‘trackback’ in a google search, it returns millions of hits, because every bl…

---

## [Composed\_of Validation - this is a joke right?](https://www.ruby-forum.com/t/composed-of-validation-this-is-a-joke-right/164712)

<div class="topic-metadata">

**Author:** [@Jferg](https://www.ruby-forum.com/u/Jferg)\
**Replies:** 1\
**Last updated:** [April 4, 2009, 11:52pm UTC](https://www.ruby-forum.com/t/composed-of-validation-this-is-a-joke-right/164712 "2009-04-04T23:52:43Z")

</div>

I just read article… twice. He does a great job, but what I find really ugly (so not Rails) is when I want to use ActiveRecord:Validations module in my Value Object - I need to “stub out” some of the inner plumbing …

---

## [Greetings from LARubyConf](https://www.ruby-forum.com/t/greetings-from-larubyconf/164735)

<div class="topic-metadata">

**Author:** [@mekdigital](https://www.ruby-forum.com/u/mekdigital)\
**Replies:** 0\
**Last updated:** [April 4, 2009, 10:18pm UTC](https://www.ruby-forum.com/t/greetings-from-larubyconf/164735 "2009-04-04T22:18:27Z")

</div>

So far, so good! Anyone else reading is here? iPhonized!

---

## [Rails 2.3.2 - template question](https://www.ruby-forum.com/t/rails-2-3-2-template-question/164730)

<div class="topic-metadata">

**Author:** [@rick](https://www.ruby-forum.com/u/rick)\
**Replies:** 1\
**Last updated:** [April 4, 2009, 9:45pm UTC](https://www.ruby-forum.com/t/rails-2-3-2-template-question/164730 "2009-04-04T21:45:05Z")

</div>

Simplest of template files, tst.rb, contains: PROJECT\_NAME = File.basename(RAILS\_ROOT) run 'echo ’ + PROJECT\_NAME Running command “rails tst -m ~/Rails\_Tools/tst.rb” produces: create create app/controllers . …

---

## [Ajax request executing well on localhost but not on server](https://www.ruby-forum.com/t/ajax-request-executing-well-on-localhost-but-not-on-server/164714)

<div class="topic-metadata">

**Author:** [@kadoudal](https://www.ruby-forum.com/u/kadoudal)\
**Replies:** 2\
**Last updated:** [April 4, 2009, 7:33pm UTC](https://www.ruby-forum.com/t/ajax-request-executing-well-on-localhost-but-not-on-server/164714 "2009-04-04T19:33:12Z")

</div>

I have an Ajax request from a form it executes well in dev n locahost… (mongrel) and on local Apache server (http://aelmat.local) but it’s not executing when running on remote host server what could be the issue ? …

---

## [NoMethodError in PublicController](https://www.ruby-forum.com/t/nomethoderror-in-publiccontroller/164700)

<div class="topic-metadata">

**Author:** [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Replies:** 2\
**Last updated:** [April 4, 2009, 7:27pm UTC](https://www.ruby-forum.com/t/nomethoderror-in-publiccontroller/164700 "2009-04-04T19:27:56Z")

</div>

Hello, I’m following a tutorial with a public controller, line\_item model, and cart model. When I try to add an item to the cart I am getting an error NoMethodError in PublicController#add\_to\_cart You have a nil ob…

---

## [Creating a parent with grandparent\_id from grandchild model](https://www.ruby-forum.com/t/creating-a-parent-with-grandparent-id-from-grandchild-model/164717)

<div class="topic-metadata">

**Author:** [@rhubarbcrumble](https://www.ruby-forum.com/u/rhubarbcrumble)\
**Replies:** 0\
**Last updated:** [April 4, 2009, 6:10pm UTC](https://www.ruby-forum.com/t/creating-a-parent-with-grandparent-id-from-grandchild-model/164717 "2009-04-04T18:10:29Z")

</div>

Hi, I have a situation where I have mapping table to link two models (effectively linking a grandparent and grandchild with a child and parent respectively) Here are the models: class Town \< ActiveRecord::Base has\_…

---

## [Subdomains with subdomain\_fu](https://www.ruby-forum.com/t/subdomains-with-subdomain-fu/164686)

<div class="topic-metadata">

**Author:** [@golf](https://www.ruby-forum.com/u/golf)\
**Replies:** 5\
**Last updated:** [April 4, 2009, 6:04pm UTC](https://www.ruby-forum.com/t/subdomains-with-subdomain-fu/164686 "2009-04-04T18:04:39Z")

</div>

Hi all, I am bit stuck with subdomain\_fu plugin. I want to create a new subdomain for newcomers. e.g. newband.mysite.net I set the tld\_sizes: SubdomainFu.tld\_sizes = {:development =\> 0, :test =\> 0, :production =\> 2…

---

## [Rails 2.3 nested forms and transactions](https://www.ruby-forum.com/t/rails-2-3-nested-forms-and-transactions/164715)

<div class="topic-metadata">

**Author:** [@Neal\_L](https://www.ruby-forum.com/u/Neal_L)\
**Replies:** 0\
**Last updated:** [April 4, 2009, 5:55pm UTC](https://www.ruby-forum.com/t/rails-2-3-nested-forms-and-transactions/164715 "2009-04-04T17:55:17Z")

</div>

Hi all, Does anyone know if the new nested object forms in Rails 2.3 supports transactions on save? (http://guides.rubyonrails.org/ 2\_3\_release\_notes.html#nested-object-forms) Supposing you had a form that let users …

---

## [Debugger seems broken with Rails 2.3.2](https://www.ruby-forum.com/t/debugger-seems-broken-with-rails-2-3-2/163463)

<div class="topic-metadata">

**Author:** [@fipa](https://www.ruby-forum.com/u/fipa)\
**Replies:** 5\
**Last updated:** [April 4, 2009, 4:42pm UTC](https://www.ruby-forum.com/t/debugger-seems-broken-with-rails-2-3-2/163463 "2009-04-04T16:42:45Z")

</div>

With Rails 2.3.2 and ruby-debug 0.10.3 very weird things are happening. Am I the only one?

---

## [Action caching and after filters](https://www.ruby-forum.com/t/action-caching-and-after-filters/164708)

<div class="topic-metadata">

**Author:** [@unni123](https://www.ruby-forum.com/u/unni123)\
**Replies:** 0\
**Last updated:** [April 4, 2009, 3:43pm UTC](https://www.ruby-forum.com/t/action-caching-and-after-filters/164708 "2009-04-04T15:43:03Z")

</div>

i am doing action caching. before\_filters are getting called. but not after\_filters. is there any way to get after\_filters called while doing action caching?

---

## [Date\_select and "31st February"](https://www.ruby-forum.com/t/date-select-and-31st-february/164634)

<div class="topic-metadata">

**Author:** [@jimb](https://www.ruby-forum.com/u/jimb)\
**Replies:** 6\
**Last updated:** [April 4, 2009, 2:21pm UTC](https://www.ruby-forum.com/t/date-select-and-31st-february/164634 "2009-04-04T14:21:57Z")

</div>

Hi, I’m writing a form where the user should enter their date of birth. Here’s the code: \<% form\_for :applicant, :url=\> {:action =\> “index”} do |f| %\> … \<%= f.label :dob, “Date of Birth” %\> \<%= f.date\_select :dob, …

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

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