# Rails

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

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

---

## [Plugin - blacklisting of open proxies](https://www.ruby-forum.com/t/plugin-blacklisting-of-open-proxies/178868)

<div class="topic-metadata">

**Author:** [@dddennisdennis734](https://www.ruby-forum.com/u/dddennisdennis734)\
**Replies:** 1\
**Last updated:** [November 12, 2009, 7:04pm UTC](https://www.ruby-forum.com/t/plugin-blacklisting-of-open-proxies/178868 "2009-11-12T19:04:38Z")

</div>

Hi, Is there a good plugin that is able to block query (like PUT, POST, DESTROY) from open proxies, such as in Wikipedia? With something a database of blacklisted IP… it would be cool. Thanks.

---

## [Virtual Attribute Model Validation](https://www.ruby-forum.com/t/virtual-attribute-model-validation/178859)

<div class="topic-metadata">

**Author:** [@icke](https://www.ruby-forum.com/u/icke)\
**Replies:** 2\
**Last updated:** [November 12, 2009, 6:02pm UTC](https://www.ruby-forum.com/t/virtual-attribute-model-validation/178859 "2009-11-12T18:02:00Z")

</div>

I have an Order model with two virtual attributes for account number and sort code for setting up a recurring bank payment (Direct Debit in the UK). I do not want to save the account details in my database (similar t…

---

## [Master/detail report with Rails and Ireport/JasperReports](https://www.ruby-forum.com/t/master-detail-report-with-rails-and-ireport-jasperreports/178739)

<div class="topic-metadata">

**Author:** [@rafaelrosafu](https://www.ruby-forum.com/u/rafaelrosafu)\
**Replies:** 6\
**Last updated:** [November 12, 2009, 5:28pm UTC](https://www.ruby-forum.com/t/master-detail-report-with-rails-and-ireport-jasperreports/178739 "2009-11-12T17:28:40Z")

</div>

Hi all, has anyone made it already?

---

## [Extract Domain name (url)](https://www.ruby-forum.com/t/extract-domain-name-url/178847)

<div class="topic-metadata">

**Author:** [@Abhishek\_shukla](https://www.ruby-forum.com/u/Abhishek_shukla)\
**Replies:** 8\
**Last updated:** [November 12, 2009, 4:18pm UTC](https://www.ruby-forum.com/t/extract-domain-name-url/178847 "2009-11-12T16:18:22Z")

</div>

Hello Friends, I need to write a regular expression which will extract and return the domain name. for example if a user parse any of the below mention url it should save only “foo.com” http://www.foo.com/ http://…

---

## [Uninitialized constant XML::Document](https://www.ruby-forum.com/t/uninitialized-constant-xml-document/178849)

<div class="topic-metadata">

**Author:** [@chinna\_gogulapati](https://www.ruby-forum.com/u/chinna_gogulapati)\
**Replies:** 9\
**Last updated:** [November 12, 2009, 3:58pm UTC](https://www.ruby-forum.com/t/uninitialized-constant-xml-document/178849 "2009-11-12T15:58:28Z")

</div>

Hi All, I have installed “libxml-ruby” gem on my ruby instllation. while trying to create xml document with ruby progam in Rad Rails am getting error like “uninitialized constant XML::Document (NameError)” do i need …

---

## [Expected x to define y overcome!](https://www.ruby-forum.com/t/expected-x-to-define-y-overcome/178865)

<div class="topic-metadata">

**Author:** [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Replies:** 0\
**Last updated:** [November 12, 2009, 3:36pm UTC](https://www.ruby-forum.com/t/expected-x-to-define-y-overcome/178865 "2009-11-12T15:36:31Z")

</div>

Finally figured out how to safely debug this awful error. Instructions given here: http://betterlogic.com/roger/?p=2149 Enjoy! -r

---

## [Refer me a Open Source Free Shopping cart driven by RubyOnRails](https://www.ruby-forum.com/t/refer-me-a-open-source-free-shopping-cart-driven-by-rubyonrails/178856)

<div class="topic-metadata">

**Author:** [@Pallavan](https://www.ruby-forum.com/u/Pallavan)\
**Replies:** 2\
**Last updated:** [November 12, 2009, 3:33pm UTC](https://www.ruby-forum.com/t/refer-me-a-open-source-free-shopping-cart-driven-by-rubyonrails/178856 "2009-11-12T15:33:23Z")

</div>

Can some one refer me one open source shopping cart which is popular right now.

---

## [Mootools, Rails and Ajax](https://www.ruby-forum.com/t/mootools-rails-and-ajax/107081)

<div class="topic-metadata">

**Author:** [@Nguma\_M](https://www.ruby-forum.com/u/Nguma_M)\
**Replies:** 4\
**Last updated:** [November 12, 2009, 3:19pm UTC](https://www.ruby-forum.com/t/mootools-rails-and-ajax/107081 "2009-11-12T15:19:52Z")

</div>

Recently, I’ve decided to include the excellent mootools in my projects. So, out prototype and scriptaculous, in mootools. Everything went well up to the point i had to add some ajax into the story… I am ok not to …

---

## [After upgrading to Rails 2.3.4, Lazy Loaded attributes are never loaded. Broken?](https://www.ruby-forum.com/t/after-upgrading-to-rails-2-3-4-lazy-loaded-attributes-are-never-loaded-broken/178779)

<div class="topic-metadata">

**Author:** [@soderic](https://www.ruby-forum.com/u/soderic)\
**Replies:** 4\
**Last updated:** [November 12, 2009, 3:01pm UTC](https://www.ruby-forum.com/t/after-upgrading-to-rails-2-3-4-lazy-loaded-attributes-are-never-loaded-broken/178779 "2009-11-12T15:01:04Z")

</div>

I have an application that I started developing under 2.1 and have progressed through 2.2 and am no attempting to run using 2.3.4. The application is heavily reliant on ActiveRecord and the ability to reference object…

---

## [Aggregation: use composed\_of with multiple classes (tables)](https://www.ruby-forum.com/t/aggregation-use-composed-of-with-multiple-classes-tables/178683)

<div class="topic-metadata">

**Author:** [@Demetrius](https://www.ruby-forum.com/u/Demetrius)\
**Replies:** 1\
**Last updated:** [November 12, 2009, 2:01pm UTC](https://www.ruby-forum.com/t/aggregation-use-composed-of-with-multiple-classes-tables/178683 "2009-11-12T14:01:24Z")

</div>

Does anyone know how to use composed\_of to pull data from multiple classes (tables)? I know how to use composed\_of to aggregate columns within the same table but am running in to trouble pulling from two tables. The …

---

## [Problem with has\_many :through, :uniq =\> true with polymorph](https://www.ruby-forum.com/t/problem-with-has-many-through-uniq-true-with-polymorph/178863)

<div class="topic-metadata">

**Author:** [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Replies:** 0\
**Last updated:** [November 12, 2009, 1:41pm UTC](https://www.ruby-forum.com/t/problem-with-has-many-through-uniq-true-with-polymorph/178863 "2009-11-12T13:41:26Z")

</div>

Didn’t have quite enough space to describe it there…basically i’m having a problem with the :uniq option in my tags. I’m using acts\_as\_taggable\_on\_steroid which adds these associations to my Resource class: Resource …

---

## [New brand ruby job board was launched. Check it out http://www.railsjobs4u.com/](https://www.ruby-forum.com/t/new-brand-ruby-job-board-was-launched-check-it-out-http-www-railsjobs4u-com/178792)

<div class="topic-metadata">

**Author:** [@Sathiya](https://www.ruby-forum.com/u/Sathiya)\
**Replies:** 2\
**Last updated:** [November 12, 2009, 1:25pm UTC](https://www.ruby-forum.com/t/new-brand-ruby-job-board-was-launched-check-it-out-http-www-railsjobs4u-com/178792 "2009-11-12T13:25:07Z")

</div>

New brand ruby job board was launched. Check it out http://www.railsjobs4u.com/

---

## [Sessions](https://www.ruby-forum.com/t/sessions/178784)

<div class="topic-metadata">

**Author:** [@daveelman](https://www.ruby-forum.com/u/daveelman)\
**Replies:** 4\
**Last updated:** [November 12, 2009, 1:20pm UTC](https://www.ruby-forum.com/t/sessions/178784 "2009-11-12T13:20:26Z")

</div>

I’m an experienced programmer, but new to Rails. I would like to echo an unanswered question I’ve recently read elsewhere. Can any recommend an overview of get/post, cookies, sessions, etc., and how Ruby on Rails int…

---

## [Designing a "community rating" system](https://www.ruby-forum.com/t/designing-a-community-rating-system/178770)

<div class="topic-metadata">

**Author:** [@joe](https://www.ruby-forum.com/u/joe)\
**Replies:** 5\
**Last updated:** [November 12, 2009, 12:30pm UTC](https://www.ruby-forum.com/t/designing-a-community-rating-system/178770 "2009-11-12T12:30:04Z")

</div>

I need to build a rating system for a project. The idea is that a number of different user actions within the system will contribute to an individual’s standing. Creating one kind of thing, reviewing something that s…

---

## [Acts as ferret not working in dev](https://www.ruby-forum.com/t/acts-as-ferret-not-working-in-dev/178857)

<div class="topic-metadata">

**Author:** [@johnnybutler7](https://www.ruby-forum.com/u/johnnybutler7)\
**Replies:** 0\
**Last updated:** [November 12, 2009, 11:54am UTC](https://www.ruby-forum.com/t/acts-as-ferret-not-working-in-dev/178857 "2009-11-12T11:54:14Z")

</div>

Hi, I have acts as ferret working ok on the production server with the built in drb server. Locally i can get the server running ok but get the following errors when trying to run a search within an app undefined me…

---

## [Trouble with rake](https://www.ruby-forum.com/t/trouble-with-rake/178850)

<div class="topic-metadata">

**Author:** [@dangermoose](https://www.ruby-forum.com/u/dangermoose)\
**Replies:** 4\
**Last updated:** [November 12, 2009, 11:40am UTC](https://www.ruby-forum.com/t/trouble-with-rake/178850 "2009-11-12T11:40:54Z")

</div>

Am having trouble with rake file, but can’t find problem. Can you help? Haven’t been able to understand the error message returned. Thank you. Macintosh:depot pdenlinger$ rake db:migrate (in /Users/pdenlinger/Sites/…

---

## [Helper in controller undefined when called](https://www.ruby-forum.com/t/helper-in-controller-undefined-when-called/178247)

<div class="topic-metadata">

**Author:** [@nicpon](https://www.ruby-forum.com/u/nicpon)\
**Replies:** 2\
**Last updated:** [November 12, 2009, 11:03am UTC](https://www.ruby-forum.com/t/helper-in-controller-undefined-when-called/178247 "2009-11-12T11:03:26Z")

</div>

Hello, I’m pulling my hair out as I can’t seem to find resolution to my simple problem, which is calling methods from controllers to helpers. in my application\_controller.rb I have helper :all, which as i understand s…

---

## [HeLp oN my database](https://www.ruby-forum.com/t/help-on-my-database/178788)

<div class="topic-metadata">

**Author:** [@newb](https://www.ruby-forum.com/u/newb)\
**Replies:** 6\
**Last updated:** [November 12, 2009, 10:14am UTC](https://www.ruby-forum.com/t/help-on-my-database/178788 "2009-11-12T10:14:10Z")

</div>

Using my application i can able to save a new record into my db but i cannot update a existing record into my db. using update query i can able to update my records. but using update\_attributes it doesnot update my …

---

## [Running different script files from one script file](https://www.ruby-forum.com/t/running-different-script-files-from-one-script-file/178845)

<div class="topic-metadata">

**Author:** [@gandhi-tush](https://www.ruby-forum.com/u/gandhi-tush)\
**Replies:** 1\
**Last updated:** [November 12, 2009, 9:39am UTC](https://www.ruby-forum.com/t/running-different-script-files-from-one-script-file/178845 "2009-11-12T09:39:08Z")

</div>

Hi, I have three scripts in my rails application under “script” directory. I am running those scripts one by one with command “ruby runner test1.rb” “ruby runner test2.rb”, “ruby runner test3.rb”. I want to create o…

---

## [Getting the timezone name from an abbreviation](https://www.ruby-forum.com/t/getting-the-timezone-name-from-an-abbreviation/178742)

<div class="topic-metadata">

**Author:** [@dewdrops](https://www.ruby-forum.com/u/dewdrops)\
**Replies:** 6\
**Last updated:** [November 12, 2009, 5:52am UTC](https://www.ruby-forum.com/t/getting-the-timezone-name-from-an-abbreviation/178742 "2009-11-12T05:52:03Z")

</div>

HI, I am creating n onlinecalendar sort of functionality for which the user input for events is taken. To make it user friendly, its left to the user to write the time down rather than selecting it from a datetime fi…

---

## [Installation Issue](https://www.ruby-forum.com/t/installation-issue/178843)

<div class="topic-metadata">

**Author:** [@rswaving](https://www.ruby-forum.com/u/rswaving)\
**Replies:** 2\
**Last updated:** [November 12, 2009, 5:17am UTC](https://www.ruby-forum.com/t/installation-issue/178843 "2009-11-12T05:17:29Z")

</div>

Hi, First of all, I have been searching through the forum to try to resolve this problem. I’m walking through some tutorials from lynda.com and after I issue the command “rails my\_app”, everything seems to go fine. …

---

## [Getaddrinfo: nodename nor servname provided, or not known](https://www.ruby-forum.com/t/getaddrinfo-nodename-nor-servname-provided-or-not-known/178829)

<div class="topic-metadata">

**Author:** [@RubyonRails\_newbie](https://www.ruby-forum.com/u/RubyonRails_newbie)\
**Replies:** 1\
**Last updated:** [November 12, 2009, 12:01am UTC](https://www.ruby-forum.com/t/getaddrinfo-nodename-nor-servname-provided-or-not-known/178829 "2009-11-12T00:01:29Z")

</div>

Hi there, If I want to create email within my application (in production), how is this best achieved?? Following the railsspace tutorial, it only really suggests to use :smtp. I’d read on another site that to genera…

---

## [Possible to set flash within link\_to?](https://www.ruby-forum.com/t/possible-to-set-flash-within-link-to/178767)

<div class="topic-metadata">

**Author:** [@mr\_november](https://www.ruby-forum.com/u/mr_november)\
**Replies:** 3\
**Last updated:** [November 11, 2009, 10:47pm UTC](https://www.ruby-forum.com/t/possible-to-set-flash-within-link-to/178767 "2009-11-11T22:47:44Z")

</div>

hi all, i’d like to set the flash to some text when a user clicks a link. i know it’s possible set a random variable and then it’s available in the params hash but is it possible to do so with the flash? or do i have …

---

## [Is CachedModel still the way to go for model caching?](https://www.ruby-forum.com/t/is-cachedmodel-still-the-way-to-go-for-model-caching/178833)

<div class="topic-metadata">

**Author:** [@Lewis\_Hoffman](https://www.ruby-forum.com/u/Lewis_Hoffman)\
**Replies:** 0\
**Last updated:** [November 11, 2009, 10:46pm UTC](https://www.ruby-forum.com/t/is-cachedmodel-still-the-way-to-go-for-model-caching/178833 "2009-11-11T22:46:34Z")

</div>

I see it on github but the last commit was 2007. Folks still getting good use? Other options for model caching? thanks! Lewis

---

## [Render :action and routes problem with cucumber scenario](https://www.ruby-forum.com/t/render-action-and-routes-problem-with-cucumber-scenario/178793)

<div class="topic-metadata">

**Author:** [@comopasta](https://www.ruby-forum.com/u/comopasta)\
**Replies:** 1\
**Last updated:** [November 11, 2009, 10:22pm UTC](https://www.ruby-forum.com/t/render-action-and-routes-problem-with-cucumber-scenario/178793 "2009-11-11T22:22:16Z")

</div>

Hi, I have a cucumber scenario to verify what happens when an user account is not active yet. In that situation it will display an error and keep the user in the same login screen. The scenario includes: … And I pre…

---

## [Super noob looking for help](https://www.ruby-forum.com/t/super-noob-looking-for-help/178817)

<div class="topic-metadata">

**Author:** [@brian](https://www.ruby-forum.com/u/brian)\
**Replies:** 1\
**Last updated:** [November 11, 2009, 10:06pm UTC](https://www.ruby-forum.com/t/super-noob-looking-for-help/178817 "2009-11-11T22:06:16Z")

</div>

Hello all, I’ve just started to play around on Ruby and have read some tutorials, books, and Why’s guide. I do understand syntax of coding, or at least that within the controller, but I have limited web programming …

---

## [Trading Google Wave invites for host!](https://www.ruby-forum.com/t/trading-google-wave-invites-for-host/197109)

<div class="topic-metadata">

**Author:** [@enchanter](https://www.ruby-forum.com/u/enchanter)\
**Replies:** 3\
**Last updated:** [November 11, 2009, 9:56pm UTC](https://www.ruby-forum.com/t/trading-google-wave-invites-for-host/197109 "2009-11-11T21:56:21Z")

</div>

Trading up to 10 google wave invites for a fast, powerful Rails host that provides me with a top level domain: ie: webwebwebwebweb.com or wwwww.com Or similar offers. Send me an email or post here.

---

## [No such file to load -- ferret, solaris, acts\_as\_ferret](https://www.ruby-forum.com/t/no-such-file-to-load-ferret-solaris-acts-as-ferret/178822)

<div class="topic-metadata">

**Author:** [@sweb](https://www.ruby-forum.com/u/sweb)\
**Replies:** 0\
**Last updated:** [November 11, 2009, 8:26pm UTC](https://www.ruby-forum.com/t/no-such-file-to-load-ferret-solaris-acts-as-ferret/178822 "2009-11-11T20:26:20Z")

</div>

Hi, I am setting up a new environment (on a vps) that runs Open Solaris. I know, why am I using Solaris? Don’t ask. I have a nearly identical vps for which my capistrano script works perfectly to deploy my app. Ho…

---

## [Mod\_Rails question](https://www.ruby-forum.com/t/mod-rails-question/178808)

<div class="topic-metadata">

**Author:** [@penguinjr](https://www.ruby-forum.com/u/penguinjr)\
**Replies:** 3\
**Last updated:** [November 11, 2009, 7:49pm UTC](https://www.ruby-forum.com/t/mod-rails-question/178808 "2009-11-11T19:49:57Z")

</div>

Hi! I’m deploying a RoR app under Apache with Phusion Passenger (aka’ mod\_rails), but i rode at Support that isn’t good idea use it for a producction server. I was searching, and i got a lot of opinions about use/not…

---

## [Issues with rails\_authentication --include-activation](https://www.ruby-forum.com/t/issues-with-rails-authentication-include-activation/178656)

<div class="topic-metadata">

**Author:** [@salamander](https://www.ruby-forum.com/u/salamander)\
**Replies:** 2\
**Last updated:** [November 11, 2009, 7:49pm UTC](https://www.ruby-forum.com/t/issues-with-rails-authentication-include-activation/178656 "2009-11-11T19:49:46Z")

</div>

Hello, So I installed the restful\_authenticaiton plugin on an empty rails 2.3.4 project. $ script/plugin install restful\_authentication Generated files using “Students” as my model (instead of the often- used “Users…

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

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